@ni/nimble-components 29.7.2 → 29.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-components-bundle.js +248 -137
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +527 -504
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/table/models/virtualizer.d.ts +1 -1
- package/dist/esm/table/models/virtualizer.js +4 -1
- package/dist/esm/table/models/virtualizer.js.map +1 -1
- package/dist/esm/table/template.js.map +1 -1
- package/package.json +1 -1
|
@@ -88,17 +88,17 @@ const n=e.length,i=e.map((e=>"string"==typeof e?()=>e:(t=e.targetName||t,e.bindi
|
|
|
88
88
|
for(let s=0;s<n;++s)o+=i[s](e,t)
|
|
89
89
|
return o}))
|
|
90
90
|
return o.targetName=t,o}const z=h.length
|
|
91
|
-
function
|
|
91
|
+
function V(e,t){const n=t.split(d)
|
|
92
92
|
if(1===n.length)return null
|
|
93
93
|
const i=[]
|
|
94
94
|
for(let t=0,o=n.length;t<o;++t){const o=n[t],s=o.indexOf(h)
|
|
95
95
|
let r
|
|
96
96
|
if(-1===s)r=o
|
|
97
97
|
else{const t=parseInt(o.substring(0,s))
|
|
98
|
-
i.push(e.directives[t]),r=o.substring(s+z)}""!==r&&i.push(r)}return i}function
|
|
99
|
-
for(let o=0,s=i.length;o<s;++o){const r=i[o],a=r.value,l=
|
|
98
|
+
i.push(e.directives[t]),r=o.substring(s+z)}""!==r&&i.push(r)}return i}function H(e,t,n=!1){const i=t.attributes
|
|
99
|
+
for(let o=0,s=i.length;o<s;++o){const r=i[o],a=r.value,l=V(e,a)
|
|
100
100
|
let c=null
|
|
101
|
-
null===l?n&&(c=new R((()=>a)),c.targetName=r.name):c=L(l),null!==c&&(t.removeAttributeNode(r),o--,s--,e.addFactory(c))}}function B(e,t,n){const i=
|
|
101
|
+
null===l?n&&(c=new R((()=>a)),c.targetName=r.name):c=L(l),null!==c&&(t.removeAttributeNode(r),o--,s--,e.addFactory(c))}}function B(e,t,n){const i=V(e,t.textContent)
|
|
102
102
|
if(null!==i){let o=t
|
|
103
103
|
for(let s=0,r=i.length;s<r;++s){const r=i[s],a=0===s?t:o.parentNode.insertBefore(document.createTextNode(""),o.nextSibling)
|
|
104
104
|
"string"==typeof r?a.textContent=r:(a.textContent=" ",e.captureContentBinding(r)),o=a,e.targetIndex++,a!==t&&n.nextNode()}e.targetIndex--}}const q=document.createRange()
|
|
@@ -134,12 +134,12 @@ null!==n&&"TEMPLATE"===n.tagName&&(e=n)}else e=t
|
|
|
134
134
|
const n=function(e,t){const n=e.content
|
|
135
135
|
document.adoptNode(n)
|
|
136
136
|
const i=P.borrow(t)
|
|
137
|
-
|
|
137
|
+
H(i,e,!0)
|
|
138
138
|
const o=i.behaviorFactories
|
|
139
139
|
i.reset()
|
|
140
140
|
const s=u.createTemplateWalker(n)
|
|
141
141
|
let r
|
|
142
|
-
for(;r=s.nextNode();)switch(i.targetIndex++,r.nodeType){case 1:
|
|
142
|
+
for(;r=s.nextNode();)switch(i.targetIndex++,r.nodeType){case 1:H(i,r)
|
|
143
143
|
break
|
|
144
144
|
case 3:B(i,r,s)
|
|
145
145
|
break
|
|
@@ -312,7 +312,7 @@ if(void 0===e&&void 0===t)return
|
|
|
312
312
|
this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0
|
|
313
313
|
const n=void 0===t?De(this.source,e):_e(this.source,0,this.source.length,t,0,t.length)
|
|
314
314
|
this.notify(n)}}class Ne{constructor(e,t){this.target=e,this.propertyName=t}bind(e){e[this.propertyName]=this.target}unbind(){}}function Pe(e){return new k("fast-ref",Ne,e)}const Le=e=>"function"==typeof e,ze=()=>null
|
|
315
|
-
function
|
|
315
|
+
function Ve(e){return void 0===e?ze:Le(e)?e:()=>e}function He(e,t,n){const i=Le(e)?e:()=>e,o=Ve(t),s=Ve(n)
|
|
316
316
|
return(e,t)=>i(e,t)?o(e,t):s(e,t)}const Be=Object.freeze({positioning:!1,recycle:!0})
|
|
317
317
|
function qe(e,t,n,i){e.bind(t[n],i)}function Ue(e,t,n,i){const o=Object.create(i)
|
|
318
318
|
o.index=n,o.length=t.length,e.bind(t[n],o)}class je{constructor(e,t,n,i,o,s){this.location=e,this.itemsBinding=t,this.templateBinding=i,this.options=s,this.source=null,this.views=[],this.items=null,this.itemsObserver=null,this.originalContext=void 0,this.childContext=void 0,this.bindView=qe,this.itemsBindingObserver=m.binding(t,this,n),this.templateBindingObserver=m.binding(i,this,o),s.positioning&&(this.bindView=Ue)}bind(e,t){this.source=e,this.originalContext=t,this.childContext=Object.create(t),this.childContext.parent=e,this.childContext.parentContext=this.originalContext,this.items=this.itemsBindingObserver.observe(e,this.originalContext),this.template=this.templateBindingObserver.observe(e,this.originalContext),this.observeItems(!0),this.refreshAllViews()}unbind(){this.source=null,this.items=null,null!==this.itemsObserver&&this.itemsObserver.unsubscribe(this),this.unbindAllViews(),this.itemsBindingObserver.disconnect(),this.templateBindingObserver.disconnect()}handleChange(e,t){e===this.itemsBinding?(this.items=this.itemsBindingObserver.observe(this.source,this.originalContext),this.observeItems(),this.refreshAllViews()):e===this.templateBinding?(this.template=this.templateBindingObserver.observe(this.source,this.originalContext),this.refreshAllViews(!0)):this.updateViews(t)}observeItems(e=!1){if(!this.items)return void(this.items=o)
|
|
@@ -526,12 +526,12 @@ return Rt[e]=!0}default:return!1}}function Nt(e){return`${e.toLowerCase()}:prese
|
|
|
526
526
|
void 0===Pt.get(i)?Pt.set(i,t):Pt.set(i,!1),n.register(It.instance(i,t))},forTag(e,t){const n=Nt(e),i=Pt.get(n)
|
|
527
527
|
if(!1===i){return ut.findResponsibleContainer(t).get(n)}return i||null}})
|
|
528
528
|
class zt{constructor(e,t){this.template=e||null,this.styles=void 0===t?null:Array.isArray(t)?Z.create(t):t instanceof Z?t:Z.create([t])}applyTo(e){const t=e.$fastController
|
|
529
|
-
null===t.template&&(t.template=this.template),null===t.styles&&(t.styles=this.styles)}}class
|
|
529
|
+
null===t.template&&(t.template=this.template),null===t.styles&&(t.styles=this.styles)}}class Vt extends be{constructor(){super(...arguments),this._presentation=void 0}get $presentation(){return void 0===this._presentation&&(this._presentation=Lt.forTag(this.tagName,this)),this._presentation}templateChanged(){void 0!==this.template&&(this.$fastController.template=this.template)}stylesChanged(){void 0!==this.styles&&(this.$fastController.styles=this.styles)}connectedCallback(){null!==this.$presentation&&this.$presentation.applyTo(this),super.connectedCallback()}static compose(e){return(t={})=>new Bt(this===Vt?class extends Vt{}:this,e,t)}}function Ht(e,t,n){return"function"==typeof e?e(t,n):e}it([g],Vt.prototype,"template",void 0),it([g],Vt.prototype,"styles",void 0)
|
|
530
530
|
class Bt{constructor(e,t,n){this.type=e,this.elementDefinition=t,this.overrideDefinition=n,this.definition=Object.assign(Object.assign({},this.elementDefinition),this.overrideDefinition)}register(e,t){const n=this.definition,i=this.overrideDefinition,o=`${n.prefix||t.elementPrefix}-${n.baseName}`
|
|
531
|
-
t.tryDefineElement({name:o,type:this.type,baseClass:this.elementDefinition.baseClass,callback:e=>{const t=new zt(
|
|
531
|
+
t.tryDefineElement({name:o,type:this.type,baseClass:this.elementDefinition.baseClass,callback:e=>{const t=new zt(Ht(n.template,e,n),Ht(n.styles,e,n))
|
|
532
532
|
e.definePresentation(t)
|
|
533
|
-
let o=
|
|
534
|
-
e.shadowRootMode&&(o?i.shadowOptions||(o.mode=e.shadowRootMode):null!==o&&(o={mode:e.shadowRootMode})),e.defineElement({elementOptions:
|
|
533
|
+
let o=Ht(n.shadowOptions,e,n)
|
|
534
|
+
e.shadowRootMode&&(o?i.shadowOptions||(o.mode=e.shadowRootMode):null!==o&&(o={mode:e.shadowRootMode})),e.defineElement({elementOptions:Ht(n.elementOptions,e,n),shadowOptions:o,attributes:Ht(n.attributes,e,n)})}})}}function qt(e,...t){const n=oe.locate(e)
|
|
535
535
|
t.forEach((t=>{Object.getOwnPropertyNames(t.prototype).forEach((n=>{"constructor"!==n&&Object.defineProperty(e.prototype,n,Object.getOwnPropertyDescriptor(t.prototype,n))}))
|
|
536
536
|
oe.locate(t).forEach((e=>n.push(e)))}))}const Ut="horizontal",jt="vertical"
|
|
537
537
|
function Wt(...e){return e.every((e=>e instanceof HTMLElement))}let Gt
|
|
@@ -543,14 +543,14 @@ var cn
|
|
|
543
543
|
function dn(e,t,n){return Math.min(Math.max(n,e),t)}function hn(e,t,n=0){return[t,n]=[t,n].sort(((e,t)=>e-t)),t<=e&&e<n}!function(e){e.ltr="ltr",e.rtl="rtl"}(cn||(cn={}))
|
|
544
544
|
let un=0
|
|
545
545
|
function pn(e=""){return`${e}${un++}`}class fn{}it([le({attribute:"aria-atomic"})],fn.prototype,"ariaAtomic",void 0),it([le({attribute:"aria-busy"})],fn.prototype,"ariaBusy",void 0),it([le({attribute:"aria-controls"})],fn.prototype,"ariaControls",void 0),it([le({attribute:"aria-current"})],fn.prototype,"ariaCurrent",void 0),it([le({attribute:"aria-describedby"})],fn.prototype,"ariaDescribedby",void 0),it([le({attribute:"aria-details"})],fn.prototype,"ariaDetails",void 0),it([le({attribute:"aria-disabled"})],fn.prototype,"ariaDisabled",void 0),it([le({attribute:"aria-errormessage"})],fn.prototype,"ariaErrormessage",void 0),it([le({attribute:"aria-flowto"})],fn.prototype,"ariaFlowto",void 0),it([le({attribute:"aria-haspopup"})],fn.prototype,"ariaHaspopup",void 0),it([le({attribute:"aria-hidden"})],fn.prototype,"ariaHidden",void 0),it([le({attribute:"aria-invalid"})],fn.prototype,"ariaInvalid",void 0),it([le({attribute:"aria-keyshortcuts"})],fn.prototype,"ariaKeyshortcuts",void 0),it([le({attribute:"aria-label"})],fn.prototype,"ariaLabel",void 0),it([le({attribute:"aria-labelledby"})],fn.prototype,"ariaLabelledby",void 0),it([le({attribute:"aria-live"})],fn.prototype,"ariaLive",void 0),it([le({attribute:"aria-owns"})],fn.prototype,"ariaOwns",void 0),it([le({attribute:"aria-relevant"})],fn.prototype,"ariaRelevant",void 0),it([le({attribute:"aria-roledescription"})],fn.prototype,"ariaRoledescription",void 0)
|
|
546
|
-
let mn=class extends
|
|
546
|
+
let mn=class extends Vt{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var e
|
|
547
547
|
window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(e=this.$fastController.definition.shadowOptions)||void 0===e?void 0:e.delegatesFocus)&&(this.focus=()=>{var e
|
|
548
548
|
null===(e=this.control)||void 0===e||e.focus()})}}connectedCallback(){super.connectedCallback(),this.handleUnsupportedDelegatesFocus()}}
|
|
549
549
|
it([le],mn.prototype,"download",void 0),it([le],mn.prototype,"href",void 0),it([le],mn.prototype,"hreflang",void 0),it([le],mn.prototype,"ping",void 0),it([le],mn.prototype,"referrerpolicy",void 0),it([le],mn.prototype,"rel",void 0),it([le],mn.prototype,"target",void 0),it([le],mn.prototype,"type",void 0),it([g],mn.prototype,"defaultSlottedContent",void 0)
|
|
550
550
|
class gn{}it([le({attribute:"aria-expanded"})],gn.prototype,"ariaExpanded",void 0),qt(gn,fn),qt(mn,et,gn)
|
|
551
551
|
const vn=e=>{const t=e.closest("[dir]")
|
|
552
552
|
return null!==t&&"rtl"===t.dir?cn.rtl:cn.ltr}
|
|
553
|
-
let bn=class e extends
|
|
553
|
+
let bn=class e extends Vt{constructor(){super(...arguments),this.anchor="",this.viewport="",this.horizontalPositioningMode="uncontrolled",this.horizontalDefaultPosition="unset",this.horizontalViewportLock=!1,this.horizontalInset=!1,this.horizontalScaling="content",this.verticalPositioningMode="uncontrolled",this.verticalDefaultPosition="unset",this.verticalViewportLock=!1,this.verticalInset=!1,this.verticalScaling="content",this.fixedPlacement=!1,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.initialLayoutComplete=!1,this.resizeDetector=null,this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.pendingPositioningUpdate=!1,this.pendingReset=!1,this.currentDirection=cn.ltr,this.regionVisible=!1,this.forceUpdate=!1,this.updateThreshold=.5,this.update=()=>{this.pendingPositioningUpdate||this.requestPositionUpdates()},this.startObservers=()=>{this.stopObservers(),null!==this.anchorElement&&(this.requestPositionUpdates(),null!==this.resizeDetector&&(this.resizeDetector.observe(this.anchorElement),this.resizeDetector.observe(this)))},this.requestPositionUpdates=()=>{null===this.anchorElement||this.pendingPositioningUpdate||(e.intersectionService.requestPosition(this,this.handleIntersection),e.intersectionService.requestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&e.intersectionService.requestPosition(this.viewportElement,this.handleIntersection),this.pendingPositioningUpdate=!0)},this.stopObservers=()=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,e.intersectionService.cancelRequestPosition(this,this.handleIntersection),null!==this.anchorElement&&e.intersectionService.cancelRequestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&e.intersectionService.cancelRequestPosition(this.viewportElement,this.handleIntersection)),null!==this.resizeDetector&&this.resizeDetector.disconnect()},this.getViewport=()=>"string"!=typeof this.viewport||""===this.viewport?document.documentElement:document.getElementById(this.viewport),this.getAnchor=()=>document.getElementById(this.anchor),this.handleIntersection=e=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,this.applyIntersectionEntries(e)&&this.updateLayout())},this.applyIntersectionEntries=e=>{const t=e.find((e=>e.target===this)),n=e.find((e=>e.target===this.anchorElement)),i=e.find((e=>e.target===this.viewportElement))
|
|
554
554
|
return void 0!==t&&void 0!==i&&void 0!==n&&(!!(!this.regionVisible||this.forceUpdate||void 0===this.regionRect||void 0===this.anchorRect||void 0===this.viewportRect||this.isRectDifferent(this.anchorRect,n.boundingClientRect)||this.isRectDifferent(this.viewportRect,i.boundingClientRect)||this.isRectDifferent(this.regionRect,t.boundingClientRect))&&(this.regionRect=t.boundingClientRect,this.anchorRect=n.boundingClientRect,this.viewportElement===document.documentElement?this.viewportRect=new DOMRectReadOnly(i.boundingClientRect.x+document.documentElement.scrollLeft,i.boundingClientRect.y+document.documentElement.scrollTop,i.boundingClientRect.width,i.boundingClientRect.height):this.viewportRect=i.boundingClientRect,this.updateRegionOffset(),this.forceUpdate=!1,!0))},this.updateRegionOffset=()=>{this.anchorRect&&this.regionRect&&(this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorRect.left-this.regionRect.left)+(this.translateX-this.baseHorizontalOffset),this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorRect.top-this.regionRect.top)+(this.translateY-this.baseVerticalOffset))},this.isRectDifferent=(e,t)=>Math.abs(e.top-t.top)>this.updateThreshold||Math.abs(e.right-t.right)>this.updateThreshold||Math.abs(e.bottom-t.bottom)>this.updateThreshold||Math.abs(e.left-t.left)>this.updateThreshold,this.handleResize=e=>{this.update()},this.reset=()=>{this.pendingReset&&(this.pendingReset=!1,null===this.anchorElement&&(this.anchorElement=this.getAnchor()),null===this.viewportElement&&(this.viewportElement=this.getViewport()),this.currentDirection=vn(this),this.startObservers())},this.updateLayout=()=>{let e,t
|
|
555
555
|
if("uncontrolled"!==this.horizontalPositioningMode){const e=this.getPositioningOptions(this.horizontalInset)
|
|
556
556
|
if("center"===this.horizontalDefaultPosition)t="center"
|
|
@@ -610,7 +610,7 @@ const o=this.observedElements.get(e.target)
|
|
|
610
610
|
void 0!==o&&(o.forEach((i=>{let o=t.indexOf(i);-1===o&&(o=t.length,t.push(i),n.push([])),n[o].push(e)})),this.observedElements.delete(e.target))})),t.forEach(((e,t)=>{e(n[t])}))},this.initializeIntersectionDetector()}},it([le],bn.prototype,"anchor",void 0),it([le],bn.prototype,"viewport",void 0),it([le({attribute:"horizontal-positioning-mode"})],bn.prototype,"horizontalPositioningMode",void 0),it([le({attribute:"horizontal-default-position"})],bn.prototype,"horizontalDefaultPosition",void 0),it([le({attribute:"horizontal-viewport-lock",mode:"boolean"})],bn.prototype,"horizontalViewportLock",void 0),it([le({attribute:"horizontal-inset",mode:"boolean"})],bn.prototype,"horizontalInset",void 0),it([le({attribute:"horizontal-threshold"})],bn.prototype,"horizontalThreshold",void 0),it([le({attribute:"horizontal-scaling"})],bn.prototype,"horizontalScaling",void 0),it([le({attribute:"vertical-positioning-mode"})],bn.prototype,"verticalPositioningMode",void 0),it([le({attribute:"vertical-default-position"})],bn.prototype,"verticalDefaultPosition",void 0),it([le({attribute:"vertical-viewport-lock",mode:"boolean"})],bn.prototype,"verticalViewportLock",void 0),it([le({attribute:"vertical-inset",mode:"boolean"})],bn.prototype,"verticalInset",void 0),it([le({attribute:"vertical-threshold"})],bn.prototype,"verticalThreshold",void 0),it([le({attribute:"vertical-scaling"})],bn.prototype,"verticalScaling",void 0),it([le({attribute:"fixed-placement",mode:"boolean"})],bn.prototype,"fixedPlacement",void 0),it([le({attribute:"auto-update-mode"})],bn.prototype,"autoUpdateMode",void 0),it([g],bn.prototype,"anchorElement",void 0),it([g],bn.prototype,"viewportElement",void 0),it([g],bn.prototype,"initialLayoutComplete",void 0)
|
|
611
611
|
let yn=class extends mn{constructor(){super(...arguments),this.separator=!0}}
|
|
612
612
|
it([g],yn.prototype,"separator",void 0),qt(yn,et,gn)
|
|
613
|
-
let wn=class extends
|
|
613
|
+
let wn=class extends Vt{slottedBreadcrumbItemsChanged(){if(this.$fastController.isConnected){if(void 0===this.slottedBreadcrumbItems||0===this.slottedBreadcrumbItems.length)return
|
|
614
614
|
const e=this.slottedBreadcrumbItems[this.slottedBreadcrumbItems.length-1]
|
|
615
615
|
this.slottedBreadcrumbItems.forEach((t=>{const n=t===e
|
|
616
616
|
this.setItemSeparator(t,n),this.setAriaCurrent(t,n)}))}}setItemSeparator(e,t){e instanceof yn&&(e.separator=!t)}findChildWithHref(e){var t,n
|
|
@@ -627,7 +627,7 @@ this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none"
|
|
|
627
627
|
this.removeChild(this.proxy),null===(e=this.shadowRoot)||void 0===e||e.removeChild(this.proxySlot)}validate(e){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,e)}setFormValue(e,t){this.elementInternals&&this.elementInternals.setFormValue(e,t||e)}_keypressHandler(e){if(e.key===tn)if(this.form instanceof HTMLFormElement){const e=this.form.querySelector("[type=submit]")
|
|
628
628
|
null==e||e.click()}}stopPropagation(e){e.stopPropagation()}}
|
|
629
629
|
return le({mode:"boolean"})(t.prototype,"disabled"),le({mode:"fromView",attribute:"value"})(t.prototype,"initialValue"),le({attribute:"current-value"})(t.prototype,"currentValue"),le(t.prototype,"name"),le({mode:"boolean"})(t.prototype,"required"),g(t.prototype,"value"),t}function Mn(e){class t extends($n(e)){}class n extends t{constructor(...e){super(e),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(e,t){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==e&&this.$emit("change"),this.validate()}currentCheckedChanged(e,t){this.checked=this.currentChecked}updateForm(){const e=this.checked?this.value:null
|
|
630
|
-
this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return le({attribute:"checked",mode:"boolean"})(n.prototype,"checkedAttribute"),le({attribute:"current-checked",converter:se})(n.prototype,"currentChecked"),g(n.prototype,"defaultChecked"),g(n.prototype,"checked"),n}class En extends
|
|
630
|
+
this.setFormValue(e,e)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return le({attribute:"checked",mode:"boolean"})(n.prototype,"checkedAttribute"),le({attribute:"current-checked",converter:se})(n.prototype,"currentChecked"),g(n.prototype,"defaultChecked"),g(n.prototype,"checked"),n}class En extends Vt{}class In extends($n(En)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let _n=class extends In{constructor(){super(...arguments),this.handleClick=e=>{var t
|
|
631
631
|
this.disabled&&(null===(t=this.defaultSlottedContent)||void 0===t?void 0:t.length)<=1&&e.stopPropagation()},this.handleSubmission=()=>{if(!this.form)return
|
|
632
632
|
const e=this.proxy.isConnected
|
|
633
633
|
e||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),e||this.detachProxy()},this.handleFormReset=()=>{var e
|
|
@@ -641,16 +641,16 @@ const t=Array.from(null===(e=this.control)||void 0===e?void 0:e.children)
|
|
|
641
641
|
t&&t.forEach((e=>{e.removeEventListener("click",this.handleClick)}))}}
|
|
642
642
|
it([le({mode:"boolean"})],_n.prototype,"autofocus",void 0),it([le({attribute:"form"})],_n.prototype,"formId",void 0),it([le],_n.prototype,"formaction",void 0),it([le],_n.prototype,"formenctype",void 0),it([le],_n.prototype,"formmethod",void 0),it([le({mode:"boolean"})],_n.prototype,"formnovalidate",void 0),it([le],_n.prototype,"formtarget",void 0),it([le],_n.prototype,"type",void 0),it([g],_n.prototype,"defaultSlottedContent",void 0)
|
|
643
643
|
class Tn{}it([le({attribute:"aria-expanded"})],Tn.prototype,"ariaExpanded",void 0),it([le({attribute:"aria-pressed"})],Tn.prototype,"ariaPressed",void 0),qt(Tn,fn),qt(_n,et,Tn)
|
|
644
|
-
let An=class extends
|
|
645
|
-
class Dn extends
|
|
644
|
+
let An=class extends Vt{}
|
|
645
|
+
class Dn extends Vt{}class On extends(Mn(Dn)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let Rn=class extends On{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=e=>{if(!this.readOnly&&e.key===rn)this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked},this.clickHandler=e=>{this.disabled||this.readOnly||(this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}
|
|
646
646
|
function Fn(e){return Wt(e)&&("option"===e.getAttribute("role")||e instanceof HTMLOptionElement)}it([le({attribute:"readonly",mode:"boolean"})],Rn.prototype,"readOnly",void 0),it([g],Rn.prototype,"defaultSlottedNodes",void 0),it([g],Rn.prototype,"indeterminate",void 0)
|
|
647
|
-
class Nn extends
|
|
647
|
+
class Nn extends Vt{constructor(e,t,n,i){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,e&&(this.textContent=e),t&&(this.initialValue=t),n&&(this.defaultSelected=n),i&&(this.selected=i),this.proxy=new Option(`${this.textContent}`,this.initialValue,this.defaultSelected,this.selected),this.proxy.disabled=this.disabled}checkedChanged(e,t){this.ariaChecked="boolean"!=typeof t?null:t?"true":"false"}contentChanged(e,t){this.proxy instanceof HTMLOptionElement&&(this.proxy.textContent=this.textContent),this.$emit("contentchange",null,{bubbles:!0})}defaultSelectedChanged(){this.dirtySelected||(this.selected=this.defaultSelected,this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.defaultSelected))}disabledChanged(e,t){this.ariaDisabled=this.disabled?"true":"false",this.proxy instanceof HTMLOptionElement&&(this.proxy.disabled=this.disabled)}selectedAttributeChanged(){this.defaultSelected=this.selectedAttribute,this.proxy instanceof HTMLOptionElement&&(this.proxy.defaultSelected=this.defaultSelected)}selectedChanged(){this.ariaSelected=this.selected?"true":"false",this.dirtySelected||(this.dirtySelected=!0),this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.selected)}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){var e
|
|
648
648
|
return null!==(e=this.value)&&void 0!==e?e:this.text}get text(){var e,t
|
|
649
649
|
return null!==(t=null===(e=this.textContent)||void 0===e?void 0:e.replace(/\s+/g," ").trim())&&void 0!==t?t:""}set value(e){const t=`${null!=e?e:""}`
|
|
650
650
|
this._value=t,this.dirtyValue=!0,this.proxy instanceof HTMLOptionElement&&(this.proxy.value=t),m.notify(this,"value")}get value(){var e
|
|
651
651
|
return m.track(this,"value"),null!==(e=this._value)&&void 0!==e?e:this.text}get form(){return this.proxy?this.proxy.form:null}}it([g],Nn.prototype,"checked",void 0),it([g],Nn.prototype,"content",void 0),it([g],Nn.prototype,"defaultSelected",void 0),it([le({mode:"boolean"})],Nn.prototype,"disabled",void 0),it([le({attribute:"selected",mode:"boolean"})],Nn.prototype,"selectedAttribute",void 0),it([g],Nn.prototype,"selected",void 0),it([le({attribute:"value",mode:"fromView"})],Nn.prototype,"initialValue",void 0)
|
|
652
652
|
class Pn{}it([g],Pn.prototype,"ariaChecked",void 0),it([g],Pn.prototype,"ariaPosInSet",void 0),it([g],Pn.prototype,"ariaSelected",void 0),it([g],Pn.prototype,"ariaSetSize",void 0),qt(Pn,fn),qt(Nn,et,Pn)
|
|
653
|
-
class Ln extends
|
|
653
|
+
class Ln extends Vt{constructor(){super(...arguments),this._options=[],this.selectedIndex=-1,this.selectedOptions=[],this.shouldSkipFocus=!1,this.typeaheadBuffer="",this.typeaheadExpired=!0,this.typeaheadTimeout=-1}get firstSelectedOption(){var e
|
|
654
654
|
return null!==(e=this.selectedOptions[0])&&void 0!==e?e:null}get hasSelectableOptions(){return this.options.length>0&&!this.options.every((e=>e.disabled))}get length(){var e,t
|
|
655
655
|
return null!==(t=null===(e=this.options)||void 0===e?void 0:e.length)&&void 0!==t?t:0}get options(){return m.track(this,"options"),this._options}set options(e){this._options=e,m.notify(this,"options")}get typeAheadExpired(){return this.typeaheadExpired}set typeAheadExpired(e){this.typeaheadExpired=e}clickHandler(e){const t=e.target.closest("option,[role=option]")
|
|
656
656
|
if(t&&!t.disabled)return this.selectedIndex=this.options.indexOf(t),!0}focusAndScrollOptionIntoView(e=this.firstSelectedOption){this.contains(document.activeElement)&&null!==e&&(e.focus(),requestAnimationFrame((()=>{e.scrollIntoView({block:"nearest"})})))}focusinHandler(e){this.shouldSkipFocus||e.target!==e.currentTarget||(this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}getTypeaheadMatches(){const e=this.typeaheadBuffer.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),t=new RegExp(`^${e}`,"gi")
|
|
@@ -687,7 +687,7 @@ this.options.forEach(((e,t)=>{e.id||(e.id=pn("option-")),e.ariaPosInSet=`${t+1}`
|
|
|
687
687
|
if(e.length){const t=this.options.indexOf(e[0])
|
|
688
688
|
t>-1&&(this.selectedIndex=t)}this.typeaheadExpired=!1}}}Ln.slottedOptionFilter=e=>Fn(e)&&!e.hidden,Ln.TYPE_AHEAD_TIMEOUT_MS=1e3,it([le({mode:"boolean"})],Ln.prototype,"disabled",void 0),it([g],Ln.prototype,"selectedIndex",void 0),it([g],Ln.prototype,"selectedOptions",void 0),it([g],Ln.prototype,"slottedOptions",void 0),it([g],Ln.prototype,"typeaheadBuffer",void 0)
|
|
689
689
|
class zn{}it([g],zn.prototype,"ariaActiveDescendant",void 0),it([g],zn.prototype,"ariaDisabled",void 0),it([g],zn.prototype,"ariaExpanded",void 0),it([g],zn.prototype,"ariaMultiSelectable",void 0),qt(zn,fn),qt(Ln,zn)
|
|
690
|
-
const
|
|
690
|
+
const Vn="above",Hn="below"
|
|
691
691
|
class Bn extends Ln{}let qn=class extends($n(Bn)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}
|
|
692
692
|
const Un="inline",jn="list",Wn="both",Gn="none"
|
|
693
693
|
let Zn=class extends qn{constructor(){super(...arguments),this._value="",this.filteredOptions=[],this.filter="",this.forcedPosition=!1,this.listboxId=pn("listbox-"),this.maxHeight=0,this.open=!1}formResetCallback(){super.formResetCallback(),this.setDefaultSelectedOption(),this.updateValue()}validate(){super.validate(this.control)}get isAutocompleteInline(){return this.autocomplete===Un||this.isAutocompleteBoth}get isAutocompleteList(){return this.autocomplete===jn||this.isAutocompleteBoth}get isAutocompleteBoth(){return this.autocomplete===Wn}openChanged(){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),void u.queueUpdate((()=>this.focus()))
|
|
@@ -720,7 +720,7 @@ super.selectedIndexChanged(e,t)}}selectPreviousOption(){!this.disabled&&this.sel
|
|
|
720
720
|
this.selectedIndex=e,!this.dirtyValue&&this.firstSelectedOption&&(this.value=this.firstSelectedOption.text),this.setSelectedOptions()}}setInputToSelection(){this.firstSelectedOption&&(this.control.value=this.firstSelectedOption.text,this.control.focus())}setInlineSelection(){this.firstSelectedOption&&(this.setInputToSelection(),this.control.setSelectionRange(this.filter.length,this.control.value.length,"backward"))}syncValue(){var e
|
|
721
721
|
const t=this.selectedIndex>-1?null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text:this.control.value
|
|
722
722
|
this.updateValue(this.value!==t)}setPositioning(){const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom
|
|
723
|
-
this.position=this.forcedPosition?this.positionAttribute:e.top>t?Hn
|
|
723
|
+
this.position=this.forcedPosition?this.positionAttribute:e.top>t?Vn:Hn,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===Vn?~~e.top:~~t}selectedOptionsChanged(e,t){this.$fastController.isConnected&&this._options.forEach((e=>{e.selected=t.includes(e)}))}slottedOptionsChanged(e,t){super.slottedOptionsChanged(e,t),this.updateValue()}updateValue(e){var t
|
|
724
724
|
this.$fastController.isConnected&&(this.value=(null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text)||this.control.value,this.control.value=this.value),e&&this.$emit("change")}clearSelectionRange(){const e=this.control.value.length
|
|
725
725
|
this.control.setSelectionRange(e,e)}}
|
|
726
726
|
it([le({attribute:"autocomplete",mode:"fromView"})],Zn.prototype,"autocomplete",void 0),it([g],Zn.prototype,"maxHeight",void 0),it([le({attribute:"open",mode:"boolean"})],Zn.prototype,"open",void 0),it([le],Zn.prototype,"placeholder",void 0),it([le({attribute:"position"})],Zn.prototype,"positionAttribute",void 0),it([g],Zn.prototype,"position",void 0)
|
|
@@ -805,7 +805,7 @@ for(;p;){const e=i(u,h,p)
|
|
|
805
805
|
switch(e){case fi.ignoreDuplicate:return
|
|
806
806
|
case fi.definitionCallbackOnly:f=!1,p=void 0
|
|
807
807
|
break
|
|
808
|
-
default:u=e,p=mi.get(u)}}f&&((gi.has(h)||h===
|
|
808
|
+
default:u=e,p=mi.get(u)}}f&&((gi.has(h)||h===Vt)&&(h=class extends h{}),mi.set(u,h),gi.set(h,u),d&&gi.set(d,u)),n.push(new xi(t,u,h,o,c,f))}}
|
|
809
809
|
this.designTokensInitialized||(this.designTokensInitialized=!0,null!==this.designTokenRoot&&pi.registerRoot(this.designTokenRoot)),t.registerWithContext(s,...e)
|
|
810
810
|
for(const e of n)e.callback(e),e.willDefine&&null!==e.definition&&e.definition.define()
|
|
811
811
|
return this}}class xi{constructor(e,t,n,i,o,s){this.container=e,this.name=t,this.type=n,this.shadowRootMode=i,this.callback=o,this.willDefine=s,this.definition=null}definePresentation(e){Lt.define(this.name,e,this.container)}defineElement(e){this.definition=new ue(this.type,Object.assign(Object.assign({},e),{name:this.name}))}tagFor(e){return yi.tagFor(e)}}
|
|
@@ -848,7 +848,7 @@ i!==t&&u.queueUpdate((()=>{this.size=i}))}toggleSelectedForAllCheckedOptions(){c
|
|
|
848
848
|
e.forEach((e=>e.selected=t)),this.selectedIndex=this.options.indexOf(e[e.length-1]),this.setSelectedOptions()}typeaheadBufferChanged(e,t){if(this.multiple){if(this.$fastController.isConnected){const e=this.getTypeaheadMatches(),t=this.options.indexOf(e[0])
|
|
849
849
|
t>-1&&(this.activeIndex=t,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(e,t)}uncheckAllOptions(e=!1){this.options.forEach((e=>e.checked=!this.multiple&&void 0)),e||(this.rangeStartIndex=-1)}}it([g],_i.prototype,"activeIndex",void 0),it([le({mode:"boolean"})],_i.prototype,"multiple",void 0),it([le({converter:re})],_i.prototype,"size",void 0)
|
|
850
850
|
const Ti="menuitem",Ai="menuitemcheckbox",Di="menuitemradio",Oi={[Ti]:"menuitem",[Ai]:"menuitemcheckbox",[Di]:"menuitemradio"}
|
|
851
|
-
let Ri=class extends
|
|
851
|
+
let Ri=class extends Vt{constructor(){super(...arguments),this.role=Ti,this.hasSubmenu=!1,this.currentDirection=cn.ltr,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=e=>{if(e.defaultPrevented)return!1
|
|
852
852
|
switch(e.key){case tn:case rn:return this.invoke(),!1
|
|
853
853
|
case Qt:return this.expandAndFocus(),!1
|
|
854
854
|
case Jt:if(this.expanded)return this.expanded=!1,this.focus(),!1}return!0},this.handleMenuItemClick=e=>(e.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.hasSubmenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=e=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=e=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case Ai:this.checked=!this.checked
|
|
@@ -858,7 +858,7 @@ break
|
|
|
858
858
|
case Di:this.checked||(this.checked=!0)}},this.updateSubmenu=()=>{this.submenu=this.domChildren().find((e=>"menu"===e.getAttribute("role"))),this.hasSubmenu=void 0!==this.submenu}}expandedChanged(e){if(this.$fastController.isConnected){if(void 0===this.submenu)return
|
|
859
859
|
!1===this.expanded?this.submenu.collapseExpandedItem():this.currentDirection=vn(this),this.$emit("expanded-change",this,{bubbles:!1})}}checkedChanged(e,t){this.$fastController.isConnected&&this.$emit("change")}connectedCallback(){super.connectedCallback(),u.queueUpdate((()=>{this.updateSubmenu()})),this.startColumnCount||(this.startColumnCount=1),this.observer=new MutationObserver(this.updateSubmenu)}disconnectedCallback(){super.disconnectedCallback(),this.submenu=void 0,void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0)}domChildren(){return Array.from(this.children).filter((e=>!e.hasAttribute("hidden")))}}
|
|
860
860
|
it([le({mode:"boolean"})],Ri.prototype,"disabled",void 0),it([le({mode:"boolean"})],Ri.prototype,"expanded",void 0),it([g],Ri.prototype,"startColumnCount",void 0),it([le],Ri.prototype,"role",void 0),it([le({mode:"boolean"})],Ri.prototype,"checked",void 0),it([g],Ri.prototype,"submenuRegion",void 0),it([g],Ri.prototype,"hasSubmenu",void 0),it([g],Ri.prototype,"currentDirection",void 0),it([g],Ri.prototype,"submenu",void 0),qt(Ri,et)
|
|
861
|
-
let Fi=class e extends
|
|
861
|
+
let Fi=class e extends Vt{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&Wt(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=e=>{if(!this.contains(e.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem()
|
|
862
862
|
const e=this.menuItems.findIndex(this.isFocusableElement)
|
|
863
863
|
this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[e].setAttribute("tabindex","0"),this.focusIndex=e}},this.handleItemFocus=e=>{const t=e.target
|
|
864
864
|
void 0!==this.menuItems&&t!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(t),t.setAttribute("tabindex","0"))},this.handleExpandedChanged=e=>{if(e.defaultPrevented||null===e.target||void 0===this.menuItems||this.menuItems.indexOf(e.target)<0)return
|
|
@@ -884,11 +884,11 @@ default:return!0}}domChildren(){return Array.from(this.children).filter((e=>!e.h
|
|
|
884
884
|
if(this.isFocusableElement(n)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=e,n.setAttribute("tabindex","0"),n.focus()
|
|
885
885
|
break}e+=t}}}
|
|
886
886
|
Fi.focusableElementRoles=Oi,it([g],Fi.prototype,"items",void 0)
|
|
887
|
-
class Ni extends
|
|
887
|
+
class Ni extends Vt{}class Pi extends($n(Ni)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const Li="text"
|
|
888
888
|
let zi=class extends Pi{constructor(){super(...arguments),this.type=Li}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&u.queueUpdate((()=>{this.focus()}))}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}
|
|
889
889
|
it([le({attribute:"readonly",mode:"boolean"})],zi.prototype,"readOnly",void 0),it([le({mode:"boolean"})],zi.prototype,"autofocus",void 0),it([le],zi.prototype,"placeholder",void 0),it([le],zi.prototype,"type",void 0),it([le],zi.prototype,"list",void 0),it([le({converter:re})],zi.prototype,"maxlength",void 0),it([le({converter:re})],zi.prototype,"minlength",void 0),it([le],zi.prototype,"pattern",void 0),it([le({converter:re})],zi.prototype,"size",void 0),it([le({mode:"boolean"})],zi.prototype,"spellcheck",void 0),it([g],zi.prototype,"defaultSlottedNodes",void 0)
|
|
890
|
-
class
|
|
891
|
-
class
|
|
890
|
+
class Vi{}qt(Vi,fn),qt(zi,et,Vi)
|
|
891
|
+
class Hi extends Vt{}class Bi extends($n(Hi)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let qi=class extends Bi{constructor(){super(...arguments),this.hideStep=!1,this.step=1,this.isUserInput=!1}maxChanged(e,t){var n
|
|
892
892
|
this.max=Math.max(t,null!==(n=this.min)&&void 0!==n?n:t)
|
|
893
893
|
const i=Math.min(this.min,this.max)
|
|
894
894
|
void 0!==this.min&&this.min!==i&&(this.min=i),this.value=this.getValidValue(this.value)}minChanged(e,t){var n
|
|
@@ -900,8 +900,8 @@ return isNaN(i)?i="":(i=Math.min(i,null!==(t=this.max)&&void 0!==t?t:i),i=Math.m
|
|
|
900
900
|
this.value=t.toString()}stepDown(){const e=parseFloat(this.value),t=isNaN(e)?this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step:e-this.step
|
|
901
901
|
this.value=t.toString()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","number"),this.validate(),this.control.value=this.value,this.autofocus&&u.queueUpdate((()=>{this.focus()}))}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.control.value=this.control.value.replace(/[^0-9\-+e.]/g,""),this.isUserInput=!0,this.value=this.control.value}handleChange(){this.$emit("change")}handleKeyDown(e){switch(e.key){case en:return this.stepUp(),!1
|
|
902
902
|
case Yt:return this.stepDown(),!1}return!0}handleBlur(){this.control.value=this.value}}
|
|
903
|
-
it([le({attribute:"readonly",mode:"boolean"})],qi.prototype,"readOnly",void 0),it([le({mode:"boolean"})],qi.prototype,"autofocus",void 0),it([le({attribute:"hide-step",mode:"boolean"})],qi.prototype,"hideStep",void 0),it([le],qi.prototype,"placeholder",void 0),it([le],qi.prototype,"list",void 0),it([le({converter:re})],qi.prototype,"maxlength",void 0),it([le({converter:re})],qi.prototype,"minlength",void 0),it([le({converter:re})],qi.prototype,"size",void 0),it([le({converter:re})],qi.prototype,"step",void 0),it([le({converter:re})],qi.prototype,"max",void 0),it([le({converter:re})],qi.prototype,"min",void 0),it([g],qi.prototype,"defaultSlottedNodes",void 0),qt(qi,et,
|
|
904
|
-
let Ui=class extends
|
|
903
|
+
it([le({attribute:"readonly",mode:"boolean"})],qi.prototype,"readOnly",void 0),it([le({mode:"boolean"})],qi.prototype,"autofocus",void 0),it([le({attribute:"hide-step",mode:"boolean"})],qi.prototype,"hideStep",void 0),it([le],qi.prototype,"placeholder",void 0),it([le],qi.prototype,"list",void 0),it([le({converter:re})],qi.prototype,"maxlength",void 0),it([le({converter:re})],qi.prototype,"minlength",void 0),it([le({converter:re})],qi.prototype,"size",void 0),it([le({converter:re})],qi.prototype,"step",void 0),it([le({converter:re})],qi.prototype,"max",void 0),it([le({converter:re})],qi.prototype,"min",void 0),it([g],qi.prototype,"defaultSlottedNodes",void 0),qt(qi,et,Vi)
|
|
904
|
+
let Ui=class extends Vt{constructor(){super(...arguments),this.orientation=Ut,this.radioChangeHandler=e=>{const t=e.target
|
|
905
905
|
t.checked&&(this.slottedRadioButtons.forEach((e=>{e!==t&&(e.checked=!1,this.isInsideFoundationToolbar||e.setAttribute("tabindex","-1"))})),this.selectedRadio=t,this.value=t.value,t.setAttribute("tabindex","0"),this.focusedRadio=t),e.stopPropagation()},this.moveToRadioByIndex=(e,t)=>{const n=e[t]
|
|
906
906
|
this.isInsideToolbar||(n.setAttribute("tabindex","0"),n.readOnly?this.slottedRadioButtons.forEach((e=>{e!==n&&e.setAttribute("tabindex","-1")})):(n.checked=!0,this.selectedRadio=n)),this.focusedRadio=n,n.focus()},this.moveRightOffGroup=()=>{var e
|
|
907
907
|
null===(e=this.nextElementSibling)||void 0===e||e.focus()},this.moveLeftOffGroup=()=>{var e
|
|
@@ -935,7 +935,7 @@ if(this.slottedRadioButtons.forEach((e=>{void 0!==this.name&&e.setAttribute("nam
|
|
|
935
935
|
if(t>0&&!n){const n=e[t-1]
|
|
936
936
|
n.checked=!0,this.focusedRadio=n,n.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}
|
|
937
937
|
it([le({attribute:"readonly",mode:"boolean"})],Ui.prototype,"readOnly",void 0),it([le({attribute:"disabled",mode:"boolean"})],Ui.prototype,"disabled",void 0),it([le],Ui.prototype,"name",void 0),it([le],Ui.prototype,"value",void 0),it([le],Ui.prototype,"orientation",void 0),it([g],Ui.prototype,"childItems",void 0),it([g],Ui.prototype,"slottedRadioButtons",void 0)
|
|
938
|
-
class ji extends
|
|
938
|
+
class ji extends Vt{}class Wi extends(Mn(ji)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let Gi=class extends Wi{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(e.key!==rn)return!0
|
|
939
939
|
this.checked||this.readOnly||(this.checked=!0)},this.proxy.setAttribute("type","radio")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}defaultCheckedChanged(){var e
|
|
940
940
|
this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t
|
|
941
941
|
super.connectedCallback(),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.closest("[role=radiogroup]")}clickHandler(e){this.disabled||this.readOnly||this.checked||(this.checked=!0)}}
|
|
@@ -945,7 +945,7 @@ this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.m
|
|
|
945
945
|
const l=`${this._value}`
|
|
946
946
|
if(null===(t=this._options)||void 0===t?void 0:t.length){const t=this._options.findIndex((t=>t.value===e)),l=null!==(i=null===(n=this._options[this.selectedIndex])||void 0===n?void 0:n.value)&&void 0!==i?i:null,c=null!==(s=null===(o=this._options[t])||void 0===o?void 0:o.value)&&void 0!==s?s:null;-1!==t&&l===c||(e="",this.selectedIndex=t),e=null!==(a=null===(r=this.firstSelectedOption)||void 0===r?void 0:r.value)&&void 0!==a?a:e}l!==e&&(this._value=e,super.valueChanged(l,e),m.notify(this,"value"),this.updateDisplayValue())}updateValue(e){var t,n
|
|
947
947
|
this.$fastController.isConnected&&(this.value=null!==(n=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.value)&&void 0!==n?n:""),e&&(this.$emit("input"),this.$emit("change",this,{bubbles:!0,composed:void 0}))}selectedIndexChanged(e,t){super.selectedIndexChanged(e,t),this.updateValue()}positionChanged(e,t){this.positionAttribute=t,this.setPositioning()}setPositioning(){const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom
|
|
948
|
-
this.position=this.forcedPosition?this.positionAttribute:e.top>t?Hn
|
|
948
|
+
this.position=this.forcedPosition?this.positionAttribute:e.top>t?Vn:Hn,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===Vn?~~e.top:~~t}get displayValue(){var e,t
|
|
949
949
|
return m.track(this,"displayValue"),null!==(t=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text)&&void 0!==t?t:""}disabledChanged(e,t){super.disabledChanged&&super.disabledChanged(e,t),this.ariaDisabled=this.disabled?"true":"false"}formResetCallback(){this.setProxyOptions(),super.setDefaultSelectedOption(),-1===this.selectedIndex&&(this.selectedIndex=0)}clickHandler(e){if(!this.disabled){if(this.open){const t=e.target.closest("option,[role=option]")
|
|
950
950
|
if(t&&t.disabled)return}return super.clickHandler(e),this.open=this.collapsible&&!this.open,this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}}focusoutHandler(e){var t
|
|
951
951
|
if(super.focusoutHandler(e),!this.open)return!0
|
|
@@ -970,13 +970,13 @@ break
|
|
|
970
970
|
case an:return this.collapsible&&this.open&&(e.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!(t===Yt||t===en)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(e,t){super.sizeChanged(e,t),this.proxy&&(this.proxy.size=t)}updateDisplayValue(){this.collapsible&&m.notify(this,"displayValue")}}
|
|
971
971
|
it([le({attribute:"open",mode:"boolean"})],Yi.prototype,"open",void 0),it([v],Yi.prototype,"collapsible",null),it([g],Yi.prototype,"control",void 0),it([le({attribute:"position"})],Yi.prototype,"positionAttribute",void 0),it([g],Yi.prototype,"position",void 0),it([g],Yi.prototype,"maxHeight",void 0)
|
|
972
972
|
class Ji{}it([g],Ji.prototype,"ariaControls",void 0),qt(Ji,zn),qt(Yi,et,Ji)
|
|
973
|
-
class Qi extends
|
|
973
|
+
class Qi extends Vt{}class eo extends(Mn(Qi)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let to=class extends eo{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(!this.readOnly)switch(e.key){case tn:case rn:this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedChanged(e,t){super.checkedChanged(e,t),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}
|
|
974
974
|
it([le({attribute:"readonly",mode:"boolean"})],to.prototype,"readOnly",void 0),it([g],to.prototype,"defaultSlottedNodes",void 0)
|
|
975
|
-
let no=class extends
|
|
976
|
-
let io=class extends
|
|
975
|
+
let no=class extends Vt{}
|
|
976
|
+
let io=class extends Vt{}
|
|
977
977
|
it([le({mode:"boolean"})],io.prototype,"disabled",void 0)
|
|
978
978
|
const oo="horizontal"
|
|
979
|
-
let so=class extends
|
|
979
|
+
let so=class extends Vt{constructor(){super(...arguments),this.orientation=oo,this.activeindicator=!0,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.setTabs=()=>{const e="gridColumn",t="gridRow",n=this.isHorizontal()?e:t
|
|
980
980
|
this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach(((i,o)=>{if("tab"===i.slot){const e=this.activeTabIndex===o&&this.isFocusableElement(i)
|
|
981
981
|
this.activeindicator&&this.isFocusableElement(i)&&(this.showActiveIndicator=!0)
|
|
982
982
|
const t=this.tabIds[o],n=this.tabpanelIds[o]
|
|
@@ -1007,11 +1007,11 @@ const s=o-i
|
|
|
1007
1007
|
this.activeIndicatorRef.style.transform=`${t}(${s}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",(()=>{this.ticking=!1,this.activeIndicatorRef.style[e]=`${this.activeTabIndex+1}`,this.activeIndicatorRef.style.transform=`${t}(0px)`,this.activeIndicatorRef.classList.remove("activeIndicatorTransition")}))}adjust(e){const t=this.tabs.filter((e=>this.isFocusableElement(e))),n=t.indexOf(this.activetab),i=dn(0,t.length-1,n+e),o=this.tabs.indexOf(t[i])
|
|
1008
1008
|
o>-1&&this.moveToTabByIndex(this.tabs,o)}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}
|
|
1009
1009
|
it([le],so.prototype,"orientation",void 0),it([le],so.prototype,"activeid",void 0),it([g],so.prototype,"tabs",void 0),it([g],so.prototype,"tabpanels",void 0),it([le({mode:"boolean"})],so.prototype,"activeindicator",void 0),it([g],so.prototype,"activeIndicatorRef",void 0),it([g],so.prototype,"showActiveIndicator",void 0),qt(so,et)
|
|
1010
|
-
class ro extends
|
|
1010
|
+
class ro extends Vt{}class ao extends($n(ro)){constructor(){super(...arguments),this.proxy=document.createElement("textarea")}}const lo="none"
|
|
1011
1011
|
let co=class extends ao{constructor(){super(...arguments),this.resize=lo,this.cols=20,this.handleTextInput=()=>{this.value=this.control.value}}readOnlyChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.readOnly=this.readOnly)}autofocusChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.autofocus=this.autofocus)}listChanged(){this.proxy instanceof HTMLTextAreaElement&&this.proxy.setAttribute("list",this.list)}maxlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.maxLength=this.maxlength)}minlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.minLength=this.minlength)}spellcheckChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.spellcheck=this.spellcheck)}select(){this.control.select(),this.$emit("select")}handleChange(){this.$emit("change")}validate(){super.validate(this.control)}}
|
|
1012
|
-
it([le({mode:"boolean"})],co.prototype,"readOnly",void 0),it([le],co.prototype,"resize",void 0),it([le({mode:"boolean"})],co.prototype,"autofocus",void 0),it([le({attribute:"form"})],co.prototype,"formId",void 0),it([le],co.prototype,"list",void 0),it([le({converter:re})],co.prototype,"maxlength",void 0),it([le({converter:re})],co.prototype,"minlength",void 0),it([le],co.prototype,"name",void 0),it([le],co.prototype,"placeholder",void 0),it([le({converter:re,mode:"fromView"})],co.prototype,"cols",void 0),it([le({converter:re,mode:"fromView"})],co.prototype,"rows",void 0),it([le({mode:"boolean"})],co.prototype,"spellcheck",void 0),it([g],co.prototype,"defaultSlottedNodes",void 0),qt(co,
|
|
1012
|
+
it([le({mode:"boolean"})],co.prototype,"readOnly",void 0),it([le],co.prototype,"resize",void 0),it([le({mode:"boolean"})],co.prototype,"autofocus",void 0),it([le({attribute:"form"})],co.prototype,"formId",void 0),it([le],co.prototype,"list",void 0),it([le({converter:re})],co.prototype,"maxlength",void 0),it([le({converter:re})],co.prototype,"minlength",void 0),it([le],co.prototype,"name",void 0),it([le],co.prototype,"placeholder",void 0),it([le({converter:re,mode:"fromView"})],co.prototype,"cols",void 0),it([le({converter:re,mode:"fromView"})],co.prototype,"rows",void 0),it([le({mode:"boolean"})],co.prototype,"spellcheck",void 0),it([g],co.prototype,"defaultSlottedNodes",void 0),qt(co,Vi)
|
|
1013
1013
|
const ho=Object.freeze({[ln.ArrowUp]:{[jt]:-1},[ln.ArrowDown]:{[jt]:1},[ln.ArrowLeft]:{[Ut]:{[cn.ltr]:-1,[cn.rtl]:1}},[ln.ArrowRight]:{[Ut]:{[cn.ltr]:1,[cn.rtl]:-1}}})
|
|
1014
|
-
let uo=class e extends
|
|
1014
|
+
let uo=class e extends Vt{constructor(){super(...arguments),this._activeIndex=0,this.direction=cn.ltr,this.orientation=Ut}get activeIndex(){return m.track(this,"activeIndex"),this._activeIndex}set activeIndex(e){this.$fastController.isConnected&&(this._activeIndex=dn(0,this.focusableElements.length-1,e),m.notify(this,"activeIndex"))}slottedItemsChanged(){this.$fastController.isConnected&&this.reduceFocusableElements()}mouseDownHandler(e){var t
|
|
1015
1015
|
const n=null===(t=this.focusableElements)||void 0===t?void 0:t.findIndex((t=>t.contains(e.target)))
|
|
1016
1016
|
return n>-1&&this.activeIndex!==n&&this.setFocusedElement(n),!0}childItemsChanged(e,t){this.$fastController.isConnected&&this.reduceFocusableElements()}connectedCallback(){super.connectedCallback(),this.direction=vn(this)}focusinHandler(e){const t=e.relatedTarget
|
|
1017
1017
|
t&&!this.contains(t)&&this.setFocusedElement()}getDirectionalIncrementer(e){var t,n,i,o,s
|
|
@@ -1031,7 +1031,7 @@ return n.hasAttribute("disabled")||n.hasAttribute("hidden")||!(Ii(n)||a||l||c)?n
|
|
|
1031
1031
|
it([g],uo.prototype,"direction",void 0),it([le],uo.prototype,"orientation",void 0),it([g],uo.prototype,"slottedItems",void 0),it([g],uo.prototype,"slottedLabel",void 0),it([g],uo.prototype,"childItems",void 0)
|
|
1032
1032
|
class po{}it([le({attribute:"aria-labelledby"})],po.prototype,"ariaLabelledby",void 0),it([le({attribute:"aria-label"})],po.prototype,"ariaLabel",void 0),qt(po,fn),qt(uo,et,po)
|
|
1033
1033
|
const fo="top",mo="right",go="bottom",vo="left",bo="start",yo="end",wo="top-left",xo="top-right",Co="bottom-left",ko="bottom-right",So="top-start",$o="top-end",Mo="bottom-start",Eo="bottom-end"
|
|
1034
|
-
let Io=class extends
|
|
1034
|
+
let Io=class extends Vt{constructor(){super(...arguments),this.anchor="",this.delay=300,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.horizontalInset="false",this.verticalInset="false",this.horizontalScaling="content",this.verticalScaling="content",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition=void 0,this.tooltipVisible=!1,this.currentDirection=cn.ltr,this.showDelayTimer=null,this.hideDelayTimer=null,this.isAnchorHoveredFocused=!1,this.isRegionHovered=!1,this.handlePositionChange=e=>{this.classList.toggle("top","start"===this.region.verticalPosition),this.classList.toggle("bottom","end"===this.region.verticalPosition),this.classList.toggle("inset-top","insetStart"===this.region.verticalPosition),this.classList.toggle("inset-bottom","insetEnd"===this.region.verticalPosition),this.classList.toggle("center-vertical","center"===this.region.verticalPosition),this.classList.toggle("left","start"===this.region.horizontalPosition),this.classList.toggle("right","end"===this.region.horizontalPosition),this.classList.toggle("inset-left","insetStart"===this.region.horizontalPosition),this.classList.toggle("inset-right","insetEnd"===this.region.horizontalPosition),this.classList.toggle("center-horizontal","center"===this.region.horizontalPosition)},this.handleRegionMouseOver=e=>{this.isRegionHovered=!0},this.handleRegionMouseOut=e=>{this.isRegionHovered=!1,this.startHideDelayTimer()},this.handleAnchorMouseOver=e=>{this.tooltipVisible?this.isAnchorHoveredFocused=!0:this.startShowDelayTimer()},this.handleAnchorMouseOut=e=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.handleAnchorFocusIn=e=>{this.startShowDelayTimer()},this.handleAnchorFocusOut=e=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.startHideDelayTimer=()=>{this.clearHideDelayTimer(),this.tooltipVisible&&(this.hideDelayTimer=window.setTimeout((()=>{this.updateTooltipVisibility()}),60))},this.clearHideDelayTimer=()=>{null!==this.hideDelayTimer&&(clearTimeout(this.hideDelayTimer),this.hideDelayTimer=null)},this.startShowDelayTimer=()=>{this.isAnchorHoveredFocused||(this.delay>1?null===this.showDelayTimer&&(this.showDelayTimer=window.setTimeout((()=>{this.startHover()}),this.delay)):this.startHover())},this.startHover=()=>{this.isAnchorHoveredFocused=!0,this.updateTooltipVisibility()},this.clearShowDelayTimer=()=>{null!==this.showDelayTimer&&(clearTimeout(this.showDelayTimer),this.showDelayTimer=null)},this.getAnchor=()=>{const e=this.getRootNode()
|
|
1035
1035
|
return e instanceof ShadowRoot?e.getElementById(this.anchor):document.getElementById(this.anchor)},this.handleDocumentKeydown=e=>{if(!e.defaultPrevented&&this.tooltipVisible&&e.key===nn)this.isAnchorHoveredFocused=!1,this.updateTooltipVisibility(),this.$emit("dismiss")},this.updateTooltipVisibility=()=>{if(!1===this.visible)this.hideTooltip()
|
|
1036
1036
|
else{if(!0===this.visible)return void this.showTooltip()
|
|
1037
1037
|
if(this.isAnchorHoveredFocused||this.isRegionHovered)return void this.showTooltip()
|
|
@@ -1059,10 +1059,10 @@ case Eo:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="en
|
|
|
1059
1059
|
break
|
|
1060
1060
|
default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}
|
|
1061
1061
|
it([le({mode:"boolean"})],Io.prototype,"visible",void 0),it([le],Io.prototype,"anchor",void 0),it([le],Io.prototype,"delay",void 0),it([le],Io.prototype,"position",void 0),it([le({attribute:"auto-update-mode"})],Io.prototype,"autoUpdateMode",void 0),it([le({attribute:"horizontal-viewport-lock"})],Io.prototype,"horizontalViewportLock",void 0),it([le({attribute:"vertical-viewport-lock"})],Io.prototype,"verticalViewportLock",void 0),it([g],Io.prototype,"anchorElement",void 0),it([g],Io.prototype,"viewportElement",void 0),it([g],Io.prototype,"verticalPositioningMode",void 0),it([g],Io.prototype,"horizontalPositioningMode",void 0),it([g],Io.prototype,"horizontalInset",void 0),it([g],Io.prototype,"verticalInset",void 0),it([g],Io.prototype,"horizontalScaling",void 0),it([g],Io.prototype,"verticalScaling",void 0),it([g],Io.prototype,"verticalDefaultPosition",void 0),it([g],Io.prototype,"horizontalDefaultPosition",void 0),it([g],Io.prototype,"tooltipVisible",void 0),it([g],Io.prototype,"currentDirection",void 0)
|
|
1062
|
-
function _o(e){return Wt(e)&&"treeitem"===e.getAttribute("role")}let To=class extends
|
|
1062
|
+
function _o(e){return Wt(e)&&"treeitem"===e.getAttribute("role")}let To=class extends Vt{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.isNestedItem=()=>_o(this.parentElement),this.handleExpandCollapseButtonClick=e=>{this.disabled||e.defaultPrevented||(this.expanded=!this.expanded)},this.handleFocus=e=>{this.setAttribute("tabindex","0")},this.handleBlur=e=>{this.setAttribute("tabindex","-1")}}expandedChanged(){this.$fastController.isConnected&&this.$emit("expanded-change",this)}selectedChanged(){this.$fastController.isConnected&&this.$emit("selected-change",this)}itemsChanged(e,t){this.$fastController.isConnected&&this.items.forEach((e=>{_o(e)&&(e.nested=!0)}))}static focusItem(e){e.focusable=!0,e.focus()}childItemLength(){const e=this.childItems.filter((e=>_o(e)))
|
|
1063
1063
|
return e?e.length:0}}
|
|
1064
1064
|
it([le({mode:"boolean"})],To.prototype,"expanded",void 0),it([le({mode:"boolean"})],To.prototype,"selected",void 0),it([le({mode:"boolean"})],To.prototype,"disabled",void 0),it([g],To.prototype,"focusable",void 0),it([g],To.prototype,"childItems",void 0),it([g],To.prototype,"items",void 0),it([g],To.prototype,"nested",void 0),it([g],To.prototype,"renderCollapsedChildren",void 0),qt(To,et)
|
|
1065
|
-
let Ao=class extends
|
|
1065
|
+
let Ao=class extends Vt{constructor(){super(...arguments),this.currentFocused=null,this.handleFocus=e=>{if(!(this.slottedTreeItems.length<1))return e.target===this?(null===this.currentFocused&&(this.currentFocused=this.getValidFocusableItem()),void(null!==this.currentFocused&&To.focusItem(this.currentFocused))):void(this.contains(e.target)&&(this.setAttribute("tabindex","-1"),this.currentFocused=e.target))},this.handleBlur=e=>{e.target instanceof HTMLElement&&(null===e.relatedTarget||!this.contains(e.relatedTarget))&&this.setAttribute("tabindex","0")},this.handleKeyDown=e=>{if(e.defaultPrevented)return
|
|
1066
1066
|
if(this.slottedTreeItems.length<1)return!0
|
|
1067
1067
|
const t=this.getVisibleNodes()
|
|
1068
1068
|
switch(e.key){case on:return void(t.length&&To.focusItem(t[0]))
|
|
@@ -1097,29 +1097,29 @@ null!==t&&e.setAttribute("nonce",t),document.head.appendChild(e)
|
|
|
1097
1097
|
try{e.sheet.insertRule("foo:focus-visible {color:inherit}",0),Gt=!0}catch(e){Gt=!1}finally{document.head.removeChild(e)}return Gt}()?"focus-visible":"focus"
|
|
1098
1098
|
class Oo extends mn{}const Ro=e=>`${function(e){return`:host([hidden]){display:none}:host{display:${e}}`}(e)}:host{box-sizing:border-box;}*{box-sizing:border-box;}:host::before,:host::after,::before,::after{box-sizing:border-box;}`,Fo=`:${Do}`
|
|
1099
1099
|
function No(e,t,n){return isNaN(e)||e<=t?t:e>=n?n:e}function Po(e,t,n){return isNaN(e)||e<=t?0:e>=n?1:e/(n-t)}function Lo(e,t,n){return isNaN(e)?t:t+e*(n-t)}function zo(e,t){const n=Math.pow(10,t)
|
|
1100
|
-
return Math.round(e*n)/n}class
|
|
1101
|
-
return 1===t.length?"0"+t:t}(Lo(e,0,255))}}const
|
|
1100
|
+
return Math.round(e*n)/n}class Vo{constructor(e,t,n,i){this.r=e,this.g=t,this.b=n,this.a="number"!=typeof i||isNaN(i)?1:i}static fromObject(e){return!e||isNaN(e.r)||isNaN(e.g)||isNaN(e.b)?null:new Vo(e.r,e.g,e.b,e.a)}equalValue(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}toStringHexRGB(){return"#"+[this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringHexRGBA(){return this.toStringHexRGB()+this.formatHexValue(this.a)}toStringHexARGB(){return"#"+[this.a,this.r,this.g,this.b].map(this.formatHexValue).join("")}toStringWebRGB(){return`rgb(${Math.round(Lo(this.r,0,255))},${Math.round(Lo(this.g,0,255))},${Math.round(Lo(this.b,0,255))})`}toStringWebRGBA(){return`rgba(${Math.round(Lo(this.r,0,255))},${Math.round(Lo(this.g,0,255))},${Math.round(Lo(this.b,0,255))},${No(this.a,0,1)})`}roundToPrecision(e){return new Vo(zo(this.r,e),zo(this.g,e),zo(this.b,e),zo(this.a,e))}clamp(){return new Vo(No(this.r,0,1),No(this.g,0,1),No(this.b,0,1),No(this.a,0,1))}toObject(){return{r:this.r,g:this.g,b:this.b,a:this.a}}formatHexValue(e){return function(e){const t=Math.round(No(e,0,255)).toString(16)
|
|
1101
|
+
return 1===t.length?"0"+t:t}(Lo(e,0,255))}}const Ho={aliceblue:{r:.941176,g:.972549,b:1},antiquewhite:{r:.980392,g:.921569,b:.843137},aqua:{r:0,g:1,b:1},aquamarine:{r:.498039,g:1,b:.831373},azure:{r:.941176,g:1,b:1},beige:{r:.960784,g:.960784,b:.862745},bisque:{r:1,g:.894118,b:.768627},black:{r:0,g:0,b:0},blanchedalmond:{r:1,g:.921569,b:.803922},blue:{r:0,g:0,b:1},blueviolet:{r:.541176,g:.168627,b:.886275},brown:{r:.647059,g:.164706,b:.164706},burlywood:{r:.870588,g:.721569,b:.529412},cadetblue:{r:.372549,g:.619608,b:.627451},chartreuse:{r:.498039,g:1,b:0},chocolate:{r:.823529,g:.411765,b:.117647},coral:{r:1,g:.498039,b:.313725},cornflowerblue:{r:.392157,g:.584314,b:.929412},cornsilk:{r:1,g:.972549,b:.862745},crimson:{r:.862745,g:.078431,b:.235294},cyan:{r:0,g:1,b:1},darkblue:{r:0,g:0,b:.545098},darkcyan:{r:0,g:.545098,b:.545098},darkgoldenrod:{r:.721569,g:.52549,b:.043137},darkgray:{r:.662745,g:.662745,b:.662745},darkgreen:{r:0,g:.392157,b:0},darkgrey:{r:.662745,g:.662745,b:.662745},darkkhaki:{r:.741176,g:.717647,b:.419608},darkmagenta:{r:.545098,g:0,b:.545098},darkolivegreen:{r:.333333,g:.419608,b:.184314},darkorange:{r:1,g:.54902,b:0},darkorchid:{r:.6,g:.196078,b:.8},darkred:{r:.545098,g:0,b:0},darksalmon:{r:.913725,g:.588235,b:.478431},darkseagreen:{r:.560784,g:.737255,b:.560784},darkslateblue:{r:.282353,g:.239216,b:.545098},darkslategray:{r:.184314,g:.309804,b:.309804},darkslategrey:{r:.184314,g:.309804,b:.309804},darkturquoise:{r:0,g:.807843,b:.819608},darkviolet:{r:.580392,g:0,b:.827451},deeppink:{r:1,g:.078431,b:.576471},deepskyblue:{r:0,g:.74902,b:1},dimgray:{r:.411765,g:.411765,b:.411765},dimgrey:{r:.411765,g:.411765,b:.411765},dodgerblue:{r:.117647,g:.564706,b:1},firebrick:{r:.698039,g:.133333,b:.133333},floralwhite:{r:1,g:.980392,b:.941176},forestgreen:{r:.133333,g:.545098,b:.133333},fuchsia:{r:1,g:0,b:1},gainsboro:{r:.862745,g:.862745,b:.862745},ghostwhite:{r:.972549,g:.972549,b:1},gold:{r:1,g:.843137,b:0},goldenrod:{r:.854902,g:.647059,b:.12549},gray:{r:.501961,g:.501961,b:.501961},green:{r:0,g:.501961,b:0},greenyellow:{r:.678431,g:1,b:.184314},grey:{r:.501961,g:.501961,b:.501961},honeydew:{r:.941176,g:1,b:.941176},hotpink:{r:1,g:.411765,b:.705882},indianred:{r:.803922,g:.360784,b:.360784},indigo:{r:.294118,g:0,b:.509804},ivory:{r:1,g:1,b:.941176},khaki:{r:.941176,g:.901961,b:.54902},lavender:{r:.901961,g:.901961,b:.980392},lavenderblush:{r:1,g:.941176,b:.960784},lawngreen:{r:.486275,g:.988235,b:0},lemonchiffon:{r:1,g:.980392,b:.803922},lightblue:{r:.678431,g:.847059,b:.901961},lightcoral:{r:.941176,g:.501961,b:.501961},lightcyan:{r:.878431,g:1,b:1},lightgoldenrodyellow:{r:.980392,g:.980392,b:.823529},lightgray:{r:.827451,g:.827451,b:.827451},lightgreen:{r:.564706,g:.933333,b:.564706},lightgrey:{r:.827451,g:.827451,b:.827451},lightpink:{r:1,g:.713725,b:.756863},lightsalmon:{r:1,g:.627451,b:.478431},lightseagreen:{r:.12549,g:.698039,b:.666667},lightskyblue:{r:.529412,g:.807843,b:.980392},lightslategray:{r:.466667,g:.533333,b:.6},lightslategrey:{r:.466667,g:.533333,b:.6},lightsteelblue:{r:.690196,g:.768627,b:.870588},lightyellow:{r:1,g:1,b:.878431},lime:{r:0,g:1,b:0},limegreen:{r:.196078,g:.803922,b:.196078},linen:{r:.980392,g:.941176,b:.901961},magenta:{r:1,g:0,b:1},maroon:{r:.501961,g:0,b:0},mediumaquamarine:{r:.4,g:.803922,b:.666667},mediumblue:{r:0,g:0,b:.803922},mediumorchid:{r:.729412,g:.333333,b:.827451},mediumpurple:{r:.576471,g:.439216,b:.858824},mediumseagreen:{r:.235294,g:.701961,b:.443137},mediumslateblue:{r:.482353,g:.407843,b:.933333},mediumspringgreen:{r:0,g:.980392,b:.603922},mediumturquoise:{r:.282353,g:.819608,b:.8},mediumvioletred:{r:.780392,g:.082353,b:.521569},midnightblue:{r:.098039,g:.098039,b:.439216},mintcream:{r:.960784,g:1,b:.980392},mistyrose:{r:1,g:.894118,b:.882353},moccasin:{r:1,g:.894118,b:.709804},navajowhite:{r:1,g:.870588,b:.678431},navy:{r:0,g:0,b:.501961},oldlace:{r:.992157,g:.960784,b:.901961},olive:{r:.501961,g:.501961,b:0},olivedrab:{r:.419608,g:.556863,b:.137255},orange:{r:1,g:.647059,b:0},orangered:{r:1,g:.270588,b:0},orchid:{r:.854902,g:.439216,b:.839216},palegoldenrod:{r:.933333,g:.909804,b:.666667},palegreen:{r:.596078,g:.984314,b:.596078},paleturquoise:{r:.686275,g:.933333,b:.933333},palevioletred:{r:.858824,g:.439216,b:.576471},papayawhip:{r:1,g:.937255,b:.835294},peachpuff:{r:1,g:.854902,b:.72549},peru:{r:.803922,g:.521569,b:.247059},pink:{r:1,g:.752941,b:.796078},plum:{r:.866667,g:.627451,b:.866667},powderblue:{r:.690196,g:.878431,b:.901961},purple:{r:.501961,g:0,b:.501961},red:{r:1,g:0,b:0},rosybrown:{r:.737255,g:.560784,b:.560784},royalblue:{r:.254902,g:.411765,b:.882353},saddlebrown:{r:.545098,g:.270588,b:.07451},salmon:{r:.980392,g:.501961,b:.447059},sandybrown:{r:.956863,g:.643137,b:.376471},seagreen:{r:.180392,g:.545098,b:.341176},seashell:{r:1,g:.960784,b:.933333},sienna:{r:.627451,g:.321569,b:.176471},silver:{r:.752941,g:.752941,b:.752941},skyblue:{r:.529412,g:.807843,b:.921569},slateblue:{r:.415686,g:.352941,b:.803922},slategray:{r:.439216,g:.501961,b:.564706},slategrey:{r:.439216,g:.501961,b:.564706},snow:{r:1,g:.980392,b:.980392},springgreen:{r:0,g:1,b:.498039},steelblue:{r:.27451,g:.509804,b:.705882},tan:{r:.823529,g:.705882,b:.54902},teal:{r:0,g:.501961,b:.501961},thistle:{r:.847059,g:.74902,b:.847059},tomato:{r:1,g:.388235,b:.278431},transparent:{r:0,g:0,b:0,a:0},turquoise:{r:.25098,g:.878431,b:.815686},violet:{r:.933333,g:.509804,b:.933333},wheat:{r:.960784,g:.870588,b:.701961},white:{r:1,g:1,b:1},whitesmoke:{r:.960784,g:.960784,b:.960784},yellow:{r:1,g:1,b:0},yellowgreen:{r:.603922,g:.803922,b:.196078}},Bo=/^rgb\(\s*((?:(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*){2}(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*)\)$/i,qo=/^rgba\(\s*((?:(?:25[0-5]|2[0-4]\d|1\d\d|\d{1,2})\s*,\s*){3}(?:0|1|0?\.\d*)\s*)\)$/i,Uo=/^#((?:[0-9a-f]{6}|[0-9a-f]{3}))$/i,jo=/^#((?:[0-9a-f]{8}|[0-9a-f]{4}))$/i
|
|
1102
1102
|
function Wo(e){return function(e){return jo.test(e)}(e)}function Go(e){const t=Uo.exec(e)
|
|
1103
1103
|
if(null===t)return null
|
|
1104
1104
|
let n=t[1]
|
|
1105
1105
|
if(3===n.length){const e=n.charAt(0),t=n.charAt(1),i=n.charAt(2)
|
|
1106
1106
|
n=e.concat(e,t,t,i,i)}const i=parseInt(n,16)
|
|
1107
|
-
return isNaN(i)?null:new
|
|
1107
|
+
return isNaN(i)?null:new Vo(Po((16711680&i)>>>16,0,255),Po((65280&i)>>>8,0,255),Po(255&i,0,255),1)}function Zo(e){const t=e.toLowerCase()
|
|
1108
1108
|
return function(e){return Uo.test(e)}(t)?Go(t):Wo(t)?function(e){const t=jo.exec(e)
|
|
1109
1109
|
if(null===t)return null
|
|
1110
1110
|
let n=t[1]
|
|
1111
1111
|
if(4===n.length){const e=n.charAt(0),t=n.charAt(1),i=n.charAt(2),o=n.charAt(3)
|
|
1112
1112
|
n=e.concat(e,t,t,i,i,o,o)}const i=parseInt(n,16)
|
|
1113
|
-
return isNaN(i)?null:new
|
|
1113
|
+
return isNaN(i)?null:new Vo(Po((16711680&i)>>>16,0,255),Po((65280&i)>>>8,0,255),Po(255&i,0,255),Po((4278190080&i)>>>24,0,255))}(t):function(e){return Bo.test(e)}(t)?function(e){const t=Bo.exec(e)
|
|
1114
1114
|
if(null===t)return null
|
|
1115
1115
|
const n=t[1].split(",")
|
|
1116
|
-
return new
|
|
1116
|
+
return new Vo(Po(Number(n[0]),0,255),Po(Number(n[1]),0,255),Po(Number(n[2]),0,255),1)}(t):function(e){return qo.test(e)}(t)?function(e){const t=qo.exec(e)
|
|
1117
1117
|
if(null===t)return null
|
|
1118
1118
|
const n=t[1].split(",")
|
|
1119
|
-
return 4===n.length?new
|
|
1120
|
-
return t?new
|
|
1119
|
+
return 4===n.length?new Vo(Po(Number(n[0]),0,255),Po(Number(n[1]),0,255),Po(Number(n[2]),0,255),Number(n[3])):null}(t):function(e){return Ho.hasOwnProperty(e)}(t)?function(e){const t=Ho[e.toLowerCase()]
|
|
1120
|
+
return t?new Vo(t.r,t.g,t.b,t.hasOwnProperty("a")?t.a:void 0):null}(t):null}const Ko="#a46eff",Xo="#804ad9",Yo="#ff8126",Jo="#009921",Qo="#00c12b",es="#c4000c",ts="#818386",ns="#f1f1f2",is="#f5f5f5",ss="#ffffff",rs="#363738",as="#505153",ls="#000000",cs="#161617",ds="#074023",hs="#009b65",us="#d63434",ps="#ff4b00",fs="#008557",ms="#00734b",gs="#32eb96",vs="#e54c8a",bs="#8e78b7",ys="Source Sans Pro",ws="Source Sans Pro",xs="400",Cs="14px",ks="14px",Ss="18px",$s="18px",Ms="14px",Es="0.25s"
|
|
1121
1121
|
function Is(e,t){const{r:n,g:i,b:o}=Go(e)
|
|
1122
|
-
return`rgba(${255*n}, ${255*i}, ${255*o}, ${t})`}const _s=Is(ls,.3),Ts=Is(ls,.6),As=Is(ls,.6),Ds=Es,Os={light:"light",dark:"dark",color:"color"},Rs="action-rgb-partial-color",Fs="application-background-color",Ns="divider-background-color",Ps="header-background-color",Ls="section-background-color",zs="button-fill-primary-color",
|
|
1122
|
+
return`rgba(${255*n}, ${255*i}, ${255*o}, ${t})`}const _s=Is(ls,.3),Ts=Is(ls,.6),As=Is(ls,.6),Ds=Es,Os={light:"light",dark:"dark",color:"color"},Rs="action-rgb-partial-color",Fs="application-background-color",Ns="divider-background-color",Ps="header-background-color",Ls="section-background-color",zs="button-fill-primary-color",Vs="button-primary-font-color",Hs="button-fill-accent-color",Bs="button-accent-block-font-color",qs="button-accent-outline-font-color",Us="button-border-accent-outline-color",js="fill-selected-color",Ws="fill-selected-rgb-partial-color",Gs="fill-hover-selected-color",Zs="fill-hover-color",Ks="fill-hover-rgb-partial-color",Xs="fill-down-color",Ys="border-color",Js="border-rgb-partial-color",Qs="fail-color",er="warning-color",tr="pass-color",nr="information-color",ir="border-hover-color",or="icon-color",sr="modal-backdrop-color",rr="popup-border-color",ar="card-border-color",lr="tag-fill-color",cr="control-height",dr="control-slim-height",hr="small-padding",ur="medium-padding",pr="standard-padding",fr="large-padding",mr="label-height",gr="border-width",vr="icon-size",br="group-header-text-transform",yr="drawer-width",wr="dialog-small-width",xr="dialog-small-height",Cr="dialog-small-max-height",kr="dialog-large-width",Sr="dialog-large-height",$r="dialog-large-max-height",Mr="menu-min-width",Er="banner-gap-size",Ir="spinner-small-height",_r="spinner-medium-height",Tr="spinner-large-height",Ar="small-delay",Dr="medium-delay",Or="large-delay",Rr="headline-plus-1-font",Fr="headline-font",Nr="table-header-font",Pr="title-plus-2-font",Lr="title-plus-1-font",zr="title-font",Vr="subtitle-plus-1-font",Hr="subtitle-font",Br="link-font",qr="link-active-font",Ur="link-prominent-font",jr="link-active-prominent-font",Wr="placeholder-font",Gr="body-font",Zr="body-emphasized-font",Kr="body-plus-1-font",Xr="body-plus-1-emphasized-font",Yr="group-header-font",Jr="control-label-font",Qr="button-label-font",ea="tooltip-caption-font",ta="tooltip-background-color",na="error-text-font",ia="table-row-border-color",oa="elevation-1-box-shadow",sa="elevation-2-box-shadow",ra="elevation-3-box-shadow",aa="graph-gridline-color",la="graph-trace-1-color",ca="graph-trace-2-color",da="graph-trace-3-color",ha="graph-trace-4-color",ua="graph-trace-5-color",pa="graph-trace-6-color",fa="graph-trace-7-color",ma="graph-trace-8-color",ga="mention-font",va=e=>`ni-nimble-${e}`
|
|
1123
1123
|
const ba="animationend",ya="change",wa="ArrowDown",xa="ArrowLeft",Ca="ArrowRight",ka="ArrowUp",Sa="End",$a="Enter",Ma="Escape",Ea="Home",Ia="PageDown",_a="PageUp",Ta="Shift",Aa=" ",Da="Tab"
|
|
1124
1124
|
var Oa
|
|
1125
1125
|
!function(e){e.ltr="ltr",e.rtl="rtl"}(Oa||(Oa={}))
|
|
@@ -1130,16 +1130,16 @@ function Fa(e=""){return`${e}${Ra++}`}const Na=G`<slot></slot>`,Pa=xe`
|
|
|
1130
1130
|
class La{constructor(){this.lang=document.documentElement.lang
|
|
1131
1131
|
new MutationObserver((e=>{for(const t of e)"attributes"===t.type&&"lang"===t.attributeName&&(this.lang=t.target.lang)})).observe(document.documentElement,{attributeFilter:["lang"]})}}e([g],La.prototype,"lang",void 0)
|
|
1132
1132
|
const za=new La
|
|
1133
|
-
function
|
|
1134
|
-
class Ua extends
|
|
1135
|
-
|
|
1133
|
+
function Va(e){try{return new Intl.Locale(e),!0}catch(e){return!1}}const Ha=pi.create({name:"lang",cssCustomPropertyName:null}).withDefault((()=>Va(za.lang)?za.lang:"en-US")),Ba=pi.create({name:"direction",cssCustomPropertyName:null}).withDefault(Oa.ltr),qa=pi.create({name:"theme",cssCustomPropertyName:null}).withDefault(Os.light)
|
|
1134
|
+
class Ua extends Vt{constructor(){super(...arguments),this.theme=Os.light,this.langIsInvalid=!1}get validity(){return{invalidLang:this.langIsInvalid}}checkValidity(){return!this.langIsInvalid}langChanged(e,t){if(null==t)return Ha.deleteValueFor(this),void(this.langIsInvalid=!1)
|
|
1135
|
+
Va(t)?(Ha.setValueFor(this,t),this.langIsInvalid=!1):(Ha.deleteValueFor(this),this.langIsInvalid=!0)}directionChanged(e,t){null!=t?Ba.setValueFor(this,t):Ba.deleteValueFor(this)}themeChanged(e,t){null!=t?qa.setValueFor(this,t):qa.deleteValueFor(this)}}e([le()],Ua.prototype,"lang",void 0),e([le()],Ua.prototype,"direction",void 0),e([le()],Ua.prototype,"theme",void 0)
|
|
1136
1136
|
const ja=Ua.compose({baseName:"theme-provider",styles:Pa,template:Na})
|
|
1137
1137
|
yi.getOrCreate().withPrefix("nimble").register(ja())
|
|
1138
|
-
const Wa="nimble-theme-provider",Ga=pi.create(va(Rs)).withDefault((e=>
|
|
1138
|
+
const Wa="nimble-theme-provider",Ga=pi.create(va(Rs)).withDefault((e=>Vd(Bd(e,cs,ns,ss)))),Za=pi.create(va(Fs)).withDefault((e=>Bd(e,ss,rs,ds)))
|
|
1139
1139
|
pi.create(va(Ps)).withDefault((e=>Bd(e,is,"#252526",ds))),pi.create(va(Ls)).withDefault((e=>Bd(e,ns,as,ds))),pi.create(va(Ns)).withDefault((e=>Bd(e,ns,as,ds)))
|
|
1140
|
-
const Ka=pi.create(va(js)).withDefault((e=>Is(Wd(e),.2))),Xa=pi.create(va(Ws)).withDefault((e=>
|
|
1141
|
-
pi.create(va(Ks)).withDefault((e=>
|
|
1142
|
-
const Qa=pi.create(va(Ys)).withDefault((e=>Ud(e))),el=pi.create(va(Js)).withDefault((e=>
|
|
1140
|
+
const Ka=pi.create(va(js)).withDefault((e=>Is(Wd(e),.2))),Xa=pi.create(va(Ws)).withDefault((e=>Vd(Wd(e)))),Ya=pi.create(va(Gs)).withDefault((e=>Is(Wd(e),.15))),Ja=pi.create(va(Zs)).withDefault((e=>Is(Gd(e),.1)))
|
|
1141
|
+
pi.create(va(Ks)).withDefault((e=>Vd(Gd(e)))),pi.create(va(Xs)).withDefault((e=>Is(function(e){return Bd(e,cs,ns,ss)}(e),.15)))
|
|
1142
|
+
const Qa=pi.create(va(Ys)).withDefault((e=>Ud(e))),el=pi.create(va(Js)).withDefault((e=>Vd(Ud(e)))),tl=pi.create(va(Qs)).withDefault((e=>qd(e))),nl=pi.create(va(er)).withDefault((e=>function(e){return Bd(e,ps,Yo,ss)}(e))),il=pi.create(va(tr)).withDefault((e=>function(e){return Bd(e,Jo,Qo,ss)}(e))),ol=pi.create(va(nr)).withDefault((e=>function(e){return Bd(e,Xo,Ko,ss)}(e))),sl=pi.create(va(ir)).withDefault((e=>Bd(e,hs,gs,ss))),rl=pi.create(va(or)).withDefault((e=>Bd(e,cs,ns,ss)))
|
|
1143
1143
|
pi.create(va(sr)).withDefault((e=>function(e){switch(qa.getValueFor(e)){case Os.light:return _s
|
|
1144
1144
|
case Os.dark:return Ts
|
|
1145
1145
|
case Os.color:return As
|
|
@@ -1148,7 +1148,7 @@ const al=pi.create(va(rr)).withDefault((e=>Is(Bd(e,cs,ns,ss),.3))),ll=pi.create(
|
|
|
1148
1148
|
pi.create(va(aa)).withDefault((e=>Is(Bd(e,cs,ns,ss),.2))),pi.create(va(la)).withDefault((e=>Bd(e,"#312e7f","#3cb4e7",ss))),pi.create(va(ca)).withDefault((e=>Bd(e,"#cd1722","#ef463f",Is(ss,.7)))),pi.create(va(da)).withDefault((e=>Bd(e,"#499146","#76bc43",Is(ss,.4)))),pi.create(va(ha)).withDefault((e=>Bd(e,"#8c459a","#a5d8c8",Is(ss,.25)))),pi.create(va(ua)).withDefault((e=>Bd(e,"#00685f","#00aba5",Is(ss,.55)))),pi.create(va(pa)).withDefault((e=>Bd(e,vs,vs,Is(ss,.85)))),pi.create(va(fa)).withDefault((e=>Bd(e,"#371615","#ffe76b",Is(ss,.325)))),pi.create(va(ma)).withDefault((e=>Bd(e,bs,bs,Is(ss,.625)))),pi.create(va(ta)).withDefault((e=>Bd(e,ns,rs,ds)))
|
|
1149
1149
|
const cl=pi.create(va(ia)).withDefault((e=>Bd(e,ns,as,ds)))
|
|
1150
1150
|
pi.create(va(lr)).withDefault((e=>Is(Bd(e,cs,ns,ss),.1)))
|
|
1151
|
-
const dl=pi.create(va(zs)).withDefault((e=>Bd(e,Is(cs,.75),Is(ns,.3),Is(ss,.3)))),hl=pi.create(va(
|
|
1151
|
+
const dl=pi.create(va(zs)).withDefault((e=>Bd(e,Is(cs,.75),Is(ns,.3),Is(ss,.3)))),hl=pi.create(va(Vs)).withDefault((e=>Bd(e,ns,ns,ss))),ul=pi.create(va(Hs)).withDefault((e=>Bd(e,fs,hs,Is(ss,.1)))),pl=pi.create(va(Bs)).withDefault((e=>Bd(e,ss,ns,ss))),fl=pi.create(va(qs)).withDefault((e=>Bd(e,ms,gs,ss))),ml=pi.create(va(Us)).withDefault((e=>Bd(e,hs,gs,Is(ss,.3)))),gl=pi.create(va(cr)).withDefault("32px"),vl=pi.create(va(dr)).withDefault("24px"),bl=pi.create(va(hr)).withDefault("4px"),yl=pi.create(va(ur)).withDefault("8px"),wl=pi.create(va(pr)).withDefault("16px"),xl=pi.create(va(fr)).withDefault("24px")
|
|
1152
1152
|
pi.create(va(mr)).withDefault("16px")
|
|
1153
1153
|
const Cl=pi.create(va(gr)).withDefault("1px"),kl=pi.create(va(vr)).withDefault("16px"),Sl=pi.create(va(yr)).withDefault("784px"),$l=pi.create(va(wr)).withDefault("400px"),Ml=pi.create(va(xr)).withDefault("fit-content"),El=pi.create(va(Cr)).withDefault("600px")
|
|
1154
1154
|
pi.create(va(kr)).withDefault("1024px"),pi.create(va(Sr)).withDefault("680px"),pi.create(va($r)).withDefault("680px")
|
|
@@ -1157,16 +1157,16 @@ pi.create(va(Er)).withDefault("1px")
|
|
|
1157
1157
|
const _l=pi.create(va(Ir)).withDefault("16px")
|
|
1158
1158
|
pi.create(va(_r)).withDefault("32px"),pi.create(va(Tr)).withDefault("64px"),pi.create(va(oa)).withDefault((e=>`0px 1px 4px ${Is(Bd(e,ls,ls,ls),.16)}`))
|
|
1159
1159
|
const Tl=pi.create(va(sa)).withDefault((e=>`0px 2px 4px ${Is(Bd(e,ls,ls,ls),.16)}`)),Al=pi.create(va(ra)).withDefault((e=>`0px 4px 8px ${Is(Bd(e,ls,ls,ls),.3)}`))
|
|
1160
|
-
|
|
1161
|
-
const[Dl,Ol,Rl,Fl,Nl,Pl,Ll]=
|
|
1162
|
-
|
|
1163
|
-
const[zl,Hl,
|
|
1164
|
-
|
|
1165
|
-
const[Zc,Kc,Xc,Yc,Jc,Qc,ed]=
|
|
1166
|
-
|
|
1160
|
+
Hd(Fr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Noto Serif","400","25px","32px"),Hd(Rr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Noto Serif","400","29.100000381469727px","40px"),Hd(Pr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Source Sans Pro","400","25px","32px")
|
|
1161
|
+
const[Dl,Ol,Rl,Fl,Nl,Pl,Ll]=Hd(Lr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Source Sans Pro","400","22px","28px")
|
|
1162
|
+
Hd(zr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Source Sans Pro","400","19px","24px")
|
|
1163
|
+
const[zl,Vl,Hl,Bl,ql,Ul,jl]=Hd(Vr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Source Sans Pro","300","16px","20px"),[Wl,Gl,Zl,Kl,Xl,Yl,Jl]=Hd(Hr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Source Sans Pro","300","12.800000190734863px","16px"),[Ql,ec,tc,nc,ic,oc,sc]=Hd(Br,(e=>jd(e)),(e=>Is(jd(e),.3)),ws,xs,ks,$s),[rc,ac,lc,cc,dc,hc,uc]=Hd(qr,(e=>Bd(e,hs,hs,Is(ss,.75))),(e=>Is(jd(e),.3)),ws,xs,ks,$s),[pc,fc,mc,gc,vc,bc,yc]=Hd(Ur,(e=>Bd(e,ms,gs,ss)),(e=>Is(jd(e),.3)),ws,xs,ks,$s),[wc,xc,Cc,kc,Sc,$c,Mc]=Hd(jr,(e=>Bd(e,hs,hs,Is(ss,.75))),(e=>Is(jd(e),.3)),ws,xs,ks,$s),[Ec,Ic,_c,Tc,Ac,Dc,Oc]=Hd(Wr,(e=>Is(jd(e),.6)),(e=>Is(jd(e),.3)),"Source Sans Pro","400","14px","18px"),[Rc,Fc,Nc,Pc,Lc,zc,Vc]=Hd(Gr,(e=>jd(e)),(e=>Is(jd(e),.3)),ys,"400",Cs,Ss),[Hc,Bc,qc,Uc,jc,Wc,Gc]=Hd(Zr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Source Sans Pro","600","14px","18px")
|
|
1164
|
+
Hd(Kr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Source Sans Pro","400","16px","16px"),Hd(Xr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Source Sans Pro","600","16px","16px")
|
|
1165
|
+
const[Zc,Kc,Xc,Yc,Jc,Qc,ed]=Hd(Yr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Source Sans Pro","600","11px","16px"),[td,nd,id,od,sd,rd,ad]=Hd(Jr,(e=>Is(jd(e),.6)),(e=>Is(jd(e),.3)),"Source Sans Pro","600","11px","16px"),[ld,cd,dd,hd,ud,pd,fd]=Hd(Qr,(e=>jd(e)),(e=>Is(jd(e),.3)),"Source Sans Pro","600","14px","16px"),[md,gd,vd,bd,yd,wd,xd]=Hd(ea,(e=>jd(e)),(e=>Is(jd(e),.3)),"Source Sans Pro","400","11px",Ms),[Cd,kd,Sd,$d,Md,Ed,Id]=Hd(na,(e=>qd(e)),(e=>Is(qd(e),.3)),"Source Sans Pro","400","11px",Ms),[_d,Td,Ad,Dd,Od,Rd,Fd]=Hd(Nr,(e=>Is(jd(e),.6)),(e=>Is(jd(e),.3)),"Source Sans Pro","600","12.800000190734863px",Ms)
|
|
1166
|
+
Hd(ga,(e=>Bd(e,fs,gs,gs)),(e=>Is(jd(e),.3)),ys,"600",Cs,Ss)
|
|
1167
1167
|
const Nd=pi.create(va(br)).withDefault("uppercase"),Pd=pi.create(va(Ar)).withDefault("0.075s"),Ld=pi.create(va(Dr)).withDefault("0.15s"),zd=pi.create(va(Or)).withDefault(Es)
|
|
1168
|
-
function
|
|
1169
|
-
return`${255*t}, ${255*n}, ${255*i}`}function
|
|
1168
|
+
function Vd(e){const{r:t,g:n,b:i}=Go(e)
|
|
1169
|
+
return`${255*t}, ${255*n}, ${255*i}`}function Hd(e,t,n,i,o,s,r){if(""===e||""===i||""===o||""===s||""===r)throw new Error("createFontTokens parameter unexpectedly set to empty string")
|
|
1170
1170
|
const a=`${i}, ${i} Fallback`,l=pi.create(va(e)).withDefault(`${o} ${s}/${r} ${a}`),c=e.split("-font"),d=c[0]
|
|
1171
1171
|
if(void 0===d||""!==c[1])throw new Error(`fontTokenName value of ${e} did not have the expected '-font' suffix`)
|
|
1172
1172
|
return[l,pi.create(va(`${d}-font-color`)).withDefault((e=>t(e))),pi.create(va(`${d}-disabled-font-color`)).withDefault((e=>n(e))),pi.create(va(`${d}-font-family`)).withDefault(a),pi.create(va(`${d}-font-weight`)).withDefault(o),pi.create(va(`${d}-font-size`)).withDefault(s),pi.create(va(`${d}-font-line-height`)).withDefault(r)]}function Bd(e,t,n,i){switch(qa.getValueFor(e)){case Os.light:return t
|
|
@@ -1925,7 +1925,7 @@ const gh=xe`
|
|
|
1925
1925
|
align-self: end;
|
|
1926
1926
|
}
|
|
1927
1927
|
`
|
|
1928
|
-
class vh extends
|
|
1928
|
+
class vh extends Vt{constructor(){super(...arguments),this.tabIds=[],this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isHiddenElement=e=>e.hasAttribute("hidden"),this.isFocusableElement=e=>!this.isDisabledElement(e)&&!this.isHiddenElement(e),this.setTabs=()=>{let e
|
|
1929
1929
|
this.activetab=void 0,this.tabs.forEach(((t,n)=>{const i=this.tabIds[n],o=this.activeid===i
|
|
1930
1930
|
!e&&this.isFocusableElement(t)&&(e=t)
|
|
1931
1931
|
const s=this.activeid===i&&this.isFocusableElement(t)
|
|
@@ -2125,7 +2125,7 @@ const kh="1",Sh="1000",$h=xe`
|
|
|
2125
2125
|
`
|
|
2126
2126
|
const Mh=class extends bn{}.compose({baseName:"anchored-region",baseClass:bn,template:(e,t)=>G`
|
|
2127
2127
|
<template class="${e=>e.initialLayoutComplete?"loaded":""}">
|
|
2128
|
-
${
|
|
2128
|
+
${He((e=>e.initialLayoutComplete),G`
|
|
2129
2129
|
<slot></slot>
|
|
2130
2130
|
`)}
|
|
2131
2131
|
</template>
|
|
@@ -2299,7 +2299,7 @@ const Rh=Oh.compose({baseName:"button",baseClass:_n,template:(e,t)=>G`
|
|
|
2299
2299
|
</button>
|
|
2300
2300
|
`,styles:Dh,shadowOptions:{delegatesFocus:!0}})
|
|
2301
2301
|
yi.getOrCreate().withPrefix("nimble").register(Rh())
|
|
2302
|
-
const Fh="nimble-button",Nh={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 7H9V3H7v4H3v2h4v4h2V9h4z" class="cls-1"/></svg>'},Ph={name:"arrow_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M9 2v6.207l2.5-1.188L8.021 14 4.5 7.019 7 8.207V2z"/></svg>'},Lh={name:"arrow_down_left_and_arrow_up_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m2.007 13.171 2.247-2.276-2.284-.447 5.246-1.732-1.753 5.217-.456-2.284-2.26 2.291zM13.194 2l-2.261 2.29-.456-2.283-1.753 5.217 5.246-1.732-2.284-.447 2.247-2.276z" class="cls-1"/></svg>'},zh={name:"arrow_down_right_and_arrow_up_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.171 13.933-2.276-2.247-.447 2.284-1.732-5.246 5.217 1.753-2.284.456 2.291 2.26ZM2 2.746l2.29 2.261-2.283.456 5.217 1.753L5.492 1.97l-.447 2.284-2.276-2.247Z" class="cls-1"/></svg>'},Hh={name:"arrow_expander_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m3.5 4.737 1.11-.732 3.357 5.472L11.397 4l1.103.743L7.955 12z" class="cls-1"/></svg>'},Vh={name:"arrow_expander_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m11.263 3.5.732 1.11-5.472 3.357L12 11.397l-.743 1.103L4 7.955z" class="cls-1"/></svg>'},Bh={name:"arrow_expander_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m4.737 12.5-.732-1.11 5.472-3.357L4 4.603 4.743 3.5 12 8.045z" class="cls-1"/></svg>'},qh={name:"arrow_expander_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.5 11.263-1.11.732-3.357-5.472L4.603 12 3.5 11.257 8.045 4z" class="cls-1"/></svg>'},Uh={name:"arrow_in_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.5 5.25a3.24 3.24 0 0 0-2.738 1.513L11.236 8.5l-3.474 1.737A3.24 3.24 0 0 0 10.5 11.75a3.25 3.25 0 0 0 0-6.5" class="cls-1"/><path d="m4 6 1 2H2v1h3l-1 2 5-2.5z" class="cls-1"/></svg>'},jh={name:"arrow_left_from_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 14h2V2h-2ZM2 7.982 7.9 5 6.588 7.004 11 7v2H6.613L7.9 11Z" class="cls-1"/></svg>'},Wh={name:"arrow_out_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m9 6 1 2H7v1h3l-1 2 5-2.5z" class="cls-1"/><path d="M6 10V7h2.367A3.24 3.24 0 0 0 5.5 5.25a3.25 3.25 0 0 0 0 6.5c1.25 0 2.324-.714 2.867-1.75z" class="cls-1"/></svg>'},Gh={name:"arrow_partial_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 11.988a3.086 3.086 0 0 0 3.143-3.025 3.08 3.08 0 0 0-3.085-3.02v.088l.826 2.067-5.598-2.796L8.884 2.5l-.742 1.932a4.62 4.62 0 0 1 4.572 4.53A4.63 4.63 0 0 1 8 13.5Z" class="cls-1"/></svg>'},Zh={name:"arrow_right_to_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 14h2V2h-2Zm-6.9-3 1.287-2H2V7l4.412.004L5.1 5 11 7.982Z" class="cls-1"/></svg>'},Kh={name:"arrow_rotate_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.9 2.773v1.715a3.366 3.366 0 0 1 3.3 3.428 3.366 3.366 0 0 1-3.3 3.429 3.36 3.36 0 0 1-3.293-3.366h.095l2.255.901-3.05-6.107L1.85 8.88l2.108-.808A5.04 5.04 0 0 0 8.9 13.059a5.05 5.05 0 0 0 4.95-5.143A5.05 5.05 0 0 0 8.9 2.773" class="cls-1"/></svg>'},Xh={name:"arrow_u_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.857 9.453-2.571-1.68v.908a3 3 0 0 0 3 3 3 3 0 0 0 3-3V3.11H14v5.571a4.714 4.714 0 0 1-4.714 4.715A4.714 4.714 0 0 1 4.57 8.68v-.908L2 9.453l3.403-6.849Z" class="cls-1"/></svg>'},Yh={name:"arrow_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M7 14V7.793L4.5 8.981 7.979 2 11.5 8.981 9 7.793V14z"/></svg>'},Jh={name:"arrow_up_left_and_arrow_down_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m4.195 4.977-.451 2.296L2 2l5.256 1.762-2.301.458 6.849 6.803.452-2.296L14 14l-5.256-1.762 2.301-.458z" class="cls-1"/></svg>'},Qh={name:"arrow_up_right_and_arrow_down_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m11.023 4.195-2.296-.45L14 2l-1.762 5.256-.458-2.301-6.803 6.85 2.296.45L2 14l1.762-5.256.458 2.301z" class="cls-1"/></svg>'},eu={name:"arrow_up_right_from_square",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.042 2.97-2.063 6.281-.49-2.344-4.117 4.122-1.414-1.414L9.06 5.513 6.736 5.01zM12 9v3H4V4h3V3H3v10h10V9z" class="cls-1"/></svg>'},tu={name:"arrows_maximize_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.26 8.735 14 14l-5.25-1.763 2.295-.457-3.03-3.022L8 8.742l-.015.016.015.014-3.023 3.023 2.296.45L2 13.985l1.762-5.243.458 2.295 3.015-3.015.007-.007L7.258 8l-.016-.015L7.227 8l-3.03-3.03-.457 2.295L2 2l5.25 1.762-2.295.458 3.03 3.022.015.016.015-.016L8 7.227l3.023-3.022-2.296-.45L14 2.015l-1.762 5.243-.458-2.295L8.742 8l.016.015L8.773 8l3.03 3.03z" class="cls-1"/></svg>'},nu={name:"arrows_repeat_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.75 11.75 10 14l-6-3 6-3-1.25 2.25ZM8 11h1a4 4 0 0 0 4-4M7.25 5.75 6 8l6-3-6-3 1.25 2.25ZM8 5H7a4 4 0 0 0-4 4" class="cls-1"/></svg>'},iu={name:"at_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M12.139 3.621a5.5 5.5 0 0 1 1.206 1.845q.435 1.074.436 2.407 0 .961-.275 1.954t-.687 1.646H9.343l-.11-.536a4.6 4.6 0 0 1-.756.415q-.364.155-1.051.155-1.12 0-1.813-.924t-.694-2.49q0-.837.234-1.467.234-.628.639-1.095.377-.44.914-.687a2.5 2.5 0 0 1 1.064-.248q.453 0 .804.169.35.168.543.353v-.425h1.594v5.605h1.168q.248-.543.368-1.178.12-.636.12-1.22 0-1.161-.323-2.036-.322-.877-.892-1.453a3.7 3.7 0 0 0-1.366-.879 4.9 4.9 0 0 0-1.697-.289q-.871 0-1.657.343a4.6 4.6 0 0 0-1.383.928q-.61.598-.992 1.497c-.382.899-.381 1.257-.381 1.972q0 1.167.36 2.068.36.9.958 1.497.596.59 1.386.9a4.5 4.5 0 0 0 1.668.309q.583 0 1.328-.106a9 9 0 0 0 1.321-.279v1.333q-.64.144-1.271.22-.633.074-1.381.075a6.1 6.1 0 0 1-2.325-.433 5.4 5.4 0 0 1-1.852-1.23 5.6 5.6 0 0 1-1.212-1.91 6.7 6.7 0 0 1-.436-2.444q0-1.278.453-2.366a5.9 5.9 0 0 1 1.25-1.9A5.7 5.7 0 0 1 5.781 2.46 5.8 5.8 0 0 1 8.079 2q1.209 0 2.257.426a5.3 5.3 0 0 1 1.803 1.195M9.082 9.652V6.19a3 3 0 0 0-.522-.21 2 2 0 0 0-.543-.065q-.66 0-1.017.577c-.357.577-.357.912-.357 1.58q0 1.085.295 1.607.296.522.975.522.357 0 .625-.141.269-.14.544-.408"/></svg>'},ou={name:"bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 13v-2h12v2Zm0-4V7h12v2Zm0-4V3h12v2Z" class="cls-1"/></svg>'},su={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 14a2.05 2.05 0 0 1-2-2h4a2.05 2.05 0 0 1-2 2m-5.25-3s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.297.098 2.145.587 2.25 1.43v.483c0 .32.108.426.183.463H11s.25 0 .25.483v.02s.5 4.92 1.5 4.92c.5 0 .5.745.5.745Z" class="cls-1"/></svg>'},ru={name:"bell_and_comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.836 4.75H9.57a.71.71 0 0 0-.71.71v2.032a.71.71 0 0 0 .71.711h.356L9.57 9.625l2.488-1.422h1.778a.71.71 0 0 0 .71-.71V5.46a.71.71 0 0 0-.71-.711M8.196 11H2.75s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.224.092 2.04.537 2.217 1.294H9.57a1.713 1.713 0 0 0-1.71 1.71v2.032a1.71 1.71 0 0 0 .844 1.475ZM6 12h4a2.05 2.05 0 0 1-2 2 2.05 2.05 0 0 1-2-2m7.25-1H9.18l2.868-1.64c.198.527.431.894.702.894.5 0 .5.746.5.746" class="cls-1"/></svg>'},au={name:"bell_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.042 11h2a1 1 0 0 1-2 0m4.5-1h-7s0-.497.333-.497h.043c.624 0 .957-3.28.957-3.28 0-.335.167-.335.167-.335h.044c.05-.025.122-.095.122-.309v-.322c.07-.561.636-.888 1.5-.953v-.175c0-.054.06-.1.146-.129h.375c.086.029.146.075.146.129v.175c.865.065 1.43.392 1.5.953v.322c0 .214.072.284.122.309h.045s.166 0 .166.322v.014s.334 3.279 1 3.279c.334 0 .334.497.334.497m-3.5-7.5a5.5 5.5 0 1 1-5.5 5.5 5.506 5.506 0 0 1 5.5-5.5m0-1a6.5 6.5 0 1 0 6.5 6.5 6.5 6.5 0 0 0-6.5-6.5" class="cls-1"/></svg>'},lu={name:"bell_solid_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.5 8A6.5 6.5 0 0 0 8 14.5 6.5 6.5 0 0 0 14.5 8 6.5 6.5 0 0 0 8 1.5 6.5 6.5 0 0 0 1.5 8M8 12a1.025 1.025 0 0 1-1-1h2a1.025 1.025 0 0 1-1 1m-3.5-2s0-.497.333-.497h.043c.624 0 .957-3.28.957-3.28 0-.335.167-.335.167-.335h.045c.05-.025.122-.095.122-.309v-.322c.07-.561.635-.888 1.5-.953v-.175c0-.054.06-.1.145-.129h.376c.085.029.145.075.145.129v.175c.865.065 1.43.392 1.5.953v.322c0 .214.073.284.122.309H10s.167 0 .167.322v.014s.333 3.279 1 3.279c.333 0 .333.497.333.497Z" class="cls-1"/></svg>'},cu={name:"block_with_ribbon_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v10h4.762A4.496 4.496 0 0 1 13 5.762V2Zm12 7.5a3.5 3.5 0 1 0-6 2.442V14l2.5-1.667L13 14v-2.058A3.49 3.49 0 0 0 14 9.5M10.5 8A1.5 1.5 0 1 1 9 9.5 1.5 1.5 0 0 1 10.5 8" class="cls-1"/></svg>'},du={name:"bold_b_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M12.981 10.536q0 .843-.34 1.508c-.34.665-.538.81-.934 1.102a4.3 4.3 0 0 1-1.512.734q-.825.219-2.09.219H3.028V2.466h4.516q1.407 0 2.059.094a4.2 4.2 0 0 1 1.293.414q.664.336.988.902t.324 1.293q0 .844-.445 1.488c-.445.644-.716.765-1.258 1.004v.062q1.14.227 1.809.938c.669.711.667 1.099.667 1.875M9.137 5.755q0-.289-.145-.578t-.512-.43a2.5 2.5 0 0 0-.815-.137 68 68 0 0 0-1.372-.011h-.281V7.06h.469q.71 0 1.211-.023.5-.024.789-.157.406-.18.531-.465t.125-.66m.727 4.734q0-.555-.214-.855c-.214-.3-.387-.351-.73-.449q-.35-.102-.966-.11c-.616-.008-.84-.008-1.287-.008h-.655v2.898h.218q1.263 0 1.809-.008a2.7 2.7 0 0 0 1.006-.203q.468-.196.643-.52a1.53 1.53 0 0 0 .176-.745"/></svg>'},hu={name:"book_magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 10c0-.347.058-.678.142-1H5V8h1.556c.22-.378.498-.714.826-1H5V6h5c.732 0 1.41.212 2 .556V2H3v11h4.382A3.98 3.98 0 0 1 6 10M5 4h5v1H5z" class="cls-1"/><path d="m9.99 7.01-.076.002a3 3 0 1 0 1.799 5.452l1.593 1.53.69-.725-1.58-1.516a2.97 2.97 0 0 0 .57-1.816A3 3 0 0 0 9.99 7.01M10 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2" class="cls-1"/></svg>'},uu={name:"calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM6 9H4V7h2zm3-2H7v2h2zm3 0h-2v2h2zm-6 3H4v2h2zm3 0H7v2h2z" class="cls-1"/></svg>'},pu={name:"calendar_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10z" class="cls-2"/><path d="M5.743 11 4 9.242l.766-.742.97 1.007L8.273 7 9 7.758zM10 8h2v1h-2zM8 10h4v1H8z" class="cls-1"/></svg>'},fu={name:"calendar_day_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM6 9H4V7h2z" class="cls-1"/></svg>'},mu={name:"chart_diagram_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3Z" class="cls-1"/></svg>'},gu={name:"chart_diagram_child_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3Zm-8 2H3v-1h1Zm4 0H7v-1h1Zm4 0h-1v-1h1Z" class="cls-1"/></svg>'},vu={name:"chart_diagram_parent_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3ZM7 4V3h1v1Z" class="cls-1"/></svg>'},bu={name:"chart_diagram_parent_focus_two_child_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3Zm-6 2H4v-1h1Zm6 0h-1v-1h1Z" class="cls-1"/></svg>'},yu={name:"check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 5.287 6.182 12 3 8.867l1.363-1.343L6.24 9.37 11.693 4Z" class="cls-1"/></svg>'},wu={name:"check_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="12.5" cy="11.5" r="1.5" class="cls-1"/><path d="m14 4.693-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545Z" class="cls-2"/></svg>'},xu={name:"check_large_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m14 4.693-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545z" class="cls-1"/></svg>'},Cu={name:"circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m0 9.429A3.429 3.429 0 1 1 11.429 8 3.43 3.43 0 0 1 8 11.429" class="cls-1"/></svg>'},ku={name:"circle_filled_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="4" class="cls-1"/></svg>'},Su={name:"circle_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 14A6.1 6.1 0 0 1 7 2v2.686a3.475 3.475 0 0 0 0 6.628ZM9 2v2.686a3.475 3.475 0 0 1 0 6.628V14A6.1 6.1 0 0 0 9 2" class="cls-1"/></svg>'},$u={name:"circle_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m-1.212 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013Z" class="cls-1"/></svg>'},Mu={name:"circle_partial_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 2v2.686a3.475 3.475 0 0 1 0 6.628V14A6.1 6.1 0 0 0 9 2" class="cls-1"/><path d="M7 11.314a3.475 3.475 0 0 1 0-6.628V2a6.1 6.1 0 0 0 0 12Z" class="cls-2"/></svg>'},Eu={name:"circle_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.075 1.714a4.281 4.281 0 0 1 3.573 6.647L5.714 4.427a4.26 4.26 0 0 1 2.36-.713M3.789 8a4.26 4.26 0 0 1 .713-2.36l5.934 5.933A4.281 4.281 0 0 1 3.789 8" class="cls-1"/></svg>'},Iu={name:"circle_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.075 1.714a4.26 4.26 0 0 1 2.409.743l-2.37 2.37-2.4-2.4a4.26 4.26 0 0 1 2.36-.713M4.502 5.64l2.4 2.4-2.37 2.37a4.27 4.27 0 0 1-.03-4.77m3.573 6.647a4.26 4.26 0 0 1-2.31-.685l2.349-2.35 2.322 2.322a4.26 4.26 0 0 1-2.361.713m3.573-1.925L9.326 8.039l2.35-2.349a4.25 4.25 0 0 1-.028 4.67" class="cls-1"/></svg>'},_u={name:"clipboard_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 5H5a2 2 0 0 1 2-2V2a1 1 0 0 1 2 0v1a2 2 0 0 1 2 2m1-2v9H4V3H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1Zm-2 4H5v1h5ZM8 9H5v1h3Z" class="cls-1"/></svg>'},Tu={name:"clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.576 4.87 1.555-1.557a1.64 1.64 0 0 1 .84-.256 2 2 0 0 1-.23.791c-.115.163-1.356 1.41-1.571 1.626a1.28 1.28 0 0 1 0 1.085l2.376 2.38a1.6 1.6 0 0 1 .458 1.072 1.62 1.62 0 0 1-1.222-.613c-.456-.456-1.94-1.963-2.207-2.235a1.275 1.275 0 1 1 0-2.293" class="cls-1"/></svg>'},Au={name:"clock_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.108 7.392.955-.957a1 1 0 0 1 .516-.157 1.2 1.2 0 0 1-.14.486c-.072.1-.834.866-.966.999a.79.79 0 0 1 0 .666l1.341 1.344a.98.98 0 0 1 .281.658 1 1 0 0 1-.75-.376c-.28-.28-1.073-1.088-1.237-1.255a.783.783 0 1 1 0-1.408m5.69 2.292L14 7.324l-1.327-.113a4.8 4.8 0 0 0-.402-1.26l1.02-.86-1.527-1.811-1.019.86a5 5 0 0 0-.563-.344 5 5 0 0 0-.612-.265l.114-1.329L7.324 2l-.113 1.329a4.8 4.8 0 0 0-1.26.401l-.86-1.02L3.28 4.237l.858 1.02A4.8 4.8 0 0 0 3.53 6.43l-1.329-.114L2 8.676l1.329.114a4.7 4.7 0 0 0 .401 1.26l-1.02.86 1.526 1.811 1.02-.859a4.7 4.7 0 0 0 1.175.608l-.113 1.33 2.358.2.114-1.328a4.7 4.7 0 0 0 1.26-.4l.86 1.02 1.81-1.527-.858-1.02a4.7 4.7 0 0 0 .608-1.175ZM8 11.45A3.45 3.45 0 1 1 11.45 8 3.45 3.45 0 0 1 8 11.45" class="cls-1"/></svg>'},Du={name:"clock_exclamation_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.821 5.114h1.357V6H2.82zM2.798 1l.155 3.56h1.094L4.202 1zm7.481 2.575h.001l-.013-.007a5 5 0 0 0-.606-.262 5 5 0 0 0-.523-.163 5 5 0 0 0-.286-.055A4.7 4.7 0 0 0 8 3q-.023.002-.045.005a5 5 0 0 0-.785.079c-.097.016-.194.03-.29.052a5 5 0 0 0-.575.179c-.48.174-.907.438-1.305.74V7H3.109l-.017.092a5 5 0 0 0-.088.87Q3.002 7.98 3 8c0 .293.036.575.088.852q.023.143.055.285.068.273.165.532.11.308.259.595l.007.016h.001c.83 1.608 2.49 2.72 4.426 2.72C10.762 13 13 10.762 13 8c0-1.935-1.112-3.594-2.72-4.425m-.275 7.041c-.38-.38-1.454-1.473-1.675-1.699a1.06 1.06 0 0 1-1.523-.953 1.06 1.06 0 0 1 1.523-.954l1.293-1.296c.117-.117.509-.213.7-.213 0 .128-.085.51-.191.658-.097.136-1.128 1.173-1.308 1.353a1.06 1.06 0 0 1 0 .903l1.816 1.82s.445.466.382.89c-.297 0-.594-.085-1.017-.509" class="cls-1"/></svg>'},Ou={name:"clock_triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 3a4.95 4.95 0 0 0-2.152.505L7.096 6H3.422A4.997 4.997 0 1 0 8 3m2.003 7.616a454 454 0 0 1-1.675-1.7 1.061 1.061 0 1 1 0-1.907l1.294-1.297a1.36 1.36 0 0 1 .699-.212 1.65 1.65 0 0 1-.19.658c-.097.136-1.13 1.173-1.309 1.353a1.06 1.06 0 0 1 0 .903l1.817 1.82a1.33 1.33 0 0 1 .381.891 1.35 1.35 0 0 1-1.017-.51" class="cls-1"/><path d="M5.477 5H1.522L3.5 1.045z" class="cls-2"/></svg>'},Ru={name:"clone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Z" class="cls-1"/></svg>'},Fu={name:"cloud_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.08 11.977a5.1 5.1 0 0 1-1.295-.2C2.754 11.46 1.883 10.2 1.883 9.022a2.963 2.963 0 0 1 2.63-2.937A4.2 4.2 0 0 1 8.432 3.48a4.254 4.254 0 0 1 4.249 4.17 2.25 2.25 0 0 1 1.437 2.09 2.24 2.24 0 0 1-2.238 2.237l-4.947.003c-1.01 0-1.79-.001-1.853-.003m-.228-4.573c-.899 0-1.63.725-1.63 1.618 0 .842.702 1.61 1.474 1.61l7.183.007a.9.9 0 0 0 0-1.799.9.9 0 0 0-.337.067l-.493.202.159-.508q.134-.425.134-.872a2.914 2.914 0 0 0-2.91-2.911 2.9 2.9 0 0 0-2.87 2.436l-.043.268-.264-.067a1.6 1.6 0 0 0-.403-.051" class="cls-1"/></svg>'},Nu={name:"cloud_upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.476 7.298-1.927 3.848 1.48-.568v3.407h.948v-3.407l1.42.568ZM15 9.005a2.374 2.374 0 0 1-2.371 2.371h-.998l-.5-1h1.498a1.371 1.371 0 1 0-.516-2.64A3.77 3.77 0 1 0 4.797 5.99 2.238 2.238 0 0 0 2 8.148a2.223 2.223 0 0 0 2.057 2.22l1.758.009-.448.894a10.6 10.6 0 0 1-2.31-.121 3.224 3.224 0 0 1 .993-6.225 4.77 4.77 0 0 1 9.236 1.68q0 .06-.002.121A2.375 2.375 0 0 1 15 9.006" class="cls-1"/></svg>'},Pu={name:"cloud_with_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.429 10.1.001-.101A3.998 3.998 0 0 0 4.69 8.59a2.715 2.715 0 0 0-2.557 2.7 2.78 2.78 0 0 0 1.725 2.516 4.9 4.9 0 0 0 1.225.19h.004c.19.006 6.792 0 6.792 0a1.987 1.987 0 0 0 .55-3.897m-.55 3.06-7.183-.008a1.867 1.867 0 0 1 .156-3.728 2 2 0 0 1 .464.06 3.16 3.16 0 1 1 6.13 1.462 1.149 1.149 0 1 1 .433 2.213M4.5 4.5a1 1 0 1 1 1-1 1 1 0 0 1-1 1m5.138.681.496-1.241H7v-.828h3.134l-.496-1.293L13 3.502Z" class="cls-1"/></svg>'},Lu={name:"cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.823 2-2.217.914.516 1.25a4.7 4.7 0 0 0-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.8 4.8 0 0 0-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.8 4.8 0 0 0 .945.949l-.518 1.247 2.214.921.519-1.246a5 5 0 0 0 .674.048 5 5 0 0 0 .666-.047L9.176 14l2.218-.914-.515-1.248a4.8 4.8 0 0 0 .95-.945l1.245.518.922-2.214-1.247-.519a4.7 4.7 0 0 0 .002-1.34L14 6.824l-.914-2.218-1.25.515a4.7 4.7 0 0 0-.944-.949l.518-1.246-2.212-.922-.52 1.247a5 5 0 0 0-.676-.049 5 5 0 0 0-.663.047Zm1.175 9a2.999 2.999 0 1 1 2.77-1.847 2.98 2.98 0 0 1-2.77 1.846M8 6.801a1.2 1.2 0 1 0 .46.093A1.2 1.2 0 0 0 8 6.8" class="cls-1"/></svg>'},zu={name:"cog_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.147 11.648q-.015.01-.032.02a4 4 0 0 1-.46.224l-.012.005q-.05.022-.103.042c-.051.019-.11.036-.162.055-.094.034-.186.068-.285.099-.034.01-.064.024-.1.033q-.03.01-.062.019-.279.078-.58.144l-.133.03q-.324.068-.668.12l-.135.02q-.32.045-.653.079l-.103.012a18 18 0 0 1-.903.06q-.381.016-.759.018a19 19 0 0 1-1.66-.078l-.105-.012a16 16 0 0 1-.65-.08l-.134-.018q-.346-.053-.67-.122l-.132-.029a9 9 0 0 1-.582-.145l-.059-.017q-.052-.016-.1-.034a7 7 0 0 1-.285-.1c-.054-.018-.112-.035-.165-.055l-.101-.041-.01-.005a4 4 0 0 1-.462-.223l-.03-.02a2.3 2.3 0 0 1-.334-.24c-.014-.012-.033-.022-.045-.033v1.013c0 .364.524.749 1.427 1.051q.155.053.326.1.177.051.371.098a14.8 14.8 0 0 0 3.4.362 14.8 14.8 0 0 0 3.403-.362 8 8 0 0 0 .697-.197c.904-.303 1.43-.688 1.43-1.052v-1.013c-.015.012-.034.022-.047.034a2.5 2.5 0 0 1-.333.238m.38-1.883c0-.762-2.27-1.61-5.529-1.61-3.256 0-5.524.848-5.524 1.61 0 .365.525.75 1.427 1.052q.155.052.328.1.175.05.37.097a14.8 14.8 0 0 0 3.399.362 14.8 14.8 0 0 0 3.401-.362 8 8 0 0 0 .7-.197c.902-.302 1.428-.687 1.428-1.052M3.931 7.697 2.802 7.6l.171-1.979 1.129.095a4 4 0 0 1 .516-.985l-.729-.856 1.537-1.28.73.855a4 4 0 0 1 1.071-.336L7.323 2l2.004.17-.097 1.114a4 4 0 0 1 .52.223 4 4 0 0 1 .478.288l.866-.721 1.296 1.52-.866.72a4 4 0 0 1 .341 1.058l1.127.095-.133 1.539a10.2 10.2 0 0 0-2.482-.618c.007-.048.021-.094.026-.143a2.48 2.48 0 0 0-1.346-2.416 2.54 2.54 0 0 0-2.938.45 2.41 2.41 0 0 0-.698 2.14 12 12 0 0 0-1.482.311zm4.067-.468c-.331 0-.697.012-1.077.035a1 1 0 0 1-.026-.314 1 1 0 0 1 .292-.618 1.01 1.01 0 0 1 1.174-.18.99.99 0 0 1 .539.967 1 1 0 0 1-.036.132 18 18 0 0 0-.866-.022" class="cls-1"/></svg>'},Hu={name:"cog_database_inset_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.751 7.338 14 6.824l-.914-2.218-1.25.515a4.7 4.7 0 0 0-.944-.949l.518-1.246-2.212-.922-.52 1.247a5 5 0 0 0-.676-.049 5 5 0 0 0-.663.047L6.823 2l-2.217.914.516 1.25a4.7 4.7 0 0 0-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.8 4.8 0 0 0-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.8 4.8 0 0 0 .945.949l-.518 1.247 2.214.921.519-1.246a5 5 0 0 0 .674.048 5 5 0 0 0 .666-.047L9.176 14l2.218-.914-.515-1.248a4.8 4.8 0 0 0 .95-.945l1.245.518.922-2.214-1.247-.519a4.7 4.7 0 0 0 .002-1.34m-1.06 2.418c0 .244-.35.5-.954.703a5 5 0 0 1-.466.131 10 10 0 0 1-2.273.243 10 10 0 0 1-2.271-.243 6 6 0 0 1-.466-.131c-.603-.202-.953-.46-.953-.703V9.08q.013.011.03.023a1.6 1.6 0 0 0 .223.16l.02.013a3 3 0 0 0 .309.15l.006.002.068.028q.054.02.11.037.093.035.19.066.033.012.067.023l.04.011q.185.054.389.098l.087.02q.217.045.448.08l.09.012q.212.03.434.054l.07.008q.244.022.491.035l.112.005a12 12 0 0 0 1.013 0l.11-.005q.248-.012.493-.035l.069-.008q.222-.022.436-.054l.09-.012q.23-.035.447-.08l.088-.02q.202-.045.388-.097l.042-.012.066-.023q.098-.03.19-.066.056-.018.109-.037l.069-.028.007-.003a3 3 0 0 0 .308-.149l.022-.014a2 2 0 0 0 .222-.159l.03-.023Zm0-1.76c0 .243-.35.5-.954.703a5 5 0 0 1-.466.13 10 10 0 0 1-2.273.243 10 10 0 0 1-2.271-.242 5 5 0 0 1-.466-.132c-.603-.202-.953-.459-.953-.703V7.32q.013.011.03.022a1.6 1.6 0 0 0 .223.16l.02.013a3 3 0 0 0 .309.15l.006.003q.034.014.068.027l.11.038q.093.034.19.066.033.011.067.023l.04.011q.185.052.389.097l.087.02q.217.045.448.08l.09.013q.212.03.434.053l.07.008a12 12 0 0 0 1.726.035q.248-.012.493-.035l.069-.008q.222-.023.436-.053l.09-.012q.23-.036.447-.081l.088-.02q.202-.044.388-.097.022-.005.042-.012.033-.01.067-.022.096-.031.19-.066l.108-.037.069-.028.008-.003a3 3 0 0 0 .307-.15l.022-.013a2 2 0 0 0 .222-.16q.015-.01.03-.022Zm-.953-1.05q-.105.034-.22.066-.117.035-.247.065a10 10 0 0 1-2.272.242 10 10 0 0 1-2.271-.242 6 6 0 0 1-.466-.132c-.603-.201-.954-.459-.954-.702 0-.51 1.515-1.076 3.69-1.076 2.177 0 3.694.567 3.694 1.076 0 .243-.351.5-.954.702" class="cls-1"/></svg>'},Vu={name:"cog_small_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.712 5.956a.76.76 0 0 1-.224.477.79.79 0 0 1-.909.139.762.762 0 0 1-.19-1.224.78.78 0 0 1 .907-.14.77.77 0 0 1 .416.748M14 11.61l-.441 1.088-.62-.246a2 2 0 0 1-.232.268 2 2 0 0 1-.23.2l.263.606-1.09.46-.263-.606a2.4 2.4 0 0 1-.662.008l-.248.612-1.1-.435.249-.612a2 2 0 0 1-.256-.215 2.4 2.4 0 0 1-.218-.243l-.614.26-.466-1.077.614-.259a2.3 2.3 0 0 1-.008-.654l-.62-.246.44-1.087.62.246a2.4 2.4 0 0 1 .234-.27 3 3 0 0 1 .229-.198l-.263-.606 1.09-.46.263.605a2.4 2.4 0 0 1 .662-.008l.248-.612 1.1.436-.248.612a2.4 2.4 0 0 1 .473.458l.614-.26.466 1.076-.613.26a2.3 2.3 0 0 1 .008.654Zm-1.934-1.591a1.495 1.495 0 0 0-2.085.011 1.454 1.454 0 0 0 .01 2.081 1.5 1.5 0 0 0 .486.313 1.5 1.5 0 0 0 1.6-.324 1.454 1.454 0 0 0-.01-2.081M9.036 8.33l-1.189.99-.564-.661a3.1 3.1 0 0 1-.827.26l-.075.86-1.547-.13.074-.862a3 3 0 0 1-.77-.394l-.671.557-1.001-1.174.67-.557a3 3 0 0 1-.264-.817L2 6.328 2.132 4.8l.872.074a3 3 0 0 1 .4-.762l-.564-.66 1.188-.99.565.66a3.2 3.2 0 0 1 .827-.26L5.494 2l1.548.131-.074.861a3 3 0 0 1 .402.172 3 3 0 0 1 .369.223l.669-.557L9.41 4.004l-.67.557a3 3 0 0 1 .264.818l.871.073-.132 1.53-.872-.074a3 3 0 0 1-.4.762ZM7.874 6.054a1.92 1.92 0 0 0-1.04-1.868 1.965 1.965 0 0 0-2.27.348 1.907 1.907 0 0 0 .478 3.06 1.965 1.965 0 0 0 2.27-.347 1.9 1.9 0 0 0 .562-1.193m3.376 4.467a.6.6 0 0 0-.64.13.6.6 0 0 0-.131.196.584.584 0 0 0 .33.761.6.6 0 0 0 .64-.13.6.6 0 0 0 .13-.195.58.58 0 0 0-.135-.637.6.6 0 0 0-.194-.125" class="cls-1"/></svg>'},Bu={name:"cog_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m14 3.11-1.178-.632-1.875 2.133a5.4 5.4 0 0 0-.716-.094L8.766 2l-2.138.627.2 2.863a5 5 0 0 0-.527.47l-2.77-.738-1.056 1.95L4.656 9.04a5 5 0 0 0-.087.704L2 11.144l.659 2.1 2.914-.197a5 5 0 0 0 .453.525l-.13.427h7.232a.82.82 0 0 0 .87-.759L14 13.2Zm-1.335 7.876a2.877 2.877 0 0 1-3.741 1.477 2.77 2.77 0 0 1-1.51-3.66 2.876 2.876 0 0 1 3.729-1.482 2.76 2.76 0 0 1 1.535 3.637Z" class="cls-1"/></svg>'},qu={name:"comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 3.5v6a1.5 1.5 0 0 1-1.5 1.5H8.75L3.5 14l.75-3H3.5A1.5 1.5 0 0 1 2 9.5v-6A1.5 1.5 0 0 1 3.5 2h9A1.5 1.5 0 0 1 14 3.5" class="cls-1"/></svg>'},Uu={name:"computer_and_monitor_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 12V6H5v6h4v1H7v1h5v-1h-2v-1Zm-8-1V7h7v4Zm1-6H4V4h3Zm1 0V3H3v7h1v3h2v1H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v2Z" class="cls-1"/></svg>'},ju={name:"copy_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Zm7 7H7V7h6Z" class="cls-1"/></svg>'},Wu={name:"copy_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Zm7 7H7V7h6Zm-1-4H8V8h4Zm-1 2H8v-1h3Z" class="cls-1"/></svg>'},Gu={name:"dashboard_builder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.646 6.646 7 4.293l2 2 1.646-1.646.707.707L9 7.707l-2-2-1.646 1.647ZM14 2v12H2V2ZM8 9H4v3h4Zm4 2H9v1h3Zm0-2H9v1h3Zm0-5H4v4h8zm-5 6H5v1h2Z" class="cls-1"/></svg>'},Zu={name:"dashboard_builder_legend_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm10 10H4v-1.293l2.04-2.04 3.804 2.983L12 9.74Zm0-7h-2v1h2v2.405L9.805 10.35 5.96 7.333 4 9.293V6h2V5H4V4h8ZM9 6H7V5h2Z" class="cls-1"/></svg>'},Ku={name:"dashboard_builder_templates_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V3h10Z" class="cls-1"/><path d="M9 9h3v1H9zM12 4H4v4h8Zm-1 3H5V5h6ZM8 9H4v3h4Zm-1 2H5v-1h2ZM9 11h3v1H9z" class="cls-1"/></svg>'},Xu={name:"dashboard_builder_tile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.646 10.646 7 8.293l2 2 1.646-1.646.707.707L9 11.707l-2-2-1.646 1.647ZM14 2v12H2V2ZM4 7h3V4H4Zm8 1H4v4h8zm0-4H8v3h4Z" class="cls-1"/></svg>'},Yu={name:"database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.588 11.46a3 3 0 0 0 .36-.257c.015-.012.036-.023.051-.036v1.093c0 .395-.57.81-1.551 1.137a9.133 9.133 0 0 1-.757.212A16.2 16.2 0 0 1 7.997 14a16 16 0 0 1-3.69-.391 9 9 0 0 1-.757-.213C2.57 13.069 2 12.655 2 12.26v-1.093c.013.013.033.023.049.036a2.6 2.6 0 0 0 .362.26q.017.01.033.02a4 4 0 0 0 .502.241l.01.005.11.046c.058.02.121.039.18.06q.15.055.308.106c.037.012.07.026.11.037.018.006.042.011.063.017.2.06.412.11.633.159l.142.031q.352.073.727.13.073.011.146.02a17 17 0 0 0 .82.1 25 25 0 0 0 .98.065c.273.01.55.019.822.019q.41-.001.824-.02.09-.005.179-.007.403-.022.801-.057l.112-.014q.36-.035.708-.086.073-.009.147-.02.374-.057.725-.13.074-.017.144-.031.328-.072.63-.157.034-.01.069-.02c.037-.01.07-.024.108-.036.107-.034.206-.07.309-.107.057-.02.12-.038.176-.06q.056-.02.111-.045l.013-.005a4 4 0 0 0 .5-.241zm0-2.845-.035.022a5 5 0 0 1-.5.241l-.013.005q-.055.023-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.025-.107.036q-.035.01-.069.02a11 11 0 0 1-.774.187q-.35.075-.725.13-.074.012-.147.021-.348.051-.708.086L9.8 9.59q-.398.037-.801.057l-.18.008q-.413.019-.823.02a19 19 0 0 1-.823-.02l-.18-.008a21 21 0 0 1-.8-.057l-.113-.013q-.36-.035-.706-.086-.073-.008-.146-.02a13 13 0 0 1-1.502-.32c-.021-.006-.045-.01-.063-.017-.04-.012-.073-.025-.11-.037a8 8 0 0 1-.309-.107c-.058-.02-.121-.039-.179-.06l-.11-.045-.01-.005a4 4 0 0 1-.502-.241c-.012-.007-.02-.014-.033-.02a2.5 2.5 0 0 1-.362-.26c-.016-.013-.036-.023-.049-.036v1.093c0 .394.57.81 1.55 1.136q.167.056.354.108.191.054.402.105a16 16 0 0 0 3.691.39 16.2 16.2 0 0 0 3.694-.39 9 9 0 0 0 .757-.213c.98-.327 1.551-.742 1.551-1.136V8.322c-.015.013-.036.024-.05.036a3 3 0 0 1-.361.258m0-2.845-.035.022a5 5 0 0 1-.5.241l-.013.005q-.055.023-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.026-.107.036q-.034.01-.069.02-.302.084-.63.156l-.144.031q-.351.075-.725.132-.074.009-.147.02-.348.049-.708.085l-.112.013a19 19 0 0 1-.98.066q-.414.016-.824.018a21 21 0 0 1-1.802-.084l-.114-.013q-.36-.036-.706-.086l-.146-.02q-.375-.057-.727-.13c-.05-.01-.094-.022-.142-.032q-.33-.072-.633-.157l-.063-.018c-.04-.011-.073-.025-.11-.037a8 8 0 0 1-.309-.107l-.179-.06-.11-.045-.01-.005a4 4 0 0 1-.502-.241c-.012-.007-.02-.014-.033-.02a2.5 2.5 0 0 1-.362-.26C2.033 5.5 2.013 5.488 2 5.476V6.57c0 .394.57.81 1.55 1.136q.167.056.354.108.191.054.402.105a16 16 0 0 0 3.691.39 16.2 16.2 0 0 0 3.694-.39 9 9 0 0 0 .757-.213c.98-.327 1.551-.742 1.551-1.136V5.477c-.015.013-.036.024-.05.036a3 3 0 0 1-.361.258M14 3.738C14 2.915 11.535 2 7.998 2 4.463 2 2 2.915 2 3.738c0 .394.57.81 1.55 1.135q.168.057.355.11.192.053.402.103a16.2 16.2 0 0 0 3.69.39 16.2 16.2 0 0 0 3.692-.39 9 9 0 0 0 .759-.213C13.429 4.548 14 4.132 14 3.738" class="cls-1"/></svg>'},Ju={name:"database_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.919 12.103a12 12 0 0 1-1.594-.26 8 8 0 0 1-.644-.182c-.835-.28-1.32-.635-1.32-.973v-.936c.011.01.029.02.042.031a2 2 0 0 0 .308.222l.028.018a4 4 0 0 0 .428.206l.009.005.093.038c.049.019.103.034.153.051q.129.048.262.092c.032.01.06.022.094.032l.054.014q.256.075.538.136l.121.027q.301.062.62.111.062.01.124.018.295.042.6.073l.038.005-.613.613Zm-2.238-7.74q.145.049.303.093.163.045.343.09a13.7 13.7 0 0 0 3.142.333 13.7 13.7 0 0 0 3.144-.334 8 8 0 0 0 .646-.182c.835-.28 1.32-.635 1.32-.973 0-.704-2.098-1.488-5.11-1.488-3.01 0-5.107.784-5.107 1.488 0 .338.486.694 1.32.973m5.047 6.495.008.007.008-.008Zm-5.047-4.07q.142.049.301.093.164.046.343.09a13.7 13.7 0 0 0 3.143.334 13.7 13.7 0 0 0 3.146-.335 8 8 0 0 0 .644-.181c.835-.28 1.321-.636 1.321-.973v-.937c-.013.012-.03.02-.043.032a2.3 2.3 0 0 1-.307.22l-.03.02a4 4 0 0 1-.426.206l-.01.004q-.047.02-.096.039c-.047.017-.101.033-.15.05q-.128.049-.263.092-.046.017-.092.032l-.058.016q-.257.073-.537.134l-.122.027q-.3.063-.618.112l-.124.017q-.297.043-.604.074l-.095.01a16 16 0 0 1-.835.057q-.352.015-.701.016a17 17 0 0 1-1.535-.072l-.097-.011a15 15 0 0 1-.6-.074l-.125-.017q-.319-.05-.62-.112l-.12-.027a9 9 0 0 1-.54-.134q-.028-.008-.053-.016c-.034-.01-.062-.022-.094-.032a7 7 0 0 1-.262-.091c-.05-.018-.104-.034-.153-.052l-.093-.038-.01-.004a4 4 0 0 1-.427-.207l-.028-.017a2 2 0 0 1-.308-.223c-.013-.011-.031-.02-.042-.03v.936c0 .337.485.692 1.32.972m0 2.436q.142.049.301.093.164.046.343.09a13 13 0 0 0 2.644.327l.318-.318.323.324a14.4 14.4 0 0 0 2.473-.222l1.753-1.753-.063.028-.01.004q-.047.02-.096.04c-.047.017-.101.033-.15.05-.087.032-.171.063-.263.091-.032.01-.06.022-.092.032q-.029.008-.058.017a9 9 0 0 1-.66.16q-.298.064-.617.112l-.124.017q-.297.044-.604.074l-.095.011q-.339.03-.682.049l-.153.007q-.352.016-.701.016-.35 0-.7-.016l-.155-.007a17 17 0 0 1-.68-.049l-.097-.011a15 15 0 0 1-.6-.074q-.063-.008-.125-.017a11 11 0 0 1-1.28-.274l-.053-.015c-.034-.01-.062-.021-.094-.032a7 7 0 0 1-.262-.09c-.05-.018-.104-.034-.153-.053q-.046-.017-.093-.038l-.01-.004a4 4 0 0 1-.427-.207l-.028-.017a2 2 0 0 1-.308-.223c-.014-.01-.031-.02-.042-.03v.936c0 .337.485.693 1.32.972m9.269-1.6L8.736 11.84l-1.449-1.45-1.053 1.055 2.458 2.458 5.268-5.268Z" class="cls-1"/></svg>'},Qu={name:"debug_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.875 11.673a1 1 0 0 1-2 0c0-.02.01-.038.012-.058l-.741-.494C9.97 12.783 8 14 8 14s-2.003-1.36-3.174-3.027l-.963.642c.002.02.012.037.012.058a1 1 0 1 1-1-1 1 1 0 0 1 .435.109l1.01-.674C4.124 9.685 4 9.255 4 8.832v-.16h-.528a.99.99 0 0 1-.847.5 1 1 0 0 1 0-2c.366 0 .673.207.847.5H4V5h1.375v-.903a.99.99 0 0 1-.5-.847 1 1 0 0 1 2 0 .99.99 0 0 1-.5.847V5h3.25v-.903a.99.99 0 0 1-.5-.847 1 1 0 0 1 2 0 .99.99 0 0 1-.5.847V5H12v2.673h.278c.174-.294.48-.5.847-.5a1 1 0 1 1 0 2 .99.99 0 0 1-.847-.5H12v.159c0 .488-.133.967-.346 1.426l.786.524a1 1 0 0 1 .435-.11 1 1 0 0 1 1 1" class="cls-1"/></svg>'},ep={name:"desktop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 3H2v8h5v1H5v1h6v-1H9v-1h5V3Zm0 7H3V4h10Z" class="cls-1"/></svg>'},tp={name:"donut_chart_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.872 10.956a4.123 4.123 0 0 1-6.997-2.962v-.007H2v.007a5.995 5.995 0 0 0 10.301 4.182ZM8.372 2v1.884a4.13 4.13 0 0 1 2.992 6.501l1.429 1.224A6.008 6.008 0 0 0 8.37 2M2.048 7.236h1.897a4.12 4.12 0 0 1 3.675-3.352V2A6.01 6.01 0 0 0 2.05 7.236" class="cls-1"/></svg>'},np={name:"dot_solid_dot_stroke_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 8a3 3 0 1 1-3-3 3 3 0 0 1 3 3m5-2a2 2 0 1 0 2 2 2 2 0 0 0-2-2m0-1a3 3 0 1 1-3 3 3 3 0 0 1 3-3" class="cls-1"/></svg>'},ip={name:"dot_solid_dot_stroke_measurement_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 3h1v3H5zM6 4h4v1H6zM10 3h1v3h-1zM7 10a3 3 0 1 1-6 0 3 3 0 0 1 6 0m5-2c-1.103 0-2 .897-2 2s.897 2 2 2 2-.897 2-2-.897-2-2-2m0-1a3 3 0 1 1 0 6 3 3 0 0 1 0-6" class="cls-1"/></svg>'},op={name:"down_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m5.958 10.03 2.063-6.281.49 2.344 4.117-4.122 1.414 1.414L9.94 7.487l2.324.504z" class="cls-1"/><path d="M8 10.42V12H4V8h1.572l.657-2H2v8h8V9.774z" class="cls-1"/></svg>'},sp={name:"download_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 9v5H2V9h1v4h10V9Zm-5.982 2L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1Z" class="cls-1"/></svg>'},rp={name:"electronic_chip_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 14H7.333V9.333a2 2 0 0 1 2-2H14V13a1 1 0 0 1-1 1M12 2a.667.667 0 0 0-.667.667v2h1.334v-2A.667.667 0 0 0 12 2M8.444 2a.667.667 0 0 0-.666.667v2H9.11v-2A.667.667 0 0 0 8.444 2M2 8.444a.667.667 0 0 0 .667.667h2V7.778h-2A.667.667 0 0 0 2 8.444M2 12a.667.667 0 0 0 .667.667h2v-1.334h-2A.667.667 0 0 0 2 12m11.556-8.222v.889a.444.444 0 0 1-.445.444H10.89a.444.444 0 0 1-.445-.444v-.89H10v.89a.444.444 0 0 1-.444.444H7.333a.444.444 0 0 1-.444-.444v-.89H4.667a.89.89 0 0 0-.89.89v2.222h.89a.444.444 0 0 1 .444.444v2.223a.444.444 0 0 1-.444.444h-.89v.444h.89a.444.444 0 0 1 .444.445v2.222a.444.444 0 0 1-.444.445h-.89V14H6.89V8.222A1.333 1.333 0 0 1 8.222 6.89H14V3.778Z" class="cls-1"/></svg>'},ap={name:"exclamation_mark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.371 11.873h3.256V14H6.37ZM6.316 2l.37 8.542h2.628L9.684 2Z" class="cls-1"/></svg>'},lp={name:"eye_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.856 3.657A7 7 0 0 0 1 8.001a7.59 7.59 0 0 0 7.146 4.342A7 7 0 0 0 15 8a7.59 7.59 0 0 0-7.144-4.344m-1.199 7.289A5.11 5.11 0 0 1 2.443 8s.665-2.585 4.33-3.037a2.8 2.8 0 0 0-1.414 1.223l2.787 1.22H4.977a3.5 3.5 0 0 0-.053.576 3.35 3.35 0 0 0 1.734 2.962m2.85.02a3.4 3.4 0 0 0 .107-5.908 5 5 0 0 1 3.942 2.944s-.603 2.44-4.05 2.963" class="cls-1"/></svg>'},cp={name:"eye_dash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.832 3.902a9.5 9.5 0 0 1 2.024-.245c3.264.09 5.676 1.427 7.144 4.344-.543 1.222-1.279 2.157-2.173 2.852l-.83-.825c1.277-.888 1.56-2.027 1.56-2.027a5 5 0 0 0-3.942-2.944 3.36 3.36 0 0 1 1.664 2.926 3.3 3.3 0 0 1-.196 1.137zm-.674 3.505h-.18q-.052.286-.054.576a3.35 3.35 0 0 0 1.734 2.962 5.11 5.11 0 0 1-4.215-2.944s.252-.981 1.303-1.84c.029-.024.067-.046.097-.069l-.828-.828C2.19 5.947 1.512 6.849 1 8c1.469 2.916 3.882 4.252 7.146 4.342a9.7 9.7 0 0 0 1.754-.194zm-1.77-4.733-.708.708 9.9 9.9.707-.708z" class="cls-1"/></svg>'},dp={name:"fancy_a_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.597 9.844H7.865A7.5 7.5 0 0 1 6.19 11.96a3.32 3.32 0 0 1-2.042.667 2.84 2.84 0 0 1-1.964-.753L2 11.706l1.153-1.152.157.251a1.35 1.35 0 0 0 1.2.716 1.98 1.98 0 0 0 1.385-.625 11.6 11.6 0 0 0 1.722-2.403l2.252-3.88a8 8 0 0 0-.679-.037 2.37 2.37 0 0 0-1.66.54 1.97 1.97 0 0 0-.556 1.51V6.7l-.067.106-1.564.762.045-.423a3.85 3.85 0 0 1 .645-1.874 3.3 3.3 0 0 1 1.34-1.177 6.7 6.7 0 0 1 2.208-.443c.127 0 .277-.013.471-.029l.369-.03 1.387-.257.087 2.154.33 3.886a4.9 4.9 0 0 0 .29 1.701.5.5 0 0 0 .528.31c.057 0 .277 0 .641-.03L14 11.33l-.172.83-3.003.506Zm-.086-.896-.275-3.22-1.855 3.22Z" class="cls-1"/></svg>'},hp={name:"file_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 3v10h8V7H8V3Zm5 0v3h3Z" class="cls-1"/></svg>'},up={name:"file_arrow_curved_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7 2 3 3H7zM6 6V2H2v12h4.282l.03-.187A4.51 4.51 0 0 1 10 10.065V6zm8 5.5L11 9v2c-1.817-.091-3.412 1.137-3.701 2.97.576-.672 2.077-2.065 3.701-1.82V14z" class="cls-1"/></svg>'},pp={name:"file_drawer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 4v10h12V4Zm8 4H6V6h4Zm4-5H2V2h12Z" class="cls-1"/></svg>'},fp={name:"file_search_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 6v6h-3.333a3.7 3.7 0 0 0 .249-1.302A3.7 3.7 0 0 0 7.22 7 3.7 3.7 0 0 0 6 7.223V2h4v4Zm-3-4v3h3Zm-1.126 8.698a2.697 2.697 0 0 1-4.73 1.772L2.521 14l-.48-.823 2.613-1.523a2.698 2.698 0 1 1 5.22-.956m-.952 0a1.745 1.745 0 1 0-1.745 1.745 1.747 1.747 0 0 0 1.745-1.745" class="cls-1"/></svg>'},mp={name:"filter_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 3.045v1.29h.787a2.069 2.069 0 1 0 2.907 2.903l1.32 2.173v4.522l1.973-1.846V9.411l3.878-5.076h1.134v-1.29Zm2.033 4.059a1.154 1.154 0 0 1 0-2.308c.023 0 .045.006.068.007l1.002 1.575a1.15 1.15 0 0 1-1.07.726" class="cls-1"/></svg>'},gp={name:"floppy_disk_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.455 4H3.583A.585.585 0 0 0 3 4.598V11.5l1.5 1.497 7.858.003c.33 0 .6-.27.6-.6L13 4.545c0-.33-.215-.546-.545-.546M11 12H8v-2H6v2H5V9h6zm1-4H4V5h8z" class="cls-1"/></svg>'},vp={name:"floppy_disk_checkmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.455 5h-1.041l-1.005 1H12v3H4V6h3.782L6.79 5H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm2-10.99L9.091 5.9 7 3.79l.919-.89 1.164 1.208L12.128 1.1z" class="cls-1"/></svg>'},bp={name:"floppy_disk_pen_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.17 11.108 7.299 11H7V9H5v2H4V8h6v.696l1.626-1.386c.107-.09.228-.155.355-.206L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497 3.136.001zM3 7V4h8v3z" class="cls-2"/><path d="M12.275 8.07c.218-.185.693-.008 1.205.552s.635 1.038.418 1.223l-.92.784-1.621-1.775zm-4.92 6.113 1.98-.899-.985.164.043-.94-.32.161.104-.652-1.17 1.786zm2.212-.645L6 15l1.945-3.236 2.1-1.791 1.622 1.774zm2.862-2.49-1.622-1.774c-.118-.13.148-.349.262-.224l1.623 1.775c.117.128-.15.348-.263.224m-.522.452-1.622-1.775c-.118-.129.148-.349.262-.223l1.623 1.774c.117.128-.15.348-.263.224" class="cls-1"/></svg>'},yp={name:"floppy_disk_star_arrow_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.5 2.5a1 1 0 1 0-1 1 1 1 0 0 0 1-1m7.5.002L9.638.819l.496 1.293H7v.828h3.134L9.638 4.18ZM12.455 5H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm1-4H4V6h8Z" class="cls-1"/></svg>'},wp={name:"floppy_disk_three_dots_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 3a1 1 0 1 0-1 1 1 1 0 0 0 1-1m3 0a1 1 0 1 0-1 1 1 1 0 0 0 1-1m3 0a1 1 0 1 0-1 1 1 1 0 0 0 1-1m.455 2H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm1-4H4V6h8Z" class="cls-1"/></svg>'},xp={name:"folder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 4V3H2v10h12V4Zm6 2H3V5h10Z" class="cls-1"/></svg>'},Cp={name:"folder_open_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 3v1.002h6V6h-1V5H3v1H2V3ZM2 13h11l1-6H2Z" class="cls-1"/></svg>'},kp={name:"forward_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.027 14 2.5-12h1.5l-2.5 12z" class="cls-1"/></svg>'},Sp={name:"four_dots_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.5 11A1.5 1.5 0 1 1 5 9.5 1.5 1.5 0 0 1 6.5 11M5 3.5A1.5 1.5 0 1 0 6.5 5 1.5 1.5 0 0 0 5 3.5m7.5 7.5A1.5 1.5 0 1 1 11 9.5a1.5 1.5 0 0 1 1.5 1.5M11 3.5A1.5 1.5 0 1 0 12.5 5 1.5 1.5 0 0 0 11 3.5" class="cls-1"/></svg>'},$p={name:"function_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 12.643h-1.572l-.898-1.283-.923 1.283h-1.54l1.658-2.146-1.632-2.14h1.572l.883 1.258.888-1.258h1.545l-1.635 2.111ZM9.544 4.667H9.31a3 3 0 0 0-.394-.1 2.5 2.5 0 0 0-.483-.05 1.32 1.32 0 0 0-.832.241 1.33 1.33 0 0 0-.405.895l-.128.937h1.846v1.282H6.812l-.376 2.462a3.6 3.6 0 0 1-.462 1.357 2.6 2.6 0 0 1-.784.808 3 3 0 0 1-.938.387A4.8 4.8 0 0 1 3.184 13q-.275 0-.629-.03A3.5 3.5 0 0 1 2 12.892v-1.815h.12a.56.56 0 0 0 .424.244 2.5 2.5 0 0 0 .5.052 1.3 1.3 0 0 0 .898-.29 1.6 1.6 0 0 0 .424-.985l.33-2.226H3.256V6.59H5.05l.178-1.162a2.94 2.94 0 0 1 .444-1.244 2.5 2.5 0 0 1 .76-.734 2.6 2.6 0 0 1 .94-.356A5.6 5.6 0 0 1 8.357 3q.294 0 .588.025t.599.076Z" class="cls-1"/></svg>'},Mp={name:"gauge_simple_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.969 5.196a1.76 1.76 0 0 1 1.142-.49 1.76 1.76 0 0 1-.49 1.142L9.205 8.263l.008.025.065.184.03.093a1.4 1.4 0 0 1 .032.295 1.385 1.385 0 0 1-2.769 0 1.3 1.3 0 0 1 .033-.294l.034-.11.055-.16.012-.033.014-.014a1.4 1.4 0 0 1 .625-.625l.015-.015.033-.011.16-.055.11-.035a1.3 1.3 0 0 1 .588 0l.11.035.16.055.033.011ZM14 8.86a5.98 5.98 0 0 1-1.799 4.28l-1.309-1.308a4.085 4.085 0 0 0 .83-4.78l.55-.55a2.6 2.6 0 0 0 .64-1.082A5.97 5.97 0 0 1 14 8.86m-6-6a5.998 5.998 0 0 0-4.201 10.28l1.309-1.308a4.14 4.14 0 0 1 4.644-6.725l.564-.564a2.6 2.6 0 0 1 1.07-.635A5.97 5.97 0 0 0 8 2.86" class="cls-1"/></svg>'},Ep={name:"grid_three_by_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 3v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1m4 9H4v-2h2Zm.001-2.999H4V7h2.001Zm0-3.001H4V4h2.001ZM9 12H7v-2h2Zm0-2.999H7V7h2ZM9 6H7V4h2Zm3 6h-2v-2h2Zm.001-2.999H10V7h2.001Zm0-3.001H10V4h2.001Z" class="cls-1"/></svg>'},Ip={name:"grid_two_by_two_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 9h3v3H4Zm5 0h3v3H9ZM4 4h3v3H4Zm5 0h3v3H9ZM2 14h12V2H2Z" class="cls-1"/></svg>'},_p={name:"hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 14H6V8h3ZM8.875 2H6.723A1.99 1.99 0 0 1 5 3a2.49 2.49 0 0 1-2-1H2v4h1a1.8 1.8 0 0 1 1.5-1C5.551 5 5.997 6.99 6 7h3c.333-1.539 1-2.436 1.741-2.436C12.222 4.564 14 6.615 14 6.615S13 2 8.875 2" class="cls-1"/></svg>'},Tp={name:"hashtag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.76 14 .752-2.914H6.045L5.299 14H3.532l.746-2.914H2v-1.72h2.712l.701-2.807H2.947v-1.72h2.91L6.567 2h1.766l-.71 2.838h2.46L10.8 2h1.768l-.717 2.838H14v1.72h-2.599l-.706 2.807h2.374v1.72h-2.807L9.501 14ZM6.447 9.392h2.506l.72-2.85H7.167Z" class="cls-1"/></svg>'},Ap={name:"home_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.988 2 2.5 9H4v5h3v-3h2v3h3V9h1.5z" class="cls-1"/></svg>'},Dp={name:"horizontal_triangle_outline_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.05 2v12l11.4-6zM4 5.313 9.156 8 4 10.688z" class="cls-1"/></svg>'},Op={name:"hourglass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.774 13.4h-.047v-.49h-.404a2.5 2.5 0 0 0 .355-1.258c0-1.826-2.083-2.886-2.083-3.652s2.083-1.826 2.083-3.652a2.5 2.5 0 0 0-.355-1.257h.404V2.6h.047a.556.556 0 0 0 .499-.6H4.727a.556.556 0 0 0 .499.6h.047v.49h.404a2.5 2.5 0 0 0-.355 1.258c0 1.826 2.083 2.87 2.083 3.652s-2.083 1.826-2.083 3.652a2.5 2.5 0 0 0 .355 1.257h-.404v.491h-.047a.556.556 0 0 0-.499.6h6.546a.556.556 0 0 0-.499-.6M8 12.957c-1.565 0-1.975-.585-1.975-1.305a7.2 7.2 0 0 1 1.723-.656c.268 0 .289-3.513 0-3.779l-.988-1h2.454l-.962 1c-.268.286-.275 3.779 0 3.779a7.7 7.7 0 0 1 1.738.656c0 .72-.409 1.305-1.99 1.305" class="cls-1"/></svg>'},Rp={name:"indent_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m2.5 7.5 1 2.5-1 2.5 5-2.5zM2 3h12v2H2zM9 7h5v2H9zM9 11h5v2H9z" class="cls-1"/></svg>'},Fp={name:"indeterminant_checkbox_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm0-1H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2M4 4v8h8V4Zm6 6H6V6h4Z" class="cls-1"/></svg>'},Np={name:"info_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.415 7.75v3.69H6.376v1.576h4.24V11.44H9.6V6.175H6.376V7.75Zm.276-2.698a1.19 1.19 0 0 0 2.035-.838 1.16 1.16 0 0 0-.346-.846 1.193 1.193 0 0 0-1.693 0 1.16 1.16 0 0 0-.35.846 1.14 1.14 0 0 0 .354.838" class="cls-1"/></svg>'},Pp={name:"info_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m-.697 2.28a.95.95 0 0 1 1.35 0 .93.93 0 0 1 .276.675.952.952 0 0 1-1.905 0 .92.92 0 0 1 .279-.674M9.7 12H6.3v-1.264h.833V7.777H6.3V6.513h2.584v4.223H9.7Z" class="cls-1"/></svg>'},Lp={name:"inward_squares_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 10h2v2H4zm-1 3h1v-1H3zm7-7H6v4h4zM3 3v4h2V5h6v6H9v2h4V3z" class="cls-1"/></svg>'},zp={name:"italic_i_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M8.99 13.802H4.38l.258-1.133h1.523l2.17-9.367H6.808l.258-1.133h4.61l-.258 1.133H9.895l-2.17 9.367h1.523z"/></svg>'},Hp={name:"key_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.045 7.348-.652-.652 1.444-.14Zm-3.818.698-4.912 4.912-.395-.396 4.12-4.12Zm4.734-2.918-1.697.136-.395-.395L11 3.176l.72-.067 1.304 1.304Zm-3.524-.386-.651-.653.791-.791Zm-1.955-.653v2.607l-5.074 5.075L2 12.946l.791.791 1.432.129.326-.326v-.652l.652-.652h.652l.326-.325v-.652h.651l.978-.978.014-.652.312-.326h.652l.652-.651h2.607l1.676-1.676L14 4.089l-1.955-1.955-2.887.28Z" class="cls-1"/></svg>'},Vp={name:"laptop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 11V3H3v8H2v2h12v-2Zm-2 1H5v-1h6Zm1-1.996H4V4h8Z" class="cls-1"/></svg>'},Bp={name:"layer_group_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m3.555 9.546.89-.445 5.333 2.667 1.778-.89.889.449v1.33L9.778 13.99l-6.223-3.11Zm0-6.222L6.222 1.99l6.223 3.112v1.333L9.778 7.768l-6.223-3.11Zm0 3.11.89-.444 5.333 2.667 1.778-.89.889.448v1.33L9.778 10.88 3.555 7.768Z" class="cls-1"/></svg>'},qp={name:"lightning_bolt_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.732 7.953 6.909 2h3.636L8.364 7.013h2.909L4.727 14l2.21-6.049Z" class="cls-1"/></svg>'},Up={name:"link_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.465 5.592A2.91 2.91 0 0 1 9.963 7.02l-1.06 1.065c-.053-.103-.095-.192-.144-.276a1.48 1.48 0 0 0-1.277-.769 1.43 1.43 0 0 0-.977.394c-.75.694-1.469 1.421-2.165 2.168a1.43 1.43 0 0 0 .054 2.038 1.5 1.5 0 0 0 1.039.432 1.28 1.28 0 0 0 .953-.417c.103-.11.435-.44.81-.805a3.46 3.46 0 0 0 1.908.188c-1.006 1.035-2.179 2.187-2.996 2.38a3 3 0 0 1-.693.082 2.91 2.91 0 0 1-2.182-4.842A47 47 0 0 1 5.53 6.356a2.83 2.83 0 0 1 1.935-.764M10.583 2.5a3 3 0 0 0-.69.081 10.4 10.4 0 0 0-2.996 2.377 3.5 3.5 0 0 1 .568-.054 3.6 3.6 0 0 1 1.31.249c.38-.332.701-.646.875-.834a1.22 1.22 0 0 1 .913-.395 1.51 1.51 0 0 1 1.074.469 1.433 1.433 0 0 1 .022 2.005c-.7.743-1.42 1.47-2.165 2.167a1.42 1.42 0 0 1-.975.395 1.48 1.48 0 0 1-1.28-.768c-.048-.085-.089-.175-.151-.298L6.043 8.987a2.88 2.88 0 0 0 2.493 1.42 2.8 2.8 0 0 0 1.93-.76 54 54 0 0 0 2.266-2.266A2.911 2.911 0 0 0 10.583 2.5" class="cls-1"/></svg>'},jp={name:"link_cancel_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.202 9.45a2.64 2.64 0 0 1 .687 2.519l-1.364.002c.032-.1.062-.183.085-.269a1.34 1.34 0 0 0-.326-1.312 1.3 1.3 0 0 0-.88-.374 38 38 0 0 0-2.779.002 1.3 1.3 0 0 0-1.273 1.341 1.37 1.37 0 0 0 .39.944 1.16 1.16 0 0 0 .878.344c.137-.005.562-.002 1.036.004a3.14 3.14 0 0 0 1.104 1.344 8.1 8.1 0 0 1-3.45-.395 2.7 2.7 0 0 1-.496-.392A2.64 2.64 0 0 1 4.52 8.702a43 43 0 0 1 2.951-.003 2.56 2.56 0 0 1 1.731.751m3.984.017a2.7 2.7 0 0 0-.495-.39 9.4 9.4 0 0 0-3.447-.398 3 3 0 0 1 .4.33 3.3 3.3 0 0 1 .68 1c.457.031.864.035 1.096.027a1.1 1.1 0 0 1 .839.331 1.37 1.37 0 0 1 .389.99 1.3 1.3 0 0 1-1.272 1.3c-.926.028-1.854.033-2.78.002a1.3 1.3 0 0 1-.878-.372 1.35 1.35 0 0 1-.328-1.313c.023-.086.054-.17.093-.289l-1.371.031a2.61 2.61 0 0 0 .688 2.51 2.55 2.55 0 0 0 1.726.751c.968.033 1.94.025 2.908 0a2.641 2.641 0 0 0 1.752-4.51m-2.701-3.208L8.71 4.485l1.775-1.775-.71-.71L8 3.775 6.225 2l-.71.71L7.29 4.485 5.515 6.259l.71.71L8 5.195l1.775 1.774Z" class="cls-1"/></svg>'},Wp={name:"list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 13H2v-2h2Zm10-2H6v2h8ZM4 7H2v2h2Zm10 0H6v2h8ZM4 3H2v2h2Zm10 0H6v2h8Z" class="cls-1"/></svg>'},Gp={name:"list_tree_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10 5v2h4v2h-4v2h4v2H8V5H5V3h9v2ZM2 5h2V3H2Zm5 6H5v2h2Zm0-4H5v2h2Z" class="cls-1"/></svg>'},Zp={name:"list_tree_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.953 11.81c.013-.011.032-.02.046-.031v.917c0 .33-.523.678-1.42.953a8 8 0 0 1-.694.178 16 16 0 0 1-3.382.328 16 16 0 0 1-3.38-.328 9 9 0 0 1-.693-.179c-.898-.274-1.42-.622-1.42-.952v-.917c.012.01.031.02.045.03a2.3 2.3 0 0 0 .332.218l.03.017a4 4 0 0 0 .46.202l.01.005.1.037q.081.026.164.05.139.047.283.09.048.016.1.031l.058.015q.277.072.58.132.063.014.13.026.322.063.666.11l.134.017q.315.041.646.072l.104.01q.364.031.731.049l.166.007q.378.015.754.016.375-.001.754-.016l.164-.007q.37-.018.734-.048l.102-.011q.33-.03.649-.072.067-.008.134-.017.343-.048.664-.11.068-.012.132-.026.3-.06.577-.13.031-.01.063-.017c.034-.009.064-.021.099-.031.098-.028.189-.059.283-.09.052-.017.11-.032.16-.05q.053-.018.103-.037l.012-.005a4 4 0 0 0 .457-.202q.018-.01.032-.018a2.5 2.5 0 0 0 .33-.216m-5.45-2.946c-3.237 0-5.492.767-5.492 1.457 0 .33.523.679 1.42.952q.153.048.325.091.176.046.368.088a16 16 0 0 0 3.38.327 16 16 0 0 0 3.38-.327 9 9 0 0 0 .695-.18C13.477 11 14 10.652 14 10.322c0-.69-2.257-1.457-5.497-1.457M14 6V5H5V3h2V2H2v1h2v5.581a10 10 0 0 1 1-.255V6h3v2h6V7H9V6Z" class="cls-1"/></svg>'},Kp={name:"lock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 8V7a3.89 3.89 0 0 0-4-4 3.82 3.82 0 0 0-2.81 1.078A4.35 4.35 0 0 0 4.062 7v1H3v6h10V8ZM6.062 6.986a2.4 2.4 0 0 1 .566-1.516A1.83 1.83 0 0 1 8 5a1.883 1.883 0 0 1 2 2v1H6.062Z" class="cls-1"/></svg>'},Xp={name:"magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.073 12.29-2.926-2.926a3.971 3.971 0 1 0-.783.783l2.927 2.926ZM7.01 9.84a2.83 2.83 0 1 1 2.83-2.83 2.833 2.833 0 0 1-2.83 2.83" class="cls-1"/></svg>'},Yp={name:"markdown_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.25 3H1.75a.74.74 0 0 0-.75.73v8.54a.74.74 0 0 0 .75.73h12.5a.74.74 0 0 0 .75-.73V3.73a.74.74 0 0 0-.75-.73m-6.285 7.059h-.991V7.773L5.982 9.35l-.99-1.577v2.286H4V5.934h.91L5.982 7.51l1.073-1.576h.91Zm2.459.007L8.848 7.945h1.1V5.934h.99v2.01H12Z" class="cls-1"/></svg>'},Jp={name:"minus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 7h8v2H4z" class="cls-1"/></svg>'},Qp={name:"minus_wide_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 7h10v2H3z" class="cls-1"/></svg>'},ef={name:"mobile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.462 2.077H4.538A.54.54 0 0 0 4 2.615v10.77a.54.54 0 0 0 .538.538h5.924a.54.54 0 0 0 .538-.538V2.615a.54.54 0 0 0-.538-.538M10 12H5V3h5Z" class="cls-1"/></svg>'},tf={name:"ni_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.172 4c1.675 0 3 1.354 3 3.103V13h-3V7h-3V4zm-3 9h-3V7h3zm10.656-9v9c-1.681 0-3-1.378-3-3V4z" class="cls-1"/></svg>'},nf={name:"notebook_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 2h1v3h-1Zm0 8h1V6h-1Zm0 4h1v-3h-1ZM4 7h6V6H4Zm0-2h6V4H4ZM2 2h10v12H2Z" class="cls-1"/></svg>'},of={name:"number_list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M14 11H6v2h8zm0-4H6v2h8zm0-4H6v2h8zM1.999 4.644h.73V2.302h-.585v-.271c.295-.05.505-.13.681-.235h.32v2.848h.656v.346H1.999zM1.804 9.509c.951-.932 1.501-1.521 1.501-2.037 0-.365-.2-.621-.605-.621-.265 0-.496.17-.676.381l-.235-.226c.265-.3.551-.495.961-.495.591 0 .961.375.961.936 0 .621-.561 1.196-1.336 1.987.174-.016.37-.026.535-.026h.956v.355H1.804zM1.733 13.884l.21-.271c.19.201.44.376.816.376.385 0 .661-.226.661-.581 0-.38-.26-.635-1.021-.635v-.315c.676 0 .906-.261.906-.596 0-.306-.21-.501-.55-.501-.266 0-.491.136-.681.32l-.221-.26c.246-.23.541-.4.916-.4.556 0 .956.295.956.811 0 .386-.23.631-.576.761v.021c.385.09.691.37.691.811 0 .565-.471.91-1.056.91a1.36 1.36 0 0 1-1.051-.451"/></svg>'},sf={name:"outdent_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.5 12.5-1-2.5 1-2.5-5 2.5zM2 3h12v2H2zM9 7h5v2H9zM9 11h5v2H9z" class="cls-1"/></svg>'},rf={name:"outward_squares_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 9H7V7h2zm-6 4h4V9H3zM3 3v4h2V5h6v6H9v2h4V3zm7 3H9v1h1z" class="cls-1"/></svg>'},af={name:"paste_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 5V3H3v6h2v1H2V2h8v3ZM6 6v8h8V6Z" class="cls-1"/></svg>'},lf={name:"pause_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 3h3v10H4zM9 3h3v10H9z" class="cls-1"/></svg>'},cf={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.413 2.674c.326-.288 1.04-.013 1.807.857.768.869.952 1.61.626 1.898l-1.378 1.218-2.433-2.757Zm-7.381 9.493 2.97-1.396-1.477.254.064-1.459-.48.25.156-1.013-1.754 2.774Zm3.319-1.002L2 13.435 4.917 8.41l3.15-2.78L10.5 8.383Zm4.293-3.866L9.21 4.544c-.177-.202.222-.543.394-.349l2.434 2.756c.175.2-.224.54-.394.348m-.783.7L8.428 5.244c-.178-.201.22-.542.393-.347l2.433 2.755c.176.199-.223.54-.393.347" class="cls-1"/></svg>'},df={name:"play",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.05 2v12l11.4-6z" class="cls-1"/></svg>'},hf={name:"pot_with_lid_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 4V2H5v2H2v1h12V4ZM6 4V3h4v1Zm-4 9h1v1h10v-1h1V6H2Z" class="cls-1"/></svg>'},uf={name:"question_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.303 5.594a3.3 3.3 0 0 1-.195 1.176 2.6 2.6 0 0 1-.549.885 4 4 0 0 1-.852.672 7.5 7.5 0 0 1-1.121.54v1.501H6.27V8.15q.467-.125.845-.256a3.2 3.2 0 0 0 .793-.429 2.1 2.1 0 0 0 .608-.612 1.45 1.45 0 0 0 .22-.791 1.04 1.04 0 0 0-.423-.939 2.16 2.16 0 0 0-1.195-.28 3.3 3.3 0 0 0-1.068.204 4.9 4.9 0 0 0-1.09.526h-.263V3.566a8 8 0 0 1 1.296-.372A8.2 8.2 0 0 1 7.77 3a4.2 4.2 0 0 1 2.579.718 2.24 2.24 0 0 1 .954 1.876M8.77 13H6.112v-1.737H8.77Z" class="cls-1"/></svg>'},pf={name:"rectangle_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 2v12h10V2zm9 11H4V3h8z" class="cls-2"/><path d="M5 9h6v1H5zM5 11h3v1H5z" class="cls-2"/><path d="M11 4.643 7.591 8 6 6.434l.682-.672.937.923L10.347 4z" class="cls-1"/></svg>'},ff={name:"running_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.45 7.985-7.602 4.013L7.75 8 5.848 3.987zM3.945 2.997 2.05 2 4.9 8l-2.85 6 1.902-1.005L6.325 8z" class="cls-1"/></svg>'},mf={name:"screen_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3H2v8h5v1H5v1h6v-1H9v-1h5V3zm10 7H3V4h10z" class="cls-1"/><path d="M5.743 9 4 7.242l.766-.742.97 1.007L8.273 5 9 5.758zM10 6h2v1h-2zM8 8h4v1H8z" class="cls-1"/></svg>'},gf={name:"screen_check_lines_calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 9H3V3h10v3h1V2H2v8h4zM4 11h2v1H4z" class="cls-1"/><path d="M13 8V7h-1v1H9V7H8v1H7v6h7V8zm0 5H8v-3h5zM5.465 8.052 3.723 6.295l.765-.743.97 1.007 2.538-2.507.727.758zM9.723 5.052h2v1h-2z" class="cls-1"/></svg>'},vf={name:"server_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 3H3v3h10ZM9 5H4V4h5ZM3 7v3h10V7Zm6 2H4V8h5Zm3 4H3v-2h10v1a1 1 0 0 1-1 1" class="cls-1"/></svg>'},bf={name:"share_nodes_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10c-.601 0-1.134.27-1.5.69L5.954 8.419a2 2 0 0 0 0-.836l4.544-2.273c.367.42.9.691 1.501.691a2 2 0 1 0-1.955-1.582L5.501 6.691C5.134 6.27 4.6 6 4 6a2 2 0 1 0 0 4c.601 0 1.134-.27 1.5-.69l4.545 2.272A2 2 0 1 0 12 10"/></svg>'},yf={name:"shield_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v5.11C2 10.39 8 14 8 14s6-3.281 6-6.89V2Zm4.788 8.2L4 7.388 5.225 6.2l1.553 1.61 4.06-4.01L12 5.013Z" class="cls-1"/></svg>'},wf={name:"shield_xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v5.11C2 10.39 8 14 8 14s6-3.281 6-6.89V2Zm9.5 7.346L10.346 10.5 8 8.154 5.654 10.5 4.5 9.346 6.846 7 4.5 4.654 5.654 3.5 8 5.846 10.346 3.5 11.5 4.654 9.154 7Z" class="cls-1"/></svg>'},xf={name:"signal_bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 14H2V2h2Zm3-9H5v9h2Zm3 3H8v6h2Zm3 3h-2v3h2Z" class="cls-1"/></svg>'},Cf={name:"sine_graph_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 12H2v-1.63a4.6 4.6 0 0 0 1.766-1.967c.636-1.06 1.082-1.705 1.902-1.705s1.266.644 1.902 1.705c.615 1.026 1.312 2.189 2.766 2.189s2.15-1.163 2.764-2.189a6.5 6.5 0 0 1 .9-1.267Zm0-6.054a4.6 4.6 0 0 0-1.764 1.967c-.635 1.061-1.08 1.705-1.9 1.705S9.07 8.974 8.434 7.913c-.615-1.026-1.312-2.189-2.766-2.189S3.517 6.887 2.902 7.913A6.5 6.5 0 0 1 2 9.18V4h12Z" class="cls-1"/></svg>'},kf={name:"skip_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 2h-2v12h2zm-4 6.5-8 4v-8z" class="cls-1"/></svg>'},Sf={name:"sparkle_swirls_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><linearGradient id="a" x1="2.044" x2="13.956" y1="8" y2="8" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#009b65"/><stop offset=".5" stop-color="#00a7d2"/><stop offset="1" stop-color="#bb3bff"/></linearGradient></defs><path d="m13.956 7.972-.001.066c-.001.023-.006.068-.006.068a1.038 1.038 0 0 1-2.068-.126c0-.107.045-.33.044-.34.034-.229.07-.458.07-.696A4.735 4.735 0 0 0 5.45 2.571 5.9 5.9 0 0 1 7.968 2a5.99 5.99 0 0 1 5.988 5.972M4.005 9.056c0-.238.036-.467.07-.696-.001-.01.044-.233.044-.34a1.038 1.038 0 0 0-2.068-.126s-.005.045-.006.068l-.001.066A5.99 5.99 0 0 0 8.032 14c.903 0 1.751-.214 2.518-.571a4.735 4.735 0 0 1-6.546-4.373M8 9.594c.915 0 1.706.198 2.078.484-.286-.372-.484-1.163-.484-2.078s.198-1.706.484-2.078c-.372.286-1.163.484-2.078.484s-1.706-.198-2.078-.484c.286.372.484 1.163.484 2.078s-.198 1.706-.484 2.078c.372-.286 1.163-.484 2.078-.484" style="fill:url(#a);stroke-width:0"/></svg>'},$f={name:"sparkles_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.498 2a2.85 2.85 0 0 1-.811 1.69A2.85 2.85 0 0 1 9 4.498a2.85 2.85 0 0 1 1.69.809c.477.476.739 1.076.812 1.693a2.85 2.85 0 0 1 .811-1.69A2.85 2.85 0 0 1 14 4.502a2.85 2.85 0 0 1-1.69-.809A2.84 2.84 0 0 1 11.497 2M7.495 3c-.163 1.355-.737 2.674-1.784 3.719C4.668 7.76 3.352 8.332 2 8.496c1.355.163 2.674.736 3.72 1.78C6.768 11.321 7.343 12.642 7.505 14c.162-1.355.736-2.674 1.784-3.719C10.332 9.24 11.648 8.668 13 8.504c-1.356-.163-2.674-.736-3.72-1.78C8.231 5.679 7.656 4.358 7.495 3" class="cls-1"/></svg>'},Mf={name:"spinner",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.967 7.143h-.762a4.885 4.885 0 0 1 3.938-3.94v.771a4.12 4.12 0 0 0-3.176 3.169M8 2v1.875A4.125 4.125 0 1 1 3.875 8H2a6 6 0 1 0 6-6" class="cls-1"/></svg>'},Ef={name:"square_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm4.788 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013Z" class="cls-1"/></svg>'},If={name:"square_t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm9.033 4.199-.016-.076a2.34 2.34 0 0 0-.497-1.18 2.1 2.1 0 0 0-1.281-.26h-.56v5.941c0 .552.11.718.176.768a1.8 1.8 0 0 0 .88.196l.09.006V12H6.193v-.405l.09-.007c.59-.046.8-.144.87-.218.06-.06.158-.255.158-.884V4.683h-.565a2.2 2.2 0 0 0-1.274.262 2 2 0 0 0-.498 1.174l-.015.08H4.49L4.565 4h6.859l.07 2.199Z" class="cls-1"/></svg>'},_f={name:"square_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3v10h10V3zm8 7.01-.99.99L8 8.99 5.99 11 5 10.01 7.01 8 5 5.99 5.99 5 8 7.01 10.01 5l.99.99L8.99 8z" class="cls-1"/></svg>'},Tf={name:"stop_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3h10v10H3z" class="cls-1"/></svg>'},Af={name:"systemlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.357 9.143H4.786V6.79c0-.927.442-1.714 1.262-2.211C6.674 4.2 7.505 4 8.451 4h5.335v2.571H8.69c-.911.124-1.262.548-1.333 1.267z" class="cls-1"/><path d="M8.643 7.857h2.571v2.352c0 .927-.442 1.714-1.262 2.211-.626.38-1.457.58-2.403.58H2.214v-2.571H7.31c.911-.124 1.262-.548 1.333-1.267z" class="cls-1"/></svg>'},Df={name:"t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.684 13v-.729l.221-.018c.764-.058.947-.19.985-.229.026-.026.157-.202.157-.992V4.078H6.48a2.46 2.46 0 0 0-1.477.291 2.26 2.26 0 0 0-.563 1.36l-.038.196h-.797L3.704 3h8.6l.092 2.925h-.784l-.021-.095a2.8 2.8 0 0 0-.589-1.466c-.147-.131-.523-.286-1.48-.286H8.96V11.2c0 .679.138.819.165.84a2.1 2.1 0 0 0 1.01.213l.223.018V13Z" class="cls-1"/></svg>'},Of={name:"tablet_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.5 2h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5M8 13.25a.75.75 0 1 1 .75-.75.75.75 0 0 1-.75.75M12 11H4V3h8Z" class="cls-1"/></svg>'},Rf={name:"tag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path d="M8.044 3.588 5.23 3 3 5.229l.588 2.816L8.543 13 13 8.543ZM6.5 6.499a1.082 1.082 0 1 1-.013-1.516A1.07 1.07 0 0 1 6.499 6.5" class="cls-1"/></svg>'},Ff={name:"tags_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path d="M8.044 2.338 5.23 1.75 3 3.979l.588 2.816 4.955 4.955L13 7.293ZM6.5 5.249a1.082 1.082 0 1 1-.013-1.516 1.07 1.07 0 0 1 .013 1.516m6.251 4.794L8.543 14.25 4.257 9.964l-.283-1.369 4.569 4.57L12.207 9.5Z" class="cls-1"/></svg>'},Nf={name:"target_crosshairs_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 6.01a2 2 0 1 0 2 2 2 2 0 0 0-2-2m4.9.99A5 5 0 0 0 9 3.1V1H7v2.1A5 5 0 0 0 3.1 7H1v2h2.1A5 5 0 0 0 7 12.9V15h2v-2.1A5 5 0 0 0 12.9 9H15V7ZM8 12a4 4 0 1 1 4-4 4.005 4.005 0 0 1-4 4" class="cls-1"/></svg>'},Pf={name:"target_crosshairs_progress_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M15 7v2h-2.1A5 5 0 0 1 9 12.9V15H7v-2.108a4.99 4.99 0 0 1-3.898-3.985l-1.52.583 2.003-4 1.998 4L4.11 8.9A3.999 3.999 0 1 0 7 4.13V1h2v2.1A5 5 0 0 1 12.9 7Zm-5 1.01a2 2 0 1 1-2-2 2 2 0 0 1 2 2" class="cls-1"/></svg>'},Lf={name:"three_circles_ascending_container_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 4H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M4 8.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5m3 .5a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5m4 .5a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5" class="cls-1"/></svg>'},zf={name:"three_dots_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 6.5A1.5 1.5 0 1 1 6.5 8 1.5 1.5 0 0 1 8 6.5M.5 8A1.5 1.5 0 1 0 2 6.5 1.5 1.5 0 0 0 .5 8m12 0A1.5 1.5 0 1 0 14 6.5 1.5 1.5 0 0 0 12.5 8" class="cls-1"/></svg>'},Hf={name:"three_vertical_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 3h2v10h-2zM7 3h2v10H7zM3 3h2v10H3z" class="cls-1"/></svg>'},Vf={name:"thumbtack_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m10 7-.625-5H10V1H5v1h.625L5 7a2 2 0 0 0-2 2h4v4l.5 2 .5-2V9h4a2 2 0 0 0-2-2" class="cls-1"/></svg>'},Bf={name:"tile_size_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 8h6v6H2Zm0-6v5h2V4h8v8H9v2h5V2Z" class="cls-1"/></svg>'},qf={name:"times_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 9.103 5.102 12 4 10.897 6.898 8 4 5.103 5.102 4 8 6.897 10.898 4 12 5.103 9.102 8 12 10.897 10.898 12z" class="cls-1"/></svg>'},Uf={name:"trash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10 4V2H6v2H3v2h1v8h8V6h1V4Zm-3 9H6V6h1Zm2-9H7V3h2Zm1 9H9V6h1Z" class="cls-1"/></svg>'},jf={name:"triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2 2 14h12Zm0 4.875 2.438 4.875H5.586Z" class="cls-1"/></svg>'},Wf={name:"triangle_filled_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2 2 14h12z" class="cls-1"/></svg>'},Gf={name:"triangle_two_lines_horizontal",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.625 8 8 2l4.375 6zM14 12H2v2h12zm0-3H2v2h12z" class="cls-1"/></svg>'},Zf={name:"true_false_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.4 3.003H2.6a1.6 1.6 0 0 0-1.6 1.6v6.8a1.595 1.595 0 0 0 1.6 1.594h10.8a1.595 1.595 0 0 0 1.6-1.594v-6.8a1.6 1.6 0 0 0-1.6-1.6M7.587 6.58H6.141v3.736H4.946V6.58H3.5v-.896h4.087Zm4.913 0h-2.13v.862h1.974v.896H10.37v1.978H9.181V5.684H12.5Z" class="cls-1"/></svg>'},Kf={name:"two_squares_in_brackets",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 4h5v5H4zm6 3v3H7v2h5V7zM5 3V2H2v12h3v-1H3V3zm8-1h-2v1h2v10h-2v1h3V2z" class="cls-1"/></svg>'},Xf={name:"two_triangles_between_lines",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.11 2.11v12h2v-12zm12 0v12h2v-12zm-6 8.974-3-3 3-3zm1.925-5.948 3 3-3 3z" class="cls-1"/></svg>'},Yf={name:"unlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.126 8.585c-.581.123-1.117.241-1.362.303a1.55 1.55 0 0 0-1.182 1.51l.01.155.021.193a1.7 1.7 0 0 0 .216.54l.02.038.105.134.127.144.054.047a1.5 1.5 0 0 0 .992.36h.049a1.3 1.3 0 0 0 .224-.034l.03.015.006-.001q.694-.134 1.387-.287l.343 1.538c-.488.11-.976.221-1.467.314a3 3 0 0 1-.571.053 3.15 3.15 0 0 1-2.99-2.258l-.011-.045a3 3 0 0 1-.076-.35 3 3 0 0 1-.03-.206l-.004-.089a3 3 0 0 1-.016-.336A3.16 3.16 0 0 1 4.35 7.356c.272-.068.808-.203.802-.206l.623-.137Zm4.31-1.544-.353 1.575c.737.176 1.38.334 1.413.346a1.51 1.51 0 0 1 .789.768l.029.066.053.185.038.164.002.045a1.7 1.7 0 0 1-.035.58l-.064.185-.056.142a1.55 1.55 0 0 1-1.4.893 1.7 1.7 0 0 1-.313-.03 55 55 0 0 1-1.15-.24l-.347 1.55.406.097-.013-.017c.276.057.55.118.826.173a3 3 0 0 0 .578.056 3.19 3.19 0 0 0 2.811-1.74 3 3 0 0 0 .129-.311l.033-.083.061-.197a3 3 0 0 0 .082-.351l.008-.044a3.13 3.13 0 0 0-2.281-3.513c-.297-.077-.777-.19-1.245-.299M7.932 2.393 6.875 6.075h.75l.3 3.032 1.2-3.782h-.75Z" class="cls-1"/></svg>'},Jf={name:"unlock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.062 8V5.986a2.4 2.4 0 0 1 .566-1.516A1.83 1.83 0 0 1 8 4a1.883 1.883 0 0 1 2 2h2a3.89 3.89 0 0 0-4-4 3.82 3.82 0 0 0-2.81 1.078A4.35 4.35 0 0 0 4.062 6v2H3v6h10V8Z" class="cls-1"/></svg>'},Qf={name:"up_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 10.828V12H4V8h1.172l2-2H2v8h8V8.828z" class="cls-1"/><path d="m14.042 1.97-2.063 6.281-.49-2.344-4.117 4.122-1.414-1.414 4.102-4.102-2.324-.504z" class="cls-1"/></svg>'},em={name:"upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 9v5H2V9h1v4h10V9ZM7.982 2 5 7.9l2.004-1.312L7 11h2V6.613L11 7.9Z" class="cls-1"/></svg>'},tm={name:"user_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.004 2a2.18 2.18 0 0 1 2.184 2.182v1.09c.647 0 .378.932 0 1.455a4 4 0 0 1-.335.364 9 9 0 0 1-.31.742l.208 1.076h.437l2.75 1.527A2.15 2.15 0 0 1 14 12.291V14H2v-1.673a2.16 2.16 0 0 1 1.063-1.869l2.758-1.55h.437l.21-1.068a9 9 0 0 1-.312-.749 4 4 0 0 1-.335-.364c-.378-.523-.647-1.454 0-1.454v-1.09A2.18 2.18 0 0 1 8.004 2" class="cls-1"/></svg>'},nm={name:"watch_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.57 7.28-.06.013a4.56 4.56 0 0 0-1.38-2.609V3.44a.48.48 0 0 0-.48-.48h-.48V2H5.85v.96h-.48a.48.48 0 0 0-.48.48v1.24a4.545 4.545 0 0 0 0 6.64v1.24a.48.48 0 0 0 .48.48h.48V14h4.32v-.96h.48a.48.48 0 0 0 .48-.48v-1.24a4.55 4.55 0 0 0 1.379-2.612l.061.012a.48.48 0 0 0 .48-.48v-.48a.48.48 0 0 0-.48-.48m-2.3 2.662a1.6 1.6 0 0 0-.182-.26L8.747 8.338a.79.79 0 0 0 0-.666c.132-.133.894-.899.965-1a1.2 1.2 0 0 0 .14-.485 1 1 0 0 0-.515.157l-.955.957a.784.784 0 1 0 0 1.408c.163.167.956.974 1.236 1.254a1.5 1.5 0 0 0 .36.276 3.055 3.055 0 1 1 .291-.297" class="cls-1"/></svg>'},im={name:"waveform_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.77 11.225c-1.582 0-2.076-1.262-2.512-2.376l-.17-.426a26 26 0 0 1-.218-.595c-.32-.9-.41-1.046-.652-1.046-.24 0-.308.065-.612.88-.088.237-.188.504-.317.801l-.098.238c-.486 1.178-1.037 2.513-2.747 2.513H2V9.221h.444c.318 0 .48-.316.9-1.292l.133-.307c.06-.148.121-.304.181-.457.435-1.116.927-2.382 2.56-2.382 1.59 0 2.063 1.274 2.48 2.398l.168.443q.123.308.221.572c.345.905.427 1.03.684 1.03.259 0 .409-.317.742-1.157q.119-.303.266-.652l.097-.228c.477-1.127 1.016-2.405 2.668-2.412l.444-.002L14 6.782h-.447c-.367 0-.506.245-.994 1.387 0 0-.179.434-.238.584-.433 1.101-.973 2.472-2.55 2.472" class="cls-1"/></svg>'},om={name:"webvi_custom_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m4.089 2.526h-1.868a5.6 5.6 0 0 0-.854-1.712 5.36 5.36 0 0 1 2.722 1.712m-2.722 8.66a5.6 5.6 0 0 0 .854-1.712h1.868a5.36 5.36 0 0 1-2.722 1.712m3.181-2.344h-2.146a11 11 0 0 0 .208-1.187L9.923 10c-.05.294-.106.58-.176.843h-1.51l-1.263.632h2.583C9.145 12.647 8.554 13.368 8 13.368c-.517 0-1.065-.633-1.47-1.672l-.56.28a5 5 0 0 0 .663 1.21 5.36 5.36 0 0 1-2.722-1.712h.317a1 1 0 0 1-.017-.17v-.462h-.76a5.3 5.3 0 0 1-.804-2.526h1.564v-.632H2.646a5.3 5.3 0 0 1 .805-2.526h.759V4.69a1 1 0 0 1 .016-.164h-.316a5.36 5.36 0 0 1 2.722-1.712 5 5 0 0 0-.663 1.207l.56.28c.406-1.037.953-1.67 1.47-1.67.554 0 1.145.722 1.557 1.895H6.98l1.261.632h1.507c.07.263.126.548.176.842l.687.344a11 11 0 0 0-.208-1.186h2.146a5.3 5.3 0 0 1 .804 2.526h-.67a.92.92 0 0 1-.001.632h.671a5.3 5.3 0 0 1-.804 2.526M12.105 8a.33.33 0 0 1-.19.296l-6.598 3.3-.148.036a.327.327 0 0 1-.327-.328V4.69a.327.327 0 0 1 .492-.281l6.595 3.302a.33.33 0 0 1 .176.29" class="cls-1"/></svg>'},sm={name:"webvi_host_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m4.09 2.526H10.22a5.6 5.6 0 0 0-.854-1.712 5.36 5.36 0 0 1 2.722 1.712m-2.723 8.66a5.6 5.6 0 0 0 .854-1.712h1.868a5.36 5.36 0 0 1-2.722 1.712m3.181-2.344h-2.146a11 11 0 0 0 .208-1.187L9.923 10a10 10 0 0 1-.176.843h-1.51l-1.263.632h2.583C9.145 12.647 8.554 13.368 8 13.368c-.517 0-1.064-.633-1.47-1.672l-.56.28a5 5 0 0 0 .663 1.21 5.36 5.36 0 0 1-2.722-1.712h.317a1 1 0 0 1-.017-.17v-.462h-.76a5.3 5.3 0 0 1-.804-2.526H4.21v-.632H2.647a5.3 5.3 0 0 1 .805-2.526h.759V4.69a1 1 0 0 1 .016-.164h-.316a5.36 5.36 0 0 1 2.722-1.712 5 5 0 0 0-.663 1.207l.56.28c.406-1.037.953-1.67 1.47-1.67.554 0 1.145.722 1.557 1.895H6.98l1.262.632h1.506c.07.263.126.548.176.842l.687.344a11 11 0 0 0-.208-1.186h2.146a5.3 5.3 0 0 1 .804 2.526h-.67a.92.92 0 0 1-.001.632h.671a5.3 5.3 0 0 1-.804 2.526m-.619-3.131L5.334 4.409a.327.327 0 0 0-.492.281v6.613a.327.327 0 0 0 .327.328l.148-.035 6.598-3.3a.326.326 0 0 0 .014-.585m-6.087 2.505V5.78L10.274 8Z" class="cls-1"/></svg>'},rm={name:"window_code_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V5h10ZM4 9.135l2.698-1.118v.75l-1.588.65 1.588.646v.75l-2.694-1.12Zm4.42-1.49h.792l-1.565 3.71h-.783ZM12 9.135v.557l-2.694 1.12v-.75l.062-.024 1.526-.626-1.588-.648v-.747Z" class="cls-1"/></svg>'},am={name:"window_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V5h10ZM7 8H4V6h3Zm5 2H4V9h8Zm0 2H4v-1h8Z" class="cls-1"/></svg>'},lm={name:"wrench_hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.286 11.714-5.791-5.79a2.5 2.5 0 0 0 .17-.755 2.2 2.2 0 0 0-.095-.814 2.1 2.1 0 0 0-.55-.904 2.33 2.33 0 0 0-1.76-.685h-.045a2.1 2.1 0 0 0-.718.155l1.102 1.104.32.32.244.245a1.86 1.86 0 0 1-.22.854 1 1 0 0 1-.114.145 1.65 1.65 0 0 1-1.003.335L2.61 4.704l-.449-.449a2 2 0 0 0-.135.545l-.015.105a2.34 2.34 0 0 0 .384 1.518 2.5 2.5 0 0 0 .295.36 2.2 2.2 0 0 0 1.576.65 2.5 2.5 0 0 0 .898-.175l4.793 4.796 1.203 1.2h.668l.663-.665v-.67ZM5.75 8.908l1.367 1.367-2.988 2.987h-.923l-.45-.45v-.916ZM14 5.906l-1.81 1.809-1.298-1.216-1.38 1.38-1.367-1.365 1.374-1.382-1.622-1.62.683-.774 2.252.45Z" class="cls-1"/></svg>'},cm={name:"xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 4.667 9.667 7.999 13 11.333 11.333 13 8 9.667 4.667 13 3 11.333 6.333 8 3 4.667 4.667 3 8 6.333 11.333 3Z" class="cls-1"/></svg>'},dm={name:"xmark_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.033 14.026 4.9 10.866 6.277 9.53l1.744 1.81 4.562-4.507 1.307 1.363Zm1.155-10.68-1.321-1.32-2.312 2.311-2.311-2.311-1.321 1.32 2.311 2.312L1.923 7.97l1.32 1.32 2.312-2.31 2.312 2.31 1.32-1.32-2.31-2.312Z" class="cls-1"/></svg>'},hm=G`<div
|
|
2302
|
+
const Fh="nimble-button",Nh={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 7H9V3H7v4H3v2h4v4h2V9h4z" class="cls-1"/></svg>'},Ph={name:"arrow_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M9 2v6.207l2.5-1.188L8.021 14 4.5 7.019 7 8.207V2z"/></svg>'},Lh={name:"arrow_down_left_and_arrow_up_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m2.007 13.171 2.247-2.276-2.284-.447 5.246-1.732-1.753 5.217-.456-2.284-2.26 2.291zM13.194 2l-2.261 2.29-.456-2.283-1.753 5.217 5.246-1.732-2.284-.447 2.247-2.276z" class="cls-1"/></svg>'},zh={name:"arrow_down_right_and_arrow_up_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.171 13.933-2.276-2.247-.447 2.284-1.732-5.246 5.217 1.753-2.284.456 2.291 2.26ZM2 2.746l2.29 2.261-2.283.456 5.217 1.753L5.492 1.97l-.447 2.284-2.276-2.247Z" class="cls-1"/></svg>'},Vh={name:"arrow_expander_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m3.5 4.737 1.11-.732 3.357 5.472L11.397 4l1.103.743L7.955 12z" class="cls-1"/></svg>'},Hh={name:"arrow_expander_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m11.263 3.5.732 1.11-5.472 3.357L12 11.397l-.743 1.103L4 7.955z" class="cls-1"/></svg>'},Bh={name:"arrow_expander_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m4.737 12.5-.732-1.11 5.472-3.357L4 4.603 4.743 3.5 12 8.045z" class="cls-1"/></svg>'},qh={name:"arrow_expander_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.5 11.263-1.11.732-3.357-5.472L4.603 12 3.5 11.257 8.045 4z" class="cls-1"/></svg>'},Uh={name:"arrow_in_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.5 5.25a3.24 3.24 0 0 0-2.738 1.513L11.236 8.5l-3.474 1.737A3.24 3.24 0 0 0 10.5 11.75a3.25 3.25 0 0 0 0-6.5" class="cls-1"/><path d="m4 6 1 2H2v1h3l-1 2 5-2.5z" class="cls-1"/></svg>'},jh={name:"arrow_left_from_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 14h2V2h-2ZM2 7.982 7.9 5 6.588 7.004 11 7v2H6.613L7.9 11Z" class="cls-1"/></svg>'},Wh={name:"arrow_out_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m9 6 1 2H7v1h3l-1 2 5-2.5z" class="cls-1"/><path d="M6 10V7h2.367A3.24 3.24 0 0 0 5.5 5.25a3.25 3.25 0 0 0 0 6.5c1.25 0 2.324-.714 2.867-1.75z" class="cls-1"/></svg>'},Gh={name:"arrow_partial_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 11.988a3.086 3.086 0 0 0 3.143-3.025 3.08 3.08 0 0 0-3.085-3.02v.088l.826 2.067-5.598-2.796L8.884 2.5l-.742 1.932a4.62 4.62 0 0 1 4.572 4.53A4.63 4.63 0 0 1 8 13.5Z" class="cls-1"/></svg>'},Zh={name:"arrow_right_to_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 14h2V2h-2Zm-6.9-3 1.287-2H2V7l4.412.004L5.1 5 11 7.982Z" class="cls-1"/></svg>'},Kh={name:"arrow_rotate_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.9 2.773v1.715a3.366 3.366 0 0 1 3.3 3.428 3.366 3.366 0 0 1-3.3 3.429 3.36 3.36 0 0 1-3.293-3.366h.095l2.255.901-3.05-6.107L1.85 8.88l2.108-.808A5.04 5.04 0 0 0 8.9 13.059a5.05 5.05 0 0 0 4.95-5.143A5.05 5.05 0 0 0 8.9 2.773" class="cls-1"/></svg>'},Xh={name:"arrow_u_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.857 9.453-2.571-1.68v.908a3 3 0 0 0 3 3 3 3 0 0 0 3-3V3.11H14v5.571a4.714 4.714 0 0 1-4.714 4.715A4.714 4.714 0 0 1 4.57 8.68v-.908L2 9.453l3.403-6.849Z" class="cls-1"/></svg>'},Yh={name:"arrow_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M7 14V7.793L4.5 8.981 7.979 2 11.5 8.981 9 7.793V14z"/></svg>'},Jh={name:"arrow_up_left_and_arrow_down_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m4.195 4.977-.451 2.296L2 2l5.256 1.762-2.301.458 6.849 6.803.452-2.296L14 14l-5.256-1.762 2.301-.458z" class="cls-1"/></svg>'},Qh={name:"arrow_up_right_and_arrow_down_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m11.023 4.195-2.296-.45L14 2l-1.762 5.256-.458-2.301-6.803 6.85 2.296.45L2 14l1.762-5.256.458 2.301z" class="cls-1"/></svg>'},eu={name:"arrow_up_right_from_square",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.042 2.97-2.063 6.281-.49-2.344-4.117 4.122-1.414-1.414L9.06 5.513 6.736 5.01zM12 9v3H4V4h3V3H3v10h10V9z" class="cls-1"/></svg>'},tu={name:"arrows_maximize_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.26 8.735 14 14l-5.25-1.763 2.295-.457-3.03-3.022L8 8.742l-.015.016.015.014-3.023 3.023 2.296.45L2 13.985l1.762-5.243.458 2.295 3.015-3.015.007-.007L7.258 8l-.016-.015L7.227 8l-3.03-3.03-.457 2.295L2 2l5.25 1.762-2.295.458 3.03 3.022.015.016.015-.016L8 7.227l3.023-3.022-2.296-.45L14 2.015l-1.762 5.243-.458-2.295L8.742 8l.016.015L8.773 8l3.03 3.03z" class="cls-1"/></svg>'},nu={name:"arrows_repeat_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.75 11.75 10 14l-6-3 6-3-1.25 2.25ZM8 11h1a4 4 0 0 0 4-4M7.25 5.75 6 8l6-3-6-3 1.25 2.25ZM8 5H7a4 4 0 0 0-4 4" class="cls-1"/></svg>'},iu={name:"at_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M12.139 3.621a5.5 5.5 0 0 1 1.206 1.845q.435 1.074.436 2.407 0 .961-.275 1.954t-.687 1.646H9.343l-.11-.536a4.6 4.6 0 0 1-.756.415q-.364.155-1.051.155-1.12 0-1.813-.924t-.694-2.49q0-.837.234-1.467.234-.628.639-1.095.377-.44.914-.687a2.5 2.5 0 0 1 1.064-.248q.453 0 .804.169.35.168.543.353v-.425h1.594v5.605h1.168q.248-.543.368-1.178.12-.636.12-1.22 0-1.161-.323-2.036-.322-.877-.892-1.453a3.7 3.7 0 0 0-1.366-.879 4.9 4.9 0 0 0-1.697-.289q-.871 0-1.657.343a4.6 4.6 0 0 0-1.383.928q-.61.598-.992 1.497c-.382.899-.381 1.257-.381 1.972q0 1.167.36 2.068.36.9.958 1.497.596.59 1.386.9a4.5 4.5 0 0 0 1.668.309q.583 0 1.328-.106a9 9 0 0 0 1.321-.279v1.333q-.64.144-1.271.22-.633.074-1.381.075a6.1 6.1 0 0 1-2.325-.433 5.4 5.4 0 0 1-1.852-1.23 5.6 5.6 0 0 1-1.212-1.91 6.7 6.7 0 0 1-.436-2.444q0-1.278.453-2.366a5.9 5.9 0 0 1 1.25-1.9A5.7 5.7 0 0 1 5.781 2.46 5.8 5.8 0 0 1 8.079 2q1.209 0 2.257.426a5.3 5.3 0 0 1 1.803 1.195M9.082 9.652V6.19a3 3 0 0 0-.522-.21 2 2 0 0 0-.543-.065q-.66 0-1.017.577c-.357.577-.357.912-.357 1.58q0 1.085.295 1.607.296.522.975.522.357 0 .625-.141.269-.14.544-.408"/></svg>'},ou={name:"bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 13v-2h12v2Zm0-4V7h12v2Zm0-4V3h12v2Z" class="cls-1"/></svg>'},su={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 14a2.05 2.05 0 0 1-2-2h4a2.05 2.05 0 0 1-2 2m-5.25-3s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.297.098 2.145.587 2.25 1.43v.483c0 .32.108.426.183.463H11s.25 0 .25.483v.02s.5 4.92 1.5 4.92c.5 0 .5.745.5.745Z" class="cls-1"/></svg>'},ru={name:"bell_and_comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.836 4.75H9.57a.71.71 0 0 0-.71.71v2.032a.71.71 0 0 0 .71.711h.356L9.57 9.625l2.488-1.422h1.778a.71.71 0 0 0 .71-.71V5.46a.71.71 0 0 0-.71-.711M8.196 11H2.75s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.224.092 2.04.537 2.217 1.294H9.57a1.713 1.713 0 0 0-1.71 1.71v2.032a1.71 1.71 0 0 0 .844 1.475ZM6 12h4a2.05 2.05 0 0 1-2 2 2.05 2.05 0 0 1-2-2m7.25-1H9.18l2.868-1.64c.198.527.431.894.702.894.5 0 .5.746.5.746" class="cls-1"/></svg>'},au={name:"bell_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.042 11h2a1 1 0 0 1-2 0m4.5-1h-7s0-.497.333-.497h.043c.624 0 .957-3.28.957-3.28 0-.335.167-.335.167-.335h.044c.05-.025.122-.095.122-.309v-.322c.07-.561.636-.888 1.5-.953v-.175c0-.054.06-.1.146-.129h.375c.086.029.146.075.146.129v.175c.865.065 1.43.392 1.5.953v.322c0 .214.072.284.122.309h.045s.166 0 .166.322v.014s.334 3.279 1 3.279c.334 0 .334.497.334.497m-3.5-7.5a5.5 5.5 0 1 1-5.5 5.5 5.506 5.506 0 0 1 5.5-5.5m0-1a6.5 6.5 0 1 0 6.5 6.5 6.5 6.5 0 0 0-6.5-6.5" class="cls-1"/></svg>'},lu={name:"bell_solid_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.5 8A6.5 6.5 0 0 0 8 14.5 6.5 6.5 0 0 0 14.5 8 6.5 6.5 0 0 0 8 1.5 6.5 6.5 0 0 0 1.5 8M8 12a1.025 1.025 0 0 1-1-1h2a1.025 1.025 0 0 1-1 1m-3.5-2s0-.497.333-.497h.043c.624 0 .957-3.28.957-3.28 0-.335.167-.335.167-.335h.045c.05-.025.122-.095.122-.309v-.322c.07-.561.635-.888 1.5-.953v-.175c0-.054.06-.1.145-.129h.376c.085.029.145.075.145.129v.175c.865.065 1.43.392 1.5.953v.322c0 .214.073.284.122.309H10s.167 0 .167.322v.014s.333 3.279 1 3.279c.333 0 .333.497.333.497Z" class="cls-1"/></svg>'},cu={name:"block_with_ribbon_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v10h4.762A4.496 4.496 0 0 1 13 5.762V2Zm12 7.5a3.5 3.5 0 1 0-6 2.442V14l2.5-1.667L13 14v-2.058A3.49 3.49 0 0 0 14 9.5M10.5 8A1.5 1.5 0 1 1 9 9.5 1.5 1.5 0 0 1 10.5 8" class="cls-1"/></svg>'},du={name:"bold_b_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M12.981 10.536q0 .843-.34 1.508c-.34.665-.538.81-.934 1.102a4.3 4.3 0 0 1-1.512.734q-.825.219-2.09.219H3.028V2.466h4.516q1.407 0 2.059.094a4.2 4.2 0 0 1 1.293.414q.664.336.988.902t.324 1.293q0 .844-.445 1.488c-.445.644-.716.765-1.258 1.004v.062q1.14.227 1.809.938c.669.711.667 1.099.667 1.875M9.137 5.755q0-.289-.145-.578t-.512-.43a2.5 2.5 0 0 0-.815-.137 68 68 0 0 0-1.372-.011h-.281V7.06h.469q.71 0 1.211-.023.5-.024.789-.157.406-.18.531-.465t.125-.66m.727 4.734q0-.555-.214-.855c-.214-.3-.387-.351-.73-.449q-.35-.102-.966-.11c-.616-.008-.84-.008-1.287-.008h-.655v2.898h.218q1.263 0 1.809-.008a2.7 2.7 0 0 0 1.006-.203q.468-.196.643-.52a1.53 1.53 0 0 0 .176-.745"/></svg>'},hu={name:"book_magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 10c0-.347.058-.678.142-1H5V8h1.556c.22-.378.498-.714.826-1H5V6h5c.732 0 1.41.212 2 .556V2H3v11h4.382A3.98 3.98 0 0 1 6 10M5 4h5v1H5z" class="cls-1"/><path d="m9.99 7.01-.076.002a3 3 0 1 0 1.799 5.452l1.593 1.53.69-.725-1.58-1.516a2.97 2.97 0 0 0 .57-1.816A3 3 0 0 0 9.99 7.01M10 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2" class="cls-1"/></svg>'},uu={name:"calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM6 9H4V7h2zm3-2H7v2h2zm3 0h-2v2h2zm-6 3H4v2h2zm3 0H7v2h2z" class="cls-1"/></svg>'},pu={name:"calendar_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10z" class="cls-2"/><path d="M5.743 11 4 9.242l.766-.742.97 1.007L8.273 7 9 7.758zM10 8h2v1h-2zM8 10h4v1H8z" class="cls-1"/></svg>'},fu={name:"calendar_day_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM6 9H4V7h2z" class="cls-1"/></svg>'},mu={name:"chart_diagram_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3Z" class="cls-1"/></svg>'},gu={name:"chart_diagram_child_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3Zm-8 2H3v-1h1Zm4 0H7v-1h1Zm4 0h-1v-1h1Z" class="cls-1"/></svg>'},vu={name:"chart_diagram_parent_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3ZM7 4V3h1v1Z" class="cls-1"/></svg>'},bu={name:"chart_diagram_parent_focus_two_child_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3Zm-6 2H4v-1h1Zm6 0h-1v-1h1Z" class="cls-1"/></svg>'},yu={name:"check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 5.287 6.182 12 3 8.867l1.363-1.343L6.24 9.37 11.693 4Z" class="cls-1"/></svg>'},wu={name:"check_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="12.5" cy="11.5" r="1.5" class="cls-1"/><path d="m14 4.693-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545Z" class="cls-2"/></svg>'},xu={name:"check_large_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m14 4.693-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545z" class="cls-1"/></svg>'},Cu={name:"circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m0 9.429A3.429 3.429 0 1 1 11.429 8 3.43 3.43 0 0 1 8 11.429" class="cls-1"/></svg>'},ku={name:"circle_filled_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle cx="8" cy="8" r="4" class="cls-1"/></svg>'},Su={name:"circle_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 14A6.1 6.1 0 0 1 7 2v2.686a3.475 3.475 0 0 0 0 6.628ZM9 2v2.686a3.475 3.475 0 0 1 0 6.628V14A6.1 6.1 0 0 0 9 2" class="cls-1"/></svg>'},$u={name:"circle_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m-1.212 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013Z" class="cls-1"/></svg>'},Mu={name:"circle_partial_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 2v2.686a3.475 3.475 0 0 1 0 6.628V14A6.1 6.1 0 0 0 9 2" class="cls-1"/><path d="M7 11.314a3.475 3.475 0 0 1 0-6.628V2a6.1 6.1 0 0 0 0 12Z" class="cls-2"/></svg>'},Eu={name:"circle_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.075 1.714a4.281 4.281 0 0 1 3.573 6.647L5.714 4.427a4.26 4.26 0 0 1 2.36-.713M3.789 8a4.26 4.26 0 0 1 .713-2.36l5.934 5.933A4.281 4.281 0 0 1 3.789 8" class="cls-1"/></svg>'},Iu={name:"circle_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.075 1.714a4.26 4.26 0 0 1 2.409.743l-2.37 2.37-2.4-2.4a4.26 4.26 0 0 1 2.36-.713M4.502 5.64l2.4 2.4-2.37 2.37a4.27 4.27 0 0 1-.03-4.77m3.573 6.647a4.26 4.26 0 0 1-2.31-.685l2.349-2.35 2.322 2.322a4.26 4.26 0 0 1-2.361.713m3.573-1.925L9.326 8.039l2.35-2.349a4.25 4.25 0 0 1-.028 4.67" class="cls-1"/></svg>'},_u={name:"clipboard_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 5H5a2 2 0 0 1 2-2V2a1 1 0 0 1 2 0v1a2 2 0 0 1 2 2m1-2v9H4V3H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1Zm-2 4H5v1h5ZM8 9H5v1h3Z" class="cls-1"/></svg>'},Tu={name:"clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m.576 4.87 1.555-1.557a1.64 1.64 0 0 1 .84-.256 2 2 0 0 1-.23.791c-.115.163-1.356 1.41-1.571 1.626a1.28 1.28 0 0 1 0 1.085l2.376 2.38a1.6 1.6 0 0 1 .458 1.072 1.62 1.62 0 0 1-1.222-.613c-.456-.456-1.94-1.963-2.207-2.235a1.275 1.275 0 1 1 0-2.293" class="cls-1"/></svg>'},Au={name:"clock_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.108 7.392.955-.957a1 1 0 0 1 .516-.157 1.2 1.2 0 0 1-.14.486c-.072.1-.834.866-.966.999a.79.79 0 0 1 0 .666l1.341 1.344a.98.98 0 0 1 .281.658 1 1 0 0 1-.75-.376c-.28-.28-1.073-1.088-1.237-1.255a.783.783 0 1 1 0-1.408m5.69 2.292L14 7.324l-1.327-.113a4.8 4.8 0 0 0-.402-1.26l1.02-.86-1.527-1.811-1.019.86a5 5 0 0 0-.563-.344 5 5 0 0 0-.612-.265l.114-1.329L7.324 2l-.113 1.329a4.8 4.8 0 0 0-1.26.401l-.86-1.02L3.28 4.237l.858 1.02A4.8 4.8 0 0 0 3.53 6.43l-1.329-.114L2 8.676l1.329.114a4.7 4.7 0 0 0 .401 1.26l-1.02.86 1.526 1.811 1.02-.859a4.7 4.7 0 0 0 1.175.608l-.113 1.33 2.358.2.114-1.328a4.7 4.7 0 0 0 1.26-.4l.86 1.02 1.81-1.527-.858-1.02a4.7 4.7 0 0 0 .608-1.175ZM8 11.45A3.45 3.45 0 1 1 11.45 8 3.45 3.45 0 0 1 8 11.45" class="cls-1"/></svg>'},Du={name:"clock_exclamation_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.821 5.114h1.357V6H2.82zM2.798 1l.155 3.56h1.094L4.202 1zm7.481 2.575h.001l-.013-.007a5 5 0 0 0-.606-.262 5 5 0 0 0-.523-.163 5 5 0 0 0-.286-.055A4.7 4.7 0 0 0 8 3q-.023.002-.045.005a5 5 0 0 0-.785.079c-.097.016-.194.03-.29.052a5 5 0 0 0-.575.179c-.48.174-.907.438-1.305.74V7H3.109l-.017.092a5 5 0 0 0-.088.87Q3.002 7.98 3 8c0 .293.036.575.088.852q.023.143.055.285.068.273.165.532.11.308.259.595l.007.016h.001c.83 1.608 2.49 2.72 4.426 2.72C10.762 13 13 10.762 13 8c0-1.935-1.112-3.594-2.72-4.425m-.275 7.041c-.38-.38-1.454-1.473-1.675-1.699a1.06 1.06 0 0 1-1.523-.953 1.06 1.06 0 0 1 1.523-.954l1.293-1.296c.117-.117.509-.213.7-.213 0 .128-.085.51-.191.658-.097.136-1.128 1.173-1.308 1.353a1.06 1.06 0 0 1 0 .903l1.816 1.82s.445.466.382.89c-.297 0-.594-.085-1.017-.509" class="cls-1"/></svg>'},Ou={name:"clock_triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 3a4.95 4.95 0 0 0-2.152.505L7.096 6H3.422A4.997 4.997 0 1 0 8 3m2.003 7.616a454 454 0 0 1-1.675-1.7 1.061 1.061 0 1 1 0-1.907l1.294-1.297a1.36 1.36 0 0 1 .699-.212 1.65 1.65 0 0 1-.19.658c-.097.136-1.13 1.173-1.309 1.353a1.06 1.06 0 0 1 0 .903l1.817 1.82a1.33 1.33 0 0 1 .381.891 1.35 1.35 0 0 1-1.017-.51" class="cls-1"/><path d="M5.477 5H1.522L3.5 1.045z" class="cls-2"/></svg>'},Ru={name:"clone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Z" class="cls-1"/></svg>'},Fu={name:"cloud_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.08 11.977a5.1 5.1 0 0 1-1.295-.2C2.754 11.46 1.883 10.2 1.883 9.022a2.963 2.963 0 0 1 2.63-2.937A4.2 4.2 0 0 1 8.432 3.48a4.254 4.254 0 0 1 4.249 4.17 2.25 2.25 0 0 1 1.437 2.09 2.24 2.24 0 0 1-2.238 2.237l-4.947.003c-1.01 0-1.79-.001-1.853-.003m-.228-4.573c-.899 0-1.63.725-1.63 1.618 0 .842.702 1.61 1.474 1.61l7.183.007a.9.9 0 0 0 0-1.799.9.9 0 0 0-.337.067l-.493.202.159-.508q.134-.425.134-.872a2.914 2.914 0 0 0-2.91-2.911 2.9 2.9 0 0 0-2.87 2.436l-.043.268-.264-.067a1.6 1.6 0 0 0-.403-.051" class="cls-1"/></svg>'},Nu={name:"cloud_upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m8.476 7.298-1.927 3.848 1.48-.568v3.407h.948v-3.407l1.42.568ZM15 9.005a2.374 2.374 0 0 1-2.371 2.371h-.998l-.5-1h1.498a1.371 1.371 0 1 0-.516-2.64A3.77 3.77 0 1 0 4.797 5.99 2.238 2.238 0 0 0 2 8.148a2.223 2.223 0 0 0 2.057 2.22l1.758.009-.448.894a10.6 10.6 0 0 1-2.31-.121 3.224 3.224 0 0 1 .993-6.225 4.77 4.77 0 0 1 9.236 1.68q0 .06-.002.121A2.375 2.375 0 0 1 15 9.006" class="cls-1"/></svg>'},Pu={name:"cloud_with_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.429 10.1.001-.101A3.998 3.998 0 0 0 4.69 8.59a2.715 2.715 0 0 0-2.557 2.7 2.78 2.78 0 0 0 1.725 2.516 4.9 4.9 0 0 0 1.225.19h.004c.19.006 6.792 0 6.792 0a1.987 1.987 0 0 0 .55-3.897m-.55 3.06-7.183-.008a1.867 1.867 0 0 1 .156-3.728 2 2 0 0 1 .464.06 3.16 3.16 0 1 1 6.13 1.462 1.149 1.149 0 1 1 .433 2.213M4.5 4.5a1 1 0 1 1 1-1 1 1 0 0 1-1 1m5.138.681.496-1.241H7v-.828h3.134l-.496-1.293L13 3.502Z" class="cls-1"/></svg>'},Lu={name:"cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.823 2-2.217.914.516 1.25a4.7 4.7 0 0 0-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.8 4.8 0 0 0-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.8 4.8 0 0 0 .945.949l-.518 1.247 2.214.921.519-1.246a5 5 0 0 0 .674.048 5 5 0 0 0 .666-.047L9.176 14l2.218-.914-.515-1.248a4.8 4.8 0 0 0 .95-.945l1.245.518.922-2.214-1.247-.519a4.7 4.7 0 0 0 .002-1.34L14 6.824l-.914-2.218-1.25.515a4.7 4.7 0 0 0-.944-.949l.518-1.246-2.212-.922-.52 1.247a5 5 0 0 0-.676-.049 5 5 0 0 0-.663.047Zm1.175 9a2.999 2.999 0 1 1 2.77-1.847 2.98 2.98 0 0 1-2.77 1.846M8 6.801a1.2 1.2 0 1 0 .46.093A1.2 1.2 0 0 0 8 6.8" class="cls-1"/></svg>'},zu={name:"cog_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.147 11.648q-.015.01-.032.02a4 4 0 0 1-.46.224l-.012.005q-.05.022-.103.042c-.051.019-.11.036-.162.055-.094.034-.186.068-.285.099-.034.01-.064.024-.1.033q-.03.01-.062.019-.279.078-.58.144l-.133.03q-.324.068-.668.12l-.135.02q-.32.045-.653.079l-.103.012a18 18 0 0 1-.903.06q-.381.016-.759.018a19 19 0 0 1-1.66-.078l-.105-.012a16 16 0 0 1-.65-.08l-.134-.018q-.346-.053-.67-.122l-.132-.029a9 9 0 0 1-.582-.145l-.059-.017q-.052-.016-.1-.034a7 7 0 0 1-.285-.1c-.054-.018-.112-.035-.165-.055l-.101-.041-.01-.005a4 4 0 0 1-.462-.223l-.03-.02a2.3 2.3 0 0 1-.334-.24c-.014-.012-.033-.022-.045-.033v1.013c0 .364.524.749 1.427 1.051q.155.053.326.1.177.051.371.098a14.8 14.8 0 0 0 3.4.362 14.8 14.8 0 0 0 3.403-.362 8 8 0 0 0 .697-.197c.904-.303 1.43-.688 1.43-1.052v-1.013c-.015.012-.034.022-.047.034a2.5 2.5 0 0 1-.333.238m.38-1.883c0-.762-2.27-1.61-5.529-1.61-3.256 0-5.524.848-5.524 1.61 0 .365.525.75 1.427 1.052q.155.052.328.1.175.05.37.097a14.8 14.8 0 0 0 3.399.362 14.8 14.8 0 0 0 3.401-.362 8 8 0 0 0 .7-.197c.902-.302 1.428-.687 1.428-1.052M3.931 7.697 2.802 7.6l.171-1.979 1.129.095a4 4 0 0 1 .516-.985l-.729-.856 1.537-1.28.73.855a4 4 0 0 1 1.071-.336L7.323 2l2.004.17-.097 1.114a4 4 0 0 1 .52.223 4 4 0 0 1 .478.288l.866-.721 1.296 1.52-.866.72a4 4 0 0 1 .341 1.058l1.127.095-.133 1.539a10.2 10.2 0 0 0-2.482-.618c.007-.048.021-.094.026-.143a2.48 2.48 0 0 0-1.346-2.416 2.54 2.54 0 0 0-2.938.45 2.41 2.41 0 0 0-.698 2.14 12 12 0 0 0-1.482.311zm4.067-.468c-.331 0-.697.012-1.077.035a1 1 0 0 1-.026-.314 1 1 0 0 1 .292-.618 1.01 1.01 0 0 1 1.174-.18.99.99 0 0 1 .539.967 1 1 0 0 1-.036.132 18 18 0 0 0-.866-.022" class="cls-1"/></svg>'},Vu={name:"cog_database_inset_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.751 7.338 14 6.824l-.914-2.218-1.25.515a4.7 4.7 0 0 0-.944-.949l.518-1.246-2.212-.922-.52 1.247a5 5 0 0 0-.676-.049 5 5 0 0 0-.663.047L6.823 2l-2.217.914.516 1.25a4.7 4.7 0 0 0-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.8 4.8 0 0 0-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.8 4.8 0 0 0 .945.949l-.518 1.247 2.214.921.519-1.246a5 5 0 0 0 .674.048 5 5 0 0 0 .666-.047L9.176 14l2.218-.914-.515-1.248a4.8 4.8 0 0 0 .95-.945l1.245.518.922-2.214-1.247-.519a4.7 4.7 0 0 0 .002-1.34m-1.06 2.418c0 .244-.35.5-.954.703a5 5 0 0 1-.466.131 10 10 0 0 1-2.273.243 10 10 0 0 1-2.271-.243 6 6 0 0 1-.466-.131c-.603-.202-.953-.46-.953-.703V9.08q.013.011.03.023a1.6 1.6 0 0 0 .223.16l.02.013a3 3 0 0 0 .309.15l.006.002.068.028q.054.02.11.037.093.035.19.066.033.012.067.023l.04.011q.185.054.389.098l.087.02q.217.045.448.08l.09.012q.212.03.434.054l.07.008q.244.022.491.035l.112.005a12 12 0 0 0 1.013 0l.11-.005q.248-.012.493-.035l.069-.008q.222-.022.436-.054l.09-.012q.23-.035.447-.08l.088-.02q.202-.045.388-.097l.042-.012.066-.023q.098-.03.19-.066.056-.018.109-.037l.069-.028.007-.003a3 3 0 0 0 .308-.149l.022-.014a2 2 0 0 0 .222-.159l.03-.023Zm0-1.76c0 .243-.35.5-.954.703a5 5 0 0 1-.466.13 10 10 0 0 1-2.273.243 10 10 0 0 1-2.271-.242 5 5 0 0 1-.466-.132c-.603-.202-.953-.459-.953-.703V7.32q.013.011.03.022a1.6 1.6 0 0 0 .223.16l.02.013a3 3 0 0 0 .309.15l.006.003q.034.014.068.027l.11.038q.093.034.19.066.033.011.067.023l.04.011q.185.052.389.097l.087.02q.217.045.448.08l.09.013q.212.03.434.053l.07.008a12 12 0 0 0 1.726.035q.248-.012.493-.035l.069-.008q.222-.023.436-.053l.09-.012q.23-.036.447-.081l.088-.02q.202-.044.388-.097.022-.005.042-.012.033-.01.067-.022.096-.031.19-.066l.108-.037.069-.028.008-.003a3 3 0 0 0 .307-.15l.022-.013a2 2 0 0 0 .222-.16q.015-.01.03-.022Zm-.953-1.05q-.105.034-.22.066-.117.035-.247.065a10 10 0 0 1-2.272.242 10 10 0 0 1-2.271-.242 6 6 0 0 1-.466-.132c-.603-.201-.954-.459-.954-.702 0-.51 1.515-1.076 3.69-1.076 2.177 0 3.694.567 3.694 1.076 0 .243-.351.5-.954.702" class="cls-1"/></svg>'},Hu={name:"cog_small_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.712 5.956a.76.76 0 0 1-.224.477.79.79 0 0 1-.909.139.762.762 0 0 1-.19-1.224.78.78 0 0 1 .907-.14.77.77 0 0 1 .416.748M14 11.61l-.441 1.088-.62-.246a2 2 0 0 1-.232.268 2 2 0 0 1-.23.2l.263.606-1.09.46-.263-.606a2.4 2.4 0 0 1-.662.008l-.248.612-1.1-.435.249-.612a2 2 0 0 1-.256-.215 2.4 2.4 0 0 1-.218-.243l-.614.26-.466-1.077.614-.259a2.3 2.3 0 0 1-.008-.654l-.62-.246.44-1.087.62.246a2.4 2.4 0 0 1 .234-.27 3 3 0 0 1 .229-.198l-.263-.606 1.09-.46.263.605a2.4 2.4 0 0 1 .662-.008l.248-.612 1.1.436-.248.612a2.4 2.4 0 0 1 .473.458l.614-.26.466 1.076-.613.26a2.3 2.3 0 0 1 .008.654Zm-1.934-1.591a1.495 1.495 0 0 0-2.085.011 1.454 1.454 0 0 0 .01 2.081 1.5 1.5 0 0 0 .486.313 1.5 1.5 0 0 0 1.6-.324 1.454 1.454 0 0 0-.01-2.081M9.036 8.33l-1.189.99-.564-.661a3.1 3.1 0 0 1-.827.26l-.075.86-1.547-.13.074-.862a3 3 0 0 1-.77-.394l-.671.557-1.001-1.174.67-.557a3 3 0 0 1-.264-.817L2 6.328 2.132 4.8l.872.074a3 3 0 0 1 .4-.762l-.564-.66 1.188-.99.565.66a3.2 3.2 0 0 1 .827-.26L5.494 2l1.548.131-.074.861a3 3 0 0 1 .402.172 3 3 0 0 1 .369.223l.669-.557L9.41 4.004l-.67.557a3 3 0 0 1 .264.818l.871.073-.132 1.53-.872-.074a3 3 0 0 1-.4.762ZM7.874 6.054a1.92 1.92 0 0 0-1.04-1.868 1.965 1.965 0 0 0-2.27.348 1.907 1.907 0 0 0 .478 3.06 1.965 1.965 0 0 0 2.27-.347 1.9 1.9 0 0 0 .562-1.193m3.376 4.467a.6.6 0 0 0-.64.13.6.6 0 0 0-.131.196.584.584 0 0 0 .33.761.6.6 0 0 0 .64-.13.6.6 0 0 0 .13-.195.58.58 0 0 0-.135-.637.6.6 0 0 0-.194-.125" class="cls-1"/></svg>'},Bu={name:"cog_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m14 3.11-1.178-.632-1.875 2.133a5.4 5.4 0 0 0-.716-.094L8.766 2l-2.138.627.2 2.863a5 5 0 0 0-.527.47l-2.77-.738-1.056 1.95L4.656 9.04a5 5 0 0 0-.087.704L2 11.144l.659 2.1 2.914-.197a5 5 0 0 0 .453.525l-.13.427h7.232a.82.82 0 0 0 .87-.759L14 13.2Zm-1.335 7.876a2.877 2.877 0 0 1-3.741 1.477 2.77 2.77 0 0 1-1.51-3.66 2.876 2.876 0 0 1 3.729-1.482 2.76 2.76 0 0 1 1.535 3.637Z" class="cls-1"/></svg>'},qu={name:"comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 3.5v6a1.5 1.5 0 0 1-1.5 1.5H8.75L3.5 14l.75-3H3.5A1.5 1.5 0 0 1 2 9.5v-6A1.5 1.5 0 0 1 3.5 2h9A1.5 1.5 0 0 1 14 3.5" class="cls-1"/></svg>'},Uu={name:"computer_and_monitor_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 12V6H5v6h4v1H7v1h5v-1h-2v-1Zm-8-1V7h7v4Zm1-6H4V4h3Zm1 0V3H3v7h1v3h2v1H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v2Z" class="cls-1"/></svg>'},ju={name:"copy_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Zm7 7H7V7h6Z" class="cls-1"/></svg>'},Wu={name:"copy_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 5h5V2H2v8h3Zm1 1v8h8V6Zm7 7H7V7h6Zm-1-4H8V8h4Zm-1 2H8v-1h3Z" class="cls-1"/></svg>'},Gu={name:"dashboard_builder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.646 6.646 7 4.293l2 2 1.646-1.646.707.707L9 7.707l-2-2-1.646 1.647ZM14 2v12H2V2ZM8 9H4v3h4Zm4 2H9v1h3Zm0-2H9v1h3Zm0-5H4v4h8zm-5 6H5v1h2Z" class="cls-1"/></svg>'},Zu={name:"dashboard_builder_legend_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm10 10H4v-1.293l2.04-2.04 3.804 2.983L12 9.74Zm0-7h-2v1h2v2.405L9.805 10.35 5.96 7.333 4 9.293V6h2V5H4V4h8ZM9 6H7V5h2Z" class="cls-1"/></svg>'},Ku={name:"dashboard_builder_templates_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V3h10Z" class="cls-1"/><path d="M9 9h3v1H9zM12 4H4v4h8Zm-1 3H5V5h6ZM8 9H4v3h4Zm-1 2H5v-1h2ZM9 11h3v1H9z" class="cls-1"/></svg>'},Xu={name:"dashboard_builder_tile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.646 10.646 7 8.293l2 2 1.646-1.646.707.707L9 11.707l-2-2-1.646 1.647ZM14 2v12H2V2ZM4 7h3V4H4Zm8 1H4v4h8zm0-4H8v3h4Z" class="cls-1"/></svg>'},Yu={name:"database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.588 11.46a3 3 0 0 0 .36-.257c.015-.012.036-.023.051-.036v1.093c0 .395-.57.81-1.551 1.137a9.133 9.133 0 0 1-.757.212A16.2 16.2 0 0 1 7.997 14a16 16 0 0 1-3.69-.391 9 9 0 0 1-.757-.213C2.57 13.069 2 12.655 2 12.26v-1.093c.013.013.033.023.049.036a2.6 2.6 0 0 0 .362.26q.017.01.033.02a4 4 0 0 0 .502.241l.01.005.11.046c.058.02.121.039.18.06q.15.055.308.106c.037.012.07.026.11.037.018.006.042.011.063.017.2.06.412.11.633.159l.142.031q.352.073.727.13.073.011.146.02a17 17 0 0 0 .82.1 25 25 0 0 0 .98.065c.273.01.55.019.822.019q.41-.001.824-.02.09-.005.179-.007.403-.022.801-.057l.112-.014q.36-.035.708-.086.073-.009.147-.02.374-.057.725-.13.074-.017.144-.031.328-.072.63-.157.034-.01.069-.02c.037-.01.07-.024.108-.036.107-.034.206-.07.309-.107.057-.02.12-.038.176-.06q.056-.02.111-.045l.013-.005a4 4 0 0 0 .5-.241zm0-2.845-.035.022a5 5 0 0 1-.5.241l-.013.005q-.055.023-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.025-.107.036q-.035.01-.069.02a11 11 0 0 1-.774.187q-.35.075-.725.13-.074.012-.147.021-.348.051-.708.086L9.8 9.59q-.398.037-.801.057l-.18.008q-.413.019-.823.02a19 19 0 0 1-.823-.02l-.18-.008a21 21 0 0 1-.8-.057l-.113-.013q-.36-.035-.706-.086-.073-.008-.146-.02a13 13 0 0 1-1.502-.32c-.021-.006-.045-.01-.063-.017-.04-.012-.073-.025-.11-.037a8 8 0 0 1-.309-.107c-.058-.02-.121-.039-.179-.06l-.11-.045-.01-.005a4 4 0 0 1-.502-.241c-.012-.007-.02-.014-.033-.02a2.5 2.5 0 0 1-.362-.26c-.016-.013-.036-.023-.049-.036v1.093c0 .394.57.81 1.55 1.136q.167.056.354.108.191.054.402.105a16 16 0 0 0 3.691.39 16.2 16.2 0 0 0 3.694-.39 9 9 0 0 0 .757-.213c.98-.327 1.551-.742 1.551-1.136V8.322c-.015.013-.036.024-.05.036a3 3 0 0 1-.361.258m0-2.845-.035.022a5 5 0 0 1-.5.241l-.013.005q-.055.023-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.026-.107.036q-.034.01-.069.02-.302.084-.63.156l-.144.031q-.351.075-.725.132-.074.009-.147.02-.348.049-.708.085l-.112.013a19 19 0 0 1-.98.066q-.414.016-.824.018a21 21 0 0 1-1.802-.084l-.114-.013q-.36-.036-.706-.086l-.146-.02q-.375-.057-.727-.13c-.05-.01-.094-.022-.142-.032q-.33-.072-.633-.157l-.063-.018c-.04-.011-.073-.025-.11-.037a8 8 0 0 1-.309-.107l-.179-.06-.11-.045-.01-.005a4 4 0 0 1-.502-.241c-.012-.007-.02-.014-.033-.02a2.5 2.5 0 0 1-.362-.26C2.033 5.5 2.013 5.488 2 5.476V6.57c0 .394.57.81 1.55 1.136q.167.056.354.108.191.054.402.105a16 16 0 0 0 3.691.39 16.2 16.2 0 0 0 3.694-.39 9 9 0 0 0 .757-.213c.98-.327 1.551-.742 1.551-1.136V5.477c-.015.013-.036.024-.05.036a3 3 0 0 1-.361.258M14 3.738C14 2.915 11.535 2 7.998 2 4.463 2 2 2.915 2 3.738c0 .394.57.81 1.55 1.135q.168.057.355.11.192.053.402.103a16.2 16.2 0 0 0 3.69.39 16.2 16.2 0 0 0 3.692-.39 9 9 0 0 0 .759-.213C13.429 4.548 14 4.132 14 3.738" class="cls-1"/></svg>'},Ju={name:"database_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.919 12.103a12 12 0 0 1-1.594-.26 8 8 0 0 1-.644-.182c-.835-.28-1.32-.635-1.32-.973v-.936c.011.01.029.02.042.031a2 2 0 0 0 .308.222l.028.018a4 4 0 0 0 .428.206l.009.005.093.038c.049.019.103.034.153.051q.129.048.262.092c.032.01.06.022.094.032l.054.014q.256.075.538.136l.121.027q.301.062.62.111.062.01.124.018.295.042.6.073l.038.005-.613.613Zm-2.238-7.74q.145.049.303.093.163.045.343.09a13.7 13.7 0 0 0 3.142.333 13.7 13.7 0 0 0 3.144-.334 8 8 0 0 0 .646-.182c.835-.28 1.32-.635 1.32-.973 0-.704-2.098-1.488-5.11-1.488-3.01 0-5.107.784-5.107 1.488 0 .338.486.694 1.32.973m5.047 6.495.008.007.008-.008Zm-5.047-4.07q.142.049.301.093.164.046.343.09a13.7 13.7 0 0 0 3.143.334 13.7 13.7 0 0 0 3.146-.335 8 8 0 0 0 .644-.181c.835-.28 1.321-.636 1.321-.973v-.937c-.013.012-.03.02-.043.032a2.3 2.3 0 0 1-.307.22l-.03.02a4 4 0 0 1-.426.206l-.01.004q-.047.02-.096.039c-.047.017-.101.033-.15.05q-.128.049-.263.092-.046.017-.092.032l-.058.016q-.257.073-.537.134l-.122.027q-.3.063-.618.112l-.124.017q-.297.043-.604.074l-.095.01a16 16 0 0 1-.835.057q-.352.015-.701.016a17 17 0 0 1-1.535-.072l-.097-.011a15 15 0 0 1-.6-.074l-.125-.017q-.319-.05-.62-.112l-.12-.027a9 9 0 0 1-.54-.134q-.028-.008-.053-.016c-.034-.01-.062-.022-.094-.032a7 7 0 0 1-.262-.091c-.05-.018-.104-.034-.153-.052l-.093-.038-.01-.004a4 4 0 0 1-.427-.207l-.028-.017a2 2 0 0 1-.308-.223c-.013-.011-.031-.02-.042-.03v.936c0 .337.485.692 1.32.972m0 2.436q.142.049.301.093.164.046.343.09a13 13 0 0 0 2.644.327l.318-.318.323.324a14.4 14.4 0 0 0 2.473-.222l1.753-1.753-.063.028-.01.004q-.047.02-.096.04c-.047.017-.101.033-.15.05-.087.032-.171.063-.263.091-.032.01-.06.022-.092.032q-.029.008-.058.017a9 9 0 0 1-.66.16q-.298.064-.617.112l-.124.017q-.297.044-.604.074l-.095.011q-.339.03-.682.049l-.153.007q-.352.016-.701.016-.35 0-.7-.016l-.155-.007a17 17 0 0 1-.68-.049l-.097-.011a15 15 0 0 1-.6-.074q-.063-.008-.125-.017a11 11 0 0 1-1.28-.274l-.053-.015c-.034-.01-.062-.021-.094-.032a7 7 0 0 1-.262-.09c-.05-.018-.104-.034-.153-.053q-.046-.017-.093-.038l-.01-.004a4 4 0 0 1-.427-.207l-.028-.017a2 2 0 0 1-.308-.223c-.014-.01-.031-.02-.042-.03v.936c0 .337.485.693 1.32.972m9.269-1.6L8.736 11.84l-1.449-1.45-1.053 1.055 2.458 2.458 5.268-5.268Z" class="cls-1"/></svg>'},Qu={name:"debug_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.875 11.673a1 1 0 0 1-2 0c0-.02.01-.038.012-.058l-.741-.494C9.97 12.783 8 14 8 14s-2.003-1.36-3.174-3.027l-.963.642c.002.02.012.037.012.058a1 1 0 1 1-1-1 1 1 0 0 1 .435.109l1.01-.674C4.124 9.685 4 9.255 4 8.832v-.16h-.528a.99.99 0 0 1-.847.5 1 1 0 0 1 0-2c.366 0 .673.207.847.5H4V5h1.375v-.903a.99.99 0 0 1-.5-.847 1 1 0 0 1 2 0 .99.99 0 0 1-.5.847V5h3.25v-.903a.99.99 0 0 1-.5-.847 1 1 0 0 1 2 0 .99.99 0 0 1-.5.847V5H12v2.673h.278c.174-.294.48-.5.847-.5a1 1 0 1 1 0 2 .99.99 0 0 1-.847-.5H12v.159c0 .488-.133.967-.346 1.426l.786.524a1 1 0 0 1 .435-.11 1 1 0 0 1 1 1" class="cls-1"/></svg>'},ep={name:"desktop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 3H2v8h5v1H5v1h6v-1H9v-1h5V3Zm0 7H3V4h10Z" class="cls-1"/></svg>'},tp={name:"donut_chart_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.872 10.956a4.123 4.123 0 0 1-6.997-2.962v-.007H2v.007a5.995 5.995 0 0 0 10.301 4.182ZM8.372 2v1.884a4.13 4.13 0 0 1 2.992 6.501l1.429 1.224A6.008 6.008 0 0 0 8.37 2M2.048 7.236h1.897a4.12 4.12 0 0 1 3.675-3.352V2A6.01 6.01 0 0 0 2.05 7.236" class="cls-1"/></svg>'},np={name:"dot_solid_dot_stroke_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 8a3 3 0 1 1-3-3 3 3 0 0 1 3 3m5-2a2 2 0 1 0 2 2 2 2 0 0 0-2-2m0-1a3 3 0 1 1-3 3 3 3 0 0 1 3-3" class="cls-1"/></svg>'},ip={name:"dot_solid_dot_stroke_measurement_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5 3h1v3H5zM6 4h4v1H6zM10 3h1v3h-1zM7 10a3 3 0 1 1-6 0 3 3 0 0 1 6 0m5-2c-1.103 0-2 .897-2 2s.897 2 2 2 2-.897 2-2-.897-2-2-2m0-1a3 3 0 1 1 0 6 3 3 0 0 1 0-6" class="cls-1"/></svg>'},op={name:"down_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m5.958 10.03 2.063-6.281.49 2.344 4.117-4.122 1.414 1.414L9.94 7.487l2.324.504z" class="cls-1"/><path d="M8 10.42V12H4V8h1.572l.657-2H2v8h8V9.774z" class="cls-1"/></svg>'},sp={name:"download_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 9v5H2V9h1v4h10V9Zm-5.982 2L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1Z" class="cls-1"/></svg>'},rp={name:"electronic_chip_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 14H7.333V9.333a2 2 0 0 1 2-2H14V13a1 1 0 0 1-1 1M12 2a.667.667 0 0 0-.667.667v2h1.334v-2A.667.667 0 0 0 12 2M8.444 2a.667.667 0 0 0-.666.667v2H9.11v-2A.667.667 0 0 0 8.444 2M2 8.444a.667.667 0 0 0 .667.667h2V7.778h-2A.667.667 0 0 0 2 8.444M2 12a.667.667 0 0 0 .667.667h2v-1.334h-2A.667.667 0 0 0 2 12m11.556-8.222v.889a.444.444 0 0 1-.445.444H10.89a.444.444 0 0 1-.445-.444v-.89H10v.89a.444.444 0 0 1-.444.444H7.333a.444.444 0 0 1-.444-.444v-.89H4.667a.89.89 0 0 0-.89.89v2.222h.89a.444.444 0 0 1 .444.444v2.223a.444.444 0 0 1-.444.444h-.89v.444h.89a.444.444 0 0 1 .444.445v2.222a.444.444 0 0 1-.444.445h-.89V14H6.89V8.222A1.333 1.333 0 0 1 8.222 6.89H14V3.778Z" class="cls-1"/></svg>'},ap={name:"exclamation_mark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.371 11.873h3.256V14H6.37ZM6.316 2l.37 8.542h2.628L9.684 2Z" class="cls-1"/></svg>'},lp={name:"eye_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.856 3.657A7 7 0 0 0 1 8.001a7.59 7.59 0 0 0 7.146 4.342A7 7 0 0 0 15 8a7.59 7.59 0 0 0-7.144-4.344m-1.199 7.289A5.11 5.11 0 0 1 2.443 8s.665-2.585 4.33-3.037a2.8 2.8 0 0 0-1.414 1.223l2.787 1.22H4.977a3.5 3.5 0 0 0-.053.576 3.35 3.35 0 0 0 1.734 2.962m2.85.02a3.4 3.4 0 0 0 .107-5.908 5 5 0 0 1 3.942 2.944s-.603 2.44-4.05 2.963" class="cls-1"/></svg>'},cp={name:"eye_dash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.832 3.902a9.5 9.5 0 0 1 2.024-.245c3.264.09 5.676 1.427 7.144 4.344-.543 1.222-1.279 2.157-2.173 2.852l-.83-.825c1.277-.888 1.56-2.027 1.56-2.027a5 5 0 0 0-3.942-2.944 3.36 3.36 0 0 1 1.664 2.926 3.3 3.3 0 0 1-.196 1.137zm-.674 3.505h-.18q-.052.286-.054.576a3.35 3.35 0 0 0 1.734 2.962 5.11 5.11 0 0 1-4.215-2.944s.252-.981 1.303-1.84c.029-.024.067-.046.097-.069l-.828-.828C2.19 5.947 1.512 6.849 1 8c1.469 2.916 3.882 4.252 7.146 4.342a9.7 9.7 0 0 0 1.754-.194zm-1.77-4.733-.708.708 9.9 9.9.707-.708z" class="cls-1"/></svg>'},dp={name:"fancy_a_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.597 9.844H7.865A7.5 7.5 0 0 1 6.19 11.96a3.32 3.32 0 0 1-2.042.667 2.84 2.84 0 0 1-1.964-.753L2 11.706l1.153-1.152.157.251a1.35 1.35 0 0 0 1.2.716 1.98 1.98 0 0 0 1.385-.625 11.6 11.6 0 0 0 1.722-2.403l2.252-3.88a8 8 0 0 0-.679-.037 2.37 2.37 0 0 0-1.66.54 1.97 1.97 0 0 0-.556 1.51V6.7l-.067.106-1.564.762.045-.423a3.85 3.85 0 0 1 .645-1.874 3.3 3.3 0 0 1 1.34-1.177 6.7 6.7 0 0 1 2.208-.443c.127 0 .277-.013.471-.029l.369-.03 1.387-.257.087 2.154.33 3.886a4.9 4.9 0 0 0 .29 1.701.5.5 0 0 0 .528.31c.057 0 .277 0 .641-.03L14 11.33l-.172.83-3.003.506Zm-.086-.896-.275-3.22-1.855 3.22Z" class="cls-1"/></svg>'},hp={name:"file_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 3v10h8V7H8V3Zm5 0v3h3Z" class="cls-1"/></svg>'},up={name:"file_arrow_curved_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7 2 3 3H7zM6 6V2H2v12h4.282l.03-.187A4.51 4.51 0 0 1 10 10.065V6zm8 5.5L11 9v2c-1.817-.091-3.412 1.137-3.701 2.97.576-.672 2.077-2.065 3.701-1.82V14z" class="cls-1"/></svg>'},pp={name:"file_drawer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 4v10h12V4Zm8 4H6V6h4Zm4-5H2V2h12Z" class="cls-1"/></svg>'},fp={name:"file_search_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 6v6h-3.333a3.7 3.7 0 0 0 .249-1.302A3.7 3.7 0 0 0 7.22 7 3.7 3.7 0 0 0 6 7.223V2h4v4Zm-3-4v3h3Zm-1.126 8.698a2.697 2.697 0 0 1-4.73 1.772L2.521 14l-.48-.823 2.613-1.523a2.698 2.698 0 1 1 5.22-.956m-.952 0a1.745 1.745 0 1 0-1.745 1.745 1.747 1.747 0 0 0 1.745-1.745" class="cls-1"/></svg>'},mp={name:"filter_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 3.045v1.29h.787a2.069 2.069 0 1 0 2.907 2.903l1.32 2.173v4.522l1.973-1.846V9.411l3.878-5.076h1.134v-1.29Zm2.033 4.059a1.154 1.154 0 0 1 0-2.308c.023 0 .045.006.068.007l1.002 1.575a1.15 1.15 0 0 1-1.07.726" class="cls-1"/></svg>'},gp={name:"floppy_disk_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.455 4H3.583A.585.585 0 0 0 3 4.598V11.5l1.5 1.497 7.858.003c.33 0 .6-.27.6-.6L13 4.545c0-.33-.215-.546-.545-.546M11 12H8v-2H6v2H5V9h6zm1-4H4V5h8z" class="cls-1"/></svg>'},vp={name:"floppy_disk_checkmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.455 5h-1.041l-1.005 1H12v3H4V6h3.782L6.79 5H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm2-10.99L9.091 5.9 7 3.79l.919-.89 1.164 1.208L12.128 1.1z" class="cls-1"/></svg>'},bp={name:"floppy_disk_pen_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.17 11.108 7.299 11H7V9H5v2H4V8h6v.696l1.626-1.386c.107-.09.228-.155.355-.206L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497 3.136.001zM3 7V4h8v3z" class="cls-2"/><path d="M12.275 8.07c.218-.185.693-.008 1.205.552s.635 1.038.418 1.223l-.92.784-1.621-1.775zm-4.92 6.113 1.98-.899-.985.164.043-.94-.32.161.104-.652-1.17 1.786zm2.212-.645L6 15l1.945-3.236 2.1-1.791 1.622 1.774zm2.862-2.49-1.622-1.774c-.118-.13.148-.349.262-.224l1.623 1.775c.117.128-.15.348-.263.224m-.522.452-1.622-1.775c-.118-.129.148-.349.262-.223l1.623 1.774c.117.128-.15.348-.263.224" class="cls-1"/></svg>'},yp={name:"floppy_disk_star_arrow_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.5 2.5a1 1 0 1 0-1 1 1 1 0 0 0 1-1m7.5.002L9.638.819l.496 1.293H7v.828h3.134L9.638 4.18ZM12.455 5H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm1-4H4V6h8Z" class="cls-1"/></svg>'},wp={name:"floppy_disk_three_dots_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 3a1 1 0 1 0-1 1 1 1 0 0 0 1-1m3 0a1 1 0 1 0-1 1 1 1 0 0 0 1-1m3 0a1 1 0 1 0-1 1 1 1 0 0 0 1-1m.455 2H3.583A.585.585 0 0 0 3 5.598V12.5l1.5 1.497 7.858.003a.6.6 0 0 0 .6-.6L13 5.545A.513.513 0 0 0 12.455 5M11 13H8v-2H6v2H5v-3h6Zm1-4H4V6h8Z" class="cls-1"/></svg>'},xp={name:"folder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 4V3H2v10h12V4Zm6 2H3V5h10Z" class="cls-1"/></svg>'},Cp={name:"folder_open_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 3v1.002h6V6h-1V5H3v1H2V3ZM2 13h11l1-6H2Z" class="cls-1"/></svg>'},kp={name:"forward_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.027 14 2.5-12h1.5l-2.5 12z" class="cls-1"/></svg>'},Sp={name:"four_dots_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.5 11A1.5 1.5 0 1 1 5 9.5 1.5 1.5 0 0 1 6.5 11M5 3.5A1.5 1.5 0 1 0 6.5 5 1.5 1.5 0 0 0 5 3.5m7.5 7.5A1.5 1.5 0 1 1 11 9.5a1.5 1.5 0 0 1 1.5 1.5M11 3.5A1.5 1.5 0 1 0 12.5 5 1.5 1.5 0 0 0 11 3.5" class="cls-1"/></svg>'},$p={name:"function_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 12.643h-1.572l-.898-1.283-.923 1.283h-1.54l1.658-2.146-1.632-2.14h1.572l.883 1.258.888-1.258h1.545l-1.635 2.111ZM9.544 4.667H9.31a3 3 0 0 0-.394-.1 2.5 2.5 0 0 0-.483-.05 1.32 1.32 0 0 0-.832.241 1.33 1.33 0 0 0-.405.895l-.128.937h1.846v1.282H6.812l-.376 2.462a3.6 3.6 0 0 1-.462 1.357 2.6 2.6 0 0 1-.784.808 3 3 0 0 1-.938.387A4.8 4.8 0 0 1 3.184 13q-.275 0-.629-.03A3.5 3.5 0 0 1 2 12.892v-1.815h.12a.56.56 0 0 0 .424.244 2.5 2.5 0 0 0 .5.052 1.3 1.3 0 0 0 .898-.29 1.6 1.6 0 0 0 .424-.985l.33-2.226H3.256V6.59H5.05l.178-1.162a2.94 2.94 0 0 1 .444-1.244 2.5 2.5 0 0 1 .76-.734 2.6 2.6 0 0 1 .94-.356A5.6 5.6 0 0 1 8.357 3q.294 0 .588.025t.599.076Z" class="cls-1"/></svg>'},Mp={name:"gauge_simple_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.969 5.196a1.76 1.76 0 0 1 1.142-.49 1.76 1.76 0 0 1-.49 1.142L9.205 8.263l.008.025.065.184.03.093a1.4 1.4 0 0 1 .032.295 1.385 1.385 0 0 1-2.769 0 1.3 1.3 0 0 1 .033-.294l.034-.11.055-.16.012-.033.014-.014a1.4 1.4 0 0 1 .625-.625l.015-.015.033-.011.16-.055.11-.035a1.3 1.3 0 0 1 .588 0l.11.035.16.055.033.011ZM14 8.86a5.98 5.98 0 0 1-1.799 4.28l-1.309-1.308a4.085 4.085 0 0 0 .83-4.78l.55-.55a2.6 2.6 0 0 0 .64-1.082A5.97 5.97 0 0 1 14 8.86m-6-6a5.998 5.998 0 0 0-4.201 10.28l1.309-1.308a4.14 4.14 0 0 1 4.644-6.725l.564-.564a2.6 2.6 0 0 1 1.07-.635A5.97 5.97 0 0 0 8 2.86" class="cls-1"/></svg>'},Ep={name:"grid_three_by_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 3v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1m4 9H4v-2h2Zm.001-2.999H4V7h2.001Zm0-3.001H4V4h2.001ZM9 12H7v-2h2Zm0-2.999H7V7h2ZM9 6H7V4h2Zm3 6h-2v-2h2Zm.001-2.999H10V7h2.001Zm0-3.001H10V4h2.001Z" class="cls-1"/></svg>'},Ip={name:"grid_two_by_two_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 9h3v3H4Zm5 0h3v3H9ZM4 4h3v3H4Zm5 0h3v3H9ZM2 14h12V2H2Z" class="cls-1"/></svg>'},_p={name:"hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 14H6V8h3ZM8.875 2H6.723A1.99 1.99 0 0 1 5 3a2.49 2.49 0 0 1-2-1H2v4h1a1.8 1.8 0 0 1 1.5-1C5.551 5 5.997 6.99 6 7h3c.333-1.539 1-2.436 1.741-2.436C12.222 4.564 14 6.615 14 6.615S13 2 8.875 2" class="cls-1"/></svg>'},Tp={name:"hashtag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.76 14 .752-2.914H6.045L5.299 14H3.532l.746-2.914H2v-1.72h2.712l.701-2.807H2.947v-1.72h2.91L6.567 2h1.766l-.71 2.838h2.46L10.8 2h1.768l-.717 2.838H14v1.72h-2.599l-.706 2.807h2.374v1.72h-2.807L9.501 14ZM6.447 9.392h2.506l.72-2.85H7.167Z" class="cls-1"/></svg>'},Ap={name:"home_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.988 2 2.5 9H4v5h3v-3h2v3h3V9h1.5z" class="cls-1"/></svg>'},Dp={name:"horizontal_triangle_outline_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.05 2v12l11.4-6zM4 5.313 9.156 8 4 10.688z" class="cls-1"/></svg>'},Op={name:"hourglass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.774 13.4h-.047v-.49h-.404a2.5 2.5 0 0 0 .355-1.258c0-1.826-2.083-2.886-2.083-3.652s2.083-1.826 2.083-3.652a2.5 2.5 0 0 0-.355-1.257h.404V2.6h.047a.556.556 0 0 0 .499-.6H4.727a.556.556 0 0 0 .499.6h.047v.49h.404a2.5 2.5 0 0 0-.355 1.258c0 1.826 2.083 2.87 2.083 3.652s-2.083 1.826-2.083 3.652a2.5 2.5 0 0 0 .355 1.257h-.404v.491h-.047a.556.556 0 0 0-.499.6h6.546a.556.556 0 0 0-.499-.6M8 12.957c-1.565 0-1.975-.585-1.975-1.305a7.2 7.2 0 0 1 1.723-.656c.268 0 .289-3.513 0-3.779l-.988-1h2.454l-.962 1c-.268.286-.275 3.779 0 3.779a7.7 7.7 0 0 1 1.738.656c0 .72-.409 1.305-1.99 1.305" class="cls-1"/></svg>'},Rp={name:"indent_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m2.5 7.5 1 2.5-1 2.5 5-2.5zM2 3h12v2H2zM9 7h5v2H9zM9 11h5v2H9z" class="cls-1"/></svg>'},Fp={name:"indeterminant_checkbox_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm0-1H4a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2M4 4v8h8V4Zm6 6H6V6h4Z" class="cls-1"/></svg>'},Np={name:"info_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.415 7.75v3.69H6.376v1.576h4.24V11.44H9.6V6.175H6.376V7.75Zm.276-2.698a1.19 1.19 0 0 0 2.035-.838 1.16 1.16 0 0 0-.346-.846 1.193 1.193 0 0 0-1.693 0 1.16 1.16 0 0 0-.35.846 1.14 1.14 0 0 0 .354.838" class="cls-1"/></svg>'},Pp={name:"info_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m-.697 2.28a.95.95 0 0 1 1.35 0 .93.93 0 0 1 .276.675.952.952 0 0 1-1.905 0 .92.92 0 0 1 .279-.674M9.7 12H6.3v-1.264h.833V7.777H6.3V6.513h2.584v4.223H9.7Z" class="cls-1"/></svg>'},Lp={name:"inward_squares_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 10h2v2H4zm-1 3h1v-1H3zm7-7H6v4h4zM3 3v4h2V5h6v6H9v2h4V3z" class="cls-1"/></svg>'},zp={name:"italic_i_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M8.99 13.802H4.38l.258-1.133h1.523l2.17-9.367H6.808l.258-1.133h4.61l-.258 1.133H9.895l-2.17 9.367h1.523z"/></svg>'},Vp={name:"key_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.045 7.348-.652-.652 1.444-.14Zm-3.818.698-4.912 4.912-.395-.396 4.12-4.12Zm4.734-2.918-1.697.136-.395-.395L11 3.176l.72-.067 1.304 1.304Zm-3.524-.386-.651-.653.791-.791Zm-1.955-.653v2.607l-5.074 5.075L2 12.946l.791.791 1.432.129.326-.326v-.652l.652-.652h.652l.326-.325v-.652h.651l.978-.978.014-.652.312-.326h.652l.652-.651h2.607l1.676-1.676L14 4.089l-1.955-1.955-2.887.28Z" class="cls-1"/></svg>'},Hp={name:"laptop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 11V3H3v8H2v2h12v-2Zm-2 1H5v-1h6Zm1-1.996H4V4h8Z" class="cls-1"/></svg>'},Bp={name:"layer_group_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m3.555 9.546.89-.445 5.333 2.667 1.778-.89.889.449v1.33L9.778 13.99l-6.223-3.11Zm0-6.222L6.222 1.99l6.223 3.112v1.333L9.778 7.768l-6.223-3.11Zm0 3.11.89-.444 5.333 2.667 1.778-.89.889.448v1.33L9.778 10.88 3.555 7.768Z" class="cls-1"/></svg>'},qp={name:"lightning_bolt_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4.732 7.953 6.909 2h3.636L8.364 7.013h2.909L4.727 14l2.21-6.049Z" class="cls-1"/></svg>'},Up={name:"link_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.465 5.592A2.91 2.91 0 0 1 9.963 7.02l-1.06 1.065c-.053-.103-.095-.192-.144-.276a1.48 1.48 0 0 0-1.277-.769 1.43 1.43 0 0 0-.977.394c-.75.694-1.469 1.421-2.165 2.168a1.43 1.43 0 0 0 .054 2.038 1.5 1.5 0 0 0 1.039.432 1.28 1.28 0 0 0 .953-.417c.103-.11.435-.44.81-.805a3.46 3.46 0 0 0 1.908.188c-1.006 1.035-2.179 2.187-2.996 2.38a3 3 0 0 1-.693.082 2.91 2.91 0 0 1-2.182-4.842A47 47 0 0 1 5.53 6.356a2.83 2.83 0 0 1 1.935-.764M10.583 2.5a3 3 0 0 0-.69.081 10.4 10.4 0 0 0-2.996 2.377 3.5 3.5 0 0 1 .568-.054 3.6 3.6 0 0 1 1.31.249c.38-.332.701-.646.875-.834a1.22 1.22 0 0 1 .913-.395 1.51 1.51 0 0 1 1.074.469 1.433 1.433 0 0 1 .022 2.005c-.7.743-1.42 1.47-2.165 2.167a1.42 1.42 0 0 1-.975.395 1.48 1.48 0 0 1-1.28-.768c-.048-.085-.089-.175-.151-.298L6.043 8.987a2.88 2.88 0 0 0 2.493 1.42 2.8 2.8 0 0 0 1.93-.76 54 54 0 0 0 2.266-2.266A2.911 2.911 0 0 0 10.583 2.5" class="cls-1"/></svg>'},jp={name:"link_cancel_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.202 9.45a2.64 2.64 0 0 1 .687 2.519l-1.364.002c.032-.1.062-.183.085-.269a1.34 1.34 0 0 0-.326-1.312 1.3 1.3 0 0 0-.88-.374 38 38 0 0 0-2.779.002 1.3 1.3 0 0 0-1.273 1.341 1.37 1.37 0 0 0 .39.944 1.16 1.16 0 0 0 .878.344c.137-.005.562-.002 1.036.004a3.14 3.14 0 0 0 1.104 1.344 8.1 8.1 0 0 1-3.45-.395 2.7 2.7 0 0 1-.496-.392A2.64 2.64 0 0 1 4.52 8.702a43 43 0 0 1 2.951-.003 2.56 2.56 0 0 1 1.731.751m3.984.017a2.7 2.7 0 0 0-.495-.39 9.4 9.4 0 0 0-3.447-.398 3 3 0 0 1 .4.33 3.3 3.3 0 0 1 .68 1c.457.031.864.035 1.096.027a1.1 1.1 0 0 1 .839.331 1.37 1.37 0 0 1 .389.99 1.3 1.3 0 0 1-1.272 1.3c-.926.028-1.854.033-2.78.002a1.3 1.3 0 0 1-.878-.372 1.35 1.35 0 0 1-.328-1.313c.023-.086.054-.17.093-.289l-1.371.031a2.61 2.61 0 0 0 .688 2.51 2.55 2.55 0 0 0 1.726.751c.968.033 1.94.025 2.908 0a2.641 2.641 0 0 0 1.752-4.51m-2.701-3.208L8.71 4.485l1.775-1.775-.71-.71L8 3.775 6.225 2l-.71.71L7.29 4.485 5.515 6.259l.71.71L8 5.195l1.775 1.774Z" class="cls-1"/></svg>'},Wp={name:"list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 13H2v-2h2Zm10-2H6v2h8ZM4 7H2v2h2Zm10 0H6v2h8ZM4 3H2v2h2Zm10 0H6v2h8Z" class="cls-1"/></svg>'},Gp={name:"list_tree_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10 5v2h4v2h-4v2h4v2H8V5H5V3h9v2ZM2 5h2V3H2Zm5 6H5v2h2Zm0-4H5v2h2Z" class="cls-1"/></svg>'},Zp={name:"list_tree_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.953 11.81c.013-.011.032-.02.046-.031v.917c0 .33-.523.678-1.42.953a8 8 0 0 1-.694.178 16 16 0 0 1-3.382.328 16 16 0 0 1-3.38-.328 9 9 0 0 1-.693-.179c-.898-.274-1.42-.622-1.42-.952v-.917c.012.01.031.02.045.03a2.3 2.3 0 0 0 .332.218l.03.017a4 4 0 0 0 .46.202l.01.005.1.037q.081.026.164.05.139.047.283.09.048.016.1.031l.058.015q.277.072.58.132.063.014.13.026.322.063.666.11l.134.017q.315.041.646.072l.104.01q.364.031.731.049l.166.007q.378.015.754.016.375-.001.754-.016l.164-.007q.37-.018.734-.048l.102-.011q.33-.03.649-.072.067-.008.134-.017.343-.048.664-.11.068-.012.132-.026.3-.06.577-.13.031-.01.063-.017c.034-.009.064-.021.099-.031.098-.028.189-.059.283-.09.052-.017.11-.032.16-.05q.053-.018.103-.037l.012-.005a4 4 0 0 0 .457-.202q.018-.01.032-.018a2.5 2.5 0 0 0 .33-.216m-5.45-2.946c-3.237 0-5.492.767-5.492 1.457 0 .33.523.679 1.42.952q.153.048.325.091.176.046.368.088a16 16 0 0 0 3.38.327 16 16 0 0 0 3.38-.327 9 9 0 0 0 .695-.18C13.477 11 14 10.652 14 10.322c0-.69-2.257-1.457-5.497-1.457M14 6V5H5V3h2V2H2v1h2v5.581a10 10 0 0 1 1-.255V6h3v2h6V7H9V6Z" class="cls-1"/></svg>'},Kp={name:"lock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 8V7a3.89 3.89 0 0 0-4-4 3.82 3.82 0 0 0-2.81 1.078A4.35 4.35 0 0 0 4.062 7v1H3v6h10V8ZM6.062 6.986a2.4 2.4 0 0 1 .566-1.516A1.83 1.83 0 0 1 8 5a1.883 1.883 0 0 1 2 2v1H6.062Z" class="cls-1"/></svg>'},Xp={name:"magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.073 12.29-2.926-2.926a3.971 3.971 0 1 0-.783.783l2.927 2.926ZM7.01 9.84a2.83 2.83 0 1 1 2.83-2.83 2.833 2.833 0 0 1-2.83 2.83" class="cls-1"/></svg>'},Yp={name:"markdown_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14.25 3H1.75a.74.74 0 0 0-.75.73v8.54a.74.74 0 0 0 .75.73h12.5a.74.74 0 0 0 .75-.73V3.73a.74.74 0 0 0-.75-.73m-6.285 7.059h-.991V7.773L5.982 9.35l-.99-1.577v2.286H4V5.934h.91L5.982 7.51l1.073-1.576h.91Zm2.459.007L8.848 7.945h1.1V5.934h.99v2.01H12Z" class="cls-1"/></svg>'},Jp={name:"minus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 7h8v2H4z" class="cls-1"/></svg>'},Qp={name:"minus_wide_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 7h10v2H3z" class="cls-1"/></svg>'},ef={name:"mobile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.462 2.077H4.538A.54.54 0 0 0 4 2.615v10.77a.54.54 0 0 0 .538.538h5.924a.54.54 0 0 0 .538-.538V2.615a.54.54 0 0 0-.538-.538M10 12H5V3h5Z" class="cls-1"/></svg>'},tf={name:"ni_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.172 4c1.675 0 3 1.354 3 3.103V13h-3V7h-3V4zm-3 9h-3V7h3zm10.656-9v9c-1.681 0-3-1.378-3-3V4z" class="cls-1"/></svg>'},nf={name:"notebook_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 2h1v3h-1Zm0 8h1V6h-1Zm0 4h1v-3h-1ZM4 7h6V6H4Zm0-2h6V4H4ZM2 2h10v12H2Z" class="cls-1"/></svg>'},of={name:"number_list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 16 16"><path d="M14 11H6v2h8zm0-4H6v2h8zm0-4H6v2h8zM1.999 4.644h.73V2.302h-.585v-.271c.295-.05.505-.13.681-.235h.32v2.848h.656v.346H1.999zM1.804 9.509c.951-.932 1.501-1.521 1.501-2.037 0-.365-.2-.621-.605-.621-.265 0-.496.17-.676.381l-.235-.226c.265-.3.551-.495.961-.495.591 0 .961.375.961.936 0 .621-.561 1.196-1.336 1.987.174-.016.37-.026.535-.026h.956v.355H1.804zM1.733 13.884l.21-.271c.19.201.44.376.816.376.385 0 .661-.226.661-.581 0-.38-.26-.635-1.021-.635v-.315c.676 0 .906-.261.906-.596 0-.306-.21-.501-.55-.501-.266 0-.491.136-.681.32l-.221-.26c.246-.23.541-.4.916-.4.556 0 .956.295.956.811 0 .386-.23.631-.576.761v.021c.385.09.691.37.691.811 0 .565-.471.91-1.056.91a1.36 1.36 0 0 1-1.051-.451"/></svg>'},sf={name:"outdent_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.5 12.5-1-2.5 1-2.5-5 2.5zM2 3h12v2H2zM9 7h5v2H9zM9 11h5v2H9z" class="cls-1"/></svg>'},rf={name:"outward_squares_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 9H7V7h2zm-6 4h4V9H3zM3 3v4h2V5h6v6H9v2h4V3zm7 3H9v1h1z" class="cls-1"/></svg>'},af={name:"paste_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9 5V3H3v6h2v1H2V2h8v3ZM6 6v8h8V6Z" class="cls-1"/></svg>'},lf={name:"pause_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 3h3v10H4zM9 3h3v10H9z" class="cls-1"/></svg>'},cf={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.413 2.674c.326-.288 1.04-.013 1.807.857.768.869.952 1.61.626 1.898l-1.378 1.218-2.433-2.757Zm-7.381 9.493 2.97-1.396-1.477.254.064-1.459-.48.25.156-1.013-1.754 2.774Zm3.319-1.002L2 13.435 4.917 8.41l3.15-2.78L10.5 8.383Zm4.293-3.866L9.21 4.544c-.177-.202.222-.543.394-.349l2.434 2.756c.175.2-.224.54-.394.348m-.783.7L8.428 5.244c-.178-.201.22-.542.393-.347l2.433 2.755c.176.199-.223.54-.393.347" class="cls-1"/></svg>'},df={name:"play",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.05 2v12l11.4-6z" class="cls-1"/></svg>'},hf={name:"pot_with_lid_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 4V2H5v2H2v1h12V4ZM6 4V3h4v1Zm-4 9h1v1h10v-1h1V6H2Z" class="cls-1"/></svg>'},uf={name:"question_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.303 5.594a3.3 3.3 0 0 1-.195 1.176 2.6 2.6 0 0 1-.549.885 4 4 0 0 1-.852.672 7.5 7.5 0 0 1-1.121.54v1.501H6.27V8.15q.467-.125.845-.256a3.2 3.2 0 0 0 .793-.429 2.1 2.1 0 0 0 .608-.612 1.45 1.45 0 0 0 .22-.791 1.04 1.04 0 0 0-.423-.939 2.16 2.16 0 0 0-1.195-.28 3.3 3.3 0 0 0-1.068.204 4.9 4.9 0 0 0-1.09.526h-.263V3.566a8 8 0 0 1 1.296-.372A8.2 8.2 0 0 1 7.77 3a4.2 4.2 0 0 1 2.579.718 2.24 2.24 0 0 1 .954 1.876M8.77 13H6.112v-1.737H8.77Z" class="cls-1"/></svg>'},pf={name:"rectangle_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 2v12h10V2zm9 11H4V3h8z" class="cls-2"/><path d="M5 9h6v1H5zM5 11h3v1H5z" class="cls-2"/><path d="M11 4.643 7.591 8 6 6.434l.682-.672.937.923L10.347 4z" class="cls-1"/></svg>'},ff={name:"running_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.45 7.985-7.602 4.013L7.75 8 5.848 3.987zM3.945 2.997 2.05 2 4.9 8l-2.85 6 1.902-1.005L6.325 8z" class="cls-1"/></svg>'},mf={name:"screen_check_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3H2v8h5v1H5v1h6v-1H9v-1h5V3zm10 7H3V4h10z" class="cls-1"/><path d="M5.743 9 4 7.242l.766-.742.97 1.007L8.273 5 9 5.758zM10 6h2v1h-2zM8 8h4v1H8z" class="cls-1"/></svg>'},gf={name:"screen_check_lines_calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 9H3V3h10v3h1V2H2v8h4zM4 11h2v1H4z" class="cls-1"/><path d="M13 8V7h-1v1H9V7H8v1H7v6h7V8zm0 5H8v-3h5zM5.465 8.052 3.723 6.295l.765-.743.97 1.007 2.538-2.507.727.758zM9.723 5.052h2v1h-2z" class="cls-1"/></svg>'},vf={name:"server_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 3H3v3h10ZM9 5H4V4h5ZM3 7v3h10V7Zm6 2H4V8h5Zm3 4H3v-2h10v1a1 1 0 0 1-1 1" class="cls-1"/></svg>'},bf={name:"share_nodes_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 10c-.601 0-1.134.27-1.5.69L5.954 8.419a2 2 0 0 0 0-.836l4.544-2.273c.367.42.9.691 1.501.691a2 2 0 1 0-1.955-1.582L5.501 6.691C5.134 6.27 4.6 6 4 6a2 2 0 1 0 0 4c.601 0 1.134-.27 1.5-.69l4.545 2.272A2 2 0 1 0 12 10"/></svg>'},yf={name:"shield_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v5.11C2 10.39 8 14 8 14s6-3.281 6-6.89V2Zm4.788 8.2L4 7.388 5.225 6.2l1.553 1.61 4.06-4.01L12 5.013Z" class="cls-1"/></svg>'},wf={name:"shield_xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v5.11C2 10.39 8 14 8 14s6-3.281 6-6.89V2Zm9.5 7.346L10.346 10.5 8 8.154 5.654 10.5 4.5 9.346 6.846 7 4.5 4.654 5.654 3.5 8 5.846 10.346 3.5 11.5 4.654 9.154 7Z" class="cls-1"/></svg>'},xf={name:"signal_bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 14H2V2h2Zm3-9H5v9h2Zm3 3H8v6h2Zm3 3h-2v3h2Z" class="cls-1"/></svg>'},Cf={name:"sine_graph_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 12H2v-1.63a4.6 4.6 0 0 0 1.766-1.967c.636-1.06 1.082-1.705 1.902-1.705s1.266.644 1.902 1.705c.615 1.026 1.312 2.189 2.766 2.189s2.15-1.163 2.764-2.189a6.5 6.5 0 0 1 .9-1.267Zm0-6.054a4.6 4.6 0 0 0-1.764 1.967c-.635 1.061-1.08 1.705-1.9 1.705S9.07 8.974 8.434 7.913c-.615-1.026-1.312-2.189-2.766-2.189S3.517 6.887 2.902 7.913A6.5 6.5 0 0 1 2 9.18V4h12Z" class="cls-1"/></svg>'},kf={name:"skip_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 2h-2v12h2zm-4 6.5-8 4v-8z" class="cls-1"/></svg>'},Sf={name:"sparkle_swirls_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><defs><linearGradient id="a" x1="2.044" x2="13.956" y1="8" y2="8" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#009b65"/><stop offset=".5" stop-color="#00a7d2"/><stop offset="1" stop-color="#bb3bff"/></linearGradient></defs><path d="m13.956 7.972-.001.066c-.001.023-.006.068-.006.068a1.038 1.038 0 0 1-2.068-.126c0-.107.045-.33.044-.34.034-.229.07-.458.07-.696A4.735 4.735 0 0 0 5.45 2.571 5.9 5.9 0 0 1 7.968 2a5.99 5.99 0 0 1 5.988 5.972M4.005 9.056c0-.238.036-.467.07-.696-.001-.01.044-.233.044-.34a1.038 1.038 0 0 0-2.068-.126s-.005.045-.006.068l-.001.066A5.99 5.99 0 0 0 8.032 14c.903 0 1.751-.214 2.518-.571a4.735 4.735 0 0 1-6.546-4.373M8 9.594c.915 0 1.706.198 2.078.484-.286-.372-.484-1.163-.484-2.078s.198-1.706.484-2.078c-.372.286-1.163.484-2.078.484s-1.706-.198-2.078-.484c.286.372.484 1.163.484 2.078s-.198 1.706-.484 2.078c.372-.286 1.163-.484 2.078-.484" style="fill:url(#a);stroke-width:0"/></svg>'},$f={name:"sparkles_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.498 2a2.85 2.85 0 0 1-.811 1.69A2.85 2.85 0 0 1 9 4.498a2.85 2.85 0 0 1 1.69.809c.477.476.739 1.076.812 1.693a2.85 2.85 0 0 1 .811-1.69A2.85 2.85 0 0 1 14 4.502a2.85 2.85 0 0 1-1.69-.809A2.84 2.84 0 0 1 11.497 2M7.495 3c-.163 1.355-.737 2.674-1.784 3.719C4.668 7.76 3.352 8.332 2 8.496c1.355.163 2.674.736 3.72 1.78C6.768 11.321 7.343 12.642 7.505 14c.162-1.355.736-2.674 1.784-3.719C10.332 9.24 11.648 8.668 13 8.504c-1.356-.163-2.674-.736-3.72-1.78C8.231 5.679 7.656 4.358 7.495 3" class="cls-1"/></svg>'},Mf={name:"spinner",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.967 7.143h-.762a4.885 4.885 0 0 1 3.938-3.94v.771a4.12 4.12 0 0 0-3.176 3.169M8 2v1.875A4.125 4.125 0 1 1 3.875 8H2a6 6 0 1 0 6-6" class="cls-1"/></svg>'},Ef={name:"square_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm4.788 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013Z" class="cls-1"/></svg>'},If={name:"square_t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm9.033 4.199-.016-.076a2.34 2.34 0 0 0-.497-1.18 2.1 2.1 0 0 0-1.281-.26h-.56v5.941c0 .552.11.718.176.768a1.8 1.8 0 0 0 .88.196l.09.006V12H6.193v-.405l.09-.007c.59-.046.8-.144.87-.218.06-.06.158-.255.158-.884V4.683h-.565a2.2 2.2 0 0 0-1.274.262 2 2 0 0 0-.498 1.174l-.015.08H4.49L4.565 4h6.859l.07 2.199Z" class="cls-1"/></svg>'},_f={name:"square_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3v10h10V3zm8 7.01-.99.99L8 8.99 5.99 11 5 10.01 7.01 8 5 5.99 5.99 5 8 7.01 10.01 5l.99.99L8.99 8z" class="cls-1"/></svg>'},Tf={name:"stop_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 3h10v10H3z" class="cls-1"/></svg>'},Af={name:"systemlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.357 9.143H4.786V6.79c0-.927.442-1.714 1.262-2.211C6.674 4.2 7.505 4 8.451 4h5.335v2.571H8.69c-.911.124-1.262.548-1.333 1.267z" class="cls-1"/><path d="M8.643 7.857h2.571v2.352c0 .927-.442 1.714-1.262 2.211-.626.38-1.457.58-2.403.58H2.214v-2.571H7.31c.911-.124 1.262-.548 1.333-1.267z" class="cls-1"/></svg>'},Df={name:"t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M5.684 13v-.729l.221-.018c.764-.058.947-.19.985-.229.026-.026.157-.202.157-.992V4.078H6.48a2.46 2.46 0 0 0-1.477.291 2.26 2.26 0 0 0-.563 1.36l-.038.196h-.797L3.704 3h8.6l.092 2.925h-.784l-.021-.095a2.8 2.8 0 0 0-.589-1.466c-.147-.131-.523-.286-1.48-.286H8.96V11.2c0 .679.138.819.165.84a2.1 2.1 0 0 0 1.01.213l.223.018V13Z" class="cls-1"/></svg>'},Of={name:"tablet_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.5 2h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h9a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5M8 13.25a.75.75 0 1 1 .75-.75.75.75 0 0 1-.75.75M12 11H4V3h8Z" class="cls-1"/></svg>'},Rf={name:"tag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path d="M8.044 3.588 5.23 3 3 5.229l.588 2.816L8.543 13 13 8.543ZM6.5 6.499a1.082 1.082 0 1 1-.013-1.516A1.07 1.07 0 0 1 6.499 6.5" class="cls-1"/></svg>'},Ff={name:"tags_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path d="M8.044 2.338 5.23 1.75 3 3.979l.588 2.816 4.955 4.955L13 7.293ZM6.5 5.249a1.082 1.082 0 1 1-.013-1.516 1.07 1.07 0 0 1 .013 1.516m6.251 4.794L8.543 14.25 4.257 9.964l-.283-1.369 4.569 4.57L12.207 9.5Z" class="cls-1"/></svg>'},Nf={name:"target_crosshairs_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 6.01a2 2 0 1 0 2 2 2 2 0 0 0-2-2m4.9.99A5 5 0 0 0 9 3.1V1H7v2.1A5 5 0 0 0 3.1 7H1v2h2.1A5 5 0 0 0 7 12.9V15h2v-2.1A5 5 0 0 0 12.9 9H15V7ZM8 12a4 4 0 1 1 4-4 4.005 4.005 0 0 1-4 4" class="cls-1"/></svg>'},Pf={name:"target_crosshairs_progress_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M15 7v2h-2.1A5 5 0 0 1 9 12.9V15H7v-2.108a4.99 4.99 0 0 1-3.898-3.985l-1.52.583 2.003-4 1.998 4L4.11 8.9A3.999 3.999 0 1 0 7 4.13V1h2v2.1A5 5 0 0 1 12.9 7Zm-5 1.01a2 2 0 1 1-2-2 2 2 0 0 1 2 2" class="cls-1"/></svg>'},Lf={name:"three_circles_ascending_container_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 4H4a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M4 8.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5m3 .5a1.25 1.25 0 1 1 0-2.5 1.25 1.25 0 0 1 0 2.5m4 .5a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5" class="cls-1"/></svg>'},zf={name:"three_dots_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 6.5A1.5 1.5 0 1 1 6.5 8 1.5 1.5 0 0 1 8 6.5M.5 8A1.5 1.5 0 1 0 2 6.5 1.5 1.5 0 0 0 .5 8m12 0A1.5 1.5 0 1 0 14 6.5 1.5 1.5 0 0 0 12.5 8" class="cls-1"/></svg>'},Vf={name:"three_vertical_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11 3h2v10h-2zM7 3h2v10H7zM3 3h2v10H3z" class="cls-1"/></svg>'},Hf={name:"thumbtack_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m10 7-.625-5H10V1H5v1h.625L5 7a2 2 0 0 0-2 2h4v4l.5 2 .5-2V9h4a2 2 0 0 0-2-2" class="cls-1"/></svg>'},Bf={name:"tile_size_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 8h6v6H2Zm0-6v5h2V4h8v8H9v2h5V2Z" class="cls-1"/></svg>'},qf={name:"times_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 9.103 5.102 12 4 10.897 6.898 8 4 5.103 5.102 4 8 6.897 10.898 4 12 5.103 9.102 8 12 10.897 10.898 12z" class="cls-1"/></svg>'},Uf={name:"trash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10 4V2H6v2H3v2h1v8h8V6h1V4Zm-3 9H6V6h1Zm2-9H7V3h2Zm1 9H9V6h1Z" class="cls-1"/></svg>'},jf={name:"triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2 2 14h12Zm0 4.875 2.438 4.875H5.586Z" class="cls-1"/></svg>'},Wf={name:"triangle_filled_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2 2 14h12z" class="cls-1"/></svg>'},Gf={name:"triangle_two_lines_horizontal",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3.625 8 8 2l4.375 6zM14 12H2v2h12zm0-3H2v2h12z" class="cls-1"/></svg>'},Zf={name:"true_false_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.4 3.003H2.6a1.6 1.6 0 0 0-1.6 1.6v6.8a1.595 1.595 0 0 0 1.6 1.594h10.8a1.595 1.595 0 0 0 1.6-1.594v-6.8a1.6 1.6 0 0 0-1.6-1.6M7.587 6.58H6.141v3.736H4.946V6.58H3.5v-.896h4.087Zm4.913 0h-2.13v.862h1.974v.896H10.37v1.978H9.181V5.684H12.5Z" class="cls-1"/></svg>'},Kf={name:"two_squares_in_brackets",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M4 4h5v5H4zm6 3v3H7v2h5V7zM5 3V2H2v12h3v-1H3V3zm8-1h-2v1h2v10h-2v1h3V2z" class="cls-1"/></svg>'},Xf={name:"two_triangles_between_lines",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M1.11 2.11v12h2v-12zm12 0v12h2v-12zm-6 8.974-3-3 3-3zm1.925-5.948 3 3-3 3z" class="cls-1"/></svg>'},Yf={name:"unlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.126 8.585c-.581.123-1.117.241-1.362.303a1.55 1.55 0 0 0-1.182 1.51l.01.155.021.193a1.7 1.7 0 0 0 .216.54l.02.038.105.134.127.144.054.047a1.5 1.5 0 0 0 .992.36h.049a1.3 1.3 0 0 0 .224-.034l.03.015.006-.001q.694-.134 1.387-.287l.343 1.538c-.488.11-.976.221-1.467.314a3 3 0 0 1-.571.053 3.15 3.15 0 0 1-2.99-2.258l-.011-.045a3 3 0 0 1-.076-.35 3 3 0 0 1-.03-.206l-.004-.089a3 3 0 0 1-.016-.336A3.16 3.16 0 0 1 4.35 7.356c.272-.068.808-.203.802-.206l.623-.137Zm4.31-1.544-.353 1.575c.737.176 1.38.334 1.413.346a1.51 1.51 0 0 1 .789.768l.029.066.053.185.038.164.002.045a1.7 1.7 0 0 1-.035.58l-.064.185-.056.142a1.55 1.55 0 0 1-1.4.893 1.7 1.7 0 0 1-.313-.03 55 55 0 0 1-1.15-.24l-.347 1.55.406.097-.013-.017c.276.057.55.118.826.173a3 3 0 0 0 .578.056 3.19 3.19 0 0 0 2.811-1.74 3 3 0 0 0 .129-.311l.033-.083.061-.197a3 3 0 0 0 .082-.351l.008-.044a3.13 3.13 0 0 0-2.281-3.513c-.297-.077-.777-.19-1.245-.299M7.932 2.393 6.875 6.075h.75l.3 3.032 1.2-3.782h-.75Z" class="cls-1"/></svg>'},Jf={name:"unlock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6.062 8V5.986a2.4 2.4 0 0 1 .566-1.516A1.83 1.83 0 0 1 8 4a1.883 1.883 0 0 1 2 2h2a3.89 3.89 0 0 0-4-4 3.82 3.82 0 0 0-2.81 1.078A4.35 4.35 0 0 0 4.062 6v2H3v6h10V8Z" class="cls-1"/></svg>'},Qf={name:"up_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 10.828V12H4V8h1.172l2-2H2v8h8V8.828z" class="cls-1"/><path d="m14.042 1.97-2.063 6.281-.49-2.344-4.117 4.122-1.414-1.414 4.102-4.102-2.324-.504z" class="cls-1"/></svg>'},em={name:"upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 9v5H2V9h1v4h10V9ZM7.982 2 5 7.9l2.004-1.312L7 11h2V6.613L11 7.9Z" class="cls-1"/></svg>'},tm={name:"user_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.004 2a2.18 2.18 0 0 1 2.184 2.182v1.09c.647 0 .378.932 0 1.455a4 4 0 0 1-.335.364 9 9 0 0 1-.31.742l.208 1.076h.437l2.75 1.527A2.15 2.15 0 0 1 14 12.291V14H2v-1.673a2.16 2.16 0 0 1 1.063-1.869l2.758-1.55h.437l.21-1.068a9 9 0 0 1-.312-.749 4 4 0 0 1-.335-.364c-.378-.523-.647-1.454 0-1.454v-1.09A2.18 2.18 0 0 1 8.004 2" class="cls-1"/></svg>'},nm={name:"watch_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.57 7.28-.06.013a4.56 4.56 0 0 0-1.38-2.609V3.44a.48.48 0 0 0-.48-.48h-.48V2H5.85v.96h-.48a.48.48 0 0 0-.48.48v1.24a4.545 4.545 0 0 0 0 6.64v1.24a.48.48 0 0 0 .48.48h.48V14h4.32v-.96h.48a.48.48 0 0 0 .48-.48v-1.24a4.55 4.55 0 0 0 1.379-2.612l.061.012a.48.48 0 0 0 .48-.48v-.48a.48.48 0 0 0-.48-.48m-2.3 2.662a1.6 1.6 0 0 0-.182-.26L8.747 8.338a.79.79 0 0 0 0-.666c.132-.133.894-.899.965-1a1.2 1.2 0 0 0 .14-.485 1 1 0 0 0-.515.157l-.955.957a.784.784 0 1 0 0 1.408c.163.167.956.974 1.236 1.254a1.5 1.5 0 0 0 .36.276 3.055 3.055 0 1 1 .291-.297" class="cls-1"/></svg>'},im={name:"waveform_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M9.77 11.225c-1.582 0-2.076-1.262-2.512-2.376l-.17-.426a26 26 0 0 1-.218-.595c-.32-.9-.41-1.046-.652-1.046-.24 0-.308.065-.612.88-.088.237-.188.504-.317.801l-.098.238c-.486 1.178-1.037 2.513-2.747 2.513H2V9.221h.444c.318 0 .48-.316.9-1.292l.133-.307c.06-.148.121-.304.181-.457.435-1.116.927-2.382 2.56-2.382 1.59 0 2.063 1.274 2.48 2.398l.168.443q.123.308.221.572c.345.905.427 1.03.684 1.03.259 0 .409-.317.742-1.157q.119-.303.266-.652l.097-.228c.477-1.127 1.016-2.405 2.668-2.412l.444-.002L14 6.782h-.447c-.367 0-.506.245-.994 1.387 0 0-.179.434-.238.584-.433 1.101-.973 2.472-2.55 2.472" class="cls-1"/></svg>'},om={name:"webvi_custom_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m4.089 2.526h-1.868a5.6 5.6 0 0 0-.854-1.712 5.36 5.36 0 0 1 2.722 1.712m-2.722 8.66a5.6 5.6 0 0 0 .854-1.712h1.868a5.36 5.36 0 0 1-2.722 1.712m3.181-2.344h-2.146a11 11 0 0 0 .208-1.187L9.923 10c-.05.294-.106.58-.176.843h-1.51l-1.263.632h2.583C9.145 12.647 8.554 13.368 8 13.368c-.517 0-1.065-.633-1.47-1.672l-.56.28a5 5 0 0 0 .663 1.21 5.36 5.36 0 0 1-2.722-1.712h.317a1 1 0 0 1-.017-.17v-.462h-.76a5.3 5.3 0 0 1-.804-2.526h1.564v-.632H2.646a5.3 5.3 0 0 1 .805-2.526h.759V4.69a1 1 0 0 1 .016-.164h-.316a5.36 5.36 0 0 1 2.722-1.712 5 5 0 0 0-.663 1.207l.56.28c.406-1.037.953-1.67 1.47-1.67.554 0 1.145.722 1.557 1.895H6.98l1.261.632h1.507c.07.263.126.548.176.842l.687.344a11 11 0 0 0-.208-1.186h2.146a5.3 5.3 0 0 1 .804 2.526h-.67a.92.92 0 0 1-.001.632h.671a5.3 5.3 0 0 1-.804 2.526M12.105 8a.33.33 0 0 1-.19.296l-6.598 3.3-.148.036a.327.327 0 0 1-.327-.328V4.69a.327.327 0 0 1 .492-.281l6.595 3.302a.33.33 0 0 1 .176.29" class="cls-1"/></svg>'},sm={name:"webvi_host_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 2a6 6 0 1 0 6 6 6 6 0 0 0-6-6m4.09 2.526H10.22a5.6 5.6 0 0 0-.854-1.712 5.36 5.36 0 0 1 2.722 1.712m-2.723 8.66a5.6 5.6 0 0 0 .854-1.712h1.868a5.36 5.36 0 0 1-2.722 1.712m3.181-2.344h-2.146a11 11 0 0 0 .208-1.187L9.923 10a10 10 0 0 1-.176.843h-1.51l-1.263.632h2.583C9.145 12.647 8.554 13.368 8 13.368c-.517 0-1.064-.633-1.47-1.672l-.56.28a5 5 0 0 0 .663 1.21 5.36 5.36 0 0 1-2.722-1.712h.317a1 1 0 0 1-.017-.17v-.462h-.76a5.3 5.3 0 0 1-.804-2.526H4.21v-.632H2.647a5.3 5.3 0 0 1 .805-2.526h.759V4.69a1 1 0 0 1 .016-.164h-.316a5.36 5.36 0 0 1 2.722-1.712 5 5 0 0 0-.663 1.207l.56.28c.406-1.037.953-1.67 1.47-1.67.554 0 1.145.722 1.557 1.895H6.98l1.262.632h1.506c.07.263.126.548.176.842l.687.344a11 11 0 0 0-.208-1.186h2.146a5.3 5.3 0 0 1 .804 2.526h-.67a.92.92 0 0 1-.001.632h.671a5.3 5.3 0 0 1-.804 2.526m-.619-3.131L5.334 4.409a.327.327 0 0 0-.492.281v6.613a.327.327 0 0 0 .327.328l.148-.035 6.598-3.3a.326.326 0 0 0 .014-.585m-6.087 2.505V5.78L10.274 8Z" class="cls-1"/></svg>'},rm={name:"window_code_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V5h10ZM4 9.135l2.698-1.118v.75l-1.588.65 1.588.646v.75l-2.694-1.12Zm4.42-1.49h.792l-1.565 3.71h-.783ZM12 9.135v.557l-2.694 1.12v-.75l.062-.024 1.526-.626-1.588-.648v-.747Z" class="cls-1"/></svg>'},am={name:"window_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2 2v12h12V2Zm11 11H3V5h10ZM7 8H4V6h3Zm5 2H4V9h8Zm0 2H4v-1h8Z" class="cls-1"/></svg>'},lm={name:"wrench_hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m12.286 11.714-5.791-5.79a2.5 2.5 0 0 0 .17-.755 2.2 2.2 0 0 0-.095-.814 2.1 2.1 0 0 0-.55-.904 2.33 2.33 0 0 0-1.76-.685h-.045a2.1 2.1 0 0 0-.718.155l1.102 1.104.32.32.244.245a1.86 1.86 0 0 1-.22.854 1 1 0 0 1-.114.145 1.65 1.65 0 0 1-1.003.335L2.61 4.704l-.449-.449a2 2 0 0 0-.135.545l-.015.105a2.34 2.34 0 0 0 .384 1.518 2.5 2.5 0 0 0 .295.36 2.2 2.2 0 0 0 1.576.65 2.5 2.5 0 0 0 .898-.175l4.793 4.796 1.203 1.2h.668l.663-.665v-.67ZM5.75 8.908l1.367 1.367-2.988 2.987h-.923l-.45-.45v-.916ZM14 5.906l-1.81 1.809-1.298-1.216-1.38 1.38-1.367-1.365 1.374-1.382-1.622-1.62.683-.774 2.252.45Z" class="cls-1"/></svg>'},cm={name:"xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13 4.667 9.667 7.999 13 11.333 11.333 13 8 9.667 4.667 13 3 11.333 6.333 8 3 4.667 4.667 3 8 6.333 11.333 3Z" class="cls-1"/></svg>'},dm={name:"xmark_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.033 14.026 4.9 10.866 6.277 9.53l1.744 1.81 4.562-4.507 1.307 1.363Zm1.155-10.68-1.321-1.32-2.312 2.311-2.311-2.311-1.321 1.32 2.311 2.312L1.923 7.97l1.32 1.32 2.312-2.31 2.312 2.31 1.32-1.32-2.31-2.312Z" class="cls-1"/></svg>'},hm=G`<div
|
|
2303
2303
|
class="icon"
|
|
2304
2304
|
aria-hidden="true"
|
|
2305
2305
|
:innerHTML=${e=>e.icon.data}
|
|
@@ -2340,7 +2340,7 @@ const Fh="nimble-button",Nh={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.
|
|
|
2340
2340
|
height: 100%;
|
|
2341
2341
|
}
|
|
2342
2342
|
`
|
|
2343
|
-
class pm extends
|
|
2343
|
+
class pm extends Vt{constructor(e){super(),this.icon=e}}e([le],pm.prototype,"severity",void 0)
|
|
2344
2344
|
const fm=(e,t)=>{const n=t.compose({baseName:e,template:hm,styles:um})
|
|
2345
2345
|
yi.getOrCreate().withPrefix("nimble").register(n())}
|
|
2346
2346
|
fm("icon-exclamation-mark",class extends pm{constructor(){super(ap)}})
|
|
@@ -2376,13 +2376,13 @@ const bm="nimble-icon-times",ym={default:void 0,error:"error",warning:"warning",
|
|
|
2376
2376
|
aria-roledescription="${e=>e.ariaRoledescription}"
|
|
2377
2377
|
>
|
|
2378
2378
|
<div class="icon">
|
|
2379
|
-
${
|
|
2379
|
+
${He((e=>e.severity===ym.error),G`
|
|
2380
2380
|
<${mm} role="img" aria-label="${e=>Dm.getValueFor(e)}"></${mm}>
|
|
2381
2381
|
`)}
|
|
2382
|
-
${
|
|
2382
|
+
${He((e=>e.severity===ym.warning),G`
|
|
2383
2383
|
<${vm} role="img" aria-label="${e=>Om.getValueFor(e)}"></${vm}>
|
|
2384
2384
|
`)}
|
|
2385
|
-
${
|
|
2385
|
+
${He((e=>e.severity===ym.information),G`
|
|
2386
2386
|
<${gm} role="img" aria-label="${e=>Rm.getValueFor(e)}"></${gm}>
|
|
2387
2387
|
`)}
|
|
2388
2388
|
</div>
|
|
@@ -2393,7 +2393,7 @@ const bm="nimble-icon-times",ym={default:void 0,error:"error",warning:"warning",
|
|
|
2393
2393
|
<div class="controls">
|
|
2394
2394
|
<slot name="action"></slot>
|
|
2395
2395
|
<div class="dismiss">
|
|
2396
|
-
${
|
|
2396
|
+
${He((e=>!e.preventDismiss),G`
|
|
2397
2397
|
<${Fh} appearance="${Qd}" appearance-variant="${th}" content-hidden @click="${e=>e.dismissBanner()}">
|
|
2398
2398
|
<${bm} slot="start"></${bm}>
|
|
2399
2399
|
${e=>_m.getValueFor(e)}
|
|
@@ -2404,11 +2404,11 @@ const bm="nimble-icon-times",ym={default:void 0,error:"error",warning:"warning",
|
|
|
2404
2404
|
</div>
|
|
2405
2405
|
</${Wa}>
|
|
2406
2406
|
`
|
|
2407
|
-
class zm extends
|
|
2407
|
+
class zm extends Vt{constructor(){super(...arguments),this.open=!1,this.severity=ym.default,this.titleHidden=!1,this.preventDismiss=!1}openChanged(){const e={newState:this.open,oldState:!this.open}
|
|
2408
2408
|
this.$emit("toggle",e)}dismissBanner(){this.open=!1}}e([le({mode:"boolean"})],zm.prototype,"open",void 0),e([le()],zm.prototype,"severity",void 0),e([le({attribute:"title-hidden",mode:"boolean"})],zm.prototype,"titleHidden",void 0),e([le({attribute:"prevent-dismiss",mode:"boolean"})],zm.prototype,"preventDismiss",void 0),qt(zm,fn)
|
|
2409
|
-
const
|
|
2410
|
-
yi.getOrCreate().withPrefix("nimble").register(
|
|
2411
|
-
const
|
|
2409
|
+
const Vm=zm.compose({baseName:"banner",template:Lm,styles:Ah})
|
|
2410
|
+
yi.getOrCreate().withPrefix("nimble").register(Vm())
|
|
2411
|
+
const Hm=xe`
|
|
2412
2412
|
${Ro("inline-block")}
|
|
2413
2413
|
|
|
2414
2414
|
:host {
|
|
@@ -2432,7 +2432,7 @@ const Vm=xe`
|
|
|
2432
2432
|
}
|
|
2433
2433
|
|
|
2434
2434
|
::slotted(*:not([href]):last-child) {
|
|
2435
|
-
font: ${
|
|
2435
|
+
font: ${Hc};
|
|
2436
2436
|
}
|
|
2437
2437
|
`
|
|
2438
2438
|
class Bm extends wn{}e([le],Bm.prototype,"appearance",void 0)
|
|
@@ -2444,7 +2444,7 @@ const qm=Bm.compose({baseName:"breadcrumb",baseClass:wn,template:(e,t)=>G`
|
|
|
2444
2444
|
></slot>
|
|
2445
2445
|
</div>
|
|
2446
2446
|
</template>
|
|
2447
|
-
`,styles:
|
|
2447
|
+
`,styles:Hm})
|
|
2448
2448
|
yi.getOrCreate().withPrefix("nimble").register(qm())
|
|
2449
2449
|
const Um=xe`
|
|
2450
2450
|
${Ro("inline-flex")}
|
|
@@ -2513,7 +2513,7 @@ const Um=xe`
|
|
|
2513
2513
|
`
|
|
2514
2514
|
const jm=class extends yn{}.compose({baseName:"breadcrumb-item",baseClass:yn,template:(e,t)=>G`
|
|
2515
2515
|
<div role="listitem" class="listitem" part="listitem">
|
|
2516
|
-
${
|
|
2516
|
+
${He((e=>e.href&&e.href.length>0),G`
|
|
2517
2517
|
${((e,t)=>G`
|
|
2518
2518
|
<a
|
|
2519
2519
|
class="control"
|
|
@@ -2556,12 +2556,12 @@ const jm=class extends yn{}.compose({baseName:"breadcrumb-item",baseClass:yn,tem
|
|
|
2556
2556
|
</a>
|
|
2557
2557
|
`)(0,t)}
|
|
2558
2558
|
`)}
|
|
2559
|
-
${
|
|
2559
|
+
${He((e=>!e.href),G`
|
|
2560
2560
|
${nt(0,t)}
|
|
2561
2561
|
<slot></slot>
|
|
2562
2562
|
${tt(0,t)}
|
|
2563
2563
|
`)}
|
|
2564
|
-
${
|
|
2564
|
+
${He((e=>e.separator),G`
|
|
2565
2565
|
<span class="separator" part="separator" aria-hidden="true">
|
|
2566
2566
|
<slot name="separator">${t.separator||""}</slot>
|
|
2567
2567
|
</span>
|
|
@@ -3004,7 +3004,7 @@ const sg="nimble-toggle-button",rg=G`
|
|
|
3004
3004
|
${e=>e.errorText}
|
|
3005
3005
|
</div>
|
|
3006
3006
|
`
|
|
3007
|
-
fm("icon-arrow-expander-down",class extends pm{constructor(){super(
|
|
3007
|
+
fm("icon-arrow-expander-down",class extends pm{constructor(){super(Vh)}})
|
|
3008
3008
|
const ag="nimble-icon-arrow-expander-down",lg="above",cg="underline",dg="outline",hg="block",ug=xe`
|
|
3009
3009
|
${Ro("inline-flex")}
|
|
3010
3010
|
|
|
@@ -3385,7 +3385,7 @@ this.selectedIndex=e,!this.dirtyValue&&this.firstSelectedOption&&(this.value=thi
|
|
|
3385
3385
|
if(n!==this.selectedIndex)return void(this.selectedIndex=n)
|
|
3386
3386
|
super.selectedIndexChanged(e,n)}}disabledChanged(e,t){super.disabledChanged&&super.disabledChanged(e,t),this.ariaDisabled=this.disabled?"true":"false"}selectPreviousOption(){!this.disabled&&this.selectedIndex>=0&&(this.selectedIndex-=1)}setPositioning(){if(!this.$fastController.isConnected)return
|
|
3387
3387
|
const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom
|
|
3388
|
-
this.forcedPosition?this.position=this.positionAttribute:e.top>t?this.position=
|
|
3388
|
+
this.forcedPosition?this.position=this.positionAttribute:e.top>t?this.position=Vn:this.position=Hn,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.availableViewportHeight=this.position===Vn?Math.trunc(e.top):Math.trunc(t)}focusAndScrollOptionIntoView(){this.open&&this.contains(document.activeElement)&&(this.control.focus(),this.firstSelectedOption&&requestAnimationFrame((()=>{this.firstSelectedOption?.scrollIntoView({block:"nearest"})})))}openChanged(){this.open?(this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),u.queueUpdate((()=>this.focus()))):(this.ariaControls="",this.ariaExpanded="false"),this.dropdownButton&&(this.dropdownButton.checked=this.open)}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder??"")}selectedOptionsChanged(e,t){this.$fastController.isConnected&&this._options.forEach((e=>{e.selected=t.includes(e)}))}positionChanged(e,t){this.positionAttribute=t,this.setPositioning()}regionChanged(e,t){this.region&&this.controlWrapper&&(this.region.anchorElement=this.controlWrapper)}controlWrapperChanged(e,t){this.region&&this.controlWrapper&&(this.region.anchorElement=this.controlWrapper)}ariaLabelChanged(e,t){this.updateInputAriaLabel()}updateValue(e){this.$fastController.isConnected&&(this.value=this.firstSelectedOption?.text||this.control.value,this.control.value=this.value),e&&this.$emit("change")}setInputToSelection(){this.firstSelectedOption&&(this.control.value=this.firstSelectedOption.text,this.control.focus())}setInlineSelection(){this.firstSelectedOption&&(this.setInputToSelection(),this.control.setSelectionRange(this.filter.length,this.control.value.length,"backward"))}clearSelectionRange(){const e=this.control.value.length
|
|
3389
3389
|
this.control.setSelectionRange(e,e)}syncValue(){const e=this.selectedIndex>-1?this.firstSelectedOption?.text:this.control.value
|
|
3390
3390
|
this.updateValue(this.value!==e)}updateInputAriaLabel(){const e=this.shadowRoot?.querySelector(".selected-value")
|
|
3391
3391
|
this.ariaLabel?e?.setAttribute("aria-label",this.ariaLabel):e?.removeAttribute("aria-label")}emitChangeIfValueUpdated(){this.valueUpdatedByInput&&(this.value!==this.valueBeforeTextUpdate&&this.$emit("change"),this.valueUpdatedByInput=!1)}}e([le],wg.prototype,"appearance",void 0),e([le({attribute:"error-text"})],wg.prototype,"errorText",void 0),e([le({attribute:"error-visible",mode:"boolean"})],wg.prototype,"errorVisible",void 0),e([le({attribute:"autocomplete",mode:"fromView"})],wg.prototype,"autocomplete",void 0),e([le({attribute:"position"})],wg.prototype,"positionAttribute",void 0),e([le({attribute:"open",mode:"boolean"})],wg.prototype,"open",void 0),e([le],wg.prototype,"placeholder",void 0),e([g],wg.prototype,"position",void 0),e([g],wg.prototype,"region",void 0),e([g],wg.prototype,"controlWrapper",void 0),e([g],wg.prototype,"control",void 0),e([g],wg.prototype,"listbox",void 0),e([g],wg.prototype,"dropdownButton",void 0),e([g],wg.prototype,"hasOverflow",void 0),e([g],wg.prototype,"availableViewportHeight",void 0)
|
|
@@ -3611,7 +3611,7 @@ const Cg=Symbol("user dismissed"),kg=xe`
|
|
|
3611
3611
|
</dialog>
|
|
3612
3612
|
</template>
|
|
3613
3613
|
`
|
|
3614
|
-
class $g extends
|
|
3614
|
+
class $g extends Vt{constructor(){super(...arguments),this.preventDismiss=!1,this.headerHidden=!1,this.footerHidden=!1,this.footerIsEmpty=!0}get open(){return void 0!==this.resolveShow}async show(){if(this.open)throw new Error("Dialog is already open")
|
|
3615
3615
|
return this.dialogElement.showModal(),new Promise(((e,t)=>{this.resolveShow=e}))}close(e){if(!this.open)throw new Error("Dialog is not open")
|
|
3616
3616
|
this.dialogElement.close(),this.doResolveShow(e)}slottedFooterElementsChanged(e,t){this.footerIsEmpty=!t?.length}cancelHandler(e){return this.preventDismiss?e.preventDefault():this.doResolveShow(Cg),!0}closeHandler(e){e.target===this.dialogElement&&this.resolveShow&&this.doResolveShow(Cg)}doResolveShow(e){if(!this.resolveShow)throw new Error("Do not call doResolveShow unless there is a promise to resolve")
|
|
3617
3617
|
this.resolveShow(e),this.resolveShow=void 0}}$g.UserDismissed=Cg,e([le({attribute:"prevent-dismiss",mode:"boolean"})],$g.prototype,"preventDismiss",void 0),e([le({attribute:"header-hidden",mode:"boolean"})],$g.prototype,"headerHidden",void 0),e([le({attribute:"footer-hidden",mode:"boolean"})],$g.prototype,"footerHidden",void 0),e([g],$g.prototype,"footerIsEmpty",void 0),e([g],$g.prototype,"slottedFooterElements",void 0),qt($g,fn)
|
|
@@ -3770,7 +3770,7 @@ const Eg=xe`
|
|
|
3770
3770
|
</div>
|
|
3771
3771
|
</dialog>
|
|
3772
3772
|
`,_g="right"
|
|
3773
|
-
class Tg extends
|
|
3773
|
+
class Tg extends Vt{constructor(){super(...arguments),this.location=_g,this.preventDismiss=!1,this.closing=!1,this.animationEndHandlerFunction=()=>this.animationEndHandler()}get open(){return void 0!==this.resolveShow}async show(){if(this.open)throw new Error("Drawer is already open")
|
|
3774
3774
|
return this.openDialog(),new Promise(((e,t)=>{this.resolveShow=e}))}close(e){if(!this.open||this.closing)throw new Error("Drawer is not open or already closing")
|
|
3775
3775
|
this.closeReason=e,this.closeDialog()}cancelHandler(e){return e.preventDefault(),this.preventDismiss||(this.closeReason=Cg,this.closeDialog()),!0}closeHandler(e){e.target===this.dialog&&this.resolveShow&&this.doResolveShow(Cg)}doResolveShow(e){if(!this.resolveShow)throw new Error("Do not call doResolveShow unless there is a promise to resolve")
|
|
3776
3776
|
this.resolveShow(e),this.resolveShow=void 0}openDialog(){this.dialog.showModal(),this.triggerAnimation()}closeDialog(){this.closing=!0,this.triggerAnimation()}triggerAnimation(){this.dialog.offsetHeight,this.dialog.classList.add("animating"),this.closing&&this.dialog.classList.add("closing"),this.dialog.addEventListener(ba,this.animationEndHandlerFunction)}animationEndHandler(){this.dialog.removeEventListener(ba,this.animationEndHandlerFunction),this.dialog.classList.remove("animating"),this.closing&&(this.dialog.classList.remove("closing"),this.dialog.close(),this.closing=!1,this.doResolveShow(this.closeReason))}}Tg.UserDismissed=Cg,e([le],Tg.prototype,"location",void 0),e([le({attribute:"prevent-dismiss",mode:"boolean"})],Tg.prototype,"preventDismiss",void 0),qt(Tg,fn)
|
|
@@ -3782,7 +3782,7 @@ fm("icon-arrow-down",class extends pm{constructor(){super(Ph)}})
|
|
|
3782
3782
|
const Og="nimble-icon-arrow-down"
|
|
3783
3783
|
fm("icon-arrow-down-left-and-arrow-up-right",class extends pm{constructor(){super(Lh)}})
|
|
3784
3784
|
fm("icon-arrow-down-right-and-arrow-up-left",class extends pm{constructor(){super(zh)}})
|
|
3785
|
-
fm("icon-arrow-expander-left",class extends pm{constructor(){super(
|
|
3785
|
+
fm("icon-arrow-expander-left",class extends pm{constructor(){super(Hh)}})
|
|
3786
3786
|
fm("icon-arrow-expander-right",class extends pm{constructor(){super(Bh)}})
|
|
3787
3787
|
const Rg="nimble-icon-arrow-expander-right"
|
|
3788
3788
|
fm("icon-arrow-expander-up",class extends pm{constructor(){super(qh)}})
|
|
@@ -3838,8 +3838,8 @@ fm("icon-cloud-upload",class extends pm{constructor(){super(Nu)}})
|
|
|
3838
3838
|
fm("icon-cloud-with-arrow",class extends pm{constructor(){super(Pu)}})
|
|
3839
3839
|
fm("icon-cog",class extends pm{constructor(){super(Lu)}})
|
|
3840
3840
|
fm("icon-cog-database",class extends pm{constructor(){super(zu)}})
|
|
3841
|
-
fm("icon-cog-database-inset",class extends pm{constructor(){super(
|
|
3842
|
-
fm("icon-cog-small-cog",class extends pm{constructor(){super(
|
|
3841
|
+
fm("icon-cog-database-inset",class extends pm{constructor(){super(Vu)}})
|
|
3842
|
+
fm("icon-cog-small-cog",class extends pm{constructor(){super(Hu)}})
|
|
3843
3843
|
fm("icon-cog-zoomed",class extends pm{constructor(){super(Bu)}})
|
|
3844
3844
|
fm("icon-comment",class extends pm{constructor(){super(qu)}})
|
|
3845
3845
|
fm("icon-computer-and-monitor",class extends pm{constructor(){super(Uu)}})
|
|
@@ -3891,8 +3891,8 @@ fm("icon-info-circle",class extends pm{constructor(){super(Pp)}})
|
|
|
3891
3891
|
fm("icon-inward-squares-three",class extends pm{constructor(){super(Lp)}})
|
|
3892
3892
|
fm("icon-italic-i",class extends pm{constructor(){super(zp)}})
|
|
3893
3893
|
const Pg="nimble-icon-italic-i"
|
|
3894
|
-
fm("icon-key",class extends pm{constructor(){super(
|
|
3895
|
-
fm("icon-laptop",class extends pm{constructor(){super(
|
|
3894
|
+
fm("icon-key",class extends pm{constructor(){super(Vp)}})
|
|
3895
|
+
fm("icon-laptop",class extends pm{constructor(){super(Hp)}})
|
|
3896
3896
|
fm("icon-layer-group",class extends pm{constructor(){super(Bp)}})
|
|
3897
3897
|
fm("icon-lightning-bolt",class extends pm{constructor(){super(qp)}})
|
|
3898
3898
|
fm("icon-link",class extends pm{constructor(){super(Up)}})
|
|
@@ -3907,12 +3907,12 @@ const zg="nimble-icon-magnifying-glass"
|
|
|
3907
3907
|
fm("icon-markdown",class extends pm{constructor(){super(Yp)}})
|
|
3908
3908
|
fm("icon-minus",class extends pm{constructor(){super(Jp)}})
|
|
3909
3909
|
fm("icon-minus-wide",class extends pm{constructor(){super(Qp)}})
|
|
3910
|
-
const
|
|
3910
|
+
const Vg="nimble-icon-minus-wide"
|
|
3911
3911
|
fm("icon-mobile",class extends pm{constructor(){super(ef)}})
|
|
3912
3912
|
fm("icon-ni",class extends pm{constructor(){super(tf)}})
|
|
3913
3913
|
fm("icon-notebook",class extends pm{constructor(){super(nf)}})
|
|
3914
3914
|
fm("icon-number-list",class extends pm{constructor(){super(of)}})
|
|
3915
|
-
const
|
|
3915
|
+
const Hg="nimble-icon-number-list"
|
|
3916
3916
|
fm("icon-outdent",class extends pm{constructor(){super(sf)}})
|
|
3917
3917
|
fm("icon-outward-squares-three",class extends pm{constructor(){super(rf)}})
|
|
3918
3918
|
fm("icon-paste",class extends pm{constructor(){super(af)}})
|
|
@@ -3949,8 +3949,8 @@ fm("icon-target-crosshairs-progress",class extends pm{constructor(){super(Pf)}})
|
|
|
3949
3949
|
fm("icon-three-circles-ascending-container",class extends pm{constructor(){super(Lf)}})
|
|
3950
3950
|
fm("icon-three-dots-line",class extends pm{constructor(){super(zf)}})
|
|
3951
3951
|
const Bg="nimble-icon-three-dots-line"
|
|
3952
|
-
fm("icon-three-vertical-lines",class extends pm{constructor(){super(
|
|
3953
|
-
fm("icon-thumbtack",class extends pm{constructor(){super(
|
|
3952
|
+
fm("icon-three-vertical-lines",class extends pm{constructor(){super(Vf)}})
|
|
3953
|
+
fm("icon-thumbtack",class extends pm{constructor(){super(Hf)}})
|
|
3954
3954
|
fm("icon-tile-size",class extends pm{constructor(){super(Bf)}})
|
|
3955
3955
|
fm("icon-trash",class extends pm{constructor(){super(Uf)}})
|
|
3956
3956
|
fm("icon-triangle",class extends pm{constructor(){super(jf)}})
|
|
@@ -3974,7 +3974,7 @@ fm("icon-window-text",class extends pm{constructor(){super(am)}})
|
|
|
3974
3974
|
fm("icon-wrench-hammer",class extends pm{constructor(){super(lm)}})
|
|
3975
3975
|
fm("icon-xmark",class extends pm{constructor(){super(cm)}})
|
|
3976
3976
|
fm("icon-xmark-check",class extends pm{constructor(){super(dm)}})
|
|
3977
|
-
class jg extends
|
|
3977
|
+
class jg extends Vt{constructor(){super(...arguments),this.propertyNotifier=m.getNotifier(this)}connectedCallback(){super.connectedCallback(),this.initializeThemeProvider(),this.propertyNotifier.subscribe(this)}disconnectedCallback(){if(super.disconnectedCallback(),this.propertyNotifier.unsubscribe(this),this.themeProvider){for(const e of Object.values(this.supportedLabels))e.deleteValueFor(this.themeProvider)
|
|
3978
3978
|
this.themeProvider=void 0}}handleChange(e,t){if(this.supportedLabels[t]){const e=this.supportedLabels[t],n=this[t]
|
|
3979
3979
|
this.themeProvider&&(null==n?e.deleteValueFor(this.themeProvider):e.setValueFor(this.themeProvider,n))}}initializeThemeProvider(){if(this.themeProvider=this.closest(Wa)??void 0,this.themeProvider)for(const[e,t]of Object.entries(this.supportedLabels)){const n=this[e]
|
|
3980
3980
|
null==n?t.deleteValueFor(this.themeProvider):t.setValueFor(this.themeProvider,n)}}}const Wg=xe`
|
|
@@ -4155,7 +4155,7 @@ const Rv="nimble-list-option",Fv=xe`
|
|
|
4155
4155
|
title=${e=>e.hasOverflow&&e.labelContent?e.labelContent:null}
|
|
4156
4156
|
@click="${(e,t)=>e.clickHandler(t.event)}"
|
|
4157
4157
|
>
|
|
4158
|
-
${
|
|
4158
|
+
${He((e=>"string"==typeof e.label),G`${e=>e.label}`)}
|
|
4159
4159
|
<slot ${Pe("labelSlot")}
|
|
4160
4160
|
class="label-slot ${e=>"string"==typeof e.label?"hidden":""}"
|
|
4161
4161
|
>
|
|
@@ -4168,22 +4168,22 @@ const Rv="nimble-list-option",Fv=xe`
|
|
|
4168
4168
|
</span>
|
|
4169
4169
|
</template>
|
|
4170
4170
|
`
|
|
4171
|
-
class Pv extends
|
|
4171
|
+
class Pv extends Vt{constructor(){super(...arguments),this.hidden=!1,this.visuallyHidden=!1,this.topSeparatorVisible=!1,this.bottomSeparatorVisible=!1,this.hasOverflow=!1,this.hiddenOptions=new Set}get labelContent(){if(this.label)return this.label
|
|
4172
4172
|
if(!this.$fastController.isConnected)return""
|
|
4173
4173
|
return this.labelSlot.assignedNodes().filter((e=>""!==e.textContent?.trim())).map((e=>e.textContent?.trim())).join(" ")}clickHandler(e){e.preventDefault(),e.stopImmediatePropagation()}handleChange(e,t){e instanceof Dv&&("hidden"===t||"visuallyHidden"===t)&&(e.hidden||e.visuallyHidden?this.hiddenOptions.add(e):this.hiddenOptions.delete(e),this.visuallyHidden=this.hiddenOptions.size===this.listOptions.length)}listOptionsChanged(e,t){this.hiddenOptions.clear(),t.filter((e=>e.hidden||e.visuallyHidden)).forEach((e=>this.hiddenOptions.add(e))),e?.forEach((e=>{const t=m.getNotifier(e)
|
|
4174
4174
|
t.unsubscribe(this,"hidden"),t.unsubscribe(this,"visuallyHidden")}))
|
|
4175
4175
|
let n=!0
|
|
4176
4176
|
t?.forEach((e=>{const t=m.getNotifier(e)
|
|
4177
4177
|
t.subscribe(this,"hidden"),t.subscribe(this,"visuallyHidden"),n=n&&(e.hidden||e.visuallyHidden)})),this.visuallyHidden=0===t.length||n}}e([le],Pv.prototype,"label",void 0),e([le({mode:"boolean"})],Pv.prototype,"hidden",void 0),e([le({attribute:"visually-hidden",mode:"boolean"})],Pv.prototype,"visuallyHidden",void 0),e([le({attribute:"top-separator-visible",mode:"boolean"})],Pv.prototype,"topSeparatorVisible",void 0),e([le({attribute:"bottom-separator-visible",mode:"boolean"})],Pv.prototype,"bottomSeparatorVisible",void 0),e([g],Pv.prototype,"hasOverflow",void 0),e([g],Pv.prototype,"listOptions",void 0),e([v],Pv.prototype,"labelContent",null)
|
|
4178
|
-
const Lv=Pv.compose({baseName:"list-option-group",baseClass:
|
|
4178
|
+
const Lv=Pv.compose({baseName:"list-option-group",baseClass:Vt,template:Nv,styles:Fv})
|
|
4179
4179
|
yi.getOrCreate().withPrefix("nimble").register(Lv())
|
|
4180
|
-
let zv=class extends
|
|
4180
|
+
let zv=class extends Vt{}
|
|
4181
4181
|
e([le()],zv.prototype,"key",void 0)
|
|
4182
|
-
const
|
|
4182
|
+
const Vv=G`<template slot="mapping"></template>`,Hv=xe`
|
|
4183
4183
|
${Ro("none")}
|
|
4184
4184
|
`
|
|
4185
4185
|
class Bv extends zv{}e([le()],Bv.prototype,"text",void 0)
|
|
4186
|
-
const qv=Bv.compose({baseName:"mapping-empty",template:
|
|
4186
|
+
const qv=Bv.compose({baseName:"mapping-empty",template:Vv,styles:Hv})
|
|
4187
4187
|
function Uv(e){return e.prototype instanceof pm}yi.getOrCreate().withPrefix("nimble").register(qv())
|
|
4188
4188
|
class jv extends zv{constructor(){super(...arguments),this.textHidden=!1}async resolveIconAsync(e){try{this.resolvedIcon=void 0,await customElements.whenDefined(e)}catch(e){return}if(e!==this.icon)return
|
|
4189
4189
|
const t=customElements.get(e)
|
|
@@ -4191,13 +4191,13 @@ this.resolvedIcon=Uv(t)?e:void 0}iconChanged(){const e=this.icon
|
|
|
4191
4191
|
if(!e)return void(this.resolvedIcon=void 0)
|
|
4192
4192
|
const t=customElements.get(e)
|
|
4193
4193
|
t?this.resolvedIcon=Uv(t)?e:void 0:this.resolveIconAsync(e)}}e([le()],jv.prototype,"icon",void 0),e([le()],jv.prototype,"severity",void 0),e([le()],jv.prototype,"text",void 0),e([le({attribute:"text-hidden",mode:"boolean"})],jv.prototype,"textHidden",void 0),e([g],jv.prototype,"resolvedIcon",void 0)
|
|
4194
|
-
const Wv=jv.compose({baseName:"mapping-icon",template:
|
|
4194
|
+
const Wv=jv.compose({baseName:"mapping-icon",template:Vv,styles:Hv})
|
|
4195
4195
|
yi.getOrCreate().withPrefix("nimble").register(Wv())
|
|
4196
4196
|
class Gv extends zv{constructor(){super(...arguments),this.textHidden=!1}}e([le()],Gv.prototype,"text",void 0),e([le({attribute:"text-hidden",mode:"boolean"})],Gv.prototype,"textHidden",void 0)
|
|
4197
|
-
const Zv=Gv.compose({baseName:"mapping-spinner",template:
|
|
4197
|
+
const Zv=Gv.compose({baseName:"mapping-spinner",template:Vv,styles:Hv})
|
|
4198
4198
|
yi.getOrCreate().withPrefix("nimble").register(Zv())
|
|
4199
4199
|
class Kv extends zv{}e([le()],Kv.prototype,"text",void 0)
|
|
4200
|
-
const Xv=Kv.compose({baseName:"mapping-text",template:
|
|
4200
|
+
const Xv=Kv.compose({baseName:"mapping-text",template:Vv,styles:Hv})
|
|
4201
4201
|
yi.getOrCreate().withPrefix("nimble").register(Xv())
|
|
4202
4202
|
const Yv=xe`
|
|
4203
4203
|
${Ro("grid")}
|
|
@@ -4304,7 +4304,7 @@ const Qv="auto",eb=xe`
|
|
|
4304
4304
|
<slot></slot>
|
|
4305
4305
|
<slot slot="end" name="end"></slot>
|
|
4306
4306
|
</${sg}>
|
|
4307
|
-
${
|
|
4307
|
+
${He((e=>e.open),G`
|
|
4308
4308
|
<${Eh}
|
|
4309
4309
|
fixed-placement="true"
|
|
4310
4310
|
auto-update-mode="auto"
|
|
@@ -4323,7 +4323,7 @@ const Qv="auto",eb=xe`
|
|
|
4323
4323
|
`)}
|
|
4324
4324
|
</template>
|
|
4325
4325
|
`
|
|
4326
|
-
class nb extends
|
|
4326
|
+
class nb extends Vt{constructor(){super(...arguments),this.appearance=Jd,this.disabled=!1,this.contentHidden=!1,this.open=!1,this.position=Qv,this.focusLastItemWhenOpened=!1,this.menuChangeHandler=()=>{this.setOpen(!1),this.toggleButton.focus()}}disconnectedCallback(){super.disconnectedCallback(),this.region&&this.region.removeEventListener(ya,this.menuChangeHandler)}toggleButtonChanged(e,t){this.region&&this.toggleButton&&(this.region.anchorElement=this.toggleButton)}regionChanged(e,t){e&&e.removeEventListener(ya,this.menuChangeHandler),this.region&&(this.toggleButton&&(this.region.anchorElement=this.toggleButton),this.region.addEventListener(ya,this.menuChangeHandler,{capture:!0}))}openChanged(e,t){if(this.toggleButton&&(this.toggleButton.checked=this.open),!this.open){const e={oldState:!0,newState:!1}
|
|
4327
4327
|
this.$emit("toggle",e)}}regionLoadedHandler(){this.focusLastItemWhenOpened?(this.focusLastMenuItem(),this.focusLastItemWhenOpened=!1):this.focusMenu()
|
|
4328
4328
|
this.$emit("toggle",{oldState:!1,newState:!0})}focusoutHandler(e){if(!this.open)return!0
|
|
4329
4329
|
const t=e.relatedTarget
|
|
@@ -4431,7 +4431,7 @@ const rb=class extends Ri{}.compose({baseName:"menu-item",baseClass:Ri,template:
|
|
|
4431
4431
|
@mouseout="${(e,t)=>e.handleMouseOut(t.event)}"
|
|
4432
4432
|
class="${e=>e.disabled?"disabled":""} ${e=>e.expanded?"expanded":""} ${e=>`indent-${e.startColumnCount}`}"
|
|
4433
4433
|
>
|
|
4434
|
-
${
|
|
4434
|
+
${He((e=>e.role===Ai),G`
|
|
4435
4435
|
<div part="input-container" class="input-container">
|
|
4436
4436
|
<span part="checkbox" class="checkbox">
|
|
4437
4437
|
<slot name="checkbox-indicator">
|
|
@@ -4440,7 +4440,7 @@ const rb=class extends Ri{}.compose({baseName:"menu-item",baseClass:Ri,template:
|
|
|
4440
4440
|
</span>
|
|
4441
4441
|
</div>
|
|
4442
4442
|
`)}
|
|
4443
|
-
${
|
|
4443
|
+
${He((e=>e.role===Di),G`
|
|
4444
4444
|
<div part="input-container" class="input-container">
|
|
4445
4445
|
<span part="radio" class="radio">
|
|
4446
4446
|
<slot name="radio-indicator">
|
|
@@ -4455,7 +4455,7 @@ const rb=class extends Ri{}.compose({baseName:"menu-item",baseClass:Ri,template:
|
|
|
4455
4455
|
<slot></slot>
|
|
4456
4456
|
</span>
|
|
4457
4457
|
${tt(0,t)}
|
|
4458
|
-
${
|
|
4458
|
+
${He((e=>e.hasSubmenu),G`
|
|
4459
4459
|
<div
|
|
4460
4460
|
part="expand-collapse-glyph-container"
|
|
4461
4461
|
class="expand-collapse-glyph-container"
|
|
@@ -4467,7 +4467,7 @@ const rb=class extends Ri{}.compose({baseName:"menu-item",baseClass:Ri,template:
|
|
|
4467
4467
|
</span>
|
|
4468
4468
|
</div>
|
|
4469
4469
|
`)}
|
|
4470
|
-
${
|
|
4470
|
+
${He((e=>e.expanded),G`
|
|
4471
4471
|
<${e.tagFor(bn)}
|
|
4472
4472
|
:anchorElement="${e=>e}"
|
|
4473
4473
|
vertical-positioning-mode="dynamic"
|
|
@@ -4718,7 +4718,7 @@ const ub=hb.compose({baseName:"number-field",baseClass:qi,template:(e,t)=>G`
|
|
|
4718
4718
|
aria-roledescription="${e=>e.ariaRoledescription}"
|
|
4719
4719
|
${Pe("control")}
|
|
4720
4720
|
/>
|
|
4721
|
-
${
|
|
4721
|
+
${He((e=>!e.hideStep&&!e.readOnly&&!e.disabled),G`
|
|
4722
4722
|
<div class="controls" part="controls">
|
|
4723
4723
|
<div class="step-up" part="step-up" @click="${e=>e.stepUp()}">
|
|
4724
4724
|
<slot name="step-up-glyph">
|
|
@@ -4748,10 +4748,10 @@ const ub=hb.compose({baseName:"number-field",baseClass:qi,template:(e,t)=>G`
|
|
|
4748
4748
|
aria-hidden="true"
|
|
4749
4749
|
>
|
|
4750
4750
|
${e=>Tm.getValueFor(e)}
|
|
4751
|
-
<${
|
|
4751
|
+
<${Vg}
|
|
4752
4752
|
slot="start"
|
|
4753
4753
|
>
|
|
4754
|
-
</${
|
|
4754
|
+
</${Vg}>
|
|
4755
4755
|
</${Fh}>
|
|
4756
4756
|
`,stepUpGlyph:G`
|
|
4757
4757
|
<${Fh}
|
|
@@ -5079,9 +5079,11 @@ let n=[],i=0,o=t
|
|
|
5079
5079
|
for(let t=e;;){let{index:e,offset:s}=t.content.findIndex(o),r=o-s
|
|
5080
5080
|
if(n.push(t,e,i+s),!r)break
|
|
5081
5081
|
if(t=t.child(e),t.isText)break
|
|
5082
|
-
o=r-1,i+=s+1}return new Lb(t,n,o)}static resolveCached(e,t){
|
|
5083
|
-
if(
|
|
5084
|
-
return Hb
|
|
5082
|
+
o=r-1,i+=s+1}return new Lb(t,n,o)}static resolveCached(e,t){let n=Hb.get(e)
|
|
5083
|
+
if(n)for(let e=0;e<n.elts.length;e++){let i=n.elts[e]
|
|
5084
|
+
if(i.pos==t)return i}else Hb.set(e,n=new zb)
|
|
5085
|
+
let i=n.elts[n.i]=Lb.resolve(e,t)
|
|
5086
|
+
return n.i=(n.i+1)%Vb,i}}class zb{constructor(){this.elts=[],this.i=0}}const Vb=12,Hb=new WeakMap
|
|
5085
5087
|
class Bb{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}}const qb=Object.create(null)
|
|
5086
5088
|
let Ub=class e{constructor(e,t,n,i=Sb.none){this.type=e,this.attrs=t,this.marks=i,this.content=n||wb.empty}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,i=0){this.content.nodesBetween(e,t,n,i,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,"")}textBetween(e,t,n,i){return this.content.textBetween(e,t,n,i)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&kb(this.attrs,t||e.defaultAttrs||qb)&&Sb.sameSet(this.marks,n||Sb.none)}copy(t=null){return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}cut(e,t=this.content.size){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return Mb.empty
|
|
5087
5089
|
let i=this.resolve(e),o=this.resolve(t),s=n?0:i.sharedDepth(t),r=i.start(s),a=i.node(s).content.cut(i.pos-r,o.pos-r)
|
|
@@ -5110,7 +5112,7 @@ if(!Sb.sameSet(e,this.marks))throw new RangeError(`Invalid collection of marks f
|
|
|
5110
5112
|
this.content.forEach((e=>e.check()))}toJSON(){let e={type:this.type.name}
|
|
5111
5113
|
for(let t in this.attrs){e.attrs=this.attrs
|
|
5112
5114
|
break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map((e=>e.toJSON()))),e}static fromJSON(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON")
|
|
5113
|
-
let n
|
|
5115
|
+
let n
|
|
5114
5116
|
if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON")
|
|
5115
5117
|
n=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON")
|
|
5116
5118
|
return e.text(t.text,n)}let i=wb.fromJSON(e,t.content)
|
|
@@ -5248,7 +5250,11 @@ if(!t)throw new RangeError("Unknown node type: "+e)
|
|
|
5248
5250
|
return t}}function cy(e,t){let n=[]
|
|
5249
5251
|
for(let i=0;i<t.length;i++){let o=t[i],s=e.marks[o],r=s
|
|
5250
5252
|
if(s)n.push(s)
|
|
5251
|
-
else for(let t in e.marks){let i=e.marks[t];("_"==o||i.spec.group&&i.spec.group.split(" ").indexOf(o)>-1)&&n.push(r=i)}if(!r)throw new SyntaxError("Unknown mark type: '"+t[i]+"'")}return n}class dy{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[]
|
|
5253
|
+
else for(let t in e.marks){let i=e.marks[t];("_"==o||i.spec.group&&i.spec.group.split(" ").indexOf(o)>-1)&&n.push(r=i)}if(!r)throw new SyntaxError("Unknown mark type: '"+t[i]+"'")}return n}class dy{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[]
|
|
5254
|
+
let n=this.matchedStyles=[]
|
|
5255
|
+
t.forEach((e=>{if(function(e){return null!=e.tag}(e))this.tags.push(e)
|
|
5256
|
+
else if(function(e){return null!=e.style}(e)){let t=/[^=]*/.exec(e.style)[0]
|
|
5257
|
+
n.indexOf(t)<0&&n.push(t),this.styles.push(e)}})),this.normalizeLists=!this.tags.some((t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1
|
|
5252
5258
|
let n=e.nodes[t.node]
|
|
5253
5259
|
return n.contentMatch.matchType(n)}))}parse(e,t={}){let n=new gy(this,t,!1)
|
|
5254
5260
|
return n.addAll(e,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new gy(this,t,!0)
|
|
@@ -5272,11 +5278,9 @@ if(t&&t.isText&&(e=/[ \t\r\n\u000c]+$/.exec(t.text))){let n=t
|
|
|
5272
5278
|
t.text.length==e[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-e[0].length))}}let t=wb.from(this.content)
|
|
5273
5279
|
return!e&&this.match&&(t=t.append(this.match.fillBefore(wb.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}popFromStashMark(e){for(let t=this.stashMarks.length-1;t>=0;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]}applyPending(e){for(let t=0,n=this.pendingMarks;t<n.length;t++){let i=n[t];(this.type?this.type.allowsMarkType(i.type):yy(i.type,e))&&!i.isInSet(this.activeMarks)&&(this.activeMarks=i.addToSet(this.activeMarks),this.pendingMarks=i.removeFromSet(this.pendingMarks))}}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!hy.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class gy{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0
|
|
5274
5280
|
let i,o=t.topNode,s=fy(null,t.preserveWhitespace,0)|(n?4:0)
|
|
5275
|
-
i=o?new my(o.type,o.attrs,Sb.none,Sb.none,!0,t.topMatch||o.type.contentMatch,s):new my(n?null:e.schema.topNodeType,null,Sb.none,Sb.none,!0,null,s),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e){3==e.nodeType?this.addTextNode(e):1==e.nodeType&&this.addElement(e)}withStyleRules(e,t){let n=e.
|
|
5276
|
-
if(!n)return t()
|
|
5277
|
-
let i=this.readStyles(
|
|
5278
|
-
for(;t=n.exec(e);)i.push(t[1],t[2].trim())
|
|
5279
|
-
return i}(n))
|
|
5281
|
+
i=o?new my(o.type,o.attrs,Sb.none,Sb.none,!0,t.topMatch||o.type.contentMatch,s):new my(n?null:e.schema.topNodeType,null,Sb.none,Sb.none,!0,null,s),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e){3==e.nodeType?this.addTextNode(e):1==e.nodeType&&this.addElement(e)}withStyleRules(e,t){let n=e.style
|
|
5282
|
+
if(!n||!n.length)return t()
|
|
5283
|
+
let i=this.readStyles(e.style)
|
|
5280
5284
|
if(!i)return
|
|
5281
5285
|
let[o,s]=i,r=this.top
|
|
5282
5286
|
for(let e=0;e<s.length;e++)this.removePendingMark(s[e],r)
|
|
@@ -5295,11 +5299,12 @@ let t,n=this.top,s=this.needsBlock
|
|
|
5295
5299
|
if(hy.hasOwnProperty(i))n.content.length&&n.content[0].isInline&&this.open&&(this.open--,n=this.top),t=!0,n.type||(this.needsBlock=!0)
|
|
5296
5300
|
else if(!e.firstChild)return void this.leafFallback(e)
|
|
5297
5301
|
o&&o.skip?this.addAll(e):this.withStyleRules(e,(()=>this.addAll(e))),t&&this.sync(n),this.needsBlock=s}else this.withStyleRules(e,(()=>{this.addElementByRule(e,o,!1===o.consuming?n:void 0)}))}leafFallback(e){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"))}ignoreFallback(e){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))}readStyles(e){let t=Sb.none,n=Sb.none
|
|
5298
|
-
for(let i=0;i<
|
|
5299
|
-
if(
|
|
5300
|
-
if(
|
|
5301
|
-
if(
|
|
5302
|
-
|
|
5302
|
+
if(e.length)for(let i=0;i<this.parser.matchedStyles.length;i++){let o=this.parser.matchedStyles[i],s=e.getPropertyValue(o)
|
|
5303
|
+
if(s)for(let e;;){let i=this.parser.matchStyle(o,s,this,e)
|
|
5304
|
+
if(!i)break
|
|
5305
|
+
if(i.ignore)return null
|
|
5306
|
+
if(i.clearMark?this.top.pendingMarks.concat(this.top.activeMarks).forEach((e=>{i.clearMark(e)&&(n=e.addToSet(n))})):t=this.parser.schema.marks[i.mark].create(i.attrs).addToSet(t),!1!==i.consuming)break
|
|
5307
|
+
e=i}}return[t,n]}addElementByRule(e,t,n){let i,o,s
|
|
5303
5308
|
if(t.node)o=this.parser.schema.nodes[t.node],o.isLeaf?this.insertNode(o.create(t.attrs))||this.leafFallback(e):i=this.enter(o,t.attrs||null,t.preserveWhitespace)
|
|
5304
5309
|
else{s=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(s)}let r=this.top
|
|
5305
5310
|
if(o&&o.isLeaf)this.findInside(e)
|
|
@@ -5469,10 +5474,10 @@ for(let t=0;t<l.marks.length;t++)n.allowsMarkType(l.marks[t].type)||e.step(new O
|
|
|
5469
5474
|
if(o&&l.isText&&"pre"!=n.whitespace){let e,t,i=/\r?\n|\r/g
|
|
5470
5475
|
for(;e=i.exec(l.text);)t||(t=new Mb(wb.from(n.schema.text(" ",n.allowedMarks(l.marks))),0,0)),r.push(new Ny(a+e.index,a+e.index+e[0].length,t))}}else r.push(new Ny(a,c,Mb.empty))
|
|
5471
5476
|
a=c}if(!i.validEnd){let t=i.fillBefore(wb.empty,!0)
|
|
5472
|
-
e.replace(a,a,new Mb(t,0,0))}for(let t=r.length-1;t>=0;t--)e.step(r[t])}function
|
|
5477
|
+
e.replace(a,a,new Mb(t,0,0))}for(let t=r.length-1;t>=0;t--)e.step(r[t])}function Vy(e,t,n){return(0==t||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function Hy(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex)
|
|
5473
5478
|
for(let n=e.depth;;--n){let i=e.$from.node(n),o=e.$from.index(n),s=e.$to.indexAfter(n)
|
|
5474
5479
|
if(n<e.depth&&i.canReplace(o,s,t))return n
|
|
5475
|
-
if(0==n||i.type.spec.isolating||!
|
|
5480
|
+
if(0==n||i.type.spec.isolating||!Vy(i,o,s))break}return null}function By(e,t,n=null,i=e){let o=function(e,t){let{parent:n,startIndex:i,endIndex:o}=e,s=n.contentMatchAt(i).findWrapping(t)
|
|
5476
5481
|
if(!s)return null
|
|
5477
5482
|
let r=s.length?s[0]:t
|
|
5478
5483
|
return n.canReplaceWith(i,o,r)?s:null}(e,t),s=o&&function(e,t){let{parent:n,startIndex:i,endIndex:o}=e,s=n.child(i),r=t.contentMatch.findWrapping(s.type)
|
|
@@ -5737,11 +5742,11 @@ const Fw=function(e,t,n){let i=Rw||(Rw=document.createRange())
|
|
|
5737
5742
|
return i.setEnd(e,null==n?e.nodeValue.length:n),i.setStart(e,t||0),i},Nw=function(e,t,n,i){return n&&(Lw(e,t,n,i,-1)||Lw(e,t,n,i,1))},Pw=/^(img|br|input|textarea|hr)$/i
|
|
5738
5743
|
function Lw(e,t,n,i,o){for(;;){if(e==n&&t==i)return!0
|
|
5739
5744
|
if(t==(o<0?0:zw(e))){let n=e.parentNode
|
|
5740
|
-
if(!n||1!=n.nodeType||
|
|
5745
|
+
if(!n||1!=n.nodeType||Vw(e)||Pw.test(e.nodeName)||"false"==e.contentEditable)return!1
|
|
5741
5746
|
t=Dw(e)+(o<0?0:1),e=n}else{if(1!=e.nodeType)return!1
|
|
5742
5747
|
if("false"==(e=e.childNodes[t+(o<0?-1:0)]).contentEditable)return!1
|
|
5743
|
-
t=o<0?zw(e):0}}}function zw(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function
|
|
5744
|
-
for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const
|
|
5748
|
+
t=o<0?zw(e):0}}}function zw(e){return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function Vw(e){let t
|
|
5749
|
+
for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}const Hw=function(e){return e.focusNode&&Nw(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)}
|
|
5745
5750
|
function Bw(e,t){let n=document.createEvent("Event")
|
|
5746
5751
|
return n.initEvent("keydown",!0,!0),n.keyCode=e,n.key=n.code=t,n}const qw="undefined"!=typeof navigator?navigator:null,Uw="undefined"!=typeof document?document:null,jw=qw&&qw.userAgent||"",Ww=/Edge\/(\d+)/.exec(jw),Gw=/MSIE \d/.exec(jw),Zw=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(jw),Kw=!!(Gw||Zw||Ww),Xw=Gw?document.documentMode:Zw?+Zw[1]:Ww?+Ww[1]:0,Yw=!Kw&&/gecko\/(\d+)/i.test(jw)
|
|
5747
5752
|
Yw&&(/Firefox\/(\d+)/.exec(jw)||[0,0])[1]
|
|
@@ -5936,7 +5941,7 @@ r<o.length&&o[r].from<e&&(e=o[r].from)
|
|
|
5936
5941
|
for(let t=0;t<a.length;t++)a[t].to<e&&(e=a[t].to)
|
|
5937
5942
|
e<f&&(l=u.cut(e-s),u=u.cut(0,e-s),f=e,p=-1)}else for(;r<o.length&&o[r].to<f;)r++
|
|
5938
5943
|
i(u,u.isInline&&!u.isLeaf?a.filter((e=>!e.inline)):a.slice(),t.forChild(s,u),p),s=f}}(this.node,this.innerDeco,((t,o,s)=>{t.spec.marks?a.syncToMarks(t.spec.marks,n,e):t.type.side>=0&&!s&&a.syncToMarks(o==this.node.childCount?Sb.none:this.node.child(o).marks,n,e),a.placeWidget(t,e,i)}),((t,s,l,c)=>{let d
|
|
5939
|
-
a.syncToMarks(t.marks,n,e),a.findNodeMatch(t,s,l,c)||r&&e.state.selection.from>i&&e.state.selection.to<i+t.nodeSize&&(d=a.findIndexWithChild(o.node))>-1&&a.updateNodeAt(t,s,l,d,e)||a.updateNextNode(t,s,l,e,c,i)||a.addNode(t,s,l,e,i),i+=t.nodeSize})),a.syncToMarks([],n,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||2==this.dirty)&&(s&&this.protectLocalComposition(e,s),
|
|
5944
|
+
a.syncToMarks(t.marks,n,e),a.findNodeMatch(t,s,l,c)||r&&e.state.selection.from>i&&e.state.selection.to<i+t.nodeSize&&(d=a.findIndexWithChild(o.node))>-1&&a.updateNodeAt(t,s,l,d,e)||a.updateNextNode(t,s,l,e,c,i)||a.addNode(t,s,l,e,i),i+=t.nodeSize})),a.syncToMarks([],n,e),this.node.isTextblock&&a.addTextblockHacks(),a.destroyRest(),(a.changed||2==this.dirty)&&(s&&this.protectLocalComposition(e,s),Vx(this.contentDOM,this.children,e),nx&&function(e){if("UL"==e.nodeName||"OL"==e.nodeName){let t=e.style.cssText
|
|
5940
5945
|
e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t}}(this.dom))}localCompositionInfo(e,t){let{from:n,to:i}=e.state.selection
|
|
5941
5946
|
if(!(e.state.selection instanceof pw)||n<t||i>t+this.node.content.size)return null
|
|
5942
5947
|
let o=e.input.compositionNode
|
|
@@ -5966,21 +5971,21 @@ for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0
|
|
|
5966
5971
|
return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return"characterData"!=e.type&&"selection"!=e.type}slice(e,t,n){let i=this.node.cut(e,t),o=document.createTextNode(i.text)
|
|
5967
5972
|
return new Px(this.parent,i,this.outerDeco,this.innerDeco,o,o,n)}markDirty(e,t){super.markDirty(e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)}get domAtom(){return!1}isText(e){return this.node.text==e}}class Lx extends Ax{parseRule(){return{ignore:!0}}matchesHack(e){return 0==this.dirty&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return"IMG"==this.dom.nodeName}}class zx extends Fx{constructor(e,t,n,i,o,s,r,a,l,c){super(e,t,n,i,o,s,r,l,c),this.spec=a}update(e,t,n,i){if(3==this.dirty)return!1
|
|
5968
5973
|
if(this.spec.update){let o=this.spec.update(e,t,n)
|
|
5969
|
-
return o&&this.updateInner(e,t,n,i),o}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,i){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function
|
|
5974
|
+
return o&&this.updateInner(e,t,n,i),o}return!(!this.contentDOM&&!e.isLeaf)&&super.update(e,t,n,i)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,i){this.spec.setSelection?this.spec.setSelection(e,t,n):super.setSelection(e,t,n,i)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function Vx(e,t,n){let i=e.firstChild,o=!1
|
|
5970
5975
|
for(let s=0;s<t.length;s++){let r=t[s],a=r.dom
|
|
5971
5976
|
if(a.parentNode==e){for(;a!=i;)i=Zx(i),o=!0
|
|
5972
5977
|
i=i.nextSibling}else o=!0,e.insertBefore(a,i)
|
|
5973
5978
|
if(r instanceof Rx){let t=i?i.previousSibling:e.lastChild
|
|
5974
|
-
|
|
5975
|
-
o&&n.trackWrites==e&&(n.trackWrites=null)}const
|
|
5976
|
-
|
|
5977
|
-
const Bx=[new
|
|
5979
|
+
Vx(r.contentDOM,r.children,n),i=t?t.nextSibling:e.firstChild}}for(;i;)i=Zx(i),o=!0
|
|
5980
|
+
o&&n.trackWrites==e&&(n.trackWrites=null)}const Hx=function(e){e&&(this.nodeName=e)}
|
|
5981
|
+
Hx.prototype=Object.create(null)
|
|
5982
|
+
const Bx=[new Hx]
|
|
5978
5983
|
function qx(e,t,n){if(0==e.length)return Bx
|
|
5979
|
-
let i=n?Bx[0]:new
|
|
5984
|
+
let i=n?Bx[0]:new Hx,o=[i]
|
|
5980
5985
|
for(let s=0;s<e.length;s++){let r=e[s].type.attrs
|
|
5981
|
-
if(r){r.nodeName&&o.push(i=new
|
|
5986
|
+
if(r){r.nodeName&&o.push(i=new Hx(r.nodeName))
|
|
5982
5987
|
for(let e in r){let s=r[e]
|
|
5983
|
-
null!=s&&(n&&1==o.length&&o.push(i=new
|
|
5988
|
+
null!=s&&(n&&1==o.length&&o.push(i=new Hx(t.isInline?"span":"div")),"class"==e?i.class=(i.class?i.class+" ":"")+s:"style"==e?i.style=(i.style?i.style+";":"")+s:"nodeName"!=e&&(i[e]=s))}}}return o}function Ux(e,t,n,i){if(n==Bx&&i==Bx)return t
|
|
5984
5989
|
let o=t
|
|
5985
5990
|
for(let t=0;t<i.length;t++){let s=i[t],r=n[t]
|
|
5986
5991
|
if(t){let t
|
|
@@ -6042,7 +6047,7 @@ if(!n.focusNode)return null
|
|
|
6042
6047
|
let o=e.docView.nearestDesc(n.focusNode),s=o&&0==o.size,r=e.docView.posFromDOM(n.focusNode,n.focusOffset,1)
|
|
6043
6048
|
if(r<0)return null
|
|
6044
6049
|
let a,l,c=i.resolve(r)
|
|
6045
|
-
if(
|
|
6050
|
+
if(Hw(n)){for(a=c;o&&!o.node;)o=o.parent
|
|
6046
6051
|
let e=o.node
|
|
6047
6052
|
if(o&&e.isAtom&&mw.isSelectable(e)&&o.parent&&(!e.isInline||!function(e,t,n){for(let i=0==t,o=t==zw(e);i||o;){if(e==n)return!0
|
|
6048
6053
|
let t=Dw(e)
|
|
@@ -6103,16 +6108,16 @@ for(;t&&fC(t,1);)o=t.parentNode,s=Dw(t)+1,t=t.nextSibling
|
|
|
6103
6108
|
if(t)n=t,i=0,r=pC(n)
|
|
6104
6109
|
else{if(n=n.parentNode,n==e.dom)break
|
|
6105
6110
|
i=r=0}}}o&&vC(e,o,s)}(e)}function gC(e){let t=e.pmViewDesc
|
|
6106
|
-
return t&&t.node&&t.node.isBlock}function vC(e,t,n){if(3!=t.nodeType){let e,i;(i=function(e,t){for(;e&&t==e.childNodes.length&&!
|
|
6111
|
+
return t&&t.node&&t.node.isBlock}function vC(e,t,n){if(3!=t.nodeType){let e,i;(i=function(e,t){for(;e&&t==e.childNodes.length&&!Vw(e);)t=Dw(e)+1,e=e.parentNode
|
|
6107
6112
|
for(;e&&t<e.childNodes.length;){let n=e.childNodes[t]
|
|
6108
6113
|
if(3==n.nodeType)return n
|
|
6109
6114
|
if(1==n.nodeType&&"false"==n.contentEditable)break
|
|
6110
|
-
e=n,t=0}}(t,n))?(t=i,n=0):(e=function(e,t){for(;e&&!t&&!
|
|
6115
|
+
e=n,t=0}}(t,n))?(t=i,n=0):(e=function(e,t){for(;e&&!t&&!Vw(e);)t=Dw(e),e=e.parentNode
|
|
6111
6116
|
for(;e&&t;){let n=e.childNodes[t-1]
|
|
6112
6117
|
if(3==n.nodeType)return n
|
|
6113
6118
|
if(1==n.nodeType&&"false"==n.contentEditable)break
|
|
6114
6119
|
t=(e=n).childNodes.length}}(t,n))&&(t=e,n=e.nodeValue.length)}let i=e.domSelection()
|
|
6115
|
-
if(
|
|
6120
|
+
if(Hw(i)){let e=document.createRange()
|
|
6116
6121
|
e.setEnd(t,n),e.setStart(t,n),i.removeAllRanges(),i.addRange(e)}else i.extend&&i.extend(t,n)
|
|
6117
6122
|
e.domObserver.setCurSelection()
|
|
6118
6123
|
let{state:o}=e
|
|
@@ -6197,8 +6202,8 @@ return e.copy(n.append(i))}function _C(e,t,n,i,o,s){let r=t<0?e.firstChild:e.las
|
|
|
6197
6202
|
return e.childCount>1&&(s=0),o<i-1&&(a=_C(a,t,n,i,o+1,s)),o>=n&&(a=t<0?r.contentMatchAt(0).fillBefore(a,s<=o).append(a):a.append(r.contentMatchAt(r.childCount).fillBefore(wb.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,r.copy(a))}function TC(e,t,n){return t<e.openStart&&(e=new Mb(_C(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new Mb(_C(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const AC={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]}
|
|
6198
6203
|
let DC=null
|
|
6199
6204
|
function OC(){return DC||(DC=document.implementation.createHTMLDocument("title"))}const RC={},FC={},NC={touchstart:!0,touchmove:!0}
|
|
6200
|
-
class PC{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function LC(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function zC(e){e.someProp("handleDOMEvents",(t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>
|
|
6201
|
-
return!!i&&(i(e,t)||t.defaultPrevented)}))}function
|
|
6205
|
+
class PC{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastAndroidDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function LC(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function zC(e){e.someProp("handleDOMEvents",(t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>VC(e,t))}))}function VC(e,t){return e.someProp("handleDOMEvents",(n=>{let i=n[t.type]
|
|
6206
|
+
return!!i&&(i(e,t)||t.defaultPrevented)}))}function HC(e,t){if(!t.bubbles)return!0
|
|
6202
6207
|
if(t.defaultPrevented)return!1
|
|
6203
6208
|
for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||11==n.nodeType||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1
|
|
6204
6209
|
return!0}function BC(e){return{left:e.clientX,top:e.clientY}}function qC(e,t,n,i,o){if(-1==i)return!1
|
|
@@ -6251,10 +6256,10 @@ return e.initEvent("event",!0,!0),e.timeStamp}());e.input.compositionNodes.lengt
|
|
|
6251
6256
|
if(!t.focusNode)return null
|
|
6252
6257
|
let n=function(e,t){for(;;){if(3==e.nodeType&&t)return e
|
|
6253
6258
|
if(1==e.nodeType&&t>0){if("false"==e.contentEditable)return null
|
|
6254
|
-
t=zw(e=e.childNodes[t-1])}else{if(!e.parentNode||
|
|
6259
|
+
t=zw(e=e.childNodes[t-1])}else{if(!e.parentNode||Vw(e))return null
|
|
6255
6260
|
t=Dw(e),e=e.parentNode}}}(t.focusNode,t.focusOffset),i=function(e,t){for(;;){if(3==e.nodeType&&t<e.nodeValue.length)return e
|
|
6256
6261
|
if(1==e.nodeType&&t<e.childNodes.length){if("false"==e.contentEditable)return null
|
|
6257
|
-
e=e.childNodes[t],t=0}else{if(!e.parentNode||
|
|
6262
|
+
e=e.childNodes[t],t=0}else{if(!e.parentNode||Vw(e))return null
|
|
6258
6263
|
t=Dw(e)+1,e=e.parentNode}}}(t.focusNode,t.focusOffset)
|
|
6259
6264
|
if(n&&i&&n!=i){let t=i.pmViewDesc
|
|
6260
6265
|
if(!t||!t.isText(i.nodeValue))return i
|
|
@@ -6452,7 +6457,7 @@ if(e.editable)for(let e=0;e<t.length;e++){let n=this.registerMutation(t[e],a)
|
|
|
6452
6457
|
n&&(o=o<0?n.from:Math.min(n.from,o),s=s<0?n.to:Math.max(n.to,s),n.typeOver&&(r=!0))}if(Yw&&a.length>1){let e=a.filter((e=>"BR"==e.nodeName))
|
|
6453
6458
|
if(2==e.length){let t=e[0],n=e[1]
|
|
6454
6459
|
t.parentNode&&t.parentNode.parentNode==n.parentNode?n.remove():t.remove()}}let l=null
|
|
6455
|
-
o<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&
|
|
6460
|
+
o<0&&i&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&Hw(n)&&(l=Jx(e))&&l.eq(cw.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,eC(e),this.currentSelection.set(n),e.scrollToSelection()):(o>-1||i)&&(o>-1&&(e.docView.markDirty(o,s),function(e){if(Tk.has(e))return
|
|
6456
6461
|
if(Tk.set(e,null),-1!==["normal","nowrap","pre-line"].indexOf(getComputedStyle(e.dom).whiteSpace)){if(e.requiresGeckoHackNode=Yw,Ak)return
|
|
6457
6462
|
console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."),Ak=!0}}(e)),this.handleDOMChange(o,s,r,a),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||eC(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null
|
|
6458
6463
|
let n=this.view.docView.nearestDesc(e.target)
|
|
@@ -6476,7 +6481,7 @@ let i=e.state.tr.setSelection(n)
|
|
|
6476
6481
|
"pointer"==t?i.setMeta("pointer",!0):"key"==t&&i.scrollIntoView(),s&&i.setMeta("composition",s),e.dispatch(i)}return}let r=e.state.doc.resolve(t),a=r.sharedDepth(n)
|
|
6477
6482
|
t=r.before(a+1),n=e.state.doc.resolve(n).after(a+1)
|
|
6478
6483
|
let l,c,d=e.state.selection,h=function(e,t,n){let i,{node:o,fromOffset:s,toOffset:r,from:a,to:l}=e.docView.parseRange(t,n),c=e.domSelectionRange(),d=c.anchorNode
|
|
6479
|
-
if(d&&e.dom.contains(1==d.nodeType?d:d.parentNode)&&(i=[{node:d,offset:c.anchorOffset}],
|
|
6484
|
+
if(d&&e.dom.contains(1==d.nodeType?d:d.parentNode)&&(i=[{node:d,offset:c.anchorOffset}],Hw(c)||i.push({node:c.focusNode,offset:c.focusOffset})),Qw&&8===e.input.lastKeyCode)for(let e=r;e>s;e--){let t=o.childNodes[e-1],n=t.pmViewDesc
|
|
6480
6485
|
if("BR"==t.nodeName&&!n){r=e
|
|
6481
6486
|
break}if(!n||n.size)break}let h=e.state.doc,u=e.someProp("domParser")||dy.fromSchema(e.state.schema),p=h.resolve(a),f=null,m=u.parse(o,{topNode:p.parent,topMatch:p.parent.contentMatchAt(p.index()),topOpen:!0,from:s,to:r,preserveWhitespace:"pre"!=p.parent.type.whitespace||"full",findPositions:i,ruleFromNode:Ok,context:p})
|
|
6482
6487
|
if(i&&null!=i[0].pos){let e=i[0].pos,t=i[1]&&i[1].pos
|
|
@@ -6519,8 +6524,8 @@ for(;i>0&&(t||e.indexAfter(i)==e.node(i).childCount);)i--,o++,t=!1
|
|
|
6519
6524
|
if(n){let t=e.node(i).maybeChild(e.indexAfter(i))
|
|
6520
6525
|
for(;t&&!t.isLeaf;)t=t.firstChild,o++}return o}function Lk(e){if(2!=e.length)return!1
|
|
6521
6526
|
let t=e.charCodeAt(0),n=e.charCodeAt(1)
|
|
6522
|
-
return t>=56320&&t<=57343&&n>=55296&&n<=56319}class zk{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new PC,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(Uk),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Bk(this),
|
|
6523
|
-
e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!
|
|
6527
|
+
return t>=56320&&t<=57343&&n>=55296&&n<=56319}class zk{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new PC,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(Uk),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):"function"==typeof e?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Bk(this),Hk(this),this.nodeViews=qk(this),this.docView=Nx(this.state.doc,Vk(this),$k(this),this.dom,this),this.domObserver=new _k(this,((e,t,n,i)=>Fk(this,e,t,n,i))),this.domObserver.start(),function(e){for(let t in RC){let n=RC[t]
|
|
6528
|
+
e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{!HC(e,t)||VC(e,t)||!e.editable&&t.type in FC||n(e,t)},NC[t]?{passive:!0}:void 0)}tx&&e.dom.addEventListener("input",(()=>null)),zC(e)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props
|
|
6524
6529
|
this._props={}
|
|
6525
6530
|
for(let t in e)this._props[t]=e[t]
|
|
6526
6531
|
this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&zC(this)
|
|
@@ -6536,8 +6541,8 @@ let r=i.plugins!=e.plugins||this._props.plugins!=t.plugins
|
|
|
6536
6541
|
if(r||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=qk(this);(function(e,t){let n=0,i=0
|
|
6537
6542
|
for(let i in e){if(e[i]!=t[i])return!0
|
|
6538
6543
|
n++}for(let e in t)i++
|
|
6539
|
-
return n!=i})(e,this.nodeViews)&&(this.nodeViews=e,o=!0)}(r||t.handleDOMEvents!=this._props.handleDOMEvents)&&zC(this),this.editable=Bk(this),
|
|
6540
|
-
let a=$k(this),l=
|
|
6544
|
+
return n!=i})(e,this.nodeViews)&&(this.nodeViews=e,o=!0)}(r||t.handleDOMEvents!=this._props.handleDOMEvents)&&zC(this),this.editable=Bk(this),Hk(this)
|
|
6545
|
+
let a=$k(this),l=Vk(this),c=i.plugins==e.plugins||i.doc.eq(e.doc)?e.scrollToSelection>i.scrollToSelection?"to selection":"preserve":"reset",d=o||!this.docView.matchesNode(e.doc,l,a)
|
|
6541
6546
|
!d&&e.selection.eq(i.selection)||(s=!0)
|
|
6542
6547
|
let h="preserve"==c&&s&&null==this.dom.style.overflowAnchor&&function(e){let t,n,i=e.dom.getBoundingClientRect(),o=Math.max(0,i.top)
|
|
6543
6548
|
for(let s=(i.left+i.right)/2,r=o+1;r<Math.min(innerHeight,i.bottom);r+=5){let i=e.root.elementFromPoint(s,r)
|
|
@@ -6579,14 +6584,14 @@ return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let i=this.docView.posFromDOM(e,t,n)
|
|
|
6579
6584
|
if(null==i)throw new RangeError("DOM position not inside the editor")
|
|
6580
6585
|
return i}endOfTextblock(e,t){return Tx(this,t||this.state,e)}pasteHTML(e,t){return ok(this,"",e,!1,t||new ClipboardEvent("paste"))}pasteText(e,t){return ok(this,e,null,!0,t||new ClipboardEvent("paste"))}destroy(){this.docView&&(!function(e){e.domObserver.stop()
|
|
6581
6586
|
for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t])
|
|
6582
|
-
clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],$k(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,Rw=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){
|
|
6587
|
+
clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],$k(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,Rw=null)}get isDestroyed(){return null==this.docView}dispatchEvent(e){return function(e,t){VC(e,t)||!RC[t.type]||!e.editable&&t.type in FC||RC[t.type](e,t)}(this,e)}dispatch(e){let t=this._props.dispatchTransaction
|
|
6583
6588
|
t?t.call(this,e):this.updateState(this.state.apply(e))}domSelectionRange(){let e=this.domSelection()
|
|
6584
6589
|
return tx&&11===this.root.nodeType&&function(e){let t=e.activeElement
|
|
6585
6590
|
for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement
|
|
6586
6591
|
return t}(this.dom.ownerDocument)==this.dom&&function(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0]
|
|
6587
6592
|
if(n)return Dk(e,n)}let n
|
|
6588
|
-
function i(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",i,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",i,!0),n?Dk(e,n):null}(this,e)||e}domSelection(){return this.root.getSelection()}}function
|
|
6589
|
-
return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))})),t.translate||(t.translate="no"),[uk.node(0,e.state.doc.content.size,t)]}function
|
|
6593
|
+
function i(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener("beforeinput",i,!0),document.execCommand("indent"),e.dom.removeEventListener("beforeinput",i,!0),n?Dk(e,n):null}(this,e)||e}domSelection(){return this.root.getSelection()}}function Vk(e){let t=Object.create(null)
|
|
6594
|
+
return t.class="ProseMirror",t.contenteditable=String(e.editable),e.someProp("attributes",(n=>{if("function"==typeof n&&(n=n(e.state)),n)for(let e in n)"class"==e?t.class+=" "+n[e]:"style"==e?t.style=(t.style?t.style+";":"")+n[e]:t[e]||"contenteditable"==e||"nodeName"==e||(t[e]=String(n[e]))})),t.translate||(t.translate="no"),[uk.node(0,e.state.doc.content.size,t)]}function Hk(e){if(e.markCursor){let t=document.createElement("img")
|
|
6590
6595
|
t.className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),t.setAttribute("alt",""),e.cursorWrapper={dom:t,deco:uk.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function Bk(e){return!e.someProp("editable",(t=>!1===t(e.state)))}function qk(e){let t=Object.create(null)
|
|
6591
6596
|
function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp("nodeViews",n),e.someProp("markViews",n),t}function Uk(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var jk={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Wk={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Gk="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),Zk="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Kk=0;Kk<10;Kk++)jk[48+Kk]=jk[96+Kk]=String(Kk)
|
|
6592
6597
|
for(Kk=1;Kk<=24;Kk++)jk[Kk+111]="F"+Kk
|
|
@@ -6636,7 +6641,7 @@ if(a&&(i=(o=s.contentMatchAt(s.childCount)).findWrapping(r.type))&&o.matchType(i
|
|
|
6636
6641
|
for(let e=i.length-1;e>=0;e--)a=wb.from(i[e].create(null,a))
|
|
6637
6642
|
a=wb.from(s.copy(a))
|
|
6638
6643
|
let l=e.tr.step(new Py(t.pos-1,o,t.pos,o,new Mb(a,1,0),i.length,!0)),c=o+2*i.length
|
|
6639
|
-
jy(l.doc,c)&&l.join(c),n(l.scrollIntoView())}return!0}let l=cw.findFrom(t,1),c=l&&l.$from.blockRange(l.$to),d=c&&
|
|
6644
|
+
jy(l.doc,c)&&l.join(c),n(l.scrollIntoView())}return!0}let l=cw.findFrom(t,1),c=l&&l.$from.blockRange(l.$to),d=c&&Hy(c)
|
|
6640
6645
|
if(null!=d&&d>=t.depth)return n&&n(e.tr.lift(c,d).scrollIntoView()),!0
|
|
6641
6646
|
if(a&&iS(r,"start",!0)&&iS(s,"end")){let i=s,o=[]
|
|
6642
6647
|
for(;o.push(i),!i.isTextblock;)i=i.lastChild
|
|
@@ -6670,7 +6675,7 @@ for(let n=t.startIndex,i=t.endIndex,o=!0;n<i;n++,o=!1)!o&&Uy(e.doc,l,a)&&(e.spli
|
|
|
6670
6675
|
return e}(n.tr,r,c,a,e).scrollIntoView()),!0)}}function fS(e){return function(t,n){let{$from:i,$to:o}=t.selection,s=i.blockRange(o,(t=>t.childCount>0&&t.firstChild.type==e))
|
|
6671
6676
|
return!!s&&(!n||(i.node(s.depth-1).type==e?function(e,t,n,i){let o=e.tr,s=i.end,r=i.$to.end(i.depth)
|
|
6672
6677
|
s<r&&(o.step(new Py(s-1,r,s,r,new Mb(wb.from(n.create(null,i.parent.copy())),1,0),1,!0)),i=new Bb(o.doc.resolve(i.$from.pos),o.doc.resolve(r),i.depth))
|
|
6673
|
-
const a=
|
|
6678
|
+
const a=Hy(i)
|
|
6674
6679
|
if(null==a)return!1
|
|
6675
6680
|
o.lift(i,a)
|
|
6676
6681
|
let l=o.mapping.map(s,-1)-1
|
|
@@ -6800,9 +6805,9 @@ return o()({editor:e,node:i,getPos:r,decorations:a,HTMLAttributes:l,extension:t}
|
|
|
6800
6805
|
this.editor.extensionStorage[e.name]=e.storage
|
|
6801
6806
|
const n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:IS(e.name,this.schema)}
|
|
6802
6807
|
if("mark"===e.type){(null===(t=$S(bS(e,"keepOnSplit",n)))||void 0===t||t)&&this.splittableMarks.push(e.name)}const i=bS(e,"onBeforeCreate",n),o=bS(e,"onCreate",n),s=bS(e,"onUpdate",n),r=bS(e,"onSelectionUpdate",n),a=bS(e,"onTransaction",n),l=bS(e,"onFocus",n),c=bS(e,"onBlur",n),d=bS(e,"onDestroy",n)
|
|
6803
|
-
i&&this.editor.on("beforeCreate",i),o&&this.editor.on("create",o),s&&this.editor.on("update",s),r&&this.editor.on("selectionUpdate",r),a&&this.editor.on("transaction",a),l&&this.editor.on("focus",l),c&&this.editor.on("blur",c),d&&this.editor.on("destroy",d)}))}}function
|
|
6804
|
-
return
|
|
6805
|
-
return t.parent=this.parent,t.options=
|
|
6808
|
+
i&&this.editor.on("beforeCreate",i),o&&this.editor.on("create",o),s&&this.editor.on("update",s),r&&this.editor.on("selectionUpdate",r),a&&this.editor.on("transaction",a),l&&this.editor.on("focus",l),c&&this.editor.on("blur",c),d&&this.editor.on("destroy",d)}))}}function VS(e){return"Object"===function(e){return Object.prototype.toString.call(e).slice(8,-1)}(e)&&(e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype)}function HS(e,t){const n={...e}
|
|
6809
|
+
return VS(e)&&VS(t)&&Object.keys(t).forEach((i=>{VS(t[i])?i in e?n[i]=HS(e[i],t[i]):Object.assign(n,{[i]:t[i]}):Object.assign(n,{[i]:t[i]})})),n}class BS{constructor(e={}){this.type="extension",this.name="extension",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=$S(bS(this,"addOptions",{name:this.name}))),this.storage=$S(bS(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new BS(e)}configure(e={}){const t=this.extend()
|
|
6810
|
+
return t.parent=this.parent,t.options=HS(this.options,e),t.storage=$S(bS(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new BS({...this.config,...e})
|
|
6806
6811
|
return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=$S(bS(t,"addOptions",{name:t.name})),t.storage=$S(bS(t,"addStorage",{name:t.name,options:t.options})),t}}function qS(e,t,n){const{from:i,to:o}=t,{blockSeparator:s="\n\n",textSerializers:r={}}=n||{}
|
|
6807
6812
|
let a=""
|
|
6808
6813
|
return e.nodesBetween(i,o,((e,n,l,c)=>{var d
|
|
@@ -6886,7 +6891,7 @@ e.isDestroyed||(t.dom.blur(),null===(n=null===window||void 0===window?void 0:win
|
|
|
6886
6891
|
return!n||(o.forEach((({$from:n,$to:i})=>{e.doc.nodesBetween(n.pos,i.pos,((e,n)=>{if(e.type.isText)return
|
|
6887
6892
|
const{doc:i,mapping:o}=t,s=i.resolve(o.map(n)),r=i.resolve(o.map(n+e.nodeSize)),a=s.blockRange(r)
|
|
6888
6893
|
if(!a)return
|
|
6889
|
-
const l=
|
|
6894
|
+
const l=Hy(a)
|
|
6890
6895
|
if(e.type.isTextblock){const{defaultType:e}=s.parent.contentMatchAt(s.index())
|
|
6891
6896
|
t.setNodeMarkup(a.start,e)}(l||0===l)&&t.lift(a,l)}))})),!0)},command:e=>t=>e(t),createParagraphNear:()=>({state:e,dispatch:t})=>((e,t)=>{let n=e.selection,{$from:i,$to:o}=n
|
|
6892
6897
|
if(n instanceof vw||i.parent.inlineContent||o.parent.inlineContent)return!1
|
|
@@ -6940,7 +6945,7 @@ n=i.to}else if(n=Gy(e.doc,i.to,1),null==n)return!1
|
|
|
6940
6945
|
return t&&t(e.tr.join(n).scrollIntoView()),!0})(e,t),joinBackward:()=>({state:e,dispatch:t})=>((e,t,n)=>{let i=tS(e,n)
|
|
6941
6946
|
if(!i)return!1
|
|
6942
6947
|
let o=oS(i)
|
|
6943
|
-
if(!o){let n=i.blockRange(),o=n&&
|
|
6948
|
+
if(!o){let n=i.blockRange(),o=n&&Hy(n)
|
|
6944
6949
|
return null!=o&&(t&&t(e.tr.lift(n,o).scrollIntoView()),!0)}let s=o.nodeBefore
|
|
6945
6950
|
if(!s.type.spec.isolating&&lS(e,o,t))return!0
|
|
6946
6951
|
if(0==i.parent.content.size&&(iS(s,"end")||mw.isSelectable(s))){let n=Zy(e.doc,i.before(),i.after(),Mb.empty)
|
|
@@ -6972,11 +6977,11 @@ else if(/^s(hift)?$/i.test(r))o=!0
|
|
|
6972
6977
|
else{if(!/^mod$/i.test(r))throw new Error(`Unrecognized modifier name: ${r}`)
|
|
6973
6978
|
e$()||o$()?s=!0:i=!0}}return n&&(r=`Alt-${r}`),i&&(r=`Ctrl-${r}`),s&&(r=`Meta-${r}`),o&&(r=`Shift-${r}`),r}(e).split(/-(?!$)/),r=s.find((e=>!["Alt","Ctrl","Meta","Shift"].includes(e))),a=new KeyboardEvent("keydown",{key:"Space"===r?" ":r,altKey:s.includes("Alt"),ctrlKey:s.includes("Ctrl"),metaKey:s.includes("Meta"),shiftKey:s.includes("Shift"),bubbles:!0,cancelable:!0}),l=t.captureTransaction((()=>{n.someProp("handleKeyDown",(e=>e(n,a)))}))
|
|
6974
6979
|
return null==l||l.steps.forEach((e=>{const t=e.map(i.mapping)
|
|
6975
|
-
t&&o&&i.maybeStep(t)})),!0},lift:(e,t={})=>({state:n,dispatch:i})=>!!s$(n,xS(e,n.schema),t)&&((e,t)=>{let{$from:n,$to:i}=e.selection,o=n.blockRange(i),s=o&&
|
|
6980
|
+
t&&o&&i.maybeStep(t)})),!0},lift:(e,t={})=>({state:n,dispatch:i})=>!!s$(n,xS(e,n.schema),t)&&((e,t)=>{let{$from:n,$to:i}=e.selection,o=n.blockRange(i),s=o&&Hy(o)
|
|
6976
6981
|
return null!=s&&(t&&t(e.tr.lift(o,s).scrollIntoView()),!0)})(n,i),liftEmptyBlock:()=>({state:e,dispatch:t})=>((e,t)=>{let{$cursor:n}=e.selection
|
|
6977
6982
|
if(!n||n.parent.content.size)return!1
|
|
6978
6983
|
if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before()
|
|
6979
|
-
if(Uy(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),o=i&&
|
|
6984
|
+
if(Uy(e.doc,i))return t&&t(e.tr.split(i).scrollIntoView()),!0}let i=n.blockRange(),o=i&&Hy(i)
|
|
6980
6985
|
return null!=o&&(t&&t(e.tr.lift(i,o).scrollIntoView()),!0)})(e,t),liftListItem:e=>({state:t,dispatch:n})=>fS(xS(e,t.schema))(t,n),newlineInCode:()=>({state:e,dispatch:t})=>((e,t)=>{let{$head:n,$anchor:i}=e.selection
|
|
6981
6986
|
return!(!n.parent.type.spec.code||!n.sameParent(i)||(t&&t(e.tr.insertText("\n").scrollIntoView()),0))})(e,t),resetAttributes:(e,t)=>({tr:n,state:i,dispatch:o})=>{let s=null,r=null
|
|
6982
6987
|
const a=r$("string"==typeof e?e:e.name,i.schema)
|
|
@@ -7152,13 +7157,13 @@ if(s){const e=s.filter((e=>o.includes(e.type.name)))
|
|
|
7152
7157
|
r.ensureMarks(e)}}if(e.keepAttributes){const t="bulletList"===e.type.name||"orderedList"===e.type.name?"listItem":"taskList"
|
|
7153
7158
|
o().updateAttributes(t,s).run()}const c=r.doc.resolve(n.from-1).nodeBefore
|
|
7154
7159
|
c&&c.type===e.type&&jy(r.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(i,c))&&r.join(n.from-1)}})}class T${constructor(e={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=$S(bS(this,"addOptions",{name:this.name}))),this.storage=$S(bS(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(e={}){return new T$(e)}configure(e={}){const t=this.extend()
|
|
7155
|
-
return t.options=
|
|
7160
|
+
return t.options=HS(this.options,e),t.storage=$S(bS(t,"addStorage",{name:t.name,options:t.options})),t}extend(e={}){const t=new T$({...this.config,...e})
|
|
7156
7161
|
return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${t.name}".`),t.options=$S(bS(t,"addOptions",{name:t.name})),t.storage=$S(bS(t,"addStorage",{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){const{tr:n}=e.state,i=e.state.selection.$from
|
|
7157
7162
|
if(i.pos===i.end()){const o=i.marks()
|
|
7158
7163
|
if(!!!o.find((e=>(null==e?void 0:e.type.name)===t.name)))return!1
|
|
7159
7164
|
const s=o.find((e=>(null==e?void 0:e.type.name)===t.name))
|
|
7160
7165
|
return s&&n.removeStoredMark(s),n.insertText(" ",i.pos),e.view.dispatch(n),!0}return!1}}let A$=class e{constructor(e={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=$S(bS(this,"addOptions",{name:this.name}))),this.storage=$S(bS(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new e(t)}configure(e={}){const t=this.extend()
|
|
7161
|
-
return t.options=
|
|
7166
|
+
return t.options=HS(this.options,e),t.storage=$S(bS(t,"addStorage",{name:t.name,options:t.options})),t}extend(t={}){const n=new e({...this.config,...t})
|
|
7162
7167
|
return n.parent=this,this.child=n,n.name=t.name?t.name:n.parent.name,t.defaultOptions&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`),n.options=$S(bS(n,"addOptions",{name:n.name})),n.storage=$S(bS(n,"addStorage",{name:n.name,options:n.options})),n}}
|
|
7163
7168
|
function D$(e){return new NS({find:e.find,handler:({state:t,range:n,match:i,pasteEvent:o})=>{const s=$S(e.getAttributes,void 0,i,o)
|
|
7164
7169
|
if(!1===s||null===s)return null
|
|
@@ -7220,7 +7225,7 @@ const F$=class extends uo{}.compose({baseName:"toolbar",baseClass:uo,template:(e
|
|
|
7220
7225
|
</template>
|
|
7221
7226
|
`,styles:R$,shadowOptions:{delegatesFocus:!0}})
|
|
7222
7227
|
yi.getOrCreate().withPrefix("nimble").register(F$())
|
|
7223
|
-
const N$="nimble-toolbar",P$="Bold",L$="Italics",z$="Bulleted List",
|
|
7228
|
+
const N$="nimble-toolbar",P$="Bold",L$="Italics",z$="Bulleted List",V$="Numbered List",H$=pi.create({name:"rich-text-toggle-bold-label",cssCustomPropertyName:null}).withDefault(P$),B$=pi.create({name:"rich-text-toggle-italics-label",cssCustomPropertyName:null}).withDefault(L$),q$=pi.create({name:"rich-text-toggle-bulleted-list-label",cssCustomPropertyName:null}).withDefault(z$),U$=pi.create({name:"rich-text-toggle-numbered-list-label",cssCustomPropertyName:null}).withDefault(V$),j$=xe`
|
|
7224
7229
|
${ug}
|
|
7225
7230
|
|
|
7226
7231
|
:host {
|
|
@@ -7297,12 +7302,12 @@ const X$="nimble-rich-text-mention-listbox",Y$=G`
|
|
|
7297
7302
|
content-hidden
|
|
7298
7303
|
?disabled="${e=>e.disabled}"
|
|
7299
7304
|
slot="start"
|
|
7300
|
-
title=${e=>
|
|
7305
|
+
title=${e=>H$.getValueFor(e)}
|
|
7301
7306
|
@click=${e=>e.boldButtonClick()}
|
|
7302
7307
|
@change=${(e,t)=>e.stopEventPropagation(t.event)}
|
|
7303
7308
|
@keydown=${(e,t)=>e.boldButtonKeyDown(t.event)}
|
|
7304
7309
|
>
|
|
7305
|
-
${e=>
|
|
7310
|
+
${e=>H$.getValueFor(e)}
|
|
7306
7311
|
<${Ng} slot="start"></${Ng}>
|
|
7307
7312
|
</${sg}>
|
|
7308
7313
|
<${sg}
|
|
@@ -7345,7 +7350,7 @@ const X$="nimble-rich-text-mention-listbox",Y$=G`
|
|
|
7345
7350
|
@keydown=${(e,t)=>e.numberedListButtonKeyDown(t.event)}
|
|
7346
7351
|
>
|
|
7347
7352
|
${e=>U$.getValueFor(e)}
|
|
7348
|
-
<${
|
|
7353
|
+
<${Hg} slot="start"></${Hg}>
|
|
7349
7354
|
</${sg}>
|
|
7350
7355
|
${Ge((e=>e.getMentionExtensionConfig()),G`
|
|
7351
7356
|
<${Fh}
|
|
@@ -7698,7 +7703,7 @@ return this.emitCodePoint(function(e){var t
|
|
|
7698
7703
|
return e>=55296&&e<=57343||e>1114111?65533:null!==(t=TM.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==DM.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this
|
|
7699
7704
|
let i=n[this.treeIndex],o=(i&OM.VALUE_LENGTH)>>14
|
|
7700
7705
|
for(;t<e.length;t++,this.excess++){const s=e.charCodeAt(t)
|
|
7701
|
-
if(this.treeIndex=
|
|
7706
|
+
if(this.treeIndex=HM(n,i,this.treeIndex+Math.max(1,o),s),this.treeIndex<0)return 0===this.result||this.decodeMode===FM.Attribute&&(0===o||LM(s))?0:this.emitNotTerminatedNamedEntity()
|
|
7702
7707
|
if(i=n[this.treeIndex],o=(i&OM.VALUE_LENGTH)>>14,0!==o){if(s===DM.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess)
|
|
7703
7708
|
this.decodeMode!==FM.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e
|
|
7704
7709
|
const{result:t,decodeTree:n}=this,i=(n[t]&OM.VALUE_LENGTH)>>14
|
|
@@ -7708,22 +7713,22 @@ switch(this.state){case RM.NamedEntity:return 0===this.result||this.decodeMode==
|
|
|
7708
7713
|
case RM.NumericDecimal:return this.emitNumericEntity(0,2)
|
|
7709
7714
|
case RM.NumericHex:return this.emitNumericEntity(0,3)
|
|
7710
7715
|
case RM.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0
|
|
7711
|
-
case RM.EntityStart:return 0}}}function
|
|
7716
|
+
case RM.EntityStart:return 0}}}function VM(e){let t=""
|
|
7712
7717
|
const n=new zM(e,(e=>t+=AM(e)))
|
|
7713
7718
|
return function(e,i){let o=0,s=0
|
|
7714
7719
|
for(;(s=e.indexOf("&",s))>=0;){t+=e.slice(o,s),n.startEntity(i)
|
|
7715
7720
|
const r=n.write(e,s+1)
|
|
7716
7721
|
if(r<0){o=s+n.end()
|
|
7717
7722
|
break}o=s+r,s=0===r?o+1:o}const r=t+e.slice(o)
|
|
7718
|
-
return t="",r}}function
|
|
7723
|
+
return t="",r}}function HM(e,t,n,i){const o=(t&OM.BRANCH_LENGTH)>>7,s=t&OM.JUMP_TABLE
|
|
7719
7724
|
if(0===o)return 0!==s&&i===s?n:-1
|
|
7720
7725
|
if(s){const t=i-s
|
|
7721
7726
|
return t<0||t>=o?-1:e[n+t]-1}let r=n,a=r+o-1
|
|
7722
7727
|
for(;r<=a;){const t=r+a>>>1,n=e[t]
|
|
7723
7728
|
if(n<i)r=t+1
|
|
7724
7729
|
else{if(!(n>i))return e[t+o]
|
|
7725
|
-
a=t-1}}return-1}const BM=
|
|
7726
|
-
function qM(e,t=FM.Legacy){return BM(e,t)}function UM(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}
|
|
7730
|
+
a=t-1}}return-1}const BM=VM(IM)
|
|
7731
|
+
function qM(e,t=FM.Legacy){return BM(e,t)}function UM(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)}VM(_M)
|
|
7727
7732
|
const jM=Object.prototype.hasOwnProperty
|
|
7728
7733
|
function WM(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object")
|
|
7729
7734
|
Object.keys(t).forEach((function(n){e[n]=t[n]}))}})),e}function GM(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function ZM(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function KM(e){if(e>65535){const t=55296+((e-=65536)>>10),n=56320+(1023&e)
|
|
@@ -7905,14 +7910,14 @@ return t.push(a+e.substring(r)),t}function zE(e,t){const n=e.eMarks[t]
|
|
|
7905
7910
|
let i=e.bMarks[t]+e.tShift[t]
|
|
7906
7911
|
const o=e.src.charCodeAt(i++)
|
|
7907
7912
|
if(42!==o&&45!==o&&43!==o)return-1
|
|
7908
|
-
if(i<n){if(!rE(e.src.charCodeAt(i)))return-1}return i}function
|
|
7913
|
+
if(i<n){if(!rE(e.src.charCodeAt(i)))return-1}return i}function VE(e,t){const n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t]
|
|
7909
7914
|
let o=n
|
|
7910
7915
|
if(o+1>=i)return-1
|
|
7911
7916
|
let s=e.src.charCodeAt(o++)
|
|
7912
7917
|
if(s<48||s>57)return-1
|
|
7913
7918
|
for(;;){if(o>=i)return-1
|
|
7914
7919
|
if(s=e.src.charCodeAt(o++),!(s>=48&&s<=57)){if(41===s||46===s)break
|
|
7915
|
-
return-1}if(o-n>=10)return-1}return o<i&&(s=e.src.charCodeAt(o),!rE(s))?-1:o}const
|
|
7920
|
+
return-1}if(o-n>=10)return-1}return o<i&&(s=e.src.charCodeAt(o),!rE(s))?-1:o}const HE="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",BE="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",qE=new RegExp("^(?:"+HE+"|"+BE+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),UE=new RegExp("^(?:"+HE+"|"+BE+")"),jE=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(UE.source+"\\s*$"),/^$/,!1]]
|
|
7916
7921
|
const WE=[["table",function(e,t,n,i){if(t+2>n)return!1
|
|
7917
7922
|
let o=t+1
|
|
7918
7923
|
if(e.sCount[o]<e.blkIndent)return!1
|
|
@@ -8023,7 +8028,7 @@ return l.map=[t,e.line],l.markup=Array(a+1).join(String.fromCharCode(r)),!0},["p
|
|
|
8023
8028
|
if(e.sCount[l]-e.blkIndent>=4)return!1
|
|
8024
8029
|
if(e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]<e.blkIndent)return!1
|
|
8025
8030
|
let d,h,u,p=!1
|
|
8026
|
-
if(i&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(p=!0),(u=
|
|
8031
|
+
if(i&&"paragraph"===e.parentType&&e.sCount[l]>=e.blkIndent&&(p=!0),(u=VE(e,l))>=0){if(d=!0,r=e.bMarks[l]+e.tShift[l],h=Number(e.src.slice(r,u-1)),p&&1!==h)return!1}else{if(!((u=zE(e,l))>=0))return!1
|
|
8027
8032
|
d=!1}if(p&&e.skipSpaces(u)>=e.eMarks[l])return!1
|
|
8028
8033
|
if(i)return!0
|
|
8029
8034
|
const f=e.src.charCodeAt(u-1),m=e.tokens.length
|
|
@@ -8052,7 +8057,7 @@ if(e.sCount[l]-e.blkIndent>=4)break
|
|
|
8052
8057
|
let k=!1
|
|
8053
8058
|
for(let t=0,i=b.length;t<i;t++)if(b[t](e,l,n,!0)){k=!0
|
|
8054
8059
|
break}if(k)break
|
|
8055
|
-
if(d){if(u=
|
|
8060
|
+
if(d){if(u=VE(e,l),u<0)break
|
|
8056
8061
|
r=e.bMarks[l]+e.tShift[l]}else if(u=zE(e,l),u<0)break
|
|
8057
8062
|
if(f!==e.src.charCodeAt(u-1))break}return a=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1),a.markup=String.fromCharCode(f),g[1]=l,e.line=l,e.parentType=y,c&&function(e,t){const n=e.level+2
|
|
8058
8063
|
for(let i=t+2,o=e.tokens.length-2;i<o;i++)e.tokens[i].level===n&&"paragraph_open"===e.tokens[i].type&&(e.tokens[i+2].hidden=!0,e.tokens[i].hidden=!0,i+=2)}(e,m),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,n,i){let o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],r=t+1
|
|
@@ -8433,13 +8438,13 @@ for(let n=kI;;n+=kI){const i=n<=s?1:n>=s+26?26:n-s
|
|
|
8433
8438
|
if(e<i)break
|
|
8434
8439
|
const o=e-i,r=kI-i
|
|
8435
8440
|
t.push(_I(OI(i+o%r,0))),e=II(o/r)}t.push(_I(OI(e,0))),s=RI(o,l,a===r),o=0,++a}++o,++i}return t.join("")},PI={version:"2.3.1",ucs2:{decode:DI,encode:e=>String.fromCodePoint(...e)},decode:FI,encode:NI,toASCII:function(e){return AI(e,(function(e){return $I.test(e)?"xn--"+NI(e):e}))},toUnicode:function(e){return AI(e,(function(e){return SI.test(e)?FI(e.slice(4).toLowerCase()):e}))}}
|
|
8436
|
-
const LI={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},zI=/^(vbscript|javascript|file|data):/,
|
|
8437
|
-
function
|
|
8438
|
-
return!zI.test(t)||
|
|
8441
|
+
const LI={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},zI=/^(vbscript|javascript|file|data):/,VI=/^data:image\/(gif|png|jpeg|webp);/
|
|
8442
|
+
function HI(e){const t=e.trim().toLowerCase()
|
|
8443
|
+
return!zI.test(t)||VI.test(t)}const BI=["http:","https:","mailto:"]
|
|
8439
8444
|
function qI(e){const t=yM(e,!0)
|
|
8440
8445
|
if(t.hostname&&(!t.protocol||BI.indexOf(t.protocol)>=0))try{t.hostname=PI.toASCII(t.hostname)}catch(e){}return sM(rM(t))}function UI(e){const t=yM(e,!0)
|
|
8441
8446
|
if(t.hostname&&(!t.protocol||BI.indexOf(t.protocol)>=0))try{t.hostname=PI.toUnicode(t.hostname)}catch(e){}return iM(rM(t),iM.defaultChars+"%")}function jI(e,t){if(!(this instanceof jI))return new jI(e,t)
|
|
8442
|
-
t||UM(e)||(t=e||{},e="default"),this.inline=new cI,this.block=new GE,this.core=new FE,this.renderer=new mE,this.linkify=new xI,this.validateLink=
|
|
8447
|
+
t||UM(e)||(t=e||{},e="default"),this.inline=new cI,this.block=new GE,this.core=new FE,this.renderer=new mE,this.linkify=new xI,this.validateLink=HI,this.normalizeLink=qI,this.normalizeLinkText=UI,this.utils=uE,this.helpers=WM({},pE),this.options={},this.configure(e),t&&this.set(t)}jI.prototype.set=function(e){return WM(this.options,e),this},jI.prototype.configure=function(e){const t=this
|
|
8443
8448
|
if(UM(e)){const t=e
|
|
8444
8449
|
if(!(e=LI[t]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty")
|
|
8445
8450
|
return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach((function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)})),this},jI.prototype.enable=function(e,t){let n=[]
|
|
@@ -8536,7 +8541,7 @@ return`${e.repeat(" ",i-o.length)+o}. `}))},doc:i_.nodes.doc,paragraph:i_.nodes.
|
|
|
8536
8541
|
e.forEach((e=>{n[e]=t}))
|
|
8537
8542
|
const i={italic:i_.marks.em,bold:i_.marks.strong,link:{open:"<",close:">",escape:!1,expelEnclosingWhitespace:!0}}
|
|
8538
8543
|
return new n_(n,i)}}class c_{constructor(e,t){this.iconTemplate=G`<${e.icon} slot="start"></${e.icon}>`,this.character=e.character,this.viewElement=e.viewElement,this.validator=e.validator,this.mentionUpdateEmitter=t}}e([g],c_.prototype,"mappingConfigs",void 0),e([g],c_.prototype,"pattern",void 0),e([g],c_.prototype,"buttonLabel",void 0)
|
|
8539
|
-
class d_ extends
|
|
8544
|
+
class d_ extends Vt{constructor(){super(...arguments),this.mentionInternals=new c_(this.getMentionInternalsOptions(),(e=>{this.emitMentionUpdate(e)})),this.mappingNotifiers=[],this.mappingElements=[]}checkValidity(){return this.mentionInternals.validator.isValid()}get validity(){return this.mentionInternals.validator.getValidity()}emitMentionUpdate(e){const t={filter:e}
|
|
8540
8545
|
this.$emit("mention-update",t)}handleChange(e,t){e instanceof zv&&"string"==typeof t&&this.getObservedMappingProperty().includes(t)&&this.updateMappingConfigs()}getMappingConfigs(){const e=new Map
|
|
8541
8546
|
return this.mappingElements.forEach((t=>{const n=t.key??void 0
|
|
8542
8547
|
if(void 0===n||"string"!=typeof n)throw Error("mentionHref was invalid for type. Validation should have prevented this.")
|
|
@@ -8553,7 +8558,7 @@ case"pattern":this.track("pattern")
|
|
|
8553
8558
|
break
|
|
8554
8559
|
case"buttonLabel":this.track("buttonLabel")}this.queueUpdate()}trackMentionElementsInstancesChanged(){this.track("pattern"),this.track("mappingConfigs"),this.track("buttonLabel"),this.queueUpdate()}queueUpdate(){this.richText.$fastController.isConnected&&(this.updateQueued||(this.updateQueued=!0,u.queueUpdate((()=>{this.richText.createConfig(),this.untrackAll(),this.updateQueued=!1}))))}}class v_{constructor(){this.invalidMentionConfiguration=!1,this.duplicateMentionConfiguration=!1}getValidity(){return{invalidMentionConfiguration:this.invalidMentionConfiguration,duplicateMentionConfiguration:this.duplicateMentionConfiguration}}isValid(){return Object.values(this.getValidity()).every((e=>!1===e))}validate(e){this.validateDuplicateMentionConfigurations(e),this.validateMentionConfigurations(e)}validateMentionConfigurations(e){return this.invalidMentionConfiguration=e.some((e=>!e.mentionInternals.validator.isValid())),!this.invalidMentionConfiguration}validateDuplicateMentionConfigurations(e){const t=e.map((e=>e.mentionInternals.character))
|
|
8555
8560
|
return this.duplicateMentionConfiguration=t.length!==new Set(t).size,!this.duplicateMentionConfiguration}}async function b_(e){const t=e.map((async e=>e.matches(":not(:defined)")?customElements.whenDefined(e.localName):Promise.resolve()))
|
|
8556
|
-
await Promise.all(t)}class y_ extends
|
|
8561
|
+
await Promise.all(t)}class y_ extends Vt{constructor(){super(...arguments),this.mentionInternalsNotifiers=[],this.childItems=[],this.richTextUpdateTracker=new g_(this),this.richTextValidator=new v_}get validity(){return this.richTextValidator.getValidity()}checkValidity(){return this.richTextValidator.isValid()}handleChange(e,t){e instanceof c_&&"string"==typeof t&&this.richTextUpdateTracker.trackMentionInternalsPropertyChanged(t)}createConfig(){this.validate(),this.richTextValidator.isValid()?(this.richTextUpdateTracker.updateMappingConfigs||this.richTextUpdateTracker.updatePattern)&&(this.configuration=new u_(this.mentionElements)):this.configuration=void 0}validate(){this.richTextValidator.validate(this.mentionElements)}childItemsChanged(e,t){void 0!==e&&this.updateMentionElementsFromChildItems()}async updateMentionElementsFromChildItems(){await b_(this.childItems),this.mentionElements=this.childItems.filter((e=>e instanceof d_)),this.observeMentionInternals(),this.richTextUpdateTracker.trackMentionElementsInstancesChanged()}observeMentionInternals(){this.removeMentionInternalsObservers()
|
|
8557
8562
|
for(const e of this.mentionElements){const t=m.getNotifier(e.mentionInternals)
|
|
8558
8563
|
t.subscribe(this),this.mentionInternalsNotifiers.push(t)}}removeMentionInternalsObservers(){this.mentionInternalsNotifiers.forEach((e=>{e.unsubscribe(this)})),this.mentionInternalsNotifiers=[]}}e([g],y_.prototype,"childItems",void 0),e([g],y_.prototype,"configuration",void 0)
|
|
8559
8564
|
const w_=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,x_=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,C_=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,k_=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,S_=T$.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"strong"},{tag:"b",getAttrs:e=>"normal"!==e.style.fontWeight&&null},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}],renderHTML({HTMLAttributes:e}){return["strong",CS(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[I$({find:w_,type:this.type}),I$({find:C_,type:this.type})]},addPasteRules(){return[D$({find:x_,type:this.type}),D$({find:k_,type:this.type})]}}),$_=A$.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:e}){return["li",CS(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),M_=T$.create({name:"textStyle",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:e=>!!e.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:e}){return["span",CS(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:e,commands:t})=>{const n=c$(e,this.type)
|
|
@@ -8614,11 +8619,11 @@ function L_(e){let t=[]
|
|
|
8614
8619
|
return e.forEach(((e,n,i,o)=>t.push(i,o))),t}function z_(e,t){if(!e)return null
|
|
8615
8620
|
let n=[]
|
|
8616
8621
|
for(let i=0;i<e.length;i+=2){let o=t.map(e[i],1),s=t.map(e[i+1],-1)
|
|
8617
|
-
o<=s&&n.push(o,s)}return n}let
|
|
8622
|
+
o<=s&&n.push(o,s)}return n}let V_=!1,H_=null
|
|
8618
8623
|
function B_(e){let t=e.plugins
|
|
8619
|
-
if(
|
|
8620
|
-
for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){
|
|
8621
|
-
break}}return
|
|
8624
|
+
if(H_!=t){V_=!1,H_=t
|
|
8625
|
+
for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){V_=!0
|
|
8626
|
+
break}}return V_}const q_=new Aw("history"),U_=new Aw("closeHistory")
|
|
8622
8627
|
function j_(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new Iw({key:q_,state:{init:()=>new N_(R_.empty,R_.empty,null,0,-1),apply:(t,n,i)=>function(e,t,n,i){let o,s=n.getMeta(q_)
|
|
8623
8628
|
if(s)return s.historyState
|
|
8624
8629
|
n.getMeta(U_)&&(e=new N_(e.done,e.undone,null,0,-1))
|
|
@@ -8659,8 +8664,8 @@ for(const i in t)t[i].indexOf(e)>=0&&(n[i]=!0)
|
|
|
8659
8664
|
return n}(r.t,i),n)
|
|
8660
8665
|
mT(s,e,i)}else n&&mT(s,n,i)
|
|
8661
8666
|
r.t=s}return o.j[e]=r,r}}
|
|
8662
|
-
const vT=(e,t,n,i,o)=>e.ta(t,n,i,o),bT=(e,t,n,i,o)=>e.tr(t,n,i,o),yT=(e,t,n,i,o)=>e.ts(t,n,i,o),wT=(e,t,n,i,o)=>e.tt(t,n,i,o),xT="WORD",CT="UWORD",kT="LOCALHOST",ST="TLD",$T="UTLD",MT="SCHEME",ET="SLASH_SCHEME",IT="NUM",_T="WS",TT="NL",AT="OPENBRACE",DT="CLOSEBRACE",OT="OPENBRACKET",RT="CLOSEBRACKET",FT="OPENPAREN",NT="CLOSEPAREN",PT="OPENANGLEBRACKET",LT="CLOSEANGLEBRACKET",zT="FULLWIDTHLEFTPAREN",
|
|
8663
|
-
var yA=Object.freeze({__proto__:null,WORD:xT,UWORD:CT,LOCALHOST:kT,TLD:ST,UTLD:$T,SCHEME:MT,SLASH_SCHEME:ET,NUM:IT,WS:_T,NL:TT,OPENBRACE:AT,CLOSEBRACE:DT,OPENBRACKET:OT,CLOSEBRACKET:RT,OPENPAREN:FT,CLOSEPAREN:NT,OPENANGLEBRACKET:PT,CLOSEANGLEBRACKET:LT,FULLWIDTHLEFTPAREN:zT,FULLWIDTHRIGHTPAREN:
|
|
8667
|
+
const vT=(e,t,n,i,o)=>e.ta(t,n,i,o),bT=(e,t,n,i,o)=>e.tr(t,n,i,o),yT=(e,t,n,i,o)=>e.ts(t,n,i,o),wT=(e,t,n,i,o)=>e.tt(t,n,i,o),xT="WORD",CT="UWORD",kT="LOCALHOST",ST="TLD",$T="UTLD",MT="SCHEME",ET="SLASH_SCHEME",IT="NUM",_T="WS",TT="NL",AT="OPENBRACE",DT="CLOSEBRACE",OT="OPENBRACKET",RT="CLOSEBRACKET",FT="OPENPAREN",NT="CLOSEPAREN",PT="OPENANGLEBRACKET",LT="CLOSEANGLEBRACKET",zT="FULLWIDTHLEFTPAREN",VT="FULLWIDTHRIGHTPAREN",HT="LEFTCORNERBRACKET",BT="RIGHTCORNERBRACKET",qT="LEFTWHITECORNERBRACKET",UT="RIGHTWHITECORNERBRACKET",jT="FULLWIDTHLESSTHAN",WT="FULLWIDTHGREATERTHAN",GT="AMPERSAND",ZT="APOSTROPHE",KT="ASTERISK",XT="AT",YT="BACKSLASH",JT="BACKTICK",QT="CARET",eA="COLON",tA="COMMA",nA="DOLLAR",iA="DOT",oA="EQUALS",sA="EXCLAMATION",rA="HYPHEN",aA="PERCENT",lA="PIPE",cA="PLUS",dA="POUND",hA="QUERY",uA="QUOTE",pA="SEMI",fA="SLASH",mA="TILDE",gA="UNDERSCORE",vA="EMOJI",bA="SYM"
|
|
8668
|
+
var yA=Object.freeze({__proto__:null,WORD:xT,UWORD:CT,LOCALHOST:kT,TLD:ST,UTLD:$T,SCHEME:MT,SLASH_SCHEME:ET,NUM:IT,WS:_T,NL:TT,OPENBRACE:AT,CLOSEBRACE:DT,OPENBRACKET:OT,CLOSEBRACKET:RT,OPENPAREN:FT,CLOSEPAREN:NT,OPENANGLEBRACKET:PT,CLOSEANGLEBRACKET:LT,FULLWIDTHLEFTPAREN:zT,FULLWIDTHRIGHTPAREN:VT,LEFTCORNERBRACKET:HT,RIGHTCORNERBRACKET:BT,LEFTWHITECORNERBRACKET:qT,RIGHTWHITECORNERBRACKET:UT,FULLWIDTHLESSTHAN:jT,FULLWIDTHGREATERTHAN:WT,AMPERSAND:GT,APOSTROPHE:ZT,ASTERISK:KT,AT:XT,BACKSLASH:YT,BACKTICK:JT,CARET:QT,COLON:eA,COMMA:tA,DOLLAR:nA,DOT:iA,EQUALS:oA,EXCLAMATION:sA,HYPHEN:rA,PERCENT:aA,PIPE:lA,PLUS:cA,POUND:dA,QUERY:hA,QUOTE:uA,SEMI:pA,SLASH:fA,TILDE:mA,UNDERSCORE:gA,EMOJI:vA,SYM:bA})
|
|
8664
8669
|
const wA=/[a-z]/,xA=/\p{L}/u,CA=/\p{Emoji}/u,kA=/\d/,SA=/\s/,$A="\n",MA="️",EA=""
|
|
8665
8670
|
let IA=null,_A=null
|
|
8666
8671
|
function TA(e,t,n,i,o){let s
|
|
@@ -8686,8 +8691,8 @@ return"function"==typeof i&&null!=t&&(i=i(t,n.t,n)),i},render(e){const t=e.rende
|
|
|
8686
8691
|
return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},FA.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),i=e.get("format",t,this)
|
|
8687
8692
|
return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=DA.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),i=e.get("formatHref",n,this),o=e.get("tagName",n,t),s=this.toFormattedString(e),r={},a=e.get("className",n,t),l=e.get("target",n,t),c=e.get("rel",n,t),d=e.getObj("attributes",n,t),h=e.getObj("events",n,t)
|
|
8688
8693
|
return r.href=i,a&&(r.class=a),l&&(r.target=l),c&&(r.rel=c),d&&iT(r,d),{tagName:o,attributes:r,content:s,eventListeners:h}}}
|
|
8689
|
-
const PA=NA("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),LA=NA("text"),zA=NA("nl"),
|
|
8690
|
-
return e.length>=2&&e[0].t!==kT&&e[1].t===eA}}),
|
|
8694
|
+
const PA=NA("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),LA=NA("text"),zA=NA("nl"),VA=NA("url",{isLink:!0,toHref(e){return void 0===e&&(e=DA.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk
|
|
8695
|
+
return e.length>=2&&e[0].t!==kT&&e[1].t===eA}}),HA=e=>new gT(e)
|
|
8691
8696
|
function BA(e,t,n){const i=n[0].s,o=n[n.length-1].e
|
|
8692
8697
|
return new e(t.slice(i,o),n)}const qA="undefined"!=typeof console&&console&&console.warn||(()=>{}),UA={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1}
|
|
8693
8698
|
function jA(e,t){if(void 0===t&&(t=!1),UA.initialized&&qA(`linkifyjs: already initialized - will not register custom scheme "${e}" until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error('linkifyjs: incorrect scheme format.\n1. Must only contain digits, lowercase ASCII letters or "-"\n2. Cannot start or end with "-"\n3. "-" cannot repeat')
|
|
@@ -8695,7 +8700,7 @@ UA.customSchemes.push([e,t])}function WA(){UA.scanner=function(e){void 0===e&&(e
|
|
|
8695
8700
|
const t={}
|
|
8696
8701
|
gT.groups=t
|
|
8697
8702
|
const n=new gT
|
|
8698
|
-
null==IA&&(IA=AA(tT)),null==_A&&(_A=AA(nT)),wT(n,"'",ZT),wT(n,"{",AT),wT(n,"}",DT),wT(n,"[",OT),wT(n,"]",RT),wT(n,"(",FT),wT(n,")",NT),wT(n,"<",PT),wT(n,">",LT),wT(n,"(",zT),wT(n,")",
|
|
8703
|
+
null==IA&&(IA=AA(tT)),null==_A&&(_A=AA(nT)),wT(n,"'",ZT),wT(n,"{",AT),wT(n,"}",DT),wT(n,"[",OT),wT(n,"]",RT),wT(n,"(",FT),wT(n,")",NT),wT(n,"<",PT),wT(n,">",LT),wT(n,"(",zT),wT(n,")",VT),wT(n,"「",HT),wT(n,"」",BT),wT(n,"『",qT),wT(n,"』",UT),wT(n,"<",jT),wT(n,">",WT),wT(n,"&",GT),wT(n,"*",KT),wT(n,"@",XT),wT(n,"`",JT),wT(n,"^",QT),wT(n,":",eA),wT(n,",",tA),wT(n,"$",nA),wT(n,".",iA),wT(n,"=",oA),wT(n,"!",sA),wT(n,"-",rA),wT(n,"%",aA),wT(n,"|",lA),wT(n,"+",cA),wT(n,"#",dA),wT(n,"?",hA),wT(n,'"',uA),wT(n,"/",fA),wT(n,";",pA),wT(n,"~",mA),wT(n,"_",gA),wT(n,"\\",YT)
|
|
8699
8704
|
const i=bT(n,kA,IT,{[oT]:!0})
|
|
8700
8705
|
bT(i,kA,i)
|
|
8701
8706
|
const o=bT(n,wA,xT,{[sT]:!0})
|
|
@@ -8716,19 +8721,19 @@ for(let t=0;t<e.length;t++){const i=e[t][0],o=e[t][1]?{[hT]:!0}:{[uT]:!0}
|
|
|
8716
8721
|
i.indexOf("-")>=0?o[cT]=!0:wA.test(i)?kA.test(i)?o[aT]=!0:o[sT]=!0:o[oT]=!0,yT(n,i,i,o)}return yT(n,"localhost",kT,{ascii:!0}),n.jd=new gT(bA),{start:n,tokens:iT({groups:t},yA)}}(UA.customSchemes)
|
|
8717
8722
|
for(let e=0;e<UA.tokenQueue.length;e++)UA.tokenQueue[e][1]({scanner:UA.scanner})
|
|
8718
8723
|
UA.parser=function(e){let{groups:t}=e
|
|
8719
|
-
const n=t.domain.concat([GT,KT,XT,YT,JT,QT,nA,oA,rA,IT,aA,lA,cA,dA,fA,bA,mA,gA]),i=[ZT,eA,tA,iA,sA,hA,uA,pA,PT,LT,AT,DT,RT,OT,FT,NT,zT,HT,
|
|
8724
|
+
const n=t.domain.concat([GT,KT,XT,YT,JT,QT,nA,oA,rA,IT,aA,lA,cA,dA,fA,bA,mA,gA]),i=[ZT,eA,tA,iA,sA,hA,uA,pA,PT,LT,AT,DT,RT,OT,FT,NT,zT,VT,HT,BT,qT,UT,jT,WT],o=[GT,ZT,KT,YT,JT,QT,nA,oA,rA,AT,DT,aA,lA,cA,dA,hA,fA,bA,mA,gA],s=HA(),r=wT(s,mA)
|
|
8720
8725
|
vT(r,o,r),vT(r,t.domain,r)
|
|
8721
|
-
const a=
|
|
8726
|
+
const a=HA(),l=HA(),c=HA()
|
|
8722
8727
|
vT(s,t.domain,a),vT(s,t.scheme,l),vT(s,t.slashscheme,c),vT(a,o,r),vT(a,t.domain,a)
|
|
8723
8728
|
const d=wT(a,XT)
|
|
8724
8729
|
wT(r,XT,d),wT(l,XT,d),wT(c,XT,d)
|
|
8725
8730
|
const h=wT(r,iA)
|
|
8726
8731
|
vT(h,o,r),vT(h,t.domain,r)
|
|
8727
|
-
const u=
|
|
8732
|
+
const u=HA()
|
|
8728
8733
|
vT(d,t.domain,u),vT(u,t.domain,u)
|
|
8729
8734
|
const p=wT(u,iA)
|
|
8730
8735
|
vT(p,t.domain,u)
|
|
8731
|
-
const f=
|
|
8736
|
+
const f=HA(PA)
|
|
8732
8737
|
vT(p,t.tld,f),vT(p,t.utld,f),wT(d,kT,f)
|
|
8733
8738
|
const m=wT(u,rA)
|
|
8734
8739
|
vT(m,t.domain,u),vT(f,t.domain,u),wT(f,iA,p),wT(f,rA,m)
|
|
@@ -8736,20 +8741,20 @@ const g=wT(f,eA)
|
|
|
8736
8741
|
vT(g,t.numeric,PA)
|
|
8737
8742
|
const v=wT(a,rA),b=wT(a,iA)
|
|
8738
8743
|
vT(v,t.domain,a),vT(b,o,r),vT(b,t.domain,a)
|
|
8739
|
-
const y=VA
|
|
8744
|
+
const y=HA(VA)
|
|
8740
8745
|
vT(b,t.tld,y),vT(b,t.utld,y),vT(y,t.domain,a),vT(y,o,r),wT(y,iA,b),wT(y,rA,v),wT(y,XT,d)
|
|
8741
|
-
const w=wT(y,eA),x=VA
|
|
8746
|
+
const w=wT(y,eA),x=HA(VA)
|
|
8742
8747
|
vT(w,t.numeric,x)
|
|
8743
|
-
const C=VA
|
|
8748
|
+
const C=HA(VA),k=HA()
|
|
8744
8749
|
vT(C,n,C),vT(C,i,k),vT(k,n,C),vT(k,i,k),wT(y,fA,C),wT(x,fA,C)
|
|
8745
8750
|
const S=wT(l,eA),$=wT(c,eA),M=wT($,fA),E=wT(M,fA)
|
|
8746
8751
|
vT(l,t.domain,a),wT(l,iA,b),wT(l,rA,v),vT(c,t.domain,a),wT(c,iA,b),wT(c,rA,v),vT(S,t.domain,C),wT(S,fA,C),vT(E,t.domain,C),vT(E,n,C),wT(E,fA,C)
|
|
8747
|
-
const I=[[AT,DT],[OT,RT],[FT,NT],[PT,LT],[zT,
|
|
8752
|
+
const I=[[AT,DT],[OT,RT],[FT,NT],[PT,LT],[zT,VT],[HT,BT],[qT,UT],[jT,WT]]
|
|
8748
8753
|
for(let e=0;e<I.length;e++){const[t,o]=I[e],s=wT(C,t)
|
|
8749
8754
|
wT(k,t,s),wT(s,o,C)
|
|
8750
|
-
const r=VA
|
|
8755
|
+
const r=HA(VA)
|
|
8751
8756
|
vT(s,n,r)
|
|
8752
|
-
const a=
|
|
8757
|
+
const a=HA()
|
|
8753
8758
|
vT(s,i),vT(r,n,r),vT(r,i,a),vT(a,n,r),vT(a,i,a),wT(r,o,C),wT(a,o,C)}return wT(s,kT,y),wT(s,TT,zA),{start:s,tokens:yA}}(UA.scanner.tokens)
|
|
8754
8759
|
for(let e=0;e<UA.pluginQueue.length;e++)UA.pluginQueue[e][1]({scanner:UA.scanner,parser:UA.parser})
|
|
8755
8760
|
UA.initialized=!0}function GA(e){return UA.initialized||WA(),function(e,t,n){let i=n.length,o=0,s=[],r=[]
|
|
@@ -9272,7 +9277,7 @@ const xD=xe`
|
|
|
9272
9277
|
</div>
|
|
9273
9278
|
</template>
|
|
9274
9279
|
`,SD={default:void 0,accent:"accent"}
|
|
9275
|
-
class $D extends
|
|
9280
|
+
class $D extends Vt{constructor(){super(...arguments),this.appearance=SD.default}}e([le],$D.prototype,"appearance",void 0)
|
|
9276
9281
|
const MD=$D.compose({baseName:"spinner",template:kD,styles:CD})
|
|
9277
9282
|
yi.getOrCreate().withPrefix("nimble").register(MD())
|
|
9278
9283
|
const ED="nimble-spinner",ID=e=>e instanceof Dv,_D=e=>e instanceof Pv
|
|
@@ -9353,7 +9358,7 @@ n!==e&&ID(i)&&(i.activeOption=!1),this.openActiveIndex=e,this.focusAndScrollActi
|
|
|
9353
9358
|
this.ariaActiveDescendant=t?.id??""}focusAndScrollActiveOptionIntoView(){const e=this.options[this.openActiveIndex??this.selectedIndex]
|
|
9354
9359
|
void 0!==e&&this.contains(e)&&(e.focus(),requestAnimationFrame((()=>{e.scrollIntoView({block:"nearest"})})))}getPlaceholderOption(){return this.options.find((e=>e.hidden&&e.disabled))}setPositioning(){if(!this.$fastController.isConnected)return
|
|
9355
9360
|
const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom
|
|
9356
|
-
this.forcedPosition?this.position=this.positionAttribute:e.top>t?this.position=
|
|
9361
|
+
this.forcedPosition?this.position=this.positionAttribute:e.top>t?this.position=Vn:this.position=Hn,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.availableViewportHeight=this.position===Vn?Math.trunc(e.top):Math.trunc(t)}updateAdjacentSeparatorState(e){const t=this.getPreviousVisibleOptionOrGroup(e),n=this.getNextVisibleOptionOrGroup(e)
|
|
9357
9362
|
if(OD(e)){const i=ID(t)
|
|
9358
9363
|
this.setTopSeparatorState(e,i)
|
|
9359
9364
|
const o=null!==n
|
|
@@ -9393,7 +9398,7 @@ const FD=RD.compose({baseName:"select",baseClass:Yi,template:(e,t)=>G`
|
|
|
9393
9398
|
@keydown="${(e,t)=>e.keydownHandler(t.event)}"
|
|
9394
9399
|
@mousedown="${(e,t)=>e.mousedownHandler(t.event)}"
|
|
9395
9400
|
>
|
|
9396
|
-
${
|
|
9401
|
+
${He((e=>e.collapsible),G`
|
|
9397
9402
|
<div
|
|
9398
9403
|
class="control"
|
|
9399
9404
|
part="control"
|
|
@@ -9405,7 +9410,7 @@ const FD=RD.compose({baseName:"select",baseClass:Yi,template:(e,t)=>G`
|
|
|
9405
9410
|
<div class="selected-value ${e=>e.displayPlaceholder?"placeholder":""}" part="selected-value" ${vg("hasOverflow")} title=${e=>e.hasOverflow&&e.displayValue?e.displayValue:null}>
|
|
9406
9411
|
<slot name="selected-value">${e=>e.displayValue}</slot>
|
|
9407
9412
|
</div>
|
|
9408
|
-
${
|
|
9413
|
+
${He((e=>!e.disabled&&e.clearable&&!e.displayPlaceholder&&e.selectedIndex>=0),G`
|
|
9409
9414
|
<${Fh}
|
|
9410
9415
|
class="clear-button"
|
|
9411
9416
|
tabindex="-1"
|
|
@@ -9451,7 +9456,7 @@ const FD=RD.compose({baseName:"select",baseClass:Yi,template:(e,t)=>G`
|
|
|
9451
9456
|
style="--ni-private-listbox-available-viewport-height: ${e=>e.availableViewportHeight}px;"
|
|
9452
9457
|
${Pe("listbox")}
|
|
9453
9458
|
>
|
|
9454
|
-
${
|
|
9459
|
+
${He((e=>e.filterMode!==fg.none),G`
|
|
9455
9460
|
<div class="filter-field ${e=>e.positionAttribute}">
|
|
9456
9461
|
<${zg} class="filter-icon"></${zg}>
|
|
9457
9462
|
<input
|
|
@@ -9473,12 +9478,12 @@ const FD=RD.compose({baseName:"select",baseClass:Yi,template:(e,t)=>G`
|
|
|
9473
9478
|
${Ye({filter:e=>e instanceof HTMLElement&&(ID(e)||_D(e)),flatten:!0,property:"slottedOptions"})}
|
|
9474
9479
|
></slot>
|
|
9475
9480
|
</div>
|
|
9476
|
-
${
|
|
9481
|
+
${He((e=>e.filterMode!==fg.none&&0===e.filteredOptions.length&&!e.loadingVisible),G`
|
|
9477
9482
|
<span class="no-results-label ${e=>e.positionAttribute}">
|
|
9478
9483
|
${e=>Nm.getValueFor(e)}
|
|
9479
9484
|
</span>
|
|
9480
9485
|
`)}
|
|
9481
|
-
${
|
|
9486
|
+
${He((e=>e.loadingVisible),G`
|
|
9482
9487
|
<div class="loading-container ${e=>e.positionAttribute} ${e=>0===e.filteredOptions.length?"empty":""}"
|
|
9483
9488
|
@click="${(e,t)=>e.ignoreClickHandler(t.event)}">
|
|
9484
9489
|
<span class="loading-label">
|
|
@@ -9491,7 +9496,7 @@ const FD=RD.compose({baseName:"select",baseClass:Yi,template:(e,t)=>G`
|
|
|
9491
9496
|
</div>
|
|
9492
9497
|
</${Eh}>
|
|
9493
9498
|
</template>
|
|
9494
|
-
`,styles:xD,indicator:
|
|
9499
|
+
`,styles:xD,indicator:Vh.data,end:G`
|
|
9495
9500
|
<${mm}
|
|
9496
9501
|
severity="error"
|
|
9497
9502
|
class="error-icon"
|
|
@@ -9795,13 +9800,13 @@ const zD=xe`
|
|
|
9795
9800
|
border-bottom-color: rgba(${sl}, 0.3);
|
|
9796
9801
|
}
|
|
9797
9802
|
`
|
|
9798
|
-
const
|
|
9803
|
+
const VD=class extends io{}.compose({baseName:"tab",baseClass:io,template:(e,t)=>G`
|
|
9799
9804
|
<template slot="tab" role="tab" aria-disabled="${e=>e.disabled}">
|
|
9800
9805
|
<slot></slot>
|
|
9801
9806
|
</template>
|
|
9802
9807
|
`,styles:zD})
|
|
9803
|
-
yi.getOrCreate().withPrefix("nimble").register(
|
|
9804
|
-
const
|
|
9808
|
+
yi.getOrCreate().withPrefix("nimble").register(VD())
|
|
9809
|
+
const HD=xe`
|
|
9805
9810
|
${Ro("block")}
|
|
9806
9811
|
|
|
9807
9812
|
:host {
|
|
@@ -9814,7 +9819,7 @@ const BD=class extends no{}.compose({baseName:"tab-panel",baseClass:no,template:
|
|
|
9814
9819
|
<template slot="tabpanel" role="tabpanel">
|
|
9815
9820
|
<slot></slot>
|
|
9816
9821
|
</template>
|
|
9817
|
-
`,styles:
|
|
9822
|
+
`,styles:HD})
|
|
9818
9823
|
|
|
9819
9824
|
;/**
|
|
9820
9825
|
* table-core
|
|
@@ -10060,15 +10065,15 @@ return"function"==typeof i?i(e):null==(n=null!=i?i:o)||n},e.getIsPinned=()=>{con
|
|
|
10060
10065
|
return s?"top":!!r&&"bottom"},e.getPinnedIndex=()=>{var n,i
|
|
10061
10066
|
const o=e.getIsPinned()
|
|
10062
10067
|
if(!o)return-1
|
|
10063
|
-
const s=null==(n=t.
|
|
10068
|
+
const s=null==(n="top"===o?t.getTopRows():t.getBottomRows())?void 0:n.map((e=>{let{id:t}=e
|
|
10064
10069
|
return t}))
|
|
10065
10070
|
return null!=(i=null==s?void 0:s.indexOf(e.id))?i:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,i
|
|
10066
10071
|
return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(i=e.initialState)?void 0:i.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n
|
|
10067
10072
|
const i=e.getState().rowPinning
|
|
10068
10073
|
var o,s
|
|
10069
|
-
return t?Boolean(null==(n=i[t])?void 0:n.length):Boolean((null==(o=i.top)?void 0:o.length)||(null==(s=i.bottom)?void 0:s.length))},e._getPinnedRows=
|
|
10074
|
+
return t?Boolean(null==(n=i[t])?void 0:n.length):Boolean((null==(o=i.top)?void 0:o.length)||(null==(s=i.bottom)?void 0:s.length))},e._getPinnedRows=(t,n,i)=>{var o
|
|
10070
10075
|
return(null==(o=e.options.keepPinnedRows)||o?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0)
|
|
10071
|
-
return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:i})))}),ZD(e.options,"debugRows")),e.
|
|
10076
|
+
return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:i})))},e.getTopRows=GD((()=>[e.getRowModel().rows,e.getState().rowPinning.top]),((t,n)=>e._getPinnedRows(t,n,"top")),ZD(e.options,"debugRows")),e.getBottomRows=GD((()=>[e.getRowModel().rows,e.getState().rowPinning.bottom]),((t,n)=>e._getPinnedRows(t,n,"bottom")),ZD(e.options,"debugRows")),e.getCenterRows=GD((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const i=new Set([...null!=t?t:[],...null!=n?n:[]])
|
|
10072
10077
|
return e.filter((e=>!i.has(e.id)))}),ZD(e.options,"debugRows"))}},_O={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:UD("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n
|
|
10073
10078
|
return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected()
|
|
10074
10079
|
const i={...n},o=e.getPreGroupedRowModel().flatRows
|
|
@@ -10131,9 +10136,9 @@ const i=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id))
|
|
|
10131
10136
|
return!!i&&(i.desc?"desc":"asc")},e.getSortIndex=()=>{var n,i
|
|
10132
10137
|
return null!=(n=null==(i=t.getState().sorting)?void 0:i.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort()
|
|
10133
10138
|
return i=>{n&&(null==i.persist||i.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(i))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,i
|
|
10134
|
-
e.setSorting(t?[]:null!=(n=null==(i=e.initialState)?void 0:i.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},
|
|
10135
|
-
function
|
|
10136
|
-
const i=[...
|
|
10139
|
+
e.setSorting(t?[]:null!=(n=null==(i=e.initialState)?void 0:i.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},VO=[YD,CO,gO,vO,eO,uO,SO,$O,zO,mO,MO,EO,IO,_O,yO]
|
|
10140
|
+
function HO(e){var t,n
|
|
10141
|
+
const i=[...VO,...null!=(t=e._features)?t:[]]
|
|
10137
10142
|
let o={_features:i}
|
|
10138
10143
|
const s=o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o))),{})
|
|
10139
10144
|
let r={...null!=(n=e.initialState)?n:{}}
|
|
@@ -10180,7 +10185,7 @@ const o=e.getColumn(t),s=null==o?void 0:o.getAggregationFn()
|
|
|
10180
10185
|
return s?(m._groupingValuesCache[t]=s(t,f,h),m._groupingValuesCache[t]):void 0}}),p.forEach((e=>{o.push(e),s[e.id]=e})),m}))
|
|
10181
10186
|
return d},a=r(n.rows,0)
|
|
10182
10187
|
return a.forEach((e=>{o.push(e),s[e.id]=e})),{rows:a,flatRows:o,rowsById:s}}),ZD(e.options,"debugTable",0,(()=>{e._queue((()=>{e._autoResetExpanded(),e._autoResetPageIndex()}))})))}const qO=void 0,UO="can-load-children",jO="loading-children",WO={none:void 0,ascending:"ascending",descending:"descending"},GO={none:void 0,single:"single",multiple:"multiple"},ZO="not-selected",KO="selected",XO="partially-selected",YO="none",JO="columnHeader",QO="headerActions",eR="row",tR="rowSelectionCheckbox",nR="cell",iR="cellActionMenu",oR="cellContent",sR="basic",rR="localeAwareCaseSensitive",aR=117,lR=1
|
|
10183
|
-
class cR extends
|
|
10188
|
+
class cR extends Vt{}e([g],cR.prototype,"groupHeaderValue",void 0),e([g],cR.prototype,"columnConfig",void 0)
|
|
10184
10189
|
const dR=e=>((e=>{let t
|
|
10185
10190
|
try{t=document.createElement(e)}catch(e){}if(!(t instanceof cR))throw new Error(`Group header view tag name (${e}) must evaluate to an element extending TableGroupHeaderView`)})(e),G`
|
|
10186
10191
|
<${e}
|
|
@@ -10190,7 +10195,7 @@ try{t=document.createElement(e)}catch(e){}if(!(t instanceof cR))throw new Error(
|
|
|
10190
10195
|
>
|
|
10191
10196
|
</${e}>
|
|
10192
10197
|
`)
|
|
10193
|
-
class hR extends
|
|
10198
|
+
class hR extends Vt{constructor(){super(...arguments),this.delegatedEvents=[],this.delegatedEventHandler=()=>{}}get tabbableChildren(){return[]}focusedRecycleCallback(){}columnChanged(){for(const e of this.delegatedEvents)this.removeEventListener(e,this.delegatedEventHandler)
|
|
10194
10199
|
if(this.delegatedEvents=[],this.delegatedEventHandler=()=>{},this.column){this.delegatedEvents=this.column.columnInternals.delegatedEvents,this.delegatedEventHandler=e=>{this.recordId&&this.column?.dispatchEvent(new CustomEvent("delegated-event",{detail:{originalEvent:e,recordId:this.recordId}}))}
|
|
10195
10200
|
for(const e of this.delegatedEvents)this.addEventListener(e,this.delegatedEventHandler)}}}e([g],hR.prototype,"cellRecord",void 0),e([g],hR.prototype,"columnConfig",void 0),e([g],hR.prototype,"column",void 0),e([g],hR.prototype,"recordId",void 0)
|
|
10196
10201
|
const uR=e=>((e=>{let t
|
|
@@ -10206,7 +10211,7 @@ try{t=document.createElement(e)}catch(e){}if(!(t instanceof hR))throw new Error(
|
|
|
10206
10211
|
`)
|
|
10207
10212
|
class pR{constructor(e){this.uniqueId=Fa("table-column-slot"),this.sortOperation=sR,this.dataRecordFieldNames=[],this.groupingDisabled=!1,this.fractionalWidth=lR,this.minPixelWidth=aR,this.resizingDisabled=!1,this.hideHeaderIndicators=!1,this.currentFractionalWidth=lR,this.sortingDisabled=!1,this.currentSortDirection=WO.none,this.cellRecordFieldNames=e.cellRecordFieldNames,this.cellViewTemplate=uR(e.cellViewTag),this.groupHeaderViewTemplate=dR(e.groupHeaderViewTag),this.delegatedEvents=e.delegatedEvents,this.sortOperation=e.sortOperation??sR,this.validator=e.validator}fractionalWidthChanged(){this.currentFractionalWidth=this.fractionalWidth}pixelWidthChanged(){this.currentPixelWidth=this.pixelWidth}}function fR(e,...t){for(const n of t)if(e===n)return!0
|
|
10208
10213
|
return!1}e([g],pR.prototype,"columnConfig",void 0),e([g],pR.prototype,"operandDataRecordFieldName",void 0),e([g],pR.prototype,"sortOperation",void 0),e([g],pR.prototype,"dataRecordFieldNames",void 0),e([g],pR.prototype,"groupingDisabled",void 0),e([g],pR.prototype,"groupIndex",void 0),e([g],pR.prototype,"pixelWidth",void 0),e([g],pR.prototype,"fractionalWidth",void 0),e([g],pR.prototype,"minPixelWidth",void 0),e([g],pR.prototype,"resizingDisabled",void 0),e([g],pR.prototype,"hideHeaderIndicators",void 0),e([g],pR.prototype,"currentFractionalWidth",void 0),e([g],pR.prototype,"currentPixelWidth",void 0),e([g],pR.prototype,"sortingDisabled",void 0),e([g],pR.prototype,"currentSortIndex",void 0),e([g],pR.prototype,"currentSortDirection",void 0)
|
|
10209
|
-
class mR extends
|
|
10214
|
+
class mR extends Vt{constructor(){super(...arguments),this.columnInternals=new pR(this.getColumnInternalsOptions()),this.columnHidden=!1,this.hasOverflow=!1}checkValidity(){return this.columnInternals.validator.isColumnValid}get validity(){return this.columnInternals.validator.getValidity()}get headerTextContent(){return this.contentSlot.assignedNodes().map((e=>e.textContent?.trim())).join(" ")}connectedCallback(){super.connectedCallback(),this.setAttribute("slot",this.columnInternals.uniqueId)}}e([le({attribute:"column-id"})],mR.prototype,"columnId",void 0),e([le({attribute:"action-menu-slot"})],mR.prototype,"actionMenuSlot",void 0),e([le({attribute:"action-menu-label"})],mR.prototype,"actionMenuLabel",void 0),e([le({attribute:"column-hidden",mode:"boolean"})],mR.prototype,"columnHidden",void 0),e([g],mR.prototype,"hasOverflow",void 0)
|
|
10210
10215
|
class gR{constructor(){this.duplicateRecordId=!1,this.missingRecordId=!1,this.invalidRecordId=!1,this.duplicateColumnId=!1,this.missingColumnId=!1,this.duplicateSortIndex=!1,this.duplicateGroupIndex=!1,this.idFieldNameNotConfigured=!1,this.invalidColumnConfiguration=!1,this.invalidParentIdConfiguration=!1,this.recordIds=new Set}getValidity(){return{duplicateRecordId:this.duplicateRecordId,missingRecordId:this.missingRecordId,invalidRecordId:this.invalidRecordId,duplicateColumnId:this.duplicateColumnId,missingColumnId:this.missingColumnId,duplicateSortIndex:this.duplicateSortIndex,duplicateGroupIndex:this.duplicateGroupIndex,idFieldNameNotConfigured:this.idFieldNameNotConfigured,invalidColumnConfiguration:this.invalidColumnConfiguration,invalidParentIdConfiguration:this.invalidParentIdConfiguration}}isValid(){return Object.values(this.getValidity()).every((e=>!1===e))}areRecordIdsValid(){const e=this.getValidity()
|
|
10211
10216
|
return!e.duplicateRecordId&&!e.missingRecordId&&!e.invalidRecordId}validateIdFieldConfiguration(e,t,n){const i=e!==GO.none||"string"==typeof n
|
|
10212
10217
|
return this.idFieldNameNotConfigured=!!i&&"string"!=typeof t,!this.idFieldNameNotConfigured}validateRecordIds(e,t){if(this.duplicateRecordId=!1,this.missingRecordId=!1,this.invalidRecordId=!1,this.recordIds.clear(),"string"!=typeof t)return!0
|
|
@@ -10447,23 +10452,23 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(e
|
|
|
10447
10452
|
>
|
|
10448
10453
|
<slot></slot>
|
|
10449
10454
|
|
|
10450
|
-
${
|
|
10455
|
+
${He((e=>!e.indicatorsHidden),G`
|
|
10451
10456
|
${""}
|
|
10452
|
-
${
|
|
10457
|
+
${He((e=>e.sortDirection===WO.ascending),G`
|
|
10453
10458
|
<${Fg}
|
|
10454
10459
|
class="sort-indicator"
|
|
10455
10460
|
title="${e=>yv.getValueFor(e)}"
|
|
10456
10461
|
aria-hidden="true"
|
|
10457
10462
|
></${Fg}>
|
|
10458
10463
|
`)}
|
|
10459
|
-
${
|
|
10464
|
+
${He((e=>e.sortDirection===WO.descending),G`
|
|
10460
10465
|
<${Og}
|
|
10461
10466
|
class="sort-indicator"
|
|
10462
10467
|
title="${e=>wv.getValueFor(e)}"
|
|
10463
10468
|
aria-hidden="true"
|
|
10464
10469
|
></${Og}>
|
|
10465
10470
|
`)}
|
|
10466
|
-
${
|
|
10471
|
+
${He((e=>e.isGrouped),G`
|
|
10467
10472
|
<${Ug}
|
|
10468
10473
|
class="grouped-indicator"
|
|
10469
10474
|
title="${e=>bv.getValueFor(e)}"
|
|
@@ -10474,7 +10479,7 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(e
|
|
|
10474
10479
|
`)}
|
|
10475
10480
|
</template>
|
|
10476
10481
|
`
|
|
10477
|
-
class wR extends
|
|
10482
|
+
class wR extends Vt{constructor(){super(...arguments),this.sortDirection=WO.none,this.firstSortedColumn=!1,this.indicatorsHidden=!1,this.isGrouped=!1}sortDirectionChanged(e,t){this.updateAriaSort()}firstSortedColumnChanged(e,t){this.updateAriaSort()}updateAriaSort(){this.firstSortedColumn&&this.sortDirection!==WO.none?this.sortDirection===WO.ascending?this.ariaSort="ascending":this.ariaSort="descending":this.ariaSort=null}}e([le({attribute:"sort-direction"})],wR.prototype,"sortDirection",void 0),e([le({attribute:"first-sorted-column",mode:"boolean"})],wR.prototype,"firstSortedColumn",void 0),e([le({attribute:"indicators-hidden",mode:"boolean"})],wR.prototype,"indicatorsHidden",void 0),e([g],wR.prototype,"isGrouped",void 0)
|
|
10478
10483
|
const xR=wR.compose({baseName:"table-header",template:yR,styles:bR})
|
|
10479
10484
|
yi.getOrCreate().withPrefix("nimble").register(xR())
|
|
10480
10485
|
const CR="nimble-table-header",kR=xe`
|
|
@@ -10714,7 +10719,7 @@ const CR="nimble-table-header",kR=xe`
|
|
|
10714
10719
|
<div ${Pe("cellViewContainer")} class="cell-view-container" @focusin="${e=>e.onCellViewFocusIn()}">
|
|
10715
10720
|
${e=>e.cellViewTemplate}
|
|
10716
10721
|
</div>
|
|
10717
|
-
${
|
|
10722
|
+
${He((e=>e.hasActionMenu),G`
|
|
10718
10723
|
<${ob} ${Pe("actionMenuButton")}
|
|
10719
10724
|
content-hidden
|
|
10720
10725
|
appearance="${Qd}"
|
|
@@ -10734,7 +10739,7 @@ const CR="nimble-table-header",kR=xe`
|
|
|
10734
10739
|
`)}
|
|
10735
10740
|
</template>
|
|
10736
10741
|
`
|
|
10737
|
-
class ER extends
|
|
10742
|
+
class ER extends Vt{constructor(){super(...arguments),this.hasActionMenu=!1,this.menuOpen=!1,this.nestingLevel=0}get cellView(){return this.cellViewContainer.firstElementChild}onActionMenuBeforeToggle(e){this.$emit("cell-action-menu-beforetoggle",e.detail)}onActionMenuToggle(e){this.menuOpen=e.detail.newState,this.$emit("cell-action-menu-toggle",e.detail)}onActionMenuBlur(){this.$emit("cell-action-menu-blur",this)}onCellViewFocusIn(){this.$emit("cell-view-focus-in",this)}onCellFocusIn(){this.$emit("cell-focus-in",this)}onCellBlur(){this.$emit("cell-blur",this)}}e([g],ER.prototype,"cellState",void 0),e([g],ER.prototype,"column",void 0),e([g],ER.prototype,"recordId",void 0),e([le({attribute:"column-id"})],ER.prototype,"columnId",void 0),e([le({attribute:"has-action-menu",mode:"boolean"})],ER.prototype,"hasActionMenu",void 0),e([le({attribute:"menu-open",mode:"boolean"})],ER.prototype,"menuOpen",void 0),e([le({attribute:"action-menu-label"})],ER.prototype,"actionMenuLabel",void 0),e([g],ER.prototype,"cellViewTemplate",void 0),e([g],ER.prototype,"cellViewContainer",void 0),e([g],ER.prototype,"nestingLevel",void 0)
|
|
10738
10743
|
const IR=ER.compose({baseName:"table-cell",template:MR,styles:$R})
|
|
10739
10744
|
yi.getOrCreate().withPrefix("nimble").register(IR())
|
|
10740
10745
|
const _R="nimble-table-cell",TR=G`
|
|
@@ -10744,9 +10749,9 @@ const _R="nimble-table-cell",TR=G`
|
|
|
10744
10749
|
aria-expanded=${e=>e.expanded}
|
|
10745
10750
|
style="--ni-private-table-row-indent-level: ${e=>e.nestingLevel};"
|
|
10746
10751
|
>
|
|
10747
|
-
${
|
|
10752
|
+
${He((e=>!e.rowOperationGridCellHidden),G`
|
|
10748
10753
|
<span role="gridcell" class="row-operations-container">
|
|
10749
|
-
${
|
|
10754
|
+
${He((e=>e.showSelectionCheckbox),G`
|
|
10750
10755
|
<${tg}
|
|
10751
10756
|
${Pe("selectionCheckbox")}
|
|
10752
10757
|
class="selection-checkbox"
|
|
@@ -10762,8 +10767,8 @@ const _R="nimble-table-cell",TR=G`
|
|
|
10762
10767
|
</span>
|
|
10763
10768
|
`)}
|
|
10764
10769
|
<span class="row-front-spacer ${e=>e.isTopLevelParentRow?"top-level-parent":""}"></span>
|
|
10765
|
-
${
|
|
10766
|
-
${
|
|
10770
|
+
${He((e=>e.isParentRow),G`
|
|
10771
|
+
${He((e=>e.loading),G`
|
|
10767
10772
|
<span class="spinner-container">
|
|
10768
10773
|
<${ED}
|
|
10769
10774
|
appearance="${SD.accent}"
|
|
@@ -10773,7 +10778,7 @@ const _R="nimble-table-cell",TR=G`
|
|
|
10773
10778
|
</${ED}>
|
|
10774
10779
|
</span>
|
|
10775
10780
|
`)}
|
|
10776
|
-
${
|
|
10781
|
+
${He((e=>!e.loading),G`
|
|
10777
10782
|
<${Fh}
|
|
10778
10783
|
appearance="${Qd}"
|
|
10779
10784
|
content-hidden
|
|
@@ -10792,7 +10797,7 @@ const _R="nimble-table-cell",TR=G`
|
|
|
10792
10797
|
class="cell-container ${e=>e.isNestedParent?"nested-parent":""}"
|
|
10793
10798
|
>
|
|
10794
10799
|
${Ge((e=>e.columns),G`
|
|
10795
|
-
${
|
|
10800
|
+
${He((e=>!e.columnHidden),G`
|
|
10796
10801
|
<${_R}
|
|
10797
10802
|
class="cell"
|
|
10798
10803
|
:cellState="${(e,t)=>t.parent.cellStates[t.index]}"
|
|
@@ -10807,7 +10812,7 @@ const _R="nimble-table-cell",TR=G`
|
|
|
10807
10812
|
:nestingLevel="${(e,t)=>t.parent.cellIndentLevels[t.index]}"
|
|
10808
10813
|
>
|
|
10809
10814
|
|
|
10810
|
-
${
|
|
10815
|
+
${He(((e,t)=>t.parent.currentActionMenuColumn===e&&e.actionMenuSlot),G`
|
|
10811
10816
|
<slot
|
|
10812
10817
|
name="${e=>`row-action-menu-${e.actionMenuSlot}`}"
|
|
10813
10818
|
slot="cellActionMenu"
|
|
@@ -10819,7 +10824,7 @@ const _R="nimble-table-cell",TR=G`
|
|
|
10819
10824
|
</span>
|
|
10820
10825
|
</template>
|
|
10821
10826
|
`
|
|
10822
|
-
class AR extends
|
|
10827
|
+
class AR extends Vt{constructor(){super(...arguments),this.selectable=!1,this.selected=!1,this.hideSelection=!1,this.expanded=!1,this.columnNotifiers=[],this.columns=[],this.nestingLevel=0,this.isParentRow=!1,this.menuOpen=!1,this.rowOperationGridCellHidden=!1,this.loading=!1,this.cellIndentLevels=[],this.cellStates=[],this.animationClass="",this.ignoreSelectionChangeEvents=!1,this.removeAnimatingClass=()=>{this.animationClass="",this.expandIcon?.removeEventListener("transitionend",this.removeAnimatingClass)}}get isTopLevelParentRow(){return this.isParentRow&&0===this.nestingLevel}get isNestedParent(){return this.isParentRow&&this.nestingLevel>0}get showSelectionCheckbox(){return this.selectable&&!this.hideSelection}get ariaSelected(){return this.selectable?this.selected?"true":"false":null}onSelectionCheckboxChange(e){if(this.ignoreSelectionChangeEvents)return
|
|
10823
10828
|
const t=e.target.checked
|
|
10824
10829
|
this.onSelectionChange(!t,t)}onSelectionChange(e,t){this.selected=t
|
|
10825
10830
|
const n={oldState:e,newState:t}
|
|
@@ -10928,7 +10933,7 @@ const OR="nimble-table-row",RR=xe`
|
|
|
10928
10933
|
aria-expanded=${e=>e.expanded}
|
|
10929
10934
|
style="--ni-private-table-group-row-indent-level: ${e=>e.nestingLevel};"
|
|
10930
10935
|
>
|
|
10931
|
-
${
|
|
10936
|
+
${He((e=>e.selectable),G`
|
|
10932
10937
|
<span role="gridcell" class="checkbox-container">
|
|
10933
10938
|
<${tg}
|
|
10934
10939
|
${Pe("selectionCheckbox")}
|
|
@@ -10961,7 +10966,7 @@ const OR="nimble-table-row",RR=xe`
|
|
|
10961
10966
|
</div>
|
|
10962
10967
|
</template>
|
|
10963
10968
|
`
|
|
10964
|
-
class NR extends
|
|
10969
|
+
class NR extends Vt{constructor(){super(...arguments),this.nestingLevel=0,this.expanded=!1,this.selectable=!1,this.selectionState=ZO,this.animationClass="",this.ignoreSelectionChangeEvents=!1,this.removeAnimatingClass=()=>{this.animationClass="",this.expandIcon.removeEventListener("transitionend",this.removeAnimatingClass)}}onGroupExpandToggle(){this.$emit("group-expand-toggle"),this.animationClass="animating",this.expandIcon.addEventListener("transitionend",this.removeAnimatingClass)}onSelectionCheckboxChange(e){if(this.ignoreSelectionChangeEvents)return
|
|
10965
10970
|
const t=e.target.checked
|
|
10966
10971
|
this.selectionState=t?KO:ZO
|
|
10967
10972
|
const n={oldState:!t,newState:t}
|
|
@@ -10991,12 +10996,12 @@ const LR="nimble-table-group-row",zR=G`
|
|
|
10991
10996
|
<div role="rowgroup" class="header-row-container">
|
|
10992
10997
|
<div class="header-row" role="row">
|
|
10993
10998
|
<span role="${e=>e.showRowOperationColumn?"columnheader":""}" class="header-row-action-container" ${Pe("headerRowActionContainer")}>
|
|
10994
|
-
${
|
|
10999
|
+
${He((e=>e.showRowOperationColumn),G`
|
|
10995
11000
|
<span class="accessibly-hidden">
|
|
10996
11001
|
${e=>Sv.getValueFor(e)}
|
|
10997
11002
|
</span>
|
|
10998
11003
|
`)}
|
|
10999
|
-
${
|
|
11004
|
+
${He((e=>e.selectionMode===GO.multiple),G`
|
|
11000
11005
|
<span class="checkbox-container">
|
|
11001
11006
|
<${tg}
|
|
11002
11007
|
${Pe("selectionCheckbox")}
|
|
@@ -11027,7 +11032,7 @@ const LR="nimble-table-group-row",zR=G`
|
|
|
11027
11032
|
<span class="column-headers-container" ${Pe("columnHeadersContainer")}>
|
|
11028
11033
|
${Ge((e=>e.visibleColumns),G`
|
|
11029
11034
|
<div class="header-container">
|
|
11030
|
-
${
|
|
11035
|
+
${He(((e,t)=>t.index>0),G`
|
|
11031
11036
|
<div
|
|
11032
11037
|
class="
|
|
11033
11038
|
column-divider
|
|
@@ -11051,7 +11056,7 @@ const LR="nimble-table-group-row",zR=G`
|
|
|
11051
11056
|
>
|
|
11052
11057
|
<slot name="${e=>e.slot}"></slot>
|
|
11053
11058
|
</${CR}>
|
|
11054
|
-
${
|
|
11059
|
+
${He(((e,t)=>t.index<t.length-1),G`
|
|
11055
11060
|
<div
|
|
11056
11061
|
class="
|
|
11057
11062
|
column-divider
|
|
@@ -11073,9 +11078,9 @@ const LR="nimble-table-group-row",zR=G`
|
|
|
11073
11078
|
<div class="table-scroll"></div>
|
|
11074
11079
|
<div class="table-row-container ${e=>""+(e.showCollapseAll?"collapse-all-visible":"")}" ${Qe({property:"rowElements",filter:Ze(`${OR}, ${LR}`)})}
|
|
11075
11080
|
role="rowgroup">
|
|
11076
|
-
${
|
|
11081
|
+
${He((e=>e.columns.length>0&&e.canRenderRows),G`
|
|
11077
11082
|
${Ge((e=>e.virtualizer.visibleItems),G`
|
|
11078
|
-
${
|
|
11083
|
+
${He(((e,t)=>t.parent.tableData[e.index]?.isGroupRow),G`
|
|
11079
11084
|
<${LR}
|
|
11080
11085
|
class="group-row"
|
|
11081
11086
|
${""}
|
|
@@ -11095,7 +11100,7 @@ const LR="nimble-table-group-row",zR=G`
|
|
|
11095
11100
|
>
|
|
11096
11101
|
</${LR}>
|
|
11097
11102
|
`)}
|
|
11098
|
-
${
|
|
11103
|
+
${He(((e,t)=>!t.parent.tableData[e.index]?.isGroupRow),G`
|
|
11099
11104
|
<${OR}
|
|
11100
11105
|
class="row"
|
|
11101
11106
|
${""}
|
|
@@ -11120,7 +11125,7 @@ const LR="nimble-table-group-row",zR=G`
|
|
|
11120
11125
|
@row-action-menu-toggle="${(e,t)=>t.parent.onRowActionMenuToggle(t.event)}"
|
|
11121
11126
|
@row-expand-toggle="${(e,t)=>t.parent.handleRowExpanded(e.index)}"
|
|
11122
11127
|
>
|
|
11123
|
-
${
|
|
11128
|
+
${He(((e,t)=>t.parent.openActionMenuRecordId===t.parent.tableData[e.index]?.id),G`
|
|
11124
11129
|
${Ge(((e,t)=>t.parent.actionMenuSlots),G`
|
|
11125
11130
|
<slot
|
|
11126
11131
|
name="${e=>e}"
|
|
@@ -11138,7 +11143,7 @@ const LR="nimble-table-group-row",zR=G`
|
|
|
11138
11143
|
</div>
|
|
11139
11144
|
</template>
|
|
11140
11145
|
`
|
|
11141
|
-
function
|
|
11146
|
+
function VR(e,t,n){let i,o=n.initialDeps??[]
|
|
11142
11147
|
return()=>{var s,r,a,l
|
|
11143
11148
|
let c
|
|
11144
11149
|
n.key&&(null==(s=n.debug)?void 0:s.call(n))&&(c=Date.now())
|
|
@@ -11147,23 +11152,27 @@ if(!(d.length!==o.length||d.some(((e,t)=>o[t]!==e))))return i
|
|
|
11147
11152
|
let h
|
|
11148
11153
|
if(o=d,n.key&&(null==(r=n.debug)?void 0:r.call(n))&&(h=Date.now()),i=t(...d),n.key&&(null==(a=n.debug)?void 0:a.call(n))){const e=Math.round(100*(Date.now()-c))/100,t=Math.round(100*(Date.now()-h))/100,i=t/16,o=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e
|
|
11149
11154
|
return e}
|
|
11150
|
-
console.info(`%c⏱ ${o(t,5)} /${o(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*i,120))}deg 100% 31%);`,null==n?void 0:n.key)}return null==(l=null==n?void 0:n.onChange)||l.call(n,i),i}}function
|
|
11151
|
-
return e}const BR=(e,t)=>{let
|
|
11152
|
-
return function(...
|
|
11155
|
+
console.info(`%c⏱ ${o(t,5)} /${o(e,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*i,120))}deg 100% 31%);`,null==n?void 0:n.key)}return null==(l=null==n?void 0:n.onChange)||l.call(n,i),i}}function HR(e,t){if(void 0===e)throw new Error("Unexpected undefined")
|
|
11156
|
+
return e}const BR=(e,t,n)=>{let i
|
|
11157
|
+
return function(...o){e.clearTimeout(i),i=e.setTimeout((()=>t.apply(this,o)),n)}},qR=e=>e,UR=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),i=[]
|
|
11153
11158
|
for(let e=t;e<=n;e++)i.push(e)
|
|
11154
11159
|
return i},jR=(e,t)=>{const n=e.scrollElement
|
|
11155
11160
|
if(!n)return
|
|
11156
|
-
const i=e
|
|
11161
|
+
const i=e.targetWindow
|
|
11162
|
+
if(!i)return
|
|
11163
|
+
const o=e=>{const{width:n,height:i}=e
|
|
11157
11164
|
t({width:Math.round(n),height:Math.round(i)})}
|
|
11158
|
-
if(
|
|
11159
|
-
const
|
|
11165
|
+
if(o(n.getBoundingClientRect()),!i.ResizeObserver)return()=>{}
|
|
11166
|
+
const s=new i.ResizeObserver((e=>{const t=e[0]
|
|
11160
11167
|
if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0]
|
|
11161
|
-
if(e)return void
|
|
11162
|
-
return
|
|
11168
|
+
if(e)return void o({width:e.inlineSize,height:e.blockSize})}o(n.getBoundingClientRect())}))
|
|
11169
|
+
return s.observe(n,{box:"border-box"}),()=>{s.unobserve(n)}},WR={passive:!0},GR="undefined"==typeof window||"onscrollend"in window,ZR=(e,t)=>{const n=e.scrollElement
|
|
11163
11170
|
if(!n)return
|
|
11164
|
-
|
|
11165
|
-
|
|
11166
|
-
|
|
11171
|
+
const i=e.targetWindow
|
|
11172
|
+
if(!i)return
|
|
11173
|
+
let o=0
|
|
11174
|
+
const s=GR?()=>{}:BR(i,(()=>{t(o,!1)}),e.options.isScrollingResetDelay),r=i=>()=>{o=n[e.options.horizontal?"scrollLeft":"scrollTop"],s(),t(o,i)},a=r(!0),l=r(!1)
|
|
11175
|
+
return l(),n.addEventListener("scroll",a,WR),n.addEventListener("scrollend",l,WR),()=>{n.removeEventListener("scroll",a),n.removeEventListener("scrollend",l)}},KR=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0]
|
|
11167
11176
|
if(e){return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},XR=(e,{adjustments:t=0,behavior:n},i)=>{var o,s
|
|
11168
11177
|
const r=e+t
|
|
11169
11178
|
null==(s=null==(o=i.scrollElement)?void 0:o.scrollTo)||s.call(o,{[i.options.horizontal?"left":"top"]:r,behavior:n})}
|
|
@@ -11174,54 +11183,68 @@ t=o-1}}return e>0?e-1:0}
|
|
|
11174
11183
|
class JR{get pageSize(){return this._pageSize}get rowHeight(){return parseFloat(gl.getValueFor(this.table))+2*parseFloat(Cl.getValueFor(this.table))}constructor(e,t){this.visibleItems=[],this.scrollHeight=0,this.headerContainerMarginRight=0,this.rowContainerYOffset=0,this._pageSize=0,this.table=e,this.tanStackTable=t,this.viewportResizeObserver=new ResizeObserver((e=>{const t=e[0]?.borderBoxSize[0]
|
|
11175
11184
|
if(t){this.updatePageSize()
|
|
11176
11185
|
const e=t.inlineSize
|
|
11177
|
-
this.headerContainerMarginRight=e-this.table.viewport.clientWidth}}))}connect(){this.viewportResizeObserver.observe(this.table.viewport),this.updateVirtualizer()
|
|
11178
|
-
|
|
11179
|
-
|
|
11186
|
+
this.headerContainerMarginRight=e-this.table.viewport.clientWidth}}))}connect(){this.viewportResizeObserver.observe(this.table.viewport),this.updateVirtualizer()
|
|
11187
|
+
const e=this.virtualizer.scrollOffset
|
|
11188
|
+
null!==e&&this.table.viewport.scrollTo({top:e})}disconnect(){this.viewportResizeObserver.disconnect()}dataChanged(){this.table.$fastController.isConnected&&this.updateVirtualizer()}scrollToIndex(e,t){this.virtualizer?.scrollToIndex(e,t)}updateVirtualizer(){const e=this.createVirtualizerOptions()
|
|
11189
|
+
this.virtualizer?this.virtualizer.setOptions(e):this.virtualizer=new class{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null
|
|
11190
|
+
const t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver((e=>{e.forEach((e=>{this._measureElement(e.target,e)}))})):null)
|
|
11180
11191
|
return{disconnect:()=>{var e
|
|
11181
11192
|
return null==(e=t())?void 0:e.disconnect()},observe:e=>{var n
|
|
11182
11193
|
return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n
|
|
11183
|
-
return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach((([t,n])=>{void 0===n&&delete e[t]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:qR,rangeExtractor:UR,onChange:()=>{},measureElement:KR,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,...e}},this.notify=(e,t)=>{var n,i
|
|
11184
|
-
const{startIndex:o,endIndex:s}=this.range??{startIndex:void 0,endIndex:void 0},r=this.calculateRange();(e||o!==(null==r?void 0:r.startIndex)||s!==(null==r?void 0:r.endIndex))&&(null==(i=(n=this.options).onChange)||i.call(n,this,t))},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((e=>e())),this.unsubs=[],this.scrollElement=null
|
|
11185
|
-
|
|
11194
|
+
return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach((([t,n])=>{void 0===n&&delete e[t]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:qR,rangeExtractor:UR,onChange:()=>{},measureElement:KR,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,...e}},this.notify=(e,t)=>{var n,i
|
|
11195
|
+
const{startIndex:o,endIndex:s}=this.range??{startIndex:void 0,endIndex:void 0},r=this.calculateRange();(e||o!==(null==r?void 0:r.startIndex)||s!==(null==r?void 0:r.endIndex))&&(null==(i=(n=this.options).onChange)||i.call(n,this,t))},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((e=>e())),this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.observer.disconnect(),this.elementsCache.clear()},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e
|
|
11196
|
+
const t=this.options.enabled?this.options.getScrollElement():null
|
|
11197
|
+
if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.notify(!1,!1)
|
|
11198
|
+
this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(e=>{this.scrollRect=e,this.notify(!1,!1)}))),this.unsubs.push(this.options.observeElementOffset(this,((e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e
|
|
11186
11199
|
const n=this.isScrolling
|
|
11187
|
-
this.isScrolling=t,this.notify(n!==t,t)})))
|
|
11200
|
+
this.isScrolling=t,this.notify(n!==t,t)})))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{const n=new Map,i=new Map
|
|
11188
11201
|
for(let o=t-1;o>=0;o--){const t=e[o]
|
|
11189
11202
|
if(n.has(t.lane))continue
|
|
11190
11203
|
const s=i.get(t.lane)
|
|
11191
|
-
if(null==s||t.end>s.end?i.set(t.lane,t):t.end<s.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return i.size===this.options.lanes?Array.from(i.values()).sort(((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end))[0]:void 0},this.
|
|
11204
|
+
if(null==s||t.end>s.end?i.set(t.lane,t):t.end<s.end&&n.set(t.lane,!0),n.size===this.options.lanes)break}return i.size===this.options.lanes?Array.from(i.values()).sort(((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end))[0]:void 0},this.getMeasurementOptions=VR((()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled]),((e,t,n,i,o)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:i,enabled:o})),{key:!1}),this.getMeasurements=VR((()=>[this.getMeasurementOptions(),this.itemSizeCache]),(({count:e,paddingStart:t,scrollMargin:n,getItemKey:i,enabled:o},s)=>{var r
|
|
11205
|
+
if(!o)return this.measurementsCache=[],this.itemSizeCache.clear(),[]
|
|
11206
|
+
0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach((e=>{this.itemSizeCache.set(e.key,e.size)})))
|
|
11207
|
+
const a=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0
|
|
11192
11208
|
this.pendingMeasuredCacheIndexes=[]
|
|
11193
|
-
const
|
|
11194
|
-
for(let a
|
|
11195
|
-
|
|
11209
|
+
const l=this.measurementsCache.slice(0,a)
|
|
11210
|
+
for(let o=a;o<e;o++){let e=null==(r=this.measurementsCache[o])?void 0:r.measureElement
|
|
11211
|
+
e||(e=e=>{const t=i(o),n=this.elementsCache.get(t)
|
|
11212
|
+
e?(n!==e&&(n&&this.observer.unobserve(n),this.observer.observe(e),this.elementsCache.set(t,e)),e.isConnected&&this.resizeItem(o,this.options.measureElement(e,void 0,this))):n&&(this.observer.unobserve(n),this.elementsCache.delete(t))})
|
|
11213
|
+
const a=i(o),c=1===this.options.lanes?l[o-1]:this.getFurthestMeasurement(l,o),d=c?c.end+this.options.gap:t+n,h=s.get(a),u="number"==typeof h?h:this.options.estimateSize(o),p=d+u,f=c?c.lane:o%this.options.lanes
|
|
11214
|
+
l[o]={index:o,start:d,size:u,end:p,key:a,lane:f,measureElement:e}}return this.measurementsCache=l,l}),{key:!1,debug:()=>this.options.debug}),this.calculateRange=VR((()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()]),((e,t,n)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n}){const i=e.length-1,o=YR(0,i,(t=>e[t].start),n)
|
|
11196
11215
|
let s=o
|
|
11197
11216
|
for(;s<i&&e[s].end<n+t;)s++
|
|
11198
|
-
return{startIndex:o,endIndex:s}}({measurements:e,outerSize:t,scrollOffset:n}):null),{key:!1,debug:()=>this.options.debug}),this.getIndexes=
|
|
11199
|
-
return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const n=this.
|
|
11200
|
-
if(!
|
|
11201
|
-
const
|
|
11202
|
-
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
0!==
|
|
11217
|
+
return{startIndex:o,endIndex:s}}({measurements:e,outerSize:t,scrollOffset:n}):null),{key:!1,debug:()=>this.options.debug}),this.getIndexes=VR((()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count]),((e,t,n,i)=>null===t?[]:e({startIndex:t.startIndex,endIndex:t.endIndex,overscan:n,count:i})),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const t=this.options.indexAttribute,n=e.getAttribute(t)
|
|
11218
|
+
return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const n=this.indexFromElement(e),i=this.getMeasurements()[n]
|
|
11219
|
+
if(!i||!e.isConnected)return void this.elementsCache.forEach(((t,n)=>{t===e&&(this.observer.unobserve(e),this.elementsCache.delete(n))}))
|
|
11220
|
+
const o=this.elementsCache.get(i.key)
|
|
11221
|
+
o!==e&&(o&&this.observer.unobserve(o),this.observer.observe(e),this.elementsCache.set(i.key,e)),this.resizeItem(n,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{const n=this.getMeasurements()[e]
|
|
11222
|
+
if(!n)return
|
|
11223
|
+
const i=t-(this.itemSizeCache.get(n.key)??n.size)
|
|
11224
|
+
0!==i&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,i,this):n.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=i,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(n.index),this.itemSizeCache=new Map(this.itemSizeCache.set(n.key,t)),this.notify(!0,!1))},this.measureElement=e=>{e&&this._measureElement(e,void 0)},this.getVirtualItems=VR((()=>[this.getIndexes(),this.getMeasurements()]),((e,t)=>{const n=[]
|
|
11206
11225
|
for(let i=0,o=e.length;i<o;i++){const o=t[e[i]]
|
|
11207
11226
|
n.push(o)}return n}),{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{const t=this.getMeasurements()
|
|
11208
|
-
return
|
|
11209
|
-
"auto"===t&&(t=e<=
|
|
11210
|
-
const
|
|
11211
|
-
return Math.max(Math.min(
|
|
11212
|
-
const n=
|
|
11213
|
-
if(
|
|
11214
|
-
|
|
11215
|
-
|
|
11216
|
-
|
|
11217
|
-
const
|
|
11218
|
-
this.
|
|
11219
|
-
|
|
11220
|
-
|
|
11227
|
+
if(0!==t.length)return HR(t[YR(0,t.length-1,(e=>HR(t[e]).start),e)])},this.getOffsetForAlignment=(e,t)=>{const n=this.getSize(),i=this.getScrollOffset()
|
|
11228
|
+
"auto"===t&&(t=e<=i?"start":e>=i+n?"end":"start"),"start"===t||("end"===t?e-=n:"center"===t&&(e-=n/2))
|
|
11229
|
+
const o=this.options.horizontal?"scrollWidth":"scrollHeight",s=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[o]:this.scrollElement[o]:0)-n
|
|
11230
|
+
return Math.max(Math.min(s,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1))
|
|
11231
|
+
const n=this.getMeasurements()[e]
|
|
11232
|
+
if(!n)return
|
|
11233
|
+
const i=this.getSize(),o=this.getScrollOffset()
|
|
11234
|
+
if("auto"===t)if(n.end>=o+i-this.options.scrollPaddingEnd)t="end"
|
|
11235
|
+
else{if(!(n.start<=o+this.options.scrollPaddingStart))return[o,t]
|
|
11236
|
+
t="start"}const s="end"===t?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart
|
|
11237
|
+
return[this.getOffsetForAlignment(s,t),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.")
|
|
11238
|
+
const i=this.getOffsetForIndex(e,t)
|
|
11239
|
+
if(!i)return
|
|
11240
|
+
const[o,s]=i
|
|
11241
|
+
this._scrollToOffset(o,{adjustments:void 0,behavior:n}),"smooth"!==n&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout((()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){const[o]=HR(this.getOffsetForIndex(e,s))
|
|
11242
|
+
t=o,i=this.getScrollOffset(),Math.abs(t-i)<1||this.scrollToIndex(e,{align:s,behavior:n})}else this.scrollToIndex(e,{align:s,behavior:n})
|
|
11243
|
+
var t,i})))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{var e
|
|
11221
11244
|
const t=this.getMeasurements()
|
|
11222
11245
|
let n
|
|
11223
11246
|
return n=0===t.length?this.options.paddingStart:1===this.options.lanes?(null==(e=t[t.length-1])?void 0:e.end)??0:Math.max(...t.slice(-this.options.lanes).map((e=>e.end))),n-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{var e,t
|
|
11224
|
-
this.itemSizeCache=new Map,null==(t=(e=this.options).onChange)||t.call(e,this,!1)},this.setOptions(e)
|
|
11247
|
+
this.itemSizeCache=new Map,null==(t=(e=this.options).onChange)||t.call(e,this,!1)},this.setOptions(e)}}(e),this.virtualizer._willUpdate(),this.handleVirtualizerChange()}createVirtualizerOptions(){const e=this.rowHeight
|
|
11225
11248
|
return{count:this.tanStackTable.getRowModel().rows.length,getScrollElement:()=>this.table.viewport,estimateSize:t=>e,enableSmoothScroll:!0,overscan:3,scrollingDelay:5,scrollToFn:XR,observeElementOffset:ZR,observeElementRect:jR,onChange:()=>this.handleVirtualizerChange()}}handleVirtualizerChange(){this.table.handleFocusedCellRecycling()
|
|
11226
11249
|
const e=this.virtualizer
|
|
11227
11250
|
this.visibleItems=e.getVirtualItems(),this.scrollHeight=e.getTotalSize()
|
|
@@ -11445,14 +11468,14 @@ for(;n&&n!==this.table;){if(t(n))return n
|
|
|
11445
11468
|
n=n.parentElement??n.parentNode?.host}}isInTable(e){let t=e
|
|
11446
11469
|
for(;t&&t!==this.table;)t=t.parentElement??t.parentNode?.host
|
|
11447
11470
|
return t===this.table}getActiveElement(){let e=document.activeElement
|
|
11448
|
-
for(;e?.shadowRoot?.activeElement&&(e=e.shadowRoot.activeElement,!(e instanceof
|
|
11471
|
+
for(;e?.shadowRoot?.activeElement&&(e=e.shadowRoot.activeElement,!(e instanceof Vt)||this.isResolvedRowType(e)||e instanceof ER||e instanceof hR););return e}focusFirstInteractiveElementInCurrentCell(e){return!!e&&(this.trySetCellContentFocus(e,0)||this.trySetCellActionMenuFocus(e))}hasRowOrCellFocusType(){switch(this.focusType){case nR:case iR:case oR:case eR:case tR:return!0
|
|
11449
11472
|
default:return!1}}hasHeaderFocusType(){switch(this.focusType){case QO:case JO:return!0
|
|
11450
11473
|
default:return!1}}trySetRowSelectionCheckboxFocus(e){return!!e?.selectionCheckbox&&(this.focusType=tR,this.focusCurrentRow(!0),!0)}trySetColumnHeaderFocus(e,t){return t>=0&&t<e.columnHeaders.length&&(this.focusType=JO,this.columnIndex=t,this.focusHeaderElement(),!0)}trySetHeaderActionFocus(e,t){return t>=0&&t<e.headerActions.length&&(this.focusType=QO,this.headerActionIndex=t,this.focusHeaderElement(),!0)}trySetCellFocus(e,t,n){if(!e)return!1
|
|
11451
11474
|
const i=t??this.columnIndex,o=n??this.rowIndex
|
|
11452
11475
|
return i>=0&&i<e.cells.length&&(this.focusType=nR,this.setRowCellFocusState(i,o,!0),!0)}trySetCellContentFocus(e,t,n,i){if(!e)return!1
|
|
11453
11476
|
const o=n??this.columnIndex,s=i??this.rowIndex
|
|
11454
11477
|
return o>=0&&o<e.cells.length&&t>=0&&t<e.cells[o].cell.cellView.tabbableChildren.length&&(this.setCellContentFocusState(t,s,o,!0),!0)}trySetCellActionMenuFocus(e,t,n){const i=t??this.columnIndex,o=n??this.rowIndex
|
|
11455
|
-
return!!(i>=0&&i<e.cells.length&&e.cells[i].actionMenuButton)&&(this.setCellActionMenuFocusState(o,i,!0),!0)}setCellActionMenuFocusState(e,t,n){this.focusType=iR,this.setRowCellFocusState(t,e,n)}setCellContentFocusState(e,t,n,i){this.focusType=oR,this.cellContentIndex=e,this.setRowCellFocusState(n,t,i)}setRowFocusState(e){this.focusType=eR,void 0!==e&&(this.rowIndex=e)}setCellFocusState(e,t,n){this.focusType=nR,this.setRowCellFocusState(e,t,n)}setRowCellFocusState(e,t,n){this.rowIndex=t,this.columnIndex=e,n&&this.focusCurrentRow(!0)}isResolvedRowType(e){return e instanceof AR||e instanceof NR}}class bF extends
|
|
11478
|
+
return!!(i>=0&&i<e.cells.length&&e.cells[i].actionMenuButton)&&(this.setCellActionMenuFocusState(o,i,!0),!0)}setCellActionMenuFocusState(e,t,n){this.focusType=iR,this.setRowCellFocusState(t,e,n)}setCellContentFocusState(e,t,n,i){this.focusType=oR,this.cellContentIndex=e,this.setRowCellFocusState(n,t,i)}setRowFocusState(e){this.focusType=eR,void 0!==e&&(this.rowIndex=e)}setCellFocusState(e,t,n){this.focusType=nR,this.setRowCellFocusState(e,t,n)}setRowCellFocusState(e,t,n){this.rowIndex=t,this.columnIndex=e,n&&this.focusCurrentRow(!0)}isResolvedRowType(e){return e instanceof AR||e instanceof NR}}class bF extends Vt{get validity(){return this.tableValidator.getValidity()}get showRowOperationColumn(){return this.selectionMode===GO.multiple||this.showCollapseAll}constructor(){super(),this.selectionMode=GO.none,this.tableData=[],this.columns=[],this.childItems=[],this.rowElements=[],this.actionMenuSlots=[],this.canRenderRows=!0,this.scrollX=0,this.selectionState=ZO,this.showCollapseAll=!1,this.visibleColumns=[],this.tableScrollableMinWidth=0,this.documentShiftKeyDown=!1,this.tableValidator=new gR,this.tableUpdateTracker=new sF(this),this.columnNotifiers=[],this.isInitialized=!1,this.ignoreSelectionChangeEvents=!1,this.onViewPortScroll=e=>{this.scrollX=e.target.scrollLeft},this.onKeyDown=e=>{e.key===Ta&&(this.documentShiftKeyDown=!0)},this.onKeyUp=e=>{e.key===Ta&&(this.documentShiftKeyDown=!1)},this.getRowCanExpand=e=>this.expansionManager.isRowExpandable(e),this.getIsRowExpanded=e=>this.expansionManager.isRowExpanded(e),this.handleRowSelectionChange=e=>{const t=e instanceof Function?e(this.table.getState().rowSelection):e
|
|
11456
11479
|
this.updateTableOptions({state:{rowSelection:t}})},this.handleExpandedChange=e=>{const t=e instanceof Function?e(this.table.getState().expanded):e
|
|
11457
11480
|
this.updateTableOptions({state:{expanded:t}})},this.options={data:[],onStateChange:e=>{},onRowSelectionChange:this.handleRowSelectionChange,onExpandedChange:this.handleExpandedChange,getCoreRowModel:e=>GD((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},i=function(t,o,s){void 0===o&&(o=0)
|
|
11458
11481
|
const r=[]
|
|
@@ -11475,7 +11498,7 @@ d=n&&i?0:n?l:-l}}if(0===d&&(d=a.sortingFn(e,t,o.id)),0!==d)return c&&(d*=-1),a.i
|
|
|
11475
11498
|
o.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=a(e.subRows))})),t}
|
|
11476
11499
|
return{rows:a(n.rows),flatRows:o,rowsById:n.rowsById}}),ZD(e.options,"debugTable",0,(()=>e._autoResetPageIndex()))),getGroupedRowModel:BO(),getExpandedRowModel:e=>GD((()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows]),((e,t,n)=>!t.rows.length||!0!==e&&!Object.keys(null!=e?e:{}).length?t:n?function(e){const t=[],n=e=>{var i
|
|
11477
11500
|
t.push(e),null!=(i=e.subRows)&&i.length&&e.getIsExpanded()&&e.subRows.forEach(n)}
|
|
11478
|
-
return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}(t):t),ZD(e.options,"debugTable")),getRowCanExpand:this.getRowCanExpand,getIsRowExpanded:this.getIsRowExpanded,getSubRows:e=>e.subRows,columns:[],state:{rowSelection:{},grouping:[],expanded:!0},enableRowSelection:e=>!e.getIsGrouped(),enableMultiRowSelection:!1,enableSubRowSelection:!1,enableSorting:!0,enableGrouping:!0,renderFallbackValue:null,autoResetAll:!1},this.table=
|
|
11501
|
+
return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}(t):t),ZD(e.options,"debugTable")),getRowCanExpand:this.getRowCanExpand,getIsRowExpanded:this.getIsRowExpanded,getSubRows:e=>e.subRows,columns:[],state:{rowSelection:{},grouping:[],expanded:!0},enableRowSelection:e=>!e.getIsGrouped(),enableMultiRowSelection:!1,enableSubRowSelection:!1,enableSorting:!0,enableGrouping:!0,renderFallbackValue:null,autoResetAll:!1},this.table=HO(this.options),this.virtualizer=new JR(this,this.table),this.keyboardNavigationManager=new vF(this,this.virtualizer),this.layoutManager=new nF(this),this.layoutManagerNotifier=m.getNotifier(this.layoutManager),this.layoutManagerNotifier.subscribe(this,"isColumnBeingSized"),this.selectionManager=new dF(this.table,this.selectionMode),this.expansionManager=new fF(this.table)}async setData(e){await this.processPendingUpdates()
|
|
11479
11502
|
const t=this.calculateTanStackData(e)
|
|
11480
11503
|
this.updateTableOptions(t)}async getSelectedRecordIds(){return await this.processPendingUpdates(),this.selectionManager.getCurrentSelectedRecordIds()}async setSelectedRecordIds(e){await this.processPendingUpdates(),this.selectionMode!==GO.none&&this.updateTableOptions({state:{rowSelection:this.calculateTanStackSelectionState(e)}})}async setRecordHierarchyOptions(e){await this.processPendingUpdates()
|
|
11481
11504
|
const t=structuredClone(e),n=this.tableValidator.getOptionsWithPresentIds(t)
|
|
@@ -11582,7 +11605,7 @@ function CF(e){class t extends e{fractionalWidthChanged(){this.columnInternals.f
|
|
|
11582
11605
|
@click="${(e,t)=>("string"==typeof e.cellRecord?.href&&t.event.stopPropagation(),!0)}"
|
|
11583
11606
|
class="${e=>e.isPlaceholder?"placeholder":""}"
|
|
11584
11607
|
>
|
|
11585
|
-
${
|
|
11608
|
+
${He((e=>e.showAnchor),G`
|
|
11586
11609
|
<${Yd}
|
|
11587
11610
|
${Pe("anchor")}
|
|
11588
11611
|
${vg("hasOverflow")}
|
|
@@ -11602,7 +11625,7 @@ function CF(e){class t extends e{fractionalWidthChanged(){this.columnInternals.f
|
|
|
11602
11625
|
>
|
|
11603
11626
|
${e=>e.text}
|
|
11604
11627
|
</${Yd}>`)}
|
|
11605
|
-
${
|
|
11628
|
+
${He((e=>!e.showAnchor),G`
|
|
11606
11629
|
<span
|
|
11607
11630
|
${vg("hasOverflow")}
|
|
11608
11631
|
title=${e=>e.hasOverflow?e.text:null}
|
|
@@ -11642,9 +11665,9 @@ const NF=FF.compose({baseName:"table-column-anchor",template:xF,styles:wF})
|
|
|
11642
11665
|
yi.getOrCreate().withPrefix("nimble").register(NF())
|
|
11643
11666
|
class PF extends mR{fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}}function LF(e){return kF(CF(SF(RF(e))))}function zF(e,t){if("number"!=typeof t)return""
|
|
11644
11667
|
try{return e.format(t)}catch(e){return""}}e([le({attribute:"field-name"})],PF.prototype,"fieldName",void 0)
|
|
11645
|
-
const
|
|
11646
|
-
yi.getOrCreate().withPrefix("nimble").register(
|
|
11647
|
-
const
|
|
11668
|
+
const VF=class extends _F{updateText(){this.columnConfig?this.text=zF(this.columnConfig.formatter,this.groupHeaderValue):this.text=""}}.compose({baseName:"table-column-date-text-group-header-view",template:TF,styles:AF})
|
|
11669
|
+
yi.getOrCreate().withPrefix("nimble").register(VF())
|
|
11670
|
+
const HF="left",BF="right",qF=G`
|
|
11648
11671
|
<template
|
|
11649
11672
|
class="
|
|
11650
11673
|
${e=>e.alignment===BF?"right-align":""}
|
|
@@ -11682,17 +11705,17 @@ const VF="left",BF="right",qF=G`
|
|
|
11682
11705
|
color: ${Ic};
|
|
11683
11706
|
}
|
|
11684
11707
|
`
|
|
11685
|
-
class jF extends hR{constructor(){super(...arguments),this.hasOverflow=!1,this.text="",this.alignment=
|
|
11708
|
+
class jF extends hR{constructor(){super(...arguments),this.hasOverflow=!1,this.text="",this.alignment=HF,this.isPlaceholder=!1}columnConfigChanged(){this.applyPlaceholderTextIfNeeded()||this.updateText()}cellRecordChanged(){this.applyPlaceholderTextIfNeeded()||this.updateText()}applyPlaceholderTextIfNeeded(){const e=this.cellRecord?.value,t=this.columnConfig?.placeholder
|
|
11686
11709
|
return"string"==typeof t&&null==e?(this.text=t,this.isPlaceholder=!0):this.isPlaceholder=!1,this.isPlaceholder}}e([g],jF.prototype,"hasOverflow",void 0),e([g],jF.prototype,"text",void 0),e([g],jF.prototype,"alignment",void 0),e([g],jF.prototype,"isPlaceholder",void 0)
|
|
11687
11710
|
const WF=class extends jF{updateText(){this.columnConfig?this.text=zF(this.columnConfig.formatter,this.cellRecord?.value):this.text=""}}.compose({baseName:"table-column-date-text-cell-view",template:qF,styles:UF})
|
|
11688
11711
|
yi.getOrCreate().withPrefix("nimble").register(WF())
|
|
11689
11712
|
const GF=void 0,ZF=["invalidCustomOptionsCombination"]
|
|
11690
11713
|
class KF extends gF{constructor(){super(ZF)}setCustomOptionsValidity(e){this.setConditionValue("invalidCustomOptionsCombination",!e)}}const XF={toView:e=>"boolean"==typeof e?e.toString():null,fromView:e=>"true"===e||!0===e||"false"!==e&&!1!==e&&void 0}
|
|
11691
|
-
class YF extends(LF(PF)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),
|
|
11714
|
+
class YF extends(LF(PF)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),Ha.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),Ha.unsubscribe(this.langSubscriber,this)}placeholderChanged(){this.updateColumnConfig()}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-date-text-cell-view",groupHeaderViewTag:"nimble-table-column-date-text-group-header-view",delegatedEvents:[],sortOperation:sR,validator:new KF}}formatChanged(){this.updateColumnConfig()}customLocaleMatcherChanged(){this.updateColumnConfig()}customWeekdayChanged(){this.updateColumnConfig()}customEraChanged(){this.updateColumnConfig()}customYearChanged(){this.updateColumnConfig()}customMonthChanged(){this.updateColumnConfig()}customDayChanged(){this.updateColumnConfig()}customHourChanged(){this.updateColumnConfig()}customMinuteChanged(){this.updateColumnConfig()}customSecondChanged(){this.updateColumnConfig()}customTimeZoneNameChanged(){this.updateColumnConfig()}customFormatMatcherChanged(){this.updateColumnConfig()}customHour12Changed(){this.updateColumnConfig()}customTimeZoneChanged(){this.updateColumnConfig()}customCalendarChanged(){this.updateColumnConfig()}customDayPeriodChanged(){this.updateColumnConfig()}customNumberingSystemChanged(){this.updateColumnConfig()}customDateStyleChanged(){this.updateColumnConfig()}customTimeStyleChanged(){this.updateColumnConfig()}customHourCycleChanged(){this.updateColumnConfig()}updateColumnConfig(){const e=this.createFormatter()
|
|
11692
11715
|
if(e){const t={formatter:e,placeholder:this.placeholder}
|
|
11693
11716
|
this.columnInternals.columnConfig=t,this.columnInternals.validator.setCustomOptionsValidity(!0)}else this.columnInternals.columnConfig=void 0,this.columnInternals.validator.setCustomOptionsValidity(!1)}createFormatter(){let e
|
|
11694
11717
|
e=this.format===GF?{dateStyle:"medium",timeStyle:"medium"}:this.getCustomFormattingOptions()
|
|
11695
|
-
try{return new Intl.DateTimeFormat(
|
|
11718
|
+
try{return new Intl.DateTimeFormat(Ha.getValueFor(this),e)}catch(e){return}}getCustomFormattingOptions(){return{localeMatcher:this.customLocaleMatcher??void 0,weekday:this.customWeekday??void 0,era:this.customEra??void 0,year:this.customYear??void 0,month:this.customMonth??void 0,day:this.customDay??void 0,hour:this.customHour??void 0,minute:this.customMinute??void 0,second:this.customSecond??void 0,timeZoneName:this.customTimeZoneName??void 0,formatMatcher:this.customFormatMatcher??void 0,hour12:this.customHour12??void 0,timeZone:this.customTimeZone??void 0,calendar:this.customCalendar??void 0,dayPeriod:this.customDayPeriod??void 0,numberingSystem:this.customNumberingSystem??void 0,dateStyle:this.customDateStyle??void 0,timeStyle:this.customTimeStyle??void 0,hourCycle:this.customHourCycle??void 0}}}e([le],YF.prototype,"format",void 0),e([le({attribute:"custom-locale-matcher"})],YF.prototype,"customLocaleMatcher",void 0),e([le({attribute:"custom-weekday"})],YF.prototype,"customWeekday",void 0),e([le({attribute:"custom-era"})],YF.prototype,"customEra",void 0),e([le({attribute:"custom-year"})],YF.prototype,"customYear",void 0),e([le({attribute:"custom-month"})],YF.prototype,"customMonth",void 0),e([le({attribute:"custom-day"})],YF.prototype,"customDay",void 0),e([le({attribute:"custom-hour"})],YF.prototype,"customHour",void 0),e([le({attribute:"custom-minute"})],YF.prototype,"customMinute",void 0),e([le({attribute:"custom-second"})],YF.prototype,"customSecond",void 0),e([le({attribute:"custom-time-zone-name"})],YF.prototype,"customTimeZoneName",void 0),e([le({attribute:"custom-format-matcher"})],YF.prototype,"customFormatMatcher",void 0),e([le({attribute:"custom-hour12",converter:XF})],YF.prototype,"customHour12",void 0),e([le({attribute:"custom-time-zone"})],YF.prototype,"customTimeZone",void 0),e([le({attribute:"custom-calendar"})],YF.prototype,"customCalendar",void 0),e([le({attribute:"custom-day-period"})],YF.prototype,"customDayPeriod",void 0),e([le({attribute:"custom-numbering-system"})],YF.prototype,"customNumberingSystem",void 0),e([le({attribute:"custom-date-style"})],YF.prototype,"customDateStyle",void 0),e([le({attribute:"custom-time-style"})],YF.prototype,"customTimeStyle",void 0),e([le({attribute:"custom-hour-cycle"})],YF.prototype,"customHourCycle",void 0)
|
|
11696
11719
|
const JF=YF.compose({baseName:"table-column-date-text",template:xF,styles:wF})
|
|
11697
11720
|
yi.getOrCreate().withPrefix("nimble").register(JF())
|
|
11698
11721
|
const QF=class extends jF{updateText(){this.text=this.columnConfig?.formatter.format(this.cellRecord?.value)??""}}.compose({baseName:"table-column-duration-text-cell-view",template:qF,styles:UF})
|
|
@@ -11712,7 +11735,7 @@ if(e<1&&0!==h)return this.scientificSecondsFormatter.format(h)
|
|
|
11712
11735
|
if(u>=5e-4||0===u&&0===t.length){const e=this.secondsFormatter.format(u)
|
|
11713
11736
|
t.push(e)}return t.join(", ")}}const tN=class extends _F{updateText(){this.columnConfig?this.text=this.columnConfig.formatter.format(this.groupHeaderValue):this.text=""}}.compose({baseName:"table-column-duration-text-group-header-view",template:TF,styles:AF})
|
|
11714
11737
|
yi.getOrCreate().withPrefix("nimble").register(tN())
|
|
11715
|
-
class nN extends(LF(PF)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),
|
|
11738
|
+
class nN extends(LF(PF)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),Ha.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),Ha.unsubscribe(this.langSubscriber,this)}placeholderChanged(){this.updateColumnConfig()}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-duration-text-cell-view",groupHeaderViewTag:"nimble-table-column-duration-text-group-header-view",delegatedEvents:[],sortOperation:sR,validator:new gF([])}}updateColumnConfig(){const e={formatter:new eN(Ha.getValueFor(this)),placeholder:this.placeholder}
|
|
11716
11739
|
this.columnInternals.columnConfig=e}}const iN=nN.compose({baseName:"table-column-duration-text",template:xF,styles:wF})
|
|
11717
11740
|
yi.getOrCreate().withPrefix("nimble").register(iN())
|
|
11718
11741
|
const oN=(e,t)=>{if("number"===t){const t=re.fromView(e)
|
|
@@ -11763,7 +11786,7 @@ this.setConditionValue("unsupportedMappingType",!t)}}const hN=xe`
|
|
|
11763
11786
|
text-overflow: ellipsis;
|
|
11764
11787
|
}
|
|
11765
11788
|
`,uN=G`
|
|
11766
|
-
${
|
|
11789
|
+
${He((e=>e.visualizationTemplate),G`
|
|
11767
11790
|
<span class="reserve-icon-size">
|
|
11768
11791
|
${e=>e.visualizationTemplate}
|
|
11769
11792
|
</span>
|
|
@@ -11820,12 +11843,12 @@ const CN=xe`
|
|
|
11820
11843
|
text-overflow: ellipsis;
|
|
11821
11844
|
}
|
|
11822
11845
|
`,kN=G`
|
|
11823
|
-
${
|
|
11846
|
+
${He((e=>e.visualizationTemplate),G`
|
|
11824
11847
|
<span class="reserve-icon-size">
|
|
11825
11848
|
${e=>e.visualizationTemplate}
|
|
11826
11849
|
</span>
|
|
11827
11850
|
`)}
|
|
11828
|
-
${
|
|
11851
|
+
${He((e=>!e.textHidden),G`
|
|
11829
11852
|
<span
|
|
11830
11853
|
${vg("hasOverflow")}
|
|
11831
11854
|
title=${e=>e.hasOverflow&&e.text?e.text:null}
|
|
@@ -11860,7 +11883,7 @@ const _N=G`<span
|
|
|
11860
11883
|
</span>`
|
|
11861
11884
|
const TN=class extends _F{updateText(){this.text=this.columnConfig?.formatter?.format(this.groupHeaderValue)??""}}.compose({baseName:"table-column-number-text-group-header-view",template:TF,styles:AF})
|
|
11862
11885
|
yi.getOrCreate().withPrefix("nimble").register(TN())
|
|
11863
|
-
const AN=class extends jF{columnConfigChanged(){super.columnConfigChanged(),this.alignment=this.columnConfig?.alignment??
|
|
11886
|
+
const AN=class extends jF{columnConfigChanged(){super.columnConfigChanged(),this.alignment=this.columnConfig?.alignment??HF}updateText(){this.text=this.columnConfig?.formatter?.format(this.cellRecord?.value)??""}}.compose({baseName:"table-column-number-text-cell-view",template:qF,styles:UF})
|
|
11864
11887
|
yi.getOrCreate().withPrefix("nimble").register(AN())
|
|
11865
11888
|
const DN={default:void 0,decimal:"decimal"},ON="left",RN="right"
|
|
11866
11889
|
class FN{format(e){if("number"!=typeof e)return""
|
|
@@ -11873,32 +11896,32 @@ this.supportedScaledUnits=e,this.baseScaledUnit=n}scaleNumber(e){const t=Math.ab
|
|
|
11873
11896
|
if(1===this.supportedScaledUnits.length||0===t||t===1/0||Number.isNaN(t))return{scaledValue:e,scaledUnit:this.baseScaledUnit}
|
|
11874
11897
|
for(let n=this.supportedScaledUnits.length-1;n>=0;n-=1){const i=this.supportedScaledUnits[n]
|
|
11875
11898
|
if(t/i.scaleFactor>=1)return{scaledValue:e/i.scaleFactor,scaledUnit:i}}const n=this.supportedScaledUnits[0]
|
|
11876
|
-
return{scaledValue:e/n.scaleFactor,scaledUnit:n}}}const
|
|
11877
|
-
class BN extends FN{constructor(e,{unitScale:t=
|
|
11899
|
+
return{scaledValue:e/n.scaleFactor,scaledUnit:n}}}const VN=new class extends zN{constructor(){super([new LN(1,PN.createFactory({}))])}},HN="negative"
|
|
11900
|
+
class BN extends FN{constructor(e,{unitScale:t=VN}={unitScale:VN}){super(),this.defaultIntlNumberFormatOptions={maximumSignificantDigits:BN.maximumDigits,maximumFractionDigits:BN.maximumDigits-1,roundingPriority:"lessPrecision",signDisplay:HN},this.defaultScaledUnitFormatters=new Map,this.exponentialIntlNumberFormatOptions={maximumSignificantDigits:BN.maximumDigits,notation:"scientific",signDisplay:HN}
|
|
11878
11901
|
for(const n of t.supportedScaledUnits)this.defaultScaledUnitFormatters.set(n.scaleFactor,n.scaledUnitFormatFactory({locale:e,intlNumberFormatOptions:this.defaultIntlNumberFormatOptions}))
|
|
11879
11902
|
this.exponentialScaledUnitFormatter=t.baseScaledUnit.scaledUnitFormatFactory({locale:e,intlNumberFormatOptions:this.exponentialIntlNumberFormatOptions}),this.unitScale=t}resolvedOptions(){return{unitScale:this.unitScale}}tryFormat(e){const{scaledValue:t,scaledUnit:n}=this.unitScale.scaleNumber(e),i=Math.abs(t)
|
|
11880
11903
|
return 0!==i&&(i>=BN.exponentialUpperBound||i<BN.exponentialLowerBound)?this.exponentialScaledUnitFormatter.format(e):this.defaultScaledUnitFormatters.get(n.scaleFactor).format(t)}}BN.maximumDigits=6,BN.exponentialLowerBound=995e-6,BN.exponentialUpperBound=999999.5
|
|
11881
|
-
class qN extends FN{constructor(e,{minimumFractionDigits:t=0,maximumFractionDigits:n=Math.max(3,t),unitScale:i=
|
|
11904
|
+
class qN extends FN{constructor(e,{minimumFractionDigits:t=0,maximumFractionDigits:n=Math.max(3,t),unitScale:i=VN}={minimumFractionDigits:0,maximumFractionDigits:3,unitScale:VN}){super(),this.scaledUnitFormatters=new Map
|
|
11882
11905
|
const o={maximumFractionDigits:n,minimumFractionDigits:t,signDisplay:"negative"}
|
|
11883
11906
|
for(const t of i.supportedScaledUnits)this.scaledUnitFormatters.set(t.scaleFactor,t.scaledUnitFormatFactory({locale:e,intlNumberFormatOptions:o}))
|
|
11884
11907
|
this.unitScale=i,this.minimumFractionDigits=t,this.maximumFractionDigits=n}resolvedOptions(){return{unitScale:this.unitScale,maximumFractionDigits:this.maximumFractionDigits,minimumFractionDigits:this.minimumFractionDigits}}tryFormat(e){const{scaledValue:t,scaledUnit:n}=this.unitScale.scaleNumber(e)
|
|
11885
11908
|
return this.scaledUnitFormatters.get(n.scaleFactor).format(t)}}class UN extends FN{constructor(e,t){super(),this._resolvedOptions=this.resolveOptions(t),this.resolvedUnitFormat=this.resolveUnitFormat(e,this._resolvedOptions)}resolvedOptions(){return{...this._resolvedOptions}}optionsMatch(e){const t=this.resolveOptions(e)
|
|
11886
11909
|
return this._resolvedOptions.decimalDigits===t.decimalDigits&&this._resolvedOptions.decimalMaximumDigits===t.decimalMaximumDigits&&this._resolvedOptions.numberTextFormat===t.numberTextFormat&&this._resolvedOptions.unitScale===t.unitScale}tryFormat(e){return this.resolvedUnitFormat.format(e)}resolveUnitFormat(e,t){const{numberTextFormat:n,decimalMaximumDigits:i,decimalDigits:o,unitScale:s}=t
|
|
11887
|
-
return n===DN.default?new BN(e,{unitScale:s}):new qN(e,"number"==typeof o?{minimumFractionDigits:o,maximumFractionDigits:o,unitScale:s}:{minimumFractionDigits:0,maximumFractionDigits:i,unitScale:s})}resolveOptions(e){if(!e||e.numberTextFormat===DN.default)return{numberTextFormat:DN.default,decimalDigits:void 0,decimalMaximumDigits:void 0,unitScale:e?.unitScale??
|
|
11910
|
+
return n===DN.default?new BN(e,{unitScale:s}):new qN(e,"number"==typeof o?{minimumFractionDigits:o,maximumFractionDigits:o,unitScale:s}:{minimumFractionDigits:0,maximumFractionDigits:i,unitScale:s})}resolveOptions(e){if(!e||e.numberTextFormat===DN.default)return{numberTextFormat:DN.default,decimalDigits:void 0,decimalMaximumDigits:void 0,unitScale:e?.unitScale??VN}
|
|
11888
11911
|
const t="number"==typeof e.decimalDigits,n="number"==typeof e.decimalMaximumDigits
|
|
11889
11912
|
if(t&&n)throw new Error("decimalDigits and decimalMaximumDigits are mutually exclusive. Do not specify both.")
|
|
11890
|
-
return t||n?{numberTextFormat:DN.decimal,decimalDigits:e.decimalDigits,decimalMaximumDigits:e.decimalMaximumDigits,unitScale:e.unitScale??
|
|
11913
|
+
return t||n?{numberTextFormat:DN.decimal,decimalDigits:e.decimalDigits,decimalMaximumDigits:e.decimalMaximumDigits,unitScale:e.unitScale??VN}:{numberTextFormat:DN.decimal,decimalDigits:UN.defaultDecimalDigits,decimalMaximumDigits:void 0,unitScale:e.unitScale??VN}}}UN.defaultDecimalDigits=2
|
|
11891
11914
|
const jN=["invalidDecimalDigits","invalidDecimalMaximumDigits","decimalDigitsMutuallyExclusiveWithDecimalMaximumDigits","moreThanOneUnitSpecified"]
|
|
11892
11915
|
class WN extends gF{constructor(){super(jN)}validateDecimalDigits(e,t){const n=!!(e===DN.decimal&&"number"==typeof t)&&this.isInvalidDecimalDigitsValue(t)
|
|
11893
11916
|
this.setConditionValue("invalidDecimalDigits",n)}validateDecimalMaximumDigits(e,t){const n=!!(e===DN.decimal&&"number"==typeof t)&&this.isInvalidDecimalDigitsValue(t)
|
|
11894
11917
|
this.setConditionValue("invalidDecimalMaximumDigits",n)}validateNoMutuallyExclusiveProperties(e,t,n){const i=!!(e===DN.decimal)&&("number"==typeof t&&"number"==typeof n)
|
|
11895
11918
|
this.setConditionValue("decimalDigitsMutuallyExclusiveWithDecimalMaximumDigits",i)}validateAtMostOneUnit(e){const t=e.length>1
|
|
11896
|
-
this.setConditionValue("moreThanOneUnitSpecified",t)}isInvalidDecimalDigitsValue(e){return e<0||e>20}}class GN extends
|
|
11897
|
-
class ZN extends(LF(PF)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}},this.unitSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),
|
|
11919
|
+
this.setConditionValue("moreThanOneUnitSpecified",t)}isInvalidDecimalDigitsValue(e){return e<0||e>20}}class GN extends Vt{}e([g],GN.prototype,"resolvedUnitScale",void 0)
|
|
11920
|
+
class ZN extends(LF(PF)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}},this.unitSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),Ha.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),Ha.unsubscribe(this.langSubscriber,this)}placeholderChanged(){this.updateColumnConfig()}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-number-text-cell-view",groupHeaderViewTag:"nimble-table-column-number-text-group-header-view",delegatedEvents:[],sortOperation:sR,validator:new WN}}updateUnitNotifier(){if(this.unitNotifier&&(this.unitNotifier.unsubscribe(this.unitSubscriber),this.unitNotifier=void 0),this.unit){const e=m.getNotifier(this.unit)
|
|
11898
11921
|
e.subscribe(this.unitSubscriber,"resolvedUnitScale"),this.unitNotifier=e}}formatChanged(){this.updateColumnConfig()}alignmentChanged(){this.updateColumnConfig()}decimalDigitsChanged(){this.updateColumnConfig()}decimalMaximumDigitsChanged(){this.updateColumnConfig()}unitElementsChanged(){this.updateUnit()}async updateUnit(){this.unit=void 0,this.unitElements&&(await b_(this.unitElements),this.unit=this.unitElements.find((e=>e instanceof GN))),this.updateUnitNotifier()}unitChanged(){this.updateColumnConfig()}updateColumnConfig(){const e=this.columnInternals.validator
|
|
11899
11922
|
if(e.validateDecimalDigits(this.format,this.decimalDigits),e.validateDecimalMaximumDigits(this.format,this.decimalMaximumDigits),e.validateNoMutuallyExclusiveProperties(this.format,this.decimalDigits,this.decimalMaximumDigits),e.validateAtMostOneUnit(this.unitElements??[]),e.isValid()){const e={formatter:this.createFormatter(),alignment:this.determineCellContentAlignment(),placeholder:this.placeholder}
|
|
11900
11923
|
this.columnInternals.columnConfig=e}else this.columnInternals.columnConfig=void 0}createFormatter(){const e=this.unit?.resolvedUnitScale
|
|
11901
|
-
return new UN(
|
|
11924
|
+
return new UN(Ha.getValueFor(this),{numberTextFormat:this.format??void 0,decimalDigits:this.decimalDigits??void 0,decimalMaximumDigits:this.decimalMaximumDigits??void 0,unitScale:e})}determineCellContentAlignment(){return this.alignment===ON?HF:this.alignment===RN?BF:this.format!==DN.decimal||"number"==typeof this.decimalMaximumDigits||this.unit?HF:BF}}e([le],ZN.prototype,"format",void 0),e([le],ZN.prototype,"alignment",void 0),e([le({attribute:"decimal-digits",converter:re})],ZN.prototype,"decimalDigits",void 0),e([le({attribute:"decimal-maximum-digits",converter:re})],ZN.prototype,"decimalMaximumDigits",void 0),e([g],ZN.prototype,"unitElements",void 0),e([g],ZN.prototype,"unit",void 0)
|
|
11902
11925
|
const KN=ZN.compose({baseName:"table-column-number-text",template:_N,styles:wF})
|
|
11903
11926
|
yi.getOrCreate().withPrefix("nimble").register(KN())
|
|
11904
11927
|
const XN=class extends jF{updateText(){this.text="string"==typeof this.cellRecord?.value?this.cellRecord.value:""}}.compose({baseName:"table-column-text-cell-view",template:qF,styles:UF})
|
|
@@ -11938,7 +11961,7 @@ const eP=class extends so{constructor(){super(),this.activeindicator=!1}}.compos
|
|
|
11938
11961
|
<div class="tablist" part="tablist" role="tablist">
|
|
11939
11962
|
<slot class="tab" name="tab" part="tab" ${Ye("tabs")}></slot>
|
|
11940
11963
|
|
|
11941
|
-
${
|
|
11964
|
+
${He((e=>e.showActiveIndicator),G`
|
|
11942
11965
|
<div
|
|
11943
11966
|
${Pe("activeIndicatorRef")}
|
|
11944
11967
|
class="activeIndicator"
|
|
@@ -11976,7 +11999,7 @@ const tP=xe`
|
|
|
11976
11999
|
<slot></slot>
|
|
11977
12000
|
</template>
|
|
11978
12001
|
`
|
|
11979
|
-
const iP=class extends
|
|
12002
|
+
const iP=class extends Vt{}.compose({baseName:"tabs-toolbar",template:nP,styles:tP})
|
|
11980
12003
|
yi.getOrCreate().withPrefix("nimble").register(iP())
|
|
11981
12004
|
const oP="outline",sP="block",rP=xe`
|
|
11982
12005
|
${Ro("inline-flex")}
|
|
@@ -12588,7 +12611,7 @@ const gP=xe`
|
|
|
12588
12611
|
opacity: 0.6;
|
|
12589
12612
|
}
|
|
12590
12613
|
`)),vP=G`
|
|
12591
|
-
${
|
|
12614
|
+
${He((e=>e.tooltipVisible),G`
|
|
12592
12615
|
<${Eh}
|
|
12593
12616
|
class="anchored-region"
|
|
12594
12617
|
fixed-placement="true"
|
|
@@ -12821,7 +12844,7 @@ const EP=MP.compose({baseName:"tree-item",baseClass:To,template:(e,t)=>G`
|
|
|
12821
12844
|
>
|
|
12822
12845
|
<div class="positioning-region" part="positioning-region">
|
|
12823
12846
|
<div class="content-region" part="content-region">
|
|
12824
|
-
${
|
|
12847
|
+
${He((e=>e.childItems&&e.childItemLength()>0),G`
|
|
12825
12848
|
<div
|
|
12826
12849
|
aria-hidden="true"
|
|
12827
12850
|
class="expand-collapse-button"
|
|
@@ -12839,7 +12862,7 @@ const EP=MP.compose({baseName:"tree-item",baseClass:To,template:(e,t)=>G`
|
|
|
12839
12862
|
${tt(0,t)}
|
|
12840
12863
|
</div>
|
|
12841
12864
|
</div>
|
|
12842
|
-
${
|
|
12865
|
+
${He((e=>e.childItems&&e.childItemLength()>0&&(e.expanded||e.renderCollapsedChildren)),G`
|
|
12843
12866
|
<div role="group" class="items" part="items">
|
|
12844
12867
|
<slot name="item" ${Ye("items")}></slot>
|
|
12845
12868
|
</div>
|
|
@@ -12891,15 +12914,15 @@ if(""!==this.scaledPrefixText)return`${t} ${this.scaledPrefixText}${this.unitTra
|
|
|
12891
12914
|
return`${t} ${"one"===this.pluralRules.select(e)?this.unitTranslation.singular:this.unitTranslation.plural}`}getTranslationToUse(e,t){const n=new Intl.Locale(t??"en"),i=n.language,o=n.region
|
|
12892
12915
|
return(o?e.get(`${i}-${o}`):void 0)??e.get(i)??e.get("en")}}const FP=new Map([["en",new OP("byte","bytes","B")],["fr",new OP("octet","octets","o")],["de",new OP("Byte","Byte","B")],["ja",new OP("バイト","バイト","B")],["zh",new OP("字节","字节","B")]]),NP=[[1,""],[1024,"Ki"],[1048576,"Mi"],[1024**3,"Gi"],[1024**4,"Ti"],[1024**5,"Pi"]]
|
|
12893
12916
|
const PP=new class extends zN{constructor(){super(NP.map((([e,t])=>new LN(e,RP.createFactory({unitTranslations:FP,scaledPrefixText:t})))))}},LP=[[1,"byte","long"],[1e3,"kilobyte","short"],[1e6,"megabyte","short"],[1e3**3,"gigabyte","short"],[1e3**4,"terabyte","short"],[1e3**5,"petabyte","short"]]
|
|
12894
|
-
const zP=new class extends zN{constructor(){super(LP.map((([e,t,n])=>new LN(e,PN.createFactory({style:"unit",unit:t,unitDisplay:n})))))}},
|
|
12917
|
+
const zP=new class extends zN{constructor(){super(LP.map((([e,t,n])=>new LN(e,PN.createFactory({style:"unit",unit:t,unitDisplay:n})))))}},VP=xe`
|
|
12895
12918
|
${Ro("none")}
|
|
12896
12919
|
`
|
|
12897
|
-
class
|
|
12898
|
-
const BP=
|
|
12920
|
+
class HP extends GN{constructor(){super(),this.binary=!1,this.resolvedUnitScale=zP}binaryChanged(){this.resolvedUnitScale=this.binary?PP:zP}}e([le({mode:"boolean"})],HP.prototype,"binary",void 0)
|
|
12921
|
+
const BP=HP.compose({baseName:"unit-byte",template:DP,styles:VP})
|
|
12899
12922
|
yi.getOrCreate().withPrefix("nimble").register(BP())
|
|
12900
12923
|
const qP=[[1e-15,"f"],[1e-12,"p"],[1e-9,"n"],[10**-6,"μ"],[.001,"m"],[.01,"c"],[.1,"d"],[1,""],[1e3,"k"],[10**6,"M"],[10**9,"G"],[10**12,"T"],[10**15,"P"],[10**18,"E"]],UP=new Map([["en",new OP("volt","volts","V")],["fr",new OP("volt","volts","V")],["de",new OP("Volt","Volt","V")],["ja",new OP("ボルト","ボルト","V")],["zh",new OP("伏特","伏特","V")]])
|
|
12901
12924
|
const jP=new class extends zN{constructor(){super(qP.map((([e,t])=>new LN(e,RP.createFactory({unitTranslations:UP,scaledPrefixText:t})))))}}
|
|
12902
|
-
const WP=class extends GN{constructor(){super(),this.resolvedUnitScale=jP}}.compose({baseName:"unit-volt",template:DP,styles:
|
|
12925
|
+
const WP=class extends GN{constructor(){super(),this.resolvedUnitScale=jP}}.compose({baseName:"unit-volt",template:DP,styles:VP})
|
|
12903
12926
|
yi.getOrCreate().withPrefix("nimble").register(WP())
|
|
12904
12927
|
var GP={value:()=>{}}
|
|
12905
12928
|
function ZP(){for(var e,t=0,n=arguments.length,i={};t<n;++t){if(!(e=arguments[t]+"")||e in i||/[\s.]/.test(e))throw new Error("illegal type: "+e)
|
|
@@ -12931,7 +12954,7 @@ for(a=0;a<h;++a)(l=t[a])&&d.get(p[a])===l&&(o[a]=l)}function yL(e){return e.__da
|
|
|
12931
12954
|
null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function EL(e,t){return function(){var n=t.apply(this,arguments)
|
|
12932
12955
|
null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function IL(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function _L(e){return function(){this.style.removeProperty(e)}}function TL(e,t,n){return function(){this.style.setProperty(e,t,n)}}function AL(e,t,n){return function(){var i=t.apply(this,arguments)
|
|
12933
12956
|
null==i?this.style.removeProperty(e):this.style.setProperty(e,i,n)}}function DL(e,t){return e.style.getPropertyValue(t)||IL(e).getComputedStyle(e,null).getPropertyValue(t)}function OL(e){return function(){delete this[e]}}function RL(e,t){return function(){this[e]=t}}function FL(e,t){return function(){var n=t.apply(this,arguments)
|
|
12934
|
-
null==n?delete this[e]:this[e]=n}}function NL(e){return e.trim().split(/^|\s+/)}function PL(e){return e.classList||new LL(e)}function LL(e){this._node=e,this._names=NL(e.getAttribute("class")||"")}function zL(e,t){for(var n=PL(e),i=-1,o=t.length;++i<o;)n.add(t[i])}function
|
|
12957
|
+
null==n?delete this[e]:this[e]=n}}function NL(e){return e.trim().split(/^|\s+/)}function PL(e){return e.classList||new LL(e)}function LL(e){this._node=e,this._names=NL(e.getAttribute("class")||"")}function zL(e,t){for(var n=PL(e),i=-1,o=t.length;++i<o;)n.add(t[i])}function VL(e,t){for(var n=PL(e),i=-1,o=t.length;++i<o;)n.remove(t[i])}function HL(e){return function(){zL(this,e)}}function BL(e){return function(){VL(this,e)}}function qL(e,t){return function(){(t.apply(this,arguments)?zL:VL)(this,e)}}function UL(){this.textContent=""}function jL(e){return function(){this.textContent=e}}function WL(e){return function(){var t=e.apply(this,arguments)
|
|
12935
12958
|
this.textContent=null==t?"":t}}function GL(){this.innerHTML=""}function ZL(e){return function(){this.innerHTML=e}}function KL(e){return function(){var t=e.apply(this,arguments)
|
|
12936
12959
|
this.innerHTML=null==t?"":t}}function XL(){this.nextSibling&&this.parentNode.appendChild(this)}function YL(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function JL(){return null}function QL(){var e=this.parentNode
|
|
12937
12960
|
e&&e.removeChild(this)}function ez(){var e=this.cloneNode(!1),t=this.parentNode
|
|
@@ -12974,7 +12997,7 @@ return this},attr:function(e,t){var n=eL(e)
|
|
|
12974
12997
|
if(arguments.length<2){var i=this.node()
|
|
12975
12998
|
return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==t?n.local?kL:CL:"function"==typeof t?n.local?EL:ML:n.local?$L:SL)(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?_L:"function"==typeof t?AL:TL)(e,t,null==n?"":n)):DL(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?OL:"function"==typeof t?FL:RL)(e,t)):this.node()[e]},classed:function(e,t){var n=NL(e+"")
|
|
12976
12999
|
if(arguments.length<2){for(var i=PL(this.node()),o=-1,s=n.length;++o<s;)if(!i.contains(n[o]))return!1
|
|
12977
|
-
return!0}return this.each(("function"==typeof t?qL:t?
|
|
13000
|
+
return!0}return this.each(("function"==typeof t?qL:t?HL:BL)(n,t))},text:function(e){return arguments.length?this.each(null==e?UL:("function"==typeof e?WL:jL)(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?GL:("function"==typeof e?KL:ZL)(e)):this.node().innerHTML},raise:function(){return this.each(XL)},lower:function(){return this.each(YL)},append:function(e){var t="function"==typeof e?e:iL(e)
|
|
12978
13001
|
return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:iL(e),i=null==t?JL:"function"==typeof t?t:sL(t)
|
|
12979
13002
|
return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(QL)},clone:function(e){return this.select(e?tz:ez)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var i,o,s=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".")
|
|
12980
13003
|
return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}(e+""),r=s.length
|
|
@@ -12987,12 +13010,12 @@ for(var i in t)n[i]=t[i]
|
|
|
12987
13010
|
return n}function gz(){}var vz=.7,bz=1/vz,yz="\\s*([+-]?\\d+)\\s*",wz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",xz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Cz=/^#([0-9a-f]{3,8})$/,kz=new RegExp(`^rgb\\(${yz},${yz},${yz}\\)$`),Sz=new RegExp(`^rgb\\(${xz},${xz},${xz}\\)$`),$z=new RegExp(`^rgba\\(${yz},${yz},${yz},${wz}\\)$`),Mz=new RegExp(`^rgba\\(${xz},${xz},${xz},${wz}\\)$`),Ez=new RegExp(`^hsl\\(${wz},${xz},${xz}\\)$`),Iz=new RegExp(`^hsla\\(${wz},${xz},${xz},${wz}\\)$`),_z={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074}
|
|
12988
13011
|
function Tz(){return this.rgb().formatHex()}function Az(){return this.rgb().formatRgb()}function Dz(e){var t,n
|
|
12989
13012
|
return e=(e+"").trim().toLowerCase(),(t=Cz.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Oz(t):3===n?new Nz(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Rz(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Rz(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=kz.exec(e))?new Nz(t[1],t[2],t[3],1):(t=Sz.exec(e))?new Nz(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=$z.exec(e))?Rz(t[1],t[2],t[3],t[4]):(t=Mz.exec(e))?Rz(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ez.exec(e))?Bz(t[1],t[2]/100,t[3]/100,1):(t=Iz.exec(e))?Bz(t[1],t[2]/100,t[3]/100,t[4]):_z.hasOwnProperty(e)?Oz(_z[e]):"transparent"===e?new Nz(NaN,NaN,NaN,0):null}function Oz(e){return new Nz(e>>16&255,e>>8&255,255&e,1)}function Rz(e,t,n,i){return i<=0&&(e=t=n=NaN),new Nz(e,t,n,i)}function Fz(e,t,n,i){return 1===arguments.length?((o=e)instanceof gz||(o=Dz(o)),o?new Nz((o=o.rgb()).r,o.g,o.b,o.opacity):new Nz):new Nz(e,t,n,null==i?1:i)
|
|
12990
|
-
var o}function Nz(e,t,n,i){this.r=+e,this.g=+t,this.b=+n,this.opacity=+i}function Pz(){return`#${
|
|
12991
|
-
return`${1===e?"rgb(":"rgba("}${
|
|
13013
|
+
var o}function Nz(e,t,n,i){this.r=+e,this.g=+t,this.b=+n,this.opacity=+i}function Pz(){return`#${Hz(this.r)}${Hz(this.g)}${Hz(this.b)}`}function Lz(){const e=zz(this.opacity)
|
|
13014
|
+
return`${1===e?"rgb(":"rgba("}${Vz(this.r)}, ${Vz(this.g)}, ${Vz(this.b)}${1===e?")":`, ${e})`}`}function zz(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Vz(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Hz(e){return((e=Vz(e))<16?"0":"")+e.toString(16)}function Bz(e,t,n,i){return i<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Uz(e,t,n,i)}function qz(e){if(e instanceof Uz)return new Uz(e.h,e.s,e.l,e.opacity)
|
|
12992
13015
|
if(e instanceof gz||(e=Dz(e)),!e)return new Uz
|
|
12993
13016
|
if(e instanceof Uz)return e
|
|
12994
13017
|
var t=(e=e.rgb()).r/255,n=e.g/255,i=e.b/255,o=Math.min(t,n,i),s=Math.max(t,n,i),r=NaN,a=s-o,l=(s+o)/2
|
|
12995
|
-
return a?(r=t===s?(n-i)/a+6*(n<i):n===s?(i-t)/a+2:(t-n)/a+4,a/=l<.5?s+o:2-s-o,r*=60):a=l>0&&l<1?0:r,new Uz(r,a,l,e.opacity)}function Uz(e,t,n,i){this.h=+e,this.s=+t,this.l=+n,this.opacity=+i}function jz(e){return(e=(e||0)%360)<0?e+360:e}function Wz(e){return Math.max(0,Math.min(1,e||0))}function Gz(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}fz(gz,Dz,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Tz,formatHex:Tz,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return qz(this).formatHsl()},formatRgb:Az,toString:Az}),fz(Nz,Fz,mz(gz,{brighter(e){return e=null==e?bz:Math.pow(bz,e),new Nz(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?vz:Math.pow(vz,e),new Nz(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Nz(
|
|
13018
|
+
return a?(r=t===s?(n-i)/a+6*(n<i):n===s?(i-t)/a+2:(t-n)/a+4,a/=l<.5?s+o:2-s-o,r*=60):a=l>0&&l<1?0:r,new Uz(r,a,l,e.opacity)}function Uz(e,t,n,i){this.h=+e,this.s=+t,this.l=+n,this.opacity=+i}function jz(e){return(e=(e||0)%360)<0?e+360:e}function Wz(e){return Math.max(0,Math.min(1,e||0))}function Gz(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}fz(gz,Dz,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Tz,formatHex:Tz,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return qz(this).formatHsl()},formatRgb:Az,toString:Az}),fz(Nz,Fz,mz(gz,{brighter(e){return e=null==e?bz:Math.pow(bz,e),new Nz(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?vz:Math.pow(vz,e),new Nz(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Nz(Vz(this.r),Vz(this.g),Vz(this.b),zz(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Pz,formatHex:Pz,formatHex8:function(){return`#${Hz(this.r)}${Hz(this.g)}${Hz(this.b)}${Hz(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Lz,toString:Lz})),fz(Uz,(function(e,t,n,i){return 1===arguments.length?qz(e):new Uz(e,t,n,null==i?1:i)}),mz(gz,{brighter(e){return e=null==e?bz:Math.pow(bz,e),new Uz(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?vz:Math.pow(vz,e),new Uz(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*t,o=2*n-i
|
|
12996
13019
|
return new Nz(Gz(e>=240?e-240:e+120,o,i),Gz(e,o,i),Gz(e<120?e+240:e-120,o,i),this.opacity)},clamp(){return new Uz(jz(this.h),Wz(this.s),Wz(this.l),zz(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=zz(this.opacity)
|
|
12997
13020
|
return`${1===e?"hsl(":"hsla("}${jz(this.h)}, ${100*Wz(this.s)}%, ${100*Wz(this.l)}%${1===e?")":`, ${e})`}`}}))
|
|
12998
13021
|
var Zz=e=>()=>e
|
|
@@ -13004,115 +13027,115 @@ function Jz(e,t){t||(t=[])
|
|
|
13004
13027
|
var n,i=e?Math.min(t.length,e.length):0,o=t.slice()
|
|
13005
13028
|
return function(s){for(n=0;n<i;++n)o[n]=e[n]*(1-s)+t[n]*s
|
|
13006
13029
|
return o}}function Qz(e,t){var n,i=t?t.length:0,o=e?Math.min(i,e.length):0,s=new Array(o),r=new Array(i)
|
|
13007
|
-
for(n=0;n<o;++n)s[n]=
|
|
13030
|
+
for(n=0;n<o;++n)s[n]=rV(e[n],t[n])
|
|
13008
13031
|
for(;n<i;++n)r[n]=t[n]
|
|
13009
13032
|
return function(e){for(n=0;n<o;++n)r[n]=s[n](e)
|
|
13010
|
-
return r}}function
|
|
13011
|
-
return e=+e,t=+t,function(i){return n.setTime(e*(1-i)+t*i),n}}function
|
|
13012
|
-
for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?i[n]=
|
|
13033
|
+
return r}}function eV(e,t){var n=new Date
|
|
13034
|
+
return e=+e,t=+t,function(i){return n.setTime(e*(1-i)+t*i),n}}function tV(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function nV(e,t){var n,i={},o={}
|
|
13035
|
+
for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?i[n]=rV(e[n],t[n]):o[n]=t[n]
|
|
13013
13036
|
return function(e){for(n in i)o[n]=i[n](e)
|
|
13014
|
-
return o}}var
|
|
13015
|
-
function
|
|
13016
|
-
for(e+="",t+="";(n=
|
|
13037
|
+
return o}}var iV=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,oV=new RegExp(iV.source,"g")
|
|
13038
|
+
function sV(e,t){var n,i,o,s=iV.lastIndex=oV.lastIndex=0,r=-1,a=[],l=[]
|
|
13039
|
+
for(e+="",t+="";(n=iV.exec(e))&&(i=oV.exec(t));)(o=i.index)>s&&(o=t.slice(s,o),a[r]?a[r]+=o:a[++r]=o),(n=n[0])===(i=i[0])?a[r]?a[r]+=i:a[++r]=i:(a[++r]=null,l.push({i:r,x:tV(n,i)})),s=oV.lastIndex
|
|
13017
13040
|
return s<t.length&&(o=t.slice(s),a[r]?a[r]+=o:a[++r]=o),a.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,i=0;i<t;++i)a[(n=l[i]).i]=n.x(e)
|
|
13018
|
-
return a.join("")})}function
|
|
13019
|
-
return null==t||"boolean"===o?Zz(t):("number"===o?
|
|
13020
|
-
function
|
|
13021
|
-
return(r=Math.sqrt(e*e+t*t))&&(e/=r,t/=r),(l=e*n+t*i)&&(n-=e*l,i-=t*l),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,l/=a),e*i<t*n&&(e=-e,t=-t,l=-l,r=-r),{translateX:o,translateY:s,rotate:Math.atan2(t,e)*
|
|
13041
|
+
return a.join("")})}function rV(e,t){var n,i,o=typeof t
|
|
13042
|
+
return null==t||"boolean"===o?Zz(t):("number"===o?tV:"string"===o?(n=Dz(t))?(t=n,Yz):sV:t instanceof Dz?Yz:t instanceof Date?eV:(i=t,!ArrayBuffer.isView(i)||i instanceof DataView?Array.isArray(t)?Qz:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?nV:tV:Jz))(e,t)}function aV(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}var lV,cV=180/Math.PI,dV={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1}
|
|
13043
|
+
function hV(e,t,n,i,o,s){var r,a,l
|
|
13044
|
+
return(r=Math.sqrt(e*e+t*t))&&(e/=r,t/=r),(l=e*n+t*i)&&(n-=e*l,i-=t*l),(a=Math.sqrt(n*n+i*i))&&(n/=a,i/=a,l/=a),e*i<t*n&&(e=-e,t=-t,l=-l,r=-r),{translateX:o,translateY:s,rotate:Math.atan2(t,e)*cV,skewX:Math.atan(l)*cV,scaleX:r,scaleY:a}}function uV(e,t,n,i){function o(e){return e.length?e.pop()+" ":""}return function(s,r){var a=[],l=[]
|
|
13022
13045
|
return s=e(s),r=e(r),function(e,i,o,s,r,a){if(e!==o||i!==s){var l=r.push("translate(",null,t,null,n)
|
|
13023
|
-
a.push({i:l-4,x:
|
|
13024
|
-
r.push({i:a-4,x:
|
|
13025
|
-
return a.join("")}}}var
|
|
13026
|
-
return t.isIdentity?
|
|
13027
|
-
function
|
|
13046
|
+
a.push({i:l-4,x:tV(e,o)},{i:l-2,x:tV(i,s)})}else(o||s)&&r.push("translate("+o+t+s+n)}(s.translateX,s.translateY,r.translateX,r.translateY,a,l),function(e,t,n,s){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),s.push({i:n.push(o(n)+"rotate(",null,i)-2,x:tV(e,t)})):t&&n.push(o(n)+"rotate("+t+i)}(s.rotate,r.rotate,a,l),function(e,t,n,s){e!==t?s.push({i:n.push(o(n)+"skewX(",null,i)-2,x:tV(e,t)}):t&&n.push(o(n)+"skewX("+t+i)}(s.skewX,r.skewX,a,l),function(e,t,n,i,s,r){if(e!==n||t!==i){var a=s.push(o(s)+"scale(",null,",",null,")")
|
|
13047
|
+
r.push({i:a-4,x:tV(e,n)},{i:a-2,x:tV(t,i)})}else 1===n&&1===i||s.push(o(s)+"scale("+n+","+i+")")}(s.scaleX,s.scaleY,r.scaleX,r.scaleY,a,l),s=r=null,function(e){for(var t,n=-1,i=l.length;++n<i;)a[(t=l[n]).i]=t.x(e)
|
|
13048
|
+
return a.join("")}}}var pV=uV((function(e){const t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"")
|
|
13049
|
+
return t.isIdentity?dV:hV(t.a,t.b,t.c,t.d,t.e,t.f)}),"px, ","px)","deg)"),fV=uV((function(e){return null==e?dV:(lV||(lV=document.createElementNS("http://www.w3.org/2000/svg","g")),lV.setAttribute("transform",e),(e=lV.transform.baseVal.consolidate())?hV((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):dV)}),", ",")",")")
|
|
13050
|
+
function mV(e){return((e=Math.exp(e))+1/e)/2}var gV,vV,bV=function e(t,n,i){function o(e,o){var s,r,a=e[0],l=e[1],c=e[2],d=o[0],h=o[1],u=o[2],p=d-a,f=h-l,m=p*p+f*f
|
|
13028
13051
|
if(m<1e-12)r=Math.log(u/c)/t,s=function(e){return[a+e*p,l+e*f,c*Math.exp(t*e*r)]}
|
|
13029
13052
|
else{var g=Math.sqrt(m),v=(u*u-c*c+i*m)/(2*c*n*g),b=(u*u-c*c-i*m)/(2*u*n*g),y=Math.log(Math.sqrt(v*v+1)-v),w=Math.log(Math.sqrt(b*b+1)-b)
|
|
13030
|
-
r=(w-y)/t,s=function(e){var i,o=e*r,s=
|
|
13031
|
-
return[a+d*p,l+d*f,c*s/
|
|
13032
|
-
return e(n,i,i*i)},o}(Math.SQRT2,2,4),
|
|
13033
|
-
function
|
|
13034
|
-
return i.restart(e,t,n),i}function
|
|
13035
|
-
try{!function(){
|
|
13036
|
-
for(var e,t=
|
|
13037
|
-
for(;n;)n._call?(i>n._time&&(i=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:
|
|
13038
|
-
|
|
13039
|
-
t>
|
|
13040
|
-
return t=null==t?0:+t,i.restart((n=>{i.stop(),e(n+t)}),t,n),i}
|
|
13041
|
-
n=(null==n?
|
|
13042
|
-
var
|
|
13043
|
-
function
|
|
13053
|
+
r=(w-y)/t,s=function(e){var i,o=e*r,s=mV(y),d=c/(n*g)*(s*(i=t*o+y,((i=Math.exp(2*i))-1)/(i+1))-function(e){return((e=Math.exp(e))-1/e)/2}(y))
|
|
13054
|
+
return[a+d*p,l+d*f,c*s/mV(t*o+y)]}}return s.duration=1e3*r*t/Math.SQRT2,s}return o.rho=function(t){var n=Math.max(.001,+t),i=n*n
|
|
13055
|
+
return e(n,i,i*i)},o}(Math.SQRT2,2,4),yV=0,wV=0,xV=0,CV=1e3,kV=0,SV=0,$V=0,MV="object"==typeof performance&&performance.now?performance:Date,EV="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)}
|
|
13056
|
+
function IV(){return SV||(EV(_V),SV=MV.now()+$V)}function _V(){SV=0}function TV(){this._call=this._time=this._next=null}function AV(e,t,n){var i=new TV
|
|
13057
|
+
return i.restart(e,t,n),i}function DV(){SV=(kV=MV.now())+$V,yV=wV=0
|
|
13058
|
+
try{!function(){IV(),++yV
|
|
13059
|
+
for(var e,t=gV;t;)(e=SV-t._time)>=0&&t._call.call(void 0,e),t=t._next;--yV}()}finally{yV=0,function(){var e,t,n=gV,i=1/0
|
|
13060
|
+
for(;n;)n._call?(i>n._time&&(i=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:gV=t)
|
|
13061
|
+
vV=e,RV(i)}(),SV=0}}function OV(){var e=MV.now(),t=e-kV
|
|
13062
|
+
t>CV&&($V-=t,kV=e)}function RV(e){yV||(wV&&(wV=clearTimeout(wV)),e-SV>24?(e<1/0&&(wV=setTimeout(DV,e-MV.now()-$V)),xV&&(xV=clearInterval(xV))):(xV||(kV=MV.now(),xV=setInterval(OV,CV)),yV=1,EV(DV)))}function FV(e,t,n){var i=new TV
|
|
13063
|
+
return t=null==t?0:+t,i.restart((n=>{i.stop(),e(n+t)}),t,n),i}TV.prototype=AV.prototype={constructor:TV,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function")
|
|
13064
|
+
n=(null==n?IV():+n)+(null==t?0:+t),this._next||vV===this||(vV?vV._next=this:gV=this,vV=this),this._call=e,this._time=n,RV()},stop:function(){this._call&&(this._call=null,this._time=1/0,RV())}}
|
|
13065
|
+
var NV=ZP("start","end","cancel","interrupt"),PV=[],LV=0,zV=1,VV=2,HV=3,BV=4,qV=5,UV=6
|
|
13066
|
+
function jV(e,t,n,i,o,s){var r=e.__transition
|
|
13044
13067
|
if(r){if(n in r)return}else e.__transition={}
|
|
13045
13068
|
!function(e,t,n){var i,o=e.__transition
|
|
13046
|
-
function s(e){n.state=
|
|
13047
|
-
if(n.state!==
|
|
13048
|
-
for(c in o)if((u=o[c]).name===n.name){if(u.state===
|
|
13049
|
-
u.state===
|
|
13050
|
-
i.length=d+1}}function a(t){for(var o=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=
|
|
13051
|
-
n.state===
|
|
13052
|
-
delete e.__transition}o[t]=n,n.timer=
|
|
13053
|
-
if(n.state>
|
|
13054
|
-
return n}function
|
|
13055
|
-
if(n.state>
|
|
13056
|
-
return n}function
|
|
13069
|
+
function s(e){n.state=zV,n.timer.restart(r,n.delay,n.time),n.delay<=e&&r(e-n.delay)}function r(s){var c,d,h,u
|
|
13070
|
+
if(n.state!==zV)return l()
|
|
13071
|
+
for(c in o)if((u=o[c]).name===n.name){if(u.state===HV)return FV(r)
|
|
13072
|
+
u.state===BV?(u.state=UV,u.timer.stop(),u.on.call("interrupt",e,e.__data__,u.index,u.group),delete o[c]):+c<t&&(u.state=UV,u.timer.stop(),u.on.call("cancel",e,e.__data__,u.index,u.group),delete o[c])}if(FV((function(){n.state===HV&&(n.state=BV,n.timer.restart(a,n.delay,n.time),a(s))})),n.state=VV,n.on.call("start",e,e.__data__,n.index,n.group),n.state===VV){for(n.state=HV,i=new Array(h=n.tween.length),c=0,d=-1;c<h;++c)(u=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(i[++d]=u)
|
|
13073
|
+
i.length=d+1}}function a(t){for(var o=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(l),n.state=qV,1),s=-1,r=i.length;++s<r;)i[s].call(e,o)
|
|
13074
|
+
n.state===qV&&(n.on.call("end",e,e.__data__,n.index,n.group),l())}function l(){for(var i in n.state=UV,n.timer.stop(),delete o[t],o)return
|
|
13075
|
+
delete e.__transition}o[t]=n,n.timer=AV(s,0,n.time)}(e,n,{name:t,index:i,group:o,on:NV,tween:PV,time:s.time,delay:s.delay,duration:s.duration,ease:s.ease,timer:null,state:LV})}function WV(e,t){var n=ZV(e,t)
|
|
13076
|
+
if(n.state>LV)throw new Error("too late; already scheduled")
|
|
13077
|
+
return n}function GV(e,t){var n=ZV(e,t)
|
|
13078
|
+
if(n.state>HV)throw new Error("too late; already running")
|
|
13079
|
+
return n}function ZV(e,t){var n=e.__transition
|
|
13057
13080
|
if(!n||!(n=n[t]))throw new Error("transition not found")
|
|
13058
|
-
return n}function
|
|
13059
|
-
if(s){for(o in t=null==t?null:t+"",s)(n=s[o]).name===t?(i=n.state>
|
|
13060
|
-
r&&delete e.__transition}}function
|
|
13061
|
-
return function(){var o=
|
|
13081
|
+
return n}function KV(e,t){var n,i,o,s=e.__transition,r=!0
|
|
13082
|
+
if(s){for(o in t=null==t?null:t+"",s)(n=s[o]).name===t?(i=n.state>VV&&n.state<qV,n.state=UV,n.timer.stop(),n.on.call(i?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete s[o]):r=!1
|
|
13083
|
+
r&&delete e.__transition}}function XV(e,t){var n,i
|
|
13084
|
+
return function(){var o=GV(this,e),s=o.tween
|
|
13062
13085
|
if(s!==n)for(var r=0,a=(i=n=s).length;r<a;++r)if(i[r].name===t){(i=i.slice()).splice(r,1)
|
|
13063
|
-
break}o.tween=i}}function
|
|
13086
|
+
break}o.tween=i}}function YV(e,t,n){var i,o
|
|
13064
13087
|
if("function"!=typeof n)throw new Error
|
|
13065
|
-
return function(){var s=
|
|
13088
|
+
return function(){var s=GV(this,e),r=s.tween
|
|
13066
13089
|
if(r!==i){o=(i=r).slice()
|
|
13067
13090
|
for(var a={name:t,value:n},l=0,c=o.length;l<c;++l)if(o[l].name===t){o[l]=a
|
|
13068
|
-
break}l===c&&o.push(a)}s.tween=o}}function
|
|
13069
|
-
return e.each((function(){var e=
|
|
13070
|
-
return("number"==typeof t?
|
|
13091
|
+
break}l===c&&o.push(a)}s.tween=o}}function JV(e,t,n){var i=e._id
|
|
13092
|
+
return e.each((function(){var e=GV(this,i);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return ZV(e,i).value[t]}}function QV(e,t){var n
|
|
13093
|
+
return("number"==typeof t?tV:t instanceof Dz?Yz:(n=Dz(t))?(t=n,Yz):sV)(e,t)}function eH(e){return function(){this.removeAttribute(e)}}function tH(e){return function(){this.removeAttributeNS(e.space,e.local)}}function nH(e,t,n){var i,o,s=n+""
|
|
13071
13094
|
return function(){var r=this.getAttribute(e)
|
|
13072
|
-
return r===s?null:r===i?o:o=t(i=r,n)}}function
|
|
13095
|
+
return r===s?null:r===i?o:o=t(i=r,n)}}function iH(e,t,n){var i,o,s=n+""
|
|
13073
13096
|
return function(){var r=this.getAttributeNS(e.space,e.local)
|
|
13074
|
-
return r===s?null:r===i?o:o=t(i=r,n)}}function
|
|
13097
|
+
return r===s?null:r===i?o:o=t(i=r,n)}}function oH(e,t,n){var i,o,s
|
|
13075
13098
|
return function(){var r,a,l=n(this)
|
|
13076
13099
|
if(null!=l)return(r=this.getAttribute(e))===(a=l+"")?null:r===i&&a===o?s:(o=a,s=t(i=r,l))
|
|
13077
|
-
this.removeAttribute(e)}}function
|
|
13100
|
+
this.removeAttribute(e)}}function sH(e,t,n){var i,o,s
|
|
13078
13101
|
return function(){var r,a,l=n(this)
|
|
13079
13102
|
if(null!=l)return(r=this.getAttributeNS(e.space,e.local))===(a=l+"")?null:r===i&&a===o?s:(o=a,s=t(i=r,l))
|
|
13080
|
-
this.removeAttributeNS(e.space,e.local)}}function
|
|
13103
|
+
this.removeAttributeNS(e.space,e.local)}}function rH(e,t){var n,i
|
|
13081
13104
|
function o(){var o=t.apply(this,arguments)
|
|
13082
|
-
return o!==i&&(n=(i=o)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,o)),n}return o._value=t,o}function
|
|
13105
|
+
return o!==i&&(n=(i=o)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}(e,o)),n}return o._value=t,o}function aH(e,t){var n,i
|
|
13083
13106
|
function o(){var o=t.apply(this,arguments)
|
|
13084
|
-
return o!==i&&(n=(i=o)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,o)),n}return o._value=t,o}function
|
|
13085
|
-
function
|
|
13086
|
-
function
|
|
13087
|
-
|
|
13107
|
+
return o!==i&&(n=(i=o)&&function(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}(e,o)),n}return o._value=t,o}function lH(e,t){return function(){WV(this,e).delay=+t.apply(this,arguments)}}function cH(e,t){return t=+t,function(){WV(this,e).delay=t}}function dH(e,t){return function(){GV(this,e).duration=+t.apply(this,arguments)}}function hH(e,t){return t=+t,function(){GV(this,e).duration=t}}var uH=cz.prototype.constructor
|
|
13108
|
+
function pH(e){return function(){this.style.removeProperty(e)}}var fH=0
|
|
13109
|
+
function mH(e,t,n,i){this._groups=e,this._parents=t,this._name=n,this._id=i}function gH(){return++fH}var vH=cz.prototype
|
|
13110
|
+
mH.prototype={constructor:mH,select:function(e){var t=this._name,n=this._id
|
|
13088
13111
|
"function"!=typeof e&&(e=sL(e))
|
|
13089
|
-
for(var i=this._groups,o=i.length,s=new Array(o),r=0;r<o;++r)for(var a,l,c=i[r],d=c.length,h=s[r]=new Array(d),u=0;u<d;++u)(a=c[u])&&(l=e.call(a,a.__data__,u,c))&&("__data__"in a&&(l.__data__=a.__data__),h[u]=l,
|
|
13090
|
-
return new
|
|
13112
|
+
for(var i=this._groups,o=i.length,s=new Array(o),r=0;r<o;++r)for(var a,l,c=i[r],d=c.length,h=s[r]=new Array(d),u=0;u<d;++u)(a=c[u])&&(l=e.call(a,a.__data__,u,c))&&("__data__"in a&&(l.__data__=a.__data__),h[u]=l,jV(h[u],t,n,u,h,ZV(a,n)))
|
|
13113
|
+
return new mH(s,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id
|
|
13091
13114
|
"function"!=typeof e&&(e=aL(e))
|
|
13092
|
-
for(var i=this._groups,o=i.length,s=[],r=[],a=0;a<o;++a)for(var l,c=i[a],d=c.length,h=0;h<d;++h)if(l=c[h]){for(var u,p=e.call(l,l.__data__,h,c),f=
|
|
13093
|
-
s.push(p),r.push(l)}return new
|
|
13115
|
+
for(var i=this._groups,o=i.length,s=[],r=[],a=0;a<o;++a)for(var l,c=i[a],d=c.length,h=0;h<d;++h)if(l=c[h]){for(var u,p=e.call(l,l.__data__,h,c),f=ZV(l,n),m=0,g=p.length;m<g;++m)(u=p[m])&&jV(u,t,n,m,p,f)
|
|
13116
|
+
s.push(p),r.push(l)}return new mH(s,r,t,n)},selectChild:vH.selectChild,selectChildren:vH.selectChildren,filter:function(e){"function"!=typeof e&&(e=cL(e))
|
|
13094
13117
|
for(var t=this._groups,n=t.length,i=new Array(n),o=0;o<n;++o)for(var s,r=t[o],a=r.length,l=i[o]=[],c=0;c<a;++c)(s=r[c])&&e.call(s,s.__data__,c,r)&&l.push(s)
|
|
13095
|
-
return new
|
|
13118
|
+
return new mH(i,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error
|
|
13096
13119
|
for(var t=this._groups,n=e._groups,i=t.length,o=n.length,s=Math.min(i,o),r=new Array(i),a=0;a<s;++a)for(var l,c=t[a],d=n[a],h=c.length,u=r[a]=new Array(h),p=0;p<h;++p)(l=c[p]||d[p])&&(u[p]=l)
|
|
13097
13120
|
for(;a<i;++a)r[a]=t[a]
|
|
13098
|
-
return new
|
|
13099
|
-
|
|
13100
|
-
return arguments.length<2?
|
|
13101
|
-
return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?
|
|
13121
|
+
return new mH(r,this._parents,this._name,this._id)},selection:function(){return new uH(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=gH(),i=this._groups,o=i.length,s=0;s<o;++s)for(var r,a=i[s],l=a.length,c=0;c<l;++c)if(r=a[c]){var d=ZV(r,t)
|
|
13122
|
+
jV(r,e,n,c,a,{time:d.time+d.delay+d.duration,delay:0,duration:d.duration,ease:d.ease})}return new mH(i,this._parents,e,n)},call:vH.call,nodes:vH.nodes,node:vH.node,size:vH.size,empty:vH.empty,each:vH.each,on:function(e,t){var n=this._id
|
|
13123
|
+
return arguments.length<2?ZV(this.node(),n).on.on(e):this.each(function(e,t,n){var i,o,s=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".")
|
|
13124
|
+
return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?WV:GV
|
|
13102
13125
|
return function(){var r=s(this,e),a=r.on
|
|
13103
|
-
a!==i&&(o=(i=a).copy()).on(t,n),r.on=o}}(n,e,t))},attr:function(e,t){var n=eL(e),i="transform"===n?
|
|
13104
|
-
return this.attrTween(e,"function"==typeof t?(n.local?
|
|
13126
|
+
a!==i&&(o=(i=a).copy()).on(t,n),r.on=o}}(n,e,t))},attr:function(e,t){var n=eL(e),i="transform"===n?fV:QV
|
|
13127
|
+
return this.attrTween(e,"function"==typeof t?(n.local?sH:oH)(n,i,JV(this,"attr."+e,t)):null==t?(n.local?tH:eH)(n):(n.local?iH:nH)(n,i,t))},attrTween:function(e,t){var n="attr."+e
|
|
13105
13128
|
if(arguments.length<2)return(n=this.tween(n))&&n._value
|
|
13106
13129
|
if(null==t)return this.tween(n,null)
|
|
13107
13130
|
if("function"!=typeof t)throw new Error
|
|
13108
13131
|
var i=eL(e)
|
|
13109
|
-
return this.tween(n,(i.local?
|
|
13132
|
+
return this.tween(n,(i.local?rH:aH)(i,t))},style:function(e,t,n){var i="transform"==(e+="")?pV:QV
|
|
13110
13133
|
return null==t?this.styleTween(e,function(e,t){var n,i,o
|
|
13111
13134
|
return function(){var s=DL(this,e),r=(this.style.removeProperty(e),DL(this,e))
|
|
13112
|
-
return s===r?null:s===n&&r===i?o:o=t(n=s,i=r)}}(e,i)).on("end.style."+e,
|
|
13135
|
+
return s===r?null:s===n&&r===i?o:o=t(n=s,i=r)}}(e,i)).on("end.style."+e,pH(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var i,o,s
|
|
13113
13136
|
return function(){var r=DL(this,e),a=n(this),l=a+""
|
|
13114
|
-
return null==a&&(this.style.removeProperty(e),l=a=DL(this,e)),r===l?null:r===i&&l===o?s:(o=l,s=t(i=r,a))}}(e,i,
|
|
13115
|
-
return function(){var l=
|
|
13137
|
+
return null==a&&(this.style.removeProperty(e),l=a=DL(this,e)),r===l?null:r===i&&l===o?s:(o=l,s=t(i=r,a))}}(e,i,JV(this,"style."+e,t))).each(function(e,t){var n,i,o,s,r="style."+t,a="end."+r
|
|
13138
|
+
return function(){var l=GV(this,e),c=l.on,d=null==l.value[r]?s||(s=pH(t)):void 0
|
|
13116
13139
|
c===n&&o===d||(i=(n=c).copy()).on(a,o=d),l.on=i}}(this._id,e)):this.styleTween(e,function(e,t,n){var i,o,s=n+""
|
|
13117
13140
|
return function(){var r=DL(this,e)
|
|
13118
13141
|
return r===s?null:r===i?o:o=t(i=r,n)}}(e,i,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var i="style."+(e+="")
|
|
@@ -13122,7 +13145,7 @@ if("function"!=typeof t)throw new Error
|
|
|
13122
13145
|
return this.tween(i,function(e,t,n){var i,o
|
|
13123
13146
|
function s(){var s=t.apply(this,arguments)
|
|
13124
13147
|
return s!==o&&(i=(o=s)&&function(e,t,n){return function(i){this.style.setProperty(e,t.call(this,i),n)}}(e,s,n)),i}return s._value=t,s}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this)
|
|
13125
|
-
this.textContent=null==t?"":t}}(
|
|
13148
|
+
this.textContent=null==t?"":t}}(JV(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},textTween:function(e){var t="text"
|
|
13126
13149
|
if(arguments.length<1)return(t=this.tween(t))&&t._value
|
|
13127
13150
|
if(null==e)return this.tween(t,null)
|
|
13128
13151
|
if("function"!=typeof e)throw new Error
|
|
@@ -13131,59 +13154,59 @@ function i(){var i=e.apply(this,arguments)
|
|
|
13131
13154
|
return i!==n&&(t=(n=i)&&function(e){return function(t){this.textContent=e.call(this,t)}}(i)),t}return i._value=e,i}(e))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode
|
|
13132
13155
|
for(var n in this.__transition)if(+n!==e)return
|
|
13133
13156
|
t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id
|
|
13134
|
-
if(e+="",arguments.length<2){for(var i,o=
|
|
13135
|
-
return null}return this.each((null==t?
|
|
13136
|
-
return arguments.length?this.each(("function"==typeof e?
|
|
13137
|
-
return arguments.length?this.each(("function"==typeof e?
|
|
13157
|
+
if(e+="",arguments.length<2){for(var i,o=ZV(this.node(),n).tween,s=0,r=o.length;s<r;++s)if((i=o[s]).name===e)return i.value
|
|
13158
|
+
return null}return this.each((null==t?XV:YV)(n,e,t))},delay:function(e){var t=this._id
|
|
13159
|
+
return arguments.length?this.each(("function"==typeof e?lH:cH)(t,e)):ZV(this.node(),t).delay},duration:function(e){var t=this._id
|
|
13160
|
+
return arguments.length?this.each(("function"==typeof e?dH:hH)(t,e)):ZV(this.node(),t).duration},ease:function(e){var t=this._id
|
|
13138
13161
|
return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error
|
|
13139
|
-
return function(){
|
|
13162
|
+
return function(){GV(this,e).ease=t}}(t,e)):ZV(this.node(),t).ease},easeVarying:function(e){if("function"!=typeof e)throw new Error
|
|
13140
13163
|
return this.each(function(e,t){return function(){var n=t.apply(this,arguments)
|
|
13141
13164
|
if("function"!=typeof n)throw new Error
|
|
13142
|
-
|
|
13165
|
+
GV(this,e).ease=n}}(this._id,e))},end:function(){var e,t,n=this,i=n._id,o=n.size()
|
|
13143
13166
|
return new Promise((function(s,r){var a={value:r},l={value:function(){0==--o&&s()}}
|
|
13144
|
-
n.each((function(){var n=
|
|
13145
|
-
o!==e&&((t=(e=o).copy())._.cancel.push(a),t._.interrupt.push(a),t._.end.push(l)),n.on=t})),0===o&&s()}))},[Symbol.iterator]:
|
|
13146
|
-
var
|
|
13147
|
-
function
|
|
13148
|
-
return n}cz.prototype.interrupt=function(e){return this.each((function(){
|
|
13149
|
-
e instanceof
|
|
13150
|
-
for(var i=this._groups,o=i.length,s=0;s<o;++s)for(var r,a=i[s],l=a.length,c=0;c<l;++c)(r=a[c])&&
|
|
13151
|
-
return new
|
|
13152
|
-
var
|
|
13153
|
-
function
|
|
13154
|
-
var
|
|
13155
|
-
function
|
|
13156
|
-
return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function
|
|
13157
|
-
return e.translate(o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o),r>s?(s+r)/2:Math.min(0,s)||Math.max(0,r))}function
|
|
13158
|
-
function v(e){e.property("__zoom",
|
|
13159
|
-
return i===e.x&&o===e.y?e:new
|
|
13167
|
+
n.each((function(){var n=GV(this,i),o=n.on
|
|
13168
|
+
o!==e&&((t=(e=o).copy())._.cancel.push(a),t._.interrupt.push(a),t._.end.push(l)),n.on=t})),0===o&&s()}))},[Symbol.iterator]:vH[Symbol.iterator]}
|
|
13169
|
+
var bH={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}}
|
|
13170
|
+
function yH(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`)
|
|
13171
|
+
return n}cz.prototype.interrupt=function(e){return this.each((function(){KV(this,e)}))},cz.prototype.transition=function(e){var t,n
|
|
13172
|
+
e instanceof mH?(t=e._id,e=e._name):(t=gH(),(n=bH).time=IV(),e=null==e?null:e+"")
|
|
13173
|
+
for(var i=this._groups,o=i.length,s=0;s<o;++s)for(var r,a=i[s],l=a.length,c=0;c<l;++c)(r=a[c])&&jV(r,e,t,c,a,n||yH(r,t))
|
|
13174
|
+
return new mH(i,this._parents,e,t)}
|
|
13175
|
+
var wH=e=>()=>e
|
|
13176
|
+
function xH(e,{sourceEvent:t,target:n,transform:i,dispatch:o}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:o}})}function CH(e,t,n){this.k=e,this.x=t,this.y=n}CH.prototype={constructor:CH,scale:function(e){return 1===e?this:new CH(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new CH(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}}
|
|
13177
|
+
var kH=new CH(1,0,0)
|
|
13178
|
+
function SH(e){e.stopImmediatePropagation()}function $H(e){e.preventDefault(),e.stopImmediatePropagation()}function MH(e){return!(e.ctrlKey&&"wheel"!==e.type||e.button)}function EH(){var e=this
|
|
13179
|
+
return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function IH(){return this.__zoom||kH}function _H(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function TH(){return navigator.maxTouchPoints||"ontouchstart"in this}function AH(e,t,n){var i=e.invertX(t[0][0])-n[0][0],o=e.invertX(t[1][0])-n[1][0],s=e.invertY(t[0][1])-n[0][1],r=e.invertY(t[1][1])-n[1][1]
|
|
13180
|
+
return e.translate(o>i?(i+o)/2:Math.min(0,i)||Math.max(0,o),r>s?(s+r)/2:Math.min(0,s)||Math.max(0,r))}function DH(){var e,t,n,i=MH,o=EH,s=AH,r=_H,a=TH,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],d=250,h=bV,u=ZP("start","zoom","end"),p=500,f=150,m=0,g=10
|
|
13181
|
+
function v(e){e.property("__zoom",IH).on("wheel.zoom",S,{passive:!1}).on("mousedown.zoom",$).on("dblclick.zoom",M).filter(a).on("touchstart.zoom",E).on("touchmove.zoom",I).on("touchend.zoom touchcancel.zoom",_).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function b(e,t){return(t=Math.max(l[0],Math.min(l[1],t)))===e.k?e:new CH(t,e.x,e.y)}function y(e,t,n){var i=t[0]-n[0]*e.k,o=t[1]-n[1]*e.k
|
|
13182
|
+
return i===e.x&&o===e.y?e:new CH(e.k,i,o)}function w(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function x(e,t,n,i){e.on("start.zoom",(function(){C(this,arguments).event(i).start()})).on("interrupt.zoom end.zoom",(function(){C(this,arguments).event(i).end()})).tween("zoom",(function(){var e=this,s=arguments,r=C(e,s).event(i),a=o.apply(e,s),l=null==n?w(a):"function"==typeof n?n.apply(e,s):n,c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),d=e.__zoom,u="function"==typeof t?t.apply(e,s):t,p=h(d.invert(l).concat(c/d.k),u.invert(l).concat(c/u.k))
|
|
13160
13183
|
return function(e){if(1===e)e=u
|
|
13161
13184
|
else{var t=p(e),n=c/t[2]
|
|
13162
|
-
e=new
|
|
13185
|
+
e=new CH(n,l[0]-t[0]*n,l[1]-t[1]*n)}r.zoom(null,e)}}))}function C(e,t,n){return!n&&e.__zooming||new k(e,t)}function k(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=o.apply(e,t),this.taps=0}function S(e,...t){if(i.apply(this,arguments)){var n=C(this,t).event(e),o=this.__zoom,a=Math.max(l[0],Math.min(l[1],o.k*Math.pow(2,r.apply(this,arguments)))),d=hz(e)
|
|
13163
13186
|
if(n.wheel)n.mouse[0][0]===d[0]&&n.mouse[0][1]===d[1]||(n.mouse[1]=o.invert(n.mouse[0]=d)),clearTimeout(n.wheel)
|
|
13164
13187
|
else{if(o.k===a)return
|
|
13165
|
-
n.mouse=[d,o.invert(d)],
|
|
13188
|
+
n.mouse=[d,o.invert(d)],KV(this),n.start()}$H(e),n.wheel=setTimeout((function(){n.wheel=null,n.end()}),f),n.zoom("mouse",s(y(b(o,a),n.mouse[0],n.mouse[1]),n.extent,c))}}function $(e,...t){if(!n&&i.apply(this,arguments)){var o=e.currentTarget,r=C(this,t,!0).event(e),a=dz(e.view).on("mousemove.zoom",(function(e){if($H(e),!r.moved){var t=e.clientX-d,n=e.clientY-h
|
|
13166
13189
|
r.moved=t*t+n*n>m}r.event(e).zoom("mouse",s(y(r.that.__zoom,r.mouse[0]=hz(e,o),r.mouse[1]),r.extent,c))}),!0).on("mouseup.zoom",(function(e){a.on("mousemove.zoom mouseup.zoom",null),function(e,t){var n=e.document.documentElement,i=dz(e).on("dragstart.drag",null)
|
|
13167
|
-
t&&(i.on("click.drag",pz,uz),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(e.view,r.moved),$
|
|
13190
|
+
t&&(i.on("click.drag",pz,uz),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(e.view,r.moved),$H(e),r.event(e).end()}),!0),l=hz(e,o),d=e.clientX,h=e.clientY
|
|
13168
13191
|
!function(e){var t=e.document.documentElement,n=dz(e).on("dragstart.drag",pz,uz)
|
|
13169
|
-
"onselectstart"in t?n.on("selectstart.drag",pz,uz):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(e.view),
|
|
13170
|
-
$
|
|
13171
|
-
for(
|
|
13172
|
-
e&&(e=clearTimeout(e)),s&&(h.taps<2&&(t=l[0],e=setTimeout((function(){e=null}),p)),
|
|
13173
|
-
for($
|
|
13192
|
+
"onselectstart"in t?n.on("selectstart.drag",pz,uz):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}(e.view),SH(e),r.mouse=[l,this.__zoom.invert(l)],KV(this),r.start()}}function M(e,...t){if(i.apply(this,arguments)){var n=this.__zoom,r=hz(e.changedTouches?e.changedTouches[0]:e,this),a=n.invert(r),l=n.k*(e.shiftKey?.5:2),h=s(y(b(n,l),r,a),o.apply(this,t),c)
|
|
13193
|
+
$H(e),d>0?dz(this).transition().duration(d).call(x,h,r,e):dz(this).call(v.transform,h,r,e)}}function E(n,...o){if(i.apply(this,arguments)){var s,r,a,l,c=n.touches,d=c.length,h=C(this,o,n.changedTouches.length===d).event(n)
|
|
13194
|
+
for(SH(n),r=0;r<d;++r)l=[l=hz(a=c[r],this),this.__zoom.invert(l),a.identifier],h.touch0?h.touch1||h.touch0[2]===l[2]||(h.touch1=l,h.taps=0):(h.touch0=l,s=!0,h.taps=1+!!e)
|
|
13195
|
+
e&&(e=clearTimeout(e)),s&&(h.taps<2&&(t=l[0],e=setTimeout((function(){e=null}),p)),KV(this),h.start())}}function I(e,...t){if(this.__zooming){var n,i,o,r,a=C(this,t).event(e),l=e.changedTouches,d=l.length
|
|
13196
|
+
for($H(e),n=0;n<d;++n)o=hz(i=l[n],this),a.touch0&&a.touch0[2]===i.identifier?a.touch0[0]=o:a.touch1&&a.touch1[2]===i.identifier&&(a.touch1[0]=o)
|
|
13174
13197
|
if(i=a.that.__zoom,a.touch1){var h=a.touch0[0],u=a.touch0[1],p=a.touch1[0],f=a.touch1[1],m=(m=p[0]-h[0])*m+(m=p[1]-h[1])*m,g=(g=f[0]-u[0])*g+(g=f[1]-u[1])*g
|
|
13175
13198
|
i=b(i,Math.sqrt(m/g)),o=[(h[0]+p[0])/2,(h[1]+p[1])/2],r=[(u[0]+f[0])/2,(u[1]+f[1])/2]}else{if(!a.touch0)return
|
|
13176
13199
|
o=a.touch0[0],r=a.touch0[1]}a.zoom("touch",s(y(i,o,r),a.extent,c))}}function _(e,...i){if(this.__zooming){var o,s,r=C(this,i).event(e),a=e.changedTouches,l=a.length
|
|
13177
|
-
for(
|
|
13200
|
+
for(SH(e),n&&clearTimeout(n),n=setTimeout((function(){n=null}),p),o=0;o<l;++o)s=a[o],r.touch0&&r.touch0[2]===s.identifier?delete r.touch0:r.touch1&&r.touch1[2]===s.identifier&&delete r.touch1
|
|
13178
13201
|
if(r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0)r.touch0[1]=this.__zoom.invert(r.touch0[0])
|
|
13179
13202
|
else if(r.end(),2===r.taps&&(s=hz(s,this),Math.hypot(t[0]-s[0],t[1]-s[1])<g)){var c=dz(this).on("dblclick.zoom")
|
|
13180
13203
|
c&&c.apply(this,arguments)}}}return v.transform=function(e,t,n,i){var o=e.selection?e.selection():e
|
|
13181
|
-
o.property("__zoom",
|
|
13204
|
+
o.property("__zoom",IH),e!==o?x(e,t,n,i):o.interrupt().each((function(){C(this,arguments).event(i).start().zoom(null,"function"==typeof t?t.apply(this,arguments):t).end()}))},v.scaleBy=function(e,t,n,i){v.scaleTo(e,(function(){return this.__zoom.k*("function"==typeof t?t.apply(this,arguments):t)}),n,i)},v.scaleTo=function(e,t,n,i){v.transform(e,(function(){var e=o.apply(this,arguments),i=this.__zoom,r=null==n?w(e):"function"==typeof n?n.apply(this,arguments):n,a=i.invert(r),l="function"==typeof t?t.apply(this,arguments):t
|
|
13182
13205
|
return s(y(b(i,l),r,a),e,c)}),n,i)},v.translateBy=function(e,t,n,i){v.transform(e,(function(){return s(this.__zoom.translate("function"==typeof t?t.apply(this,arguments):t,"function"==typeof n?n.apply(this,arguments):n),o.apply(this,arguments),c)}),null,i)},v.translateTo=function(e,t,n,i,r){v.transform(e,(function(){var e=o.apply(this,arguments),r=this.__zoom,a=null==i?w(e):"function"==typeof i?i.apply(this,arguments):i
|
|
13183
|
-
return s(
|
|
13184
|
-
u.call(e,this.that,new
|
|
13185
|
-
return e===u?v:e},v.clickDistance=function(e){return arguments.length?(m=(e=+e)*e,v):Math.sqrt(m)},v.tapDistance=function(e){return arguments.length?(g=+e,v):g},v}
|
|
13186
|
-
const
|
|
13206
|
+
return s(kH.translate(a[0],a[1]).scale(r.k).translate("function"==typeof t?-t.apply(this,arguments):-t,"function"==typeof n?-n.apply(this,arguments):-n),e,c)}),i,r)},k.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(e,t){return this.mouse&&"mouse"!==e&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(e){var t=dz(this.that).datum()
|
|
13207
|
+
u.call(e,this.that,new xH(e,{sourceEvent:this.sourceEvent,target:v,type:e,transform:this.that.__zoom,dispatch:u}),t)}},v.wheelDelta=function(e){return arguments.length?(r="function"==typeof e?e:wH(+e),v):r},v.filter=function(e){return arguments.length?(i="function"==typeof e?e:wH(!!e),v):i},v.touchable=function(e){return arguments.length?(a="function"==typeof e?e:wH(!!e),v):a},v.extent=function(e){return arguments.length?(o="function"==typeof e?e:wH([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),v):o},v.scaleExtent=function(e){return arguments.length?(l[0]=+e[0],l[1]=+e[1],v):[l[0],l[1]]},v.translateExtent=function(e){return arguments.length?(c[0][0]=+e[0][0],c[1][0]=+e[1][0],c[0][1]=+e[0][1],c[1][1]=+e[1][1],v):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},v.constrain=function(e){return arguments.length?(s=e,v):s},v.duration=function(e){return arguments.length?(d=+e,v):d},v.interpolate=function(e){return arguments.length?(h=e,v):h},v.on=function(){var e=u.on.apply(u,arguments)
|
|
13208
|
+
return e===u?v:e},v.clickDistance=function(e){return arguments.length?(m=(e=+e)*e,v):Math.sqrt(m)},v.tapDistance=function(e){return arguments.length?(g=+e,v):g},v}CH.prototype
|
|
13209
|
+
const OH=G`
|
|
13187
13210
|
<div class="wafer-map-container">
|
|
13188
13211
|
<svg class="svg-root">
|
|
13189
13212
|
<g ${Pe("zoomContainer")} transform=${e=>e.transform.toString()}>
|
|
@@ -13214,7 +13237,7 @@ const OV=G`
|
|
|
13214
13237
|
/>
|
|
13215
13238
|
</svg>
|
|
13216
13239
|
</div>
|
|
13217
|
-
`,
|
|
13240
|
+
`,RH=xe`
|
|
13218
13241
|
${Ro("inline-block")}
|
|
13219
13242
|
|
|
13220
13243
|
:host {
|
|
@@ -13304,49 +13327,49 @@ const OV=G`
|
|
|
13304
13327
|
outline-width: 0px;
|
|
13305
13328
|
}
|
|
13306
13329
|
`
|
|
13307
|
-
function
|
|
13330
|
+
function FH(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function NH(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function PH(e){let t,n,i
|
|
13308
13331
|
function o(e,i,o=0,s=e.length){if(o<s){if(0!==t(i,i))return s
|
|
13309
13332
|
do{const t=o+s>>>1
|
|
13310
|
-
n(e[t],i)<0?o=t+1:s=t}while(o<s)}return o}return 2!==e.length?(t=
|
|
13333
|
+
n(e[t],i)<0?o=t+1:s=t}while(o<s)}return o}return 2!==e.length?(t=FH,n=(t,n)=>FH(e(t),n),i=(t,n)=>e(t)-n):(t=e===FH||e===NH?e:LH,n=e,i=e),{left:o,center:function(e,t,n=0,s=e.length){const r=o(e,t,n,s-1)
|
|
13311
13334
|
return r>n&&i(e[r-1],t)>-i(e[r],t)?r-1:r},right:function(e,i,o=0,s=e.length){if(o<s){if(0!==t(i,i))return s
|
|
13312
13335
|
do{const t=o+s>>>1
|
|
13313
|
-
n(e[t],i)<=0?o=t+1:s=t}while(o<s)}return o}}}function
|
|
13314
|
-
|
|
13315
|
-
class
|
|
13336
|
+
n(e[t],i)<=0?o=t+1:s=t}while(o<s)}return o}}}function LH(){return 0}function zH(e){return null===e?NaN:+e}const VH=PH(FH).right
|
|
13337
|
+
PH(zH).center
|
|
13338
|
+
class HH extends Map{constructor(e,t=qH){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(BH(this,e))}has(e){return super.has(BH(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const i=t(n)
|
|
13316
13339
|
return e.has(i)?e.get(i):(e.set(i,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const i=t(n)
|
|
13317
13340
|
e.has(i)&&(n=e.get(i),e.delete(i))
|
|
13318
|
-
return n}(this,e))}}function
|
|
13319
|
-
return e.has(i)?e.get(i):n}function
|
|
13320
|
-
function
|
|
13341
|
+
return n}(this,e))}}function BH({_intern:e,_key:t},n){const i=t(n)
|
|
13342
|
+
return e.has(i)?e.get(i):n}function qH(e){return null!==e&&"object"==typeof e?e.valueOf():e}const UH=Math.sqrt(50),jH=Math.sqrt(10),WH=Math.sqrt(2)
|
|
13343
|
+
function GH(e,t,n){const i=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(i)),s=i/Math.pow(10,o),r=s>=UH?10:s>=jH?5:s>=WH?2:1
|
|
13321
13344
|
let a,l,c
|
|
13322
|
-
return o<0?(c=Math.pow(10,-o)/r,a=Math.round(e*c),l=Math.round(t*c),a/c<e&&++a,l/c>t&&--l,c=-c):(c=Math.pow(10,o)*r,a=Math.round(e/c),l=Math.round(t/c),a*c<e&&++a,l*c>t&&--l),l<a&&.5<=n&&n<2?
|
|
13345
|
+
return o<0?(c=Math.pow(10,-o)/r,a=Math.round(e*c),l=Math.round(t*c),a/c<e&&++a,l/c>t&&--l,c=-c):(c=Math.pow(10,o)*r,a=Math.round(e/c),l=Math.round(t/c),a*c<e&&++a,l*c>t&&--l),l<a&&.5<=n&&n<2?GH(e,t,2*n):[a,l,c]}function ZH(e,t,n){return GH(e=+e,t=+t,n=+n)[2]}function KH(e,t,n=zH){if((i=e.length)&&!isNaN(t=+t)){if(t<=0||i<2)return+n(e[0],0,e)
|
|
13323
13346
|
if(t>=1)return+n(e[i-1],i-1,e)
|
|
13324
13347
|
var i,o=(i-1)*t,s=Math.floor(o),r=+n(e[s],s,e)
|
|
13325
|
-
return r+(+n(e[s+1],s+1,e)-r)*(o-s)}}function
|
|
13348
|
+
return r+(+n(e[s+1],s+1,e)-r)*(o-s)}}function XH(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n
|
|
13326
13349
|
for(var i=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),s=new Array(o);++i<o;)s[i]=e+i*n
|
|
13327
|
-
return s}function
|
|
13350
|
+
return s}function YH(e,t){switch(arguments.length){case 0:break
|
|
13328
13351
|
case 1:this.range(e)
|
|
13329
13352
|
break
|
|
13330
|
-
default:this.range(t).domain(e)}return this}const
|
|
13331
|
-
function
|
|
13353
|
+
default:this.range(t).domain(e)}return this}const JH=Symbol("implicit")
|
|
13354
|
+
function QH(){var e=new HH,t=[],n=[],i=JH
|
|
13332
13355
|
function o(o){let s=e.get(o)
|
|
13333
|
-
if(void 0===s){if(i!==
|
|
13356
|
+
if(void 0===s){if(i!==JH)return i
|
|
13334
13357
|
e.set(o,s=t.push(o)-1)}return n[s%n.length]}return o.domain=function(n){if(!arguments.length)return t.slice()
|
|
13335
|
-
t=[],e=new
|
|
13358
|
+
t=[],e=new HH
|
|
13336
13359
|
for(const i of n)e.has(i)||e.set(i,t.push(i)-1)
|
|
13337
|
-
return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(i=e,o):i},o.copy=function(){return
|
|
13360
|
+
return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(i=e,o):i},o.copy=function(){return QH(t,n).unknown(i)},YH.apply(o,arguments),o}function eB(){var e,t,n=QH().unknown(void 0),i=n.domain,o=n.range,s=0,r=1,a=!1,l=0,c=0,d=.5
|
|
13338
13361
|
function h(){var n=i().length,h=r<s,u=h?r:s,p=h?s:r
|
|
13339
13362
|
e=(p-u)/Math.max(1,n-l+2*c),a&&(e=Math.floor(e)),u+=(p-u-e*(n-l))*d,t=e*(1-l),a&&(u=Math.round(u),t=Math.round(t))
|
|
13340
|
-
var f=
|
|
13341
|
-
return o(h?f.reverse():f)}return delete n.unknown,n.domain=function(e){return arguments.length?(i(e),h()):i()},n.range=function(e){return arguments.length?([s,r]=e,s=+s,r=+r,h()):[s,r]},n.rangeRound=function(e){return[s,r]=e,s=+s,r=+r,a=!0,h()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,h()):a},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),h()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),h()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,h()):c},n.align=function(e){return arguments.length?(d=Math.max(0,Math.min(1,e)),h()):d},n.copy=function(){return eB(i(),[s,r]).round(a).paddingInner(l).paddingOuter(c).align(d)},
|
|
13363
|
+
var f=XH(n).map((function(t){return u+e*t}))
|
|
13364
|
+
return o(h?f.reverse():f)}return delete n.unknown,n.domain=function(e){return arguments.length?(i(e),h()):i()},n.range=function(e){return arguments.length?([s,r]=e,s=+s,r=+r,h()):[s,r]},n.rangeRound=function(e){return[s,r]=e,s=+s,r=+r,a=!0,h()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(a=!!e,h()):a},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),h()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),h()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,h()):c},n.align=function(e){return arguments.length?(d=Math.max(0,Math.min(1,e)),h()):d},n.copy=function(){return eB(i(),[s,r]).round(a).paddingInner(l).paddingOuter(c).align(d)},YH.apply(h(),arguments)}function tB(e){return+e}var nB=[0,1]
|
|
13342
13365
|
function iB(e){return e}function oB(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n})
|
|
13343
13366
|
var n}function sB(e,t,n){var i=e[0],o=e[1],s=t[0],r=t[1]
|
|
13344
13367
|
return o<i?(i=oB(o,i),s=n(r,s)):(i=oB(i,o),s=n(s,r)),function(e){return s(i(e))}}function rB(e,t,n){var i=Math.min(e.length,t.length)-1,o=new Array(i),s=new Array(i),r=-1
|
|
13345
13368
|
for(e[i]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++r<i;)o[r]=oB(e[r],e[r+1]),s[r]=n(t[r],t[r+1])
|
|
13346
|
-
return function(t){var n=
|
|
13347
|
-
return s[n](o[n](t))}}function aB(){var e,t,n,i,o,s,r=nB,a=nB,l=
|
|
13369
|
+
return function(t){var n=VH(e,t,1,i)-1
|
|
13370
|
+
return s[n](o[n](t))}}function aB(){var e,t,n,i,o,s,r=nB,a=nB,l=rV,c=iB
|
|
13348
13371
|
function d(){var e,t,n,l=Math.min(r.length,a.length)
|
|
13349
|
-
return c!==iB&&(e=r[0],t=r[l-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),i=l>2?rB:sB,o=s=null,h}function h(t){return null==t||isNaN(t=+t)?n:(o||(o=i(r.map(e),a,l)))(e(c(t)))}return h.invert=function(n){return c(t((s||(s=i(a,r.map(e),
|
|
13372
|
+
return c!==iB&&(e=r[0],t=r[l-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),i=l>2?rB:sB,o=s=null,h}function h(t){return null==t||isNaN(t=+t)?n:(o||(o=i(r.map(e),a,l)))(e(c(t)))}return h.invert=function(n){return c(t((s||(s=i(a,r.map(e),tV)))(n)))},h.domain=function(e){return arguments.length?(r=Array.from(e,tB),d()):r.slice()},h.range=function(e){return arguments.length?(a=Array.from(e),d()):a.slice()},h.rangeRound=function(e){return a=Array.from(e),l=aV,d()},h.clamp=function(e){return arguments.length?(c=!!e||iB,d()):c!==iB},h.interpolate=function(e){return arguments.length?(l=e,d()):l},h.unknown=function(e){return arguments.length?(n=e,h):n},function(n,i){return e=n,t=i,d()}}function lB(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null
|
|
13350
13373
|
var n,i=e.slice(0,n)
|
|
13351
13374
|
return[i.length>1?i[0]+i.slice(2):i,+e.slice(n+1)]}function cB(e){return(e=lB(Math.abs(e)))?e[1]:NaN}var dB,hB=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i
|
|
13352
13375
|
function uB(e){if(!(t=hB.exec(e)))throw new Error("invalid format: "+e)
|
|
@@ -13384,7 +13407,7 @@ case"^":e=M.slice(0,$=M.length>>1)+u+e+k+M.slice($)
|
|
|
13384
13407
|
break
|
|
13385
13408
|
default:e=M+u+e+k}return a(e)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return e+""},k}return{format:h,formatPrefix:function(e,t){var n=h(((e=uB(e)).type="f",e)),i=3*Math.max(-8,Math.min(8,Math.floor(cB(t)/3))),o=Math.pow(10,-i),s=xB[8+i/3]
|
|
13386
13409
|
return function(e){return n(o*e)+s}}}}function kB(e,t,n,i){var o,s=function(e,t,n){n=+n
|
|
13387
|
-
const i=(t=+t)<(e=+e),o=i?
|
|
13410
|
+
const i=(t=+t)<(e=+e),o=i?ZH(t,e,n):ZH(e,t,n)
|
|
13388
13411
|
return(i?-1:1)*(o<0?1/-o:o)}(e,t,n)
|
|
13389
13412
|
switch((i=uB(null==i?",f":i)).type){case"s":var r=Math.max(Math.abs(e),Math.abs(t))
|
|
13390
13413
|
return null!=i.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(cB(t)/3)))-cB(Math.abs(e)))}(s,r))||(i.precision=o),yB(i,r)
|
|
@@ -13394,7 +13417,7 @@ case"f":case"%":null!=i.precision||isNaN(o=function(e){return Math.max(0,-cB(Mat
|
|
|
13394
13417
|
return e.ticks=function(e){var n=t()
|
|
13395
13418
|
return function(e,t,n){if(!((n=+n)>0))return[]
|
|
13396
13419
|
if((e=+e)==(t=+t))return[e]
|
|
13397
|
-
const i=t<e,[o,s,r]=i?
|
|
13420
|
+
const i=t<e,[o,s,r]=i?GH(t,e,n):GH(e,t,n)
|
|
13398
13421
|
if(!(s>=o))return[]
|
|
13399
13422
|
const a=s-o+1,l=new Array(a)
|
|
13400
13423
|
if(i)if(r<0)for(let e=0;e<a;++e)l[e]=(s-e)/-r
|
|
@@ -13404,31 +13427,31 @@ else for(let e=0;e<a;++e)l[e]=(o+e)*r
|
|
|
13404
13427
|
return l}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var i=t()
|
|
13405
13428
|
return kB(i[0],i[i.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10)
|
|
13406
13429
|
var i,o,s=t(),r=0,a=s.length-1,l=s[r],c=s[a],d=10
|
|
13407
|
-
for(c<l&&(o=l,l=c,c=o,o=r,r=a,a=o);d-- >0;){if((o=
|
|
13430
|
+
for(c<l&&(o=l,l=c,c=o,o=r,r=a,a=o);d-- >0;){if((o=ZH(l,c,n))===i)return s[r]=l,s[a]=c,t(s)
|
|
13408
13431
|
if(o>0)l=Math.floor(l/o)*o,c=Math.ceil(c/o)*o
|
|
13409
13432
|
else{if(!(o<0))break
|
|
13410
13433
|
l=Math.ceil(l*o)/o,c=Math.floor(c*o)/o}i=o}return e},e}function $B(){var e=aB()(iB,iB)
|
|
13411
13434
|
return e.copy=function(){return t=e,$B().domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())
|
|
13412
|
-
var t},
|
|
13435
|
+
var t},YH.apply(e,arguments),SB(e)}function MB(){var e,t=[],n=[],i=[]
|
|
13413
13436
|
function o(){var e=0,o=Math.max(1,n.length)
|
|
13414
|
-
for(i=new Array(o-1);++e<o;)i[e-1]=
|
|
13415
|
-
return s}function s(t){return null==t||isNaN(t=+t)?e:n[
|
|
13437
|
+
for(i=new Array(o-1);++e<o;)i[e-1]=KH(t,e/o)
|
|
13438
|
+
return s}function s(t){return null==t||isNaN(t=+t)?e:n[VH(i,t)]}return s.invertExtent=function(e){var o=n.indexOf(e)
|
|
13416
13439
|
return o<0?[NaN,NaN]:[o>0?i[o-1]:t[0],o<i.length?i[o]:t[t.length-1]]},s.domain=function(e){if(!arguments.length)return t.slice()
|
|
13417
13440
|
t=[]
|
|
13418
13441
|
for(let n of e)null==n||isNaN(n=+n)||t.push(n)
|
|
13419
|
-
return t.sort(
|
|
13442
|
+
return t.sort(FH),o()},s.range=function(e){return arguments.length?(n=Array.from(e),o()):n.slice()},s.unknown=function(t){return arguments.length?(e=t,s):e},s.quantiles=function(){return i.slice()},s.copy=function(){return MB().domain(t).range(n).unknown(e)},YH.apply(s,arguments)}vB=CB({thousands:",",grouping:[3],currency:["$",""]}),bB=vB.format,yB=vB.formatPrefix
|
|
13420
13443
|
const EB="bottom-left",IB="bottom-right",_B="top-left",TB="top",AB="show",DB="hide",OB="linear",RB="ordinal"
|
|
13421
13444
|
class FB{get labelsFontSize(){return this._labelsFontSize}get diesRenderInfo(){return this._diesRenderInfo}constructor(e){this.wafermap=e,this.fontSizeFactor=.8,this.nonHighlightedOpacity=.3,this.emptyDieColor="rgba(218,223,236,1)",this.nanDieColor="rgba(122,122,122,1)"}updateLabelsFontSize(){this._labelsFontSize=this.calculateLabelsFontSize(this.wafermap.dataManager.dieDimensions,this.wafermap.maxCharacters),this.updateDiesRenderInfo()}updateDiesRenderInfo(){this.d3ColorScale=this.createD3ColorScale(this.wafermap.colorScale,this.wafermap.colorScaleMode)
|
|
13422
13445
|
const e=e=>null!==e
|
|
13423
13446
|
void 0===this.wafermap.diesTable&&(this._diesRenderInfo=this.wafermap.dies.map((e=>this.computeDieRenderInfo(e))).filter(e))}computeDieRenderInfo(e){const t=this.wafermap.dataManager.margin,n=this.wafermap.dataManager.horizontalScale(e.x),i=this.wafermap.dataManager.verticalScale(e.y)
|
|
13424
|
-
return void 0===n||void 0===i?null:{x:n+t.right,y:i+t.top,fillStyle:this.calculateFillStyle(e.value,this.wafermap.colorScaleMode,this.wafermap.highlightedTags,e.tags),text:this.buildLabel(e.value,this.wafermap.maxCharacters,this.wafermap.dieLabelsHidden,this.wafermap.dieLabelsSuffix)}}calculateLabelsFontSize(e,t){return Math.min(e.height,e.width/(.5*Math.max(2,t))*this.fontSizeFactor)}createD3ColorScale(e,t){return this.isColorScaleLinear(t)?$B().domain(e.values.map((e=>+e))).range(e.colors):
|
|
13447
|
+
return void 0===n||void 0===i?null:{x:n+t.right,y:i+t.top,fillStyle:this.calculateFillStyle(e.value,this.wafermap.colorScaleMode,this.wafermap.highlightedTags,e.tags),text:this.buildLabel(e.value,this.wafermap.maxCharacters,this.wafermap.dieLabelsHidden,this.wafermap.dieLabelsSuffix)}}calculateLabelsFontSize(e,t){return Math.min(e.height,e.width/(.5*Math.max(2,t))*this.fontSizeFactor)}createD3ColorScale(e,t){return this.isColorScaleLinear(t)?$B().domain(e.values.map((e=>+e))).range(e.colors):QH().domain(e.values).range(e.colors)}dieHasData(e){return null!=e&&""!==e}buildLabel(e,t,n,i){if(n||!this.dieHasData(e))return""
|
|
13425
13448
|
const o=`${e}${i}`
|
|
13426
13449
|
return o.length>=t?`${o.substring(0,t)}…`:o}calculateOpacity(e,t){if(!t||0===t.length)return 1
|
|
13427
13450
|
const n=new Set(t)
|
|
13428
13451
|
return e?.some((e=>n.has(e)))?1:this.nonHighlightedOpacity}isColorScaleLinear(e){return e===OB}isColorScaleOrdinal(e){return e===RB}calculateFillStyle(e,t,n,i){let o=this.emptyDieColor
|
|
13429
13452
|
if(this.dieHasData(e)&&(isNaN(+e)?o=this.nanDieColor:this.isColorScaleLinear(t)?o=this.d3ColorScale(+e):this.isColorScaleOrdinal(t)&&(o=this.d3ColorScale(e))),void 0===o)return this.emptyDieColor
|
|
13430
13453
|
let s=Zo(o)
|
|
13431
|
-
return null===s?this.emptyDieColor:(s=new
|
|
13454
|
+
return null===s?this.emptyDieColor:(s=new Vo(s.r,s.g,s.b,this.calculateOpacity(i,n)),s.toStringWebRGBA())}}class NB{get containerDimensions(){return this.computations.containerDimensions}get dieDimensions(){return this.computations.dieDimensions}get radius(){return this.computations.radius}get margin(){return this.computations.margin}get horizontalScale(){return this.computations.horizontalScale}get invertedHorizontalScale(){return this.computations.invertedHorizontalScale}get verticalScale(){return this.computations.verticalScale}get invertedVerticalScale(){return this.computations.invertedVerticalScale}get labelsFontSize(){return this.prerendering.labelsFontSize}get diesRenderInfo(){return this.prerendering.diesRenderInfo}get data(){return this.dataMap}constructor(e){this.wafermap=e,this.computations=new class{get containerDimensions(){return this._containerDimensions}get dieDimensions(){return this._dieDimensions}get radius(){return this._radius}get margin(){return this._margin}get horizontalScale(){return this._horizontalScale}get verticalScale(){return this._verticalScale}get invertedHorizontalScale(){return this._invertedHorizontalScale}get invertedVerticalScale(){return this._invertedVerticalScale}constructor(e){this.wafermap=e,this.defaultPadding=0,this.baseMarginPercentage=.04}updateContainerDimensions(){const e={width:this.wafermap.canvasWidth,height:this.wafermap.canvasHeight},t=Math.min(e.width,e.height),n={top:(e.height-t)/2,right:(e.width-t)/2,bottom:(e.height-t)/2,left:(e.width-t)/2},i={top:t*this.baseMarginPercentage,right:t*this.baseMarginPercentage,bottom:t*this.baseMarginPercentage,left:t*this.baseMarginPercentage}
|
|
13432
13455
|
this._margin=this.calculateMarginAddition(i,n),this._containerDimensions=this.calculateContainerDimensions(e,this._margin)
|
|
13433
13456
|
const o=Math.min(this._containerDimensions.width,this._containerDimensions.height)
|
|
13434
13457
|
this._radius=o/2,this.updateScales()}updateScales(){const e=Math.min(this._containerDimensions.width,this._containerDimensions.height),t=this.gridDimensionsValidAndDefined()?this.calculateGridDimensionsFromBoundingBox():this.calculateGridDimensionsFromDies(this.wafermap.dies),n=this.wafermap.originLocation
|
|
@@ -13438,11 +13461,11 @@ this._dieDimensions={width:isNaN(i)?0:i,height:isNaN(o)?0:o}}gridDimensionsValid
|
|
|
13438
13461
|
return"number"==typeof this.wafermap.gridMaxY&&"number"==typeof this.wafermap.gridMinY&&"number"==typeof this.wafermap.gridMaxX&&"number"==typeof this.wafermap.gridMinX&&(e.origin.x=this.wafermap.gridMinX,e.origin.y=this.wafermap.gridMinY,e.rows=this.wafermap.gridMaxY-this.wafermap.gridMinY+1,e.cols=this.wafermap.gridMaxX-this.wafermap.gridMinX+1),e}calculateGridDimensionsFromDies(e){if(0===e.length||void 0===e[0])return{origin:{x:0,y:0},rows:0,cols:0}
|
|
13439
13462
|
const t={x:e[0].x,y:e[0].y},n={x:e[0].x,y:e[0].y}
|
|
13440
13463
|
for(const i of e)i.x<t.x&&(t.x=i.x),i.y<t.y&&(t.y=i.y),i.x>n.x&&(n.x=i.x),i.y>n.y&&(n.y=i.y)
|
|
13441
|
-
return{origin:t,rows:n.y-t.y+1,cols:n.x-t.x+1}}calculateContainerDimensions(e,t){return{width:e.width-t.left-t.right,height:e.height-t.top-t.bottom}}createHorizontalScale(e,t,n){const i=eB().domain(
|
|
13464
|
+
return{origin:t,rows:n.y-t.y+1,cols:n.x-t.x+1}}calculateContainerDimensions(e,t){return{width:e.width-t.left-t.right,height:e.height-t.top-t.bottom}}createHorizontalScale(e,t,n){const i=eB().domain(XH(t.origin.x,t.origin.x+t.cols)).paddingInner(0).paddingOuter(0).align(0).round(!1)
|
|
13442
13465
|
return e===EB||e===_B?i.range([0,n]):i.range([n,0])}createInvertedHorizontalScale(e,t,n){const i=MB().domain([0,n])
|
|
13443
|
-
return e===EB||e===_B?i.range(
|
|
13466
|
+
return e===EB||e===_B?i.range(XH(t.origin.x,t.origin.x+t.cols)):i.range(XH(t.origin.x,t.origin.x+t.cols).reverse())}createVerticalScale(e,t,n){const i=eB().domain(XH(t.origin.y,t.origin.y+t.rows)).paddingInner(this.defaultPadding).paddingOuter(0).align(0).round(!1)
|
|
13444
13467
|
return e===EB||e===IB?i.range([n,0]):i.range([0,n])}createInvertedVerticalScale(e,t,n){const i=MB().domain([0,n])
|
|
13445
|
-
return e===EB||e===IB?i.range(
|
|
13468
|
+
return e===EB||e===IB?i.range(XH(t.origin.y,t.origin.y+t.rows).reverse()):i.range(XH(t.origin.y,t.origin.y+t.rows))}calculateMarginAddition(e,t){return{top:e.top+t.top,right:e.right+t.right,bottom:e.bottom+t.bottom,left:e.left+t.left}}}(e),this.prerendering=new FB(e)}updateContainerDimensions(){this.computations.updateContainerDimensions(),this.updateDataMap(),this.updateLabelsFontSize()}updateScales(){this.computations.updateScales(),this.updateDataMap(),this.updateLabelsFontSize()}updateLabelsFontSize(){this.prerendering.updateLabelsFontSize()}updateDiesRenderInfo(){this.prerendering.updateDiesRenderInfo()}getWaferMapDie(e){return this.dataMap.get(`${e.x}_${e.y}`)}updateDataMap(){this.dataMap=new Map(this.wafermap.dies.map((e=>[`${e.x}_${e.y}`,e])))}}class PB{constructor(e){this.wafermap=e,this.minDieDim=50}updateSortedDiesAndDrawWafer(){this.dies=this.wafermap.dataManager.diesRenderInfo.sort(((e,t)=>e.fillStyle>t.fillStyle?1:t.fillStyle>e.fillStyle?-1:0)),this.drawWafer()}drawWafer(){this.wafermap.canvasContext.save(),this.clearCanvas(),this.scaleCanvas(),this.renderDies(),this.renderText(),this.wafermap.canvasContext.restore(),this.renderHover()}renderHover(){void 0!==this.wafermap.dataManager.dieDimensions&&void 0!==this.wafermap.transform&&(this.wafermap.hoverWidth=this.wafermap.dataManager.dieDimensions.width*this.wafermap.transform.k,this.wafermap.hoverHeight=this.wafermap.dataManager.dieDimensions.height*this.wafermap.transform.k,this.wafermap.hoverOpacity=void 0===this.wafermap.hoverDie?DB:AB,this.wafermap.hoverTransform=this.calculateHoverTransform())}calculateHoverTransform(){if(void 0!==this.wafermap.hoverDie){const e=this.wafermap.dataManager.horizontalScale(this.wafermap.hoverDie.x)
|
|
13446
13469
|
if(void 0===e)return""
|
|
13447
13470
|
const t=this.wafermap.dataManager.verticalScale(this.wafermap.hoverDie.y)
|
|
13448
13471
|
if(void 0===t)return""
|
|
@@ -13456,17 +13479,17 @@ i.font=`${n.toString()}px sans-serif`,i.fillStyle="#ffffff",i.textAlign="center"
|
|
|
13456
13479
|
const o=i.measureText("M"),s=this.wafermap.transform.invert([0,0]),r=this.wafermap.transform.invert([this.wafermap.canvas.width,this.wafermap.canvas.height])
|
|
13457
13480
|
s[0]-=e,s[1]-=t
|
|
13458
13481
|
for(const n of this.dies)this.isDieVisible(n,s,r)&&i.fillText(n.text,n.x+e/2,n.y+t/2+o.width/2,e-e/100*20)}}clearCanvas(){this.wafermap.canvasContext.clearRect(0,0,this.wafermap.canvas.width,this.wafermap.canvas.height)}scaleCanvas(){this.wafermap.canvasContext.translate(this.wafermap.transform.x,this.wafermap.transform.y),this.wafermap.canvasContext.scale(this.wafermap.transform.k,this.wafermap.transform.k)}isDieVisible(e,t,n){return e.x>=t[0]&&e.x<n[0]&&e.y>=t[1]&&e.y<n[1]}}const LB=["highlightedTags","canvasWidth","canvasHeight","originLocation","gridMinX","gridMaxX","gridMinY","gridMaxY","dies","maxCharacters","colorScale","colorScaleMode","dieLabelsHidden","dieLabelsSuffix","transform","hoverDie"]
|
|
13459
|
-
class zB extends f_{constructor(e){super(LB),this.wafermap=e,this.updateQueued=!1}get requiresEventsUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")||this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")||this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")||this.isTracked("transform")}get requiresWorkerWaferSetup(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")||this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")||this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresContainerDimensionsUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")}get requiresComponentResizeUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")}get requiresScalesUpdate(){return this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")}get requiresInputDataUpdate(){return this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")}get requiresLabelsFontSizeUpdate(){return this.isTracked("maxCharacters")}get requiresDiesRenderInfoUpdate(){return this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresColorAndTextUpdate(){return this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresDrawnWaferUpdate(){return this.isTracked("transform")}get requiresRenderHoverUpdate(){return this.isTracked("hoverDie")}queueUpdate(){this.wafermap.$fastController.isConnected&&!this.updateQueued&&(this.updateQueued=!0,void 0===this.wafermap.currentTask?u.queueUpdate((()=>{this.wafermap.update(),this.untrackAll(),this.updateQueued=!1})):(async()=>{await this.wafermap.currentTask,u.queueUpdate((()=>{this.wafermap.update(),this.untrackAll(),this.updateQueued=!1,this.wafermap.currentTask=void 0}))})())}}var HB,
|
|
13460
|
-
!function(e){e[e.Sparse=0]="Sparse",e[e.Dense=1]="Dense"}(
|
|
13461
|
-
class KB{static isNull(e){return(null==e?void 0:e.typeId)===jB.Null}static isInt(e){return(null==e?void 0:e.typeId)===jB.Int}static isFloat(e){return(null==e?void 0:e.typeId)===jB.Float}static isBinary(e){return(null==e?void 0:e.typeId)===jB.Binary}static isLargeBinary(e){return(null==e?void 0:e.typeId)===jB.LargeBinary}static isUtf8(e){return(null==e?void 0:e.typeId)===jB.Utf8}static isLargeUtf8(e){return(null==e?void 0:e.typeId)===jB.LargeUtf8}static isBool(e){return(null==e?void 0:e.typeId)===jB.Bool}static isDecimal(e){return(null==e?void 0:e.typeId)===jB.Decimal}static isDate(e){return(null==e?void 0:e.typeId)===jB.Date}static isTime(e){return(null==e?void 0:e.typeId)===jB.Time}static isTimestamp(e){return(null==e?void 0:e.typeId)===jB.Timestamp}static isInterval(e){return(null==e?void 0:e.typeId)===jB.Interval}static isDuration(e){return(null==e?void 0:e.typeId)===jB.Duration}static isList(e){return(null==e?void 0:e.typeId)===jB.List}static isStruct(e){return(null==e?void 0:e.typeId)===jB.Struct}static isUnion(e){return(null==e?void 0:e.typeId)===jB.Union}static isFixedSizeBinary(e){return(null==e?void 0:e.typeId)===jB.FixedSizeBinary}static isFixedSizeList(e){return(null==e?void 0:e.typeId)===jB.FixedSizeList}static isMap(e){return(null==e?void 0:e.typeId)===jB.Map}static isDictionary(e){return(null==e?void 0:e.typeId)===jB.Dictionary}static isDenseUnion(e){return KB.isUnion(e)&&e.mode===
|
|
13482
|
+
class zB extends f_{constructor(e){super(LB),this.wafermap=e,this.updateQueued=!1}get requiresEventsUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")||this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")||this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")||this.isTracked("transform")}get requiresWorkerWaferSetup(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")||this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")||this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresContainerDimensionsUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")}get requiresComponentResizeUpdate(){return this.isTracked("canvasWidth")||this.isTracked("canvasHeight")}get requiresScalesUpdate(){return this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")}get requiresInputDataUpdate(){return this.isTracked("originLocation")||this.isTracked("gridMinX")||this.isTracked("gridMaxX")||this.isTracked("gridMinY")||this.isTracked("gridMaxY")||this.isTracked("dies")}get requiresLabelsFontSizeUpdate(){return this.isTracked("maxCharacters")}get requiresDiesRenderInfoUpdate(){return this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresColorAndTextUpdate(){return this.isTracked("maxCharacters")||this.isTracked("highlightedTags")||this.isTracked("colorScale")||this.isTracked("colorScaleMode")||this.isTracked("dieLabelsHidden")||this.isTracked("dieLabelsSuffix")}get requiresDrawnWaferUpdate(){return this.isTracked("transform")}get requiresRenderHoverUpdate(){return this.isTracked("hoverDie")}queueUpdate(){this.wafermap.$fastController.isConnected&&!this.updateQueued&&(this.updateQueued=!0,void 0===this.wafermap.currentTask?u.queueUpdate((()=>{this.wafermap.update(),this.untrackAll(),this.updateQueued=!1})):(async()=>{await this.wafermap.currentTask,u.queueUpdate((()=>{this.wafermap.update(),this.untrackAll(),this.updateQueued=!1,this.wafermap.currentTask=void 0}))})())}}var VB,HB,BB,qB,UB,jB,WB,GB,ZB
|
|
13483
|
+
!function(e){e[e.Sparse=0]="Sparse",e[e.Dense=1]="Dense"}(VB||(VB={})),function(e){e[e.HALF=0]="HALF",e[e.SINGLE=1]="SINGLE",e[e.DOUBLE=2]="DOUBLE"}(HB||(HB={})),function(e){e[e.DAY=0]="DAY",e[e.MILLISECOND=1]="MILLISECOND"}(BB||(BB={})),function(e){e[e.SECOND=0]="SECOND",e[e.MILLISECOND=1]="MILLISECOND",e[e.MICROSECOND=2]="MICROSECOND",e[e.NANOSECOND=3]="NANOSECOND"}(qB||(qB={})),function(e){e[e.YEAR_MONTH=0]="YEAR_MONTH",e[e.DAY_TIME=1]="DAY_TIME",e[e.MONTH_DAY_NANO=2]="MONTH_DAY_NANO"}(UB||(UB={})),function(e){e[e.NONE=0]="NONE",e[e.Null=1]="Null",e[e.Int=2]="Int",e[e.Float=3]="Float",e[e.Binary=4]="Binary",e[e.Utf8=5]="Utf8",e[e.Bool=6]="Bool",e[e.Decimal=7]="Decimal",e[e.Date=8]="Date",e[e.Time=9]="Time",e[e.Timestamp=10]="Timestamp",e[e.Interval=11]="Interval",e[e.List=12]="List",e[e.Struct=13]="Struct",e[e.Union=14]="Union",e[e.FixedSizeBinary=15]="FixedSizeBinary",e[e.FixedSizeList=16]="FixedSizeList",e[e.Map=17]="Map",e[e.Duration=18]="Duration",e[e.LargeBinary=19]="LargeBinary",e[e.LargeUtf8=20]="LargeUtf8",e[e.Dictionary=-1]="Dictionary",e[e.Int8=-2]="Int8",e[e.Int16=-3]="Int16",e[e.Int32=-4]="Int32",e[e.Int64=-5]="Int64",e[e.Uint8=-6]="Uint8",e[e.Uint16=-7]="Uint16",e[e.Uint32=-8]="Uint32",e[e.Uint64=-9]="Uint64",e[e.Float16=-10]="Float16",e[e.Float32=-11]="Float32",e[e.Float64=-12]="Float64",e[e.DateDay=-13]="DateDay",e[e.DateMillisecond=-14]="DateMillisecond",e[e.TimestampSecond=-15]="TimestampSecond",e[e.TimestampMillisecond=-16]="TimestampMillisecond",e[e.TimestampMicrosecond=-17]="TimestampMicrosecond",e[e.TimestampNanosecond=-18]="TimestampNanosecond",e[e.TimeSecond=-19]="TimeSecond",e[e.TimeMillisecond=-20]="TimeMillisecond",e[e.TimeMicrosecond=-21]="TimeMicrosecond",e[e.TimeNanosecond=-22]="TimeNanosecond",e[e.DenseUnion=-23]="DenseUnion",e[e.SparseUnion=-24]="SparseUnion",e[e.IntervalDayTime=-25]="IntervalDayTime",e[e.IntervalYearMonth=-26]="IntervalYearMonth",e[e.DurationSecond=-27]="DurationSecond",e[e.DurationMillisecond=-28]="DurationMillisecond",e[e.DurationMicrosecond=-29]="DurationMicrosecond",e[e.DurationNanosecond=-30]="DurationNanosecond"}(jB||(jB={})),function(e){e[e.OFFSET=0]="OFFSET",e[e.DATA=1]="DATA",e[e.VALIDITY=2]="VALIDITY",e[e.TYPE=3]="TYPE"}(WB||(WB={}))
|
|
13484
|
+
class KB{static isNull(e){return(null==e?void 0:e.typeId)===jB.Null}static isInt(e){return(null==e?void 0:e.typeId)===jB.Int}static isFloat(e){return(null==e?void 0:e.typeId)===jB.Float}static isBinary(e){return(null==e?void 0:e.typeId)===jB.Binary}static isLargeBinary(e){return(null==e?void 0:e.typeId)===jB.LargeBinary}static isUtf8(e){return(null==e?void 0:e.typeId)===jB.Utf8}static isLargeUtf8(e){return(null==e?void 0:e.typeId)===jB.LargeUtf8}static isBool(e){return(null==e?void 0:e.typeId)===jB.Bool}static isDecimal(e){return(null==e?void 0:e.typeId)===jB.Decimal}static isDate(e){return(null==e?void 0:e.typeId)===jB.Date}static isTime(e){return(null==e?void 0:e.typeId)===jB.Time}static isTimestamp(e){return(null==e?void 0:e.typeId)===jB.Timestamp}static isInterval(e){return(null==e?void 0:e.typeId)===jB.Interval}static isDuration(e){return(null==e?void 0:e.typeId)===jB.Duration}static isList(e){return(null==e?void 0:e.typeId)===jB.List}static isStruct(e){return(null==e?void 0:e.typeId)===jB.Struct}static isUnion(e){return(null==e?void 0:e.typeId)===jB.Union}static isFixedSizeBinary(e){return(null==e?void 0:e.typeId)===jB.FixedSizeBinary}static isFixedSizeList(e){return(null==e?void 0:e.typeId)===jB.FixedSizeList}static isMap(e){return(null==e?void 0:e.typeId)===jB.Map}static isDictionary(e){return(null==e?void 0:e.typeId)===jB.Dictionary}static isDenseUnion(e){return KB.isUnion(e)&&e.mode===VB.Dense}static isSparseUnion(e){return KB.isUnion(e)&&e.mode===VB.Sparse}constructor(e){this.typeId=e}}GB=Symbol.toStringTag,KB[GB]=((ZB=KB.prototype).children=null,ZB.ArrayType=Array,ZB.OffsetArrayType=Int32Array,ZB[Symbol.toStringTag]="DataType")
|
|
13462
13485
|
class XB extends KB{constructor(){super(jB.Null)}toString(){return"Null"}}XB[Symbol.toStringTag]=(e=>e[Symbol.toStringTag]="Null")(XB.prototype)
|
|
13463
13486
|
class YB extends KB{constructor(e,t){super(jB.Int),this.isSigned=e,this.bitWidth=t}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array
|
|
13464
13487
|
case 16:return this.isSigned?Int16Array:Uint16Array
|
|
13465
13488
|
case 32:return this.isSigned?Int32Array:Uint32Array
|
|
13466
13489
|
case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}YB[Symbol.toStringTag]=(e=>(e.isSigned=null,e.bitWidth=null,e[Symbol.toStringTag]="Int"))(YB.prototype)
|
|
13467
|
-
class JB extends KB{constructor(e){super(jB.Float),this.precision=e}get ArrayType(){switch(this.precision){case
|
|
13468
|
-
case
|
|
13469
|
-
case
|
|
13490
|
+
class JB extends KB{constructor(e){super(jB.Float),this.precision=e}get ArrayType(){switch(this.precision){case HB.HALF:return Uint16Array
|
|
13491
|
+
case HB.SINGLE:return Float32Array
|
|
13492
|
+
case HB.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}JB[Symbol.toStringTag]=(e=>(e.precision=null,e[Symbol.toStringTag]="Float"))(JB.prototype)
|
|
13470
13493
|
class QB extends KB{constructor(){super(jB.Binary)}toString(){return"Binary"}}QB[Symbol.toStringTag]=(e=>(e.ArrayType=Uint8Array,e[Symbol.toStringTag]="Binary"))(QB.prototype)
|
|
13471
13494
|
class eq extends KB{constructor(){super(jB.LargeBinary)}toString(){return"LargeBinary"}}eq[Symbol.toStringTag]=(e=>(e.ArrayType=Uint8Array,e.OffsetArrayType=BigInt64Array,e[Symbol.toStringTag]="LargeBinary"))(eq.prototype)
|
|
13472
13495
|
class tq extends KB{constructor(){super(jB.Utf8)}toString(){return"Utf8"}}tq[Symbol.toStringTag]=(e=>(e.ArrayType=Uint8Array,e[Symbol.toStringTag]="Utf8"))(tq.prototype)
|
|
@@ -13495,7 +13518,7 @@ class bq extends KB{constructor(e,t,n,i){super(jB.Dictionary),this.indices=t,thi
|
|
|
13495
13518
|
return Number(e)}(n)}get children(){return this.dictionary.children}get valueType(){return this.dictionary}get ArrayType(){return this.dictionary.ArrayType}toString(){return`Dictionary<${this.indices}, ${this.dictionary}>`}}bq[Symbol.toStringTag]=(e=>(e.id=null,e.indices=null,e.isOrdered=null,e.dictionary=null,e[Symbol.toStringTag]="Dictionary"))(bq.prototype)
|
|
13496
13519
|
class yq{constructor(e){this.wafermap=e,this.invalidGridDimensions=!1,this.invalidDiesTableSchema=!1}getValidity(){return{invalidGridDimensions:this.invalidGridDimensions,invalidDiesTableSchema:this.invalidDiesTableSchema}}isValid(){return Object.values(this.getValidity()).every((e=>!1===e))}validateGridDimensions(){return this.invalidGridDimensions=!1,void 0===this.wafermap.gridMinX&&void 0===this.wafermap.gridMaxX&&void 0===this.wafermap.gridMinY&&void 0===this.wafermap.gridMaxY?this.invalidGridDimensions=!1:("number"!=typeof this.wafermap.gridMinX||"number"!=typeof this.wafermap.gridMaxX||"number"!=typeof this.wafermap.gridMinY||"number"!=typeof this.wafermap.gridMaxY||this.wafermap.gridMaxX<this.wafermap.gridMinX||this.wafermap.gridMaxY<this.wafermap.gridMinY)&&(this.invalidGridDimensions=!0),!this.invalidGridDimensions}validateDiesTableSchema(){if(this.invalidDiesTableSchema=!1,void 0===this.wafermap.diesTable)this.invalidDiesTableSchema=!1
|
|
13497
13520
|
else{const e=this.wafermap.diesTable.schema.fields,t=e.find((e=>"colIndex"===e.name)),n=e.find((e=>"rowIndex"===e.name)),i=e.find((e=>"value"===e.name))
|
|
13498
|
-
t&&n&&i&&KB.isInt(t.type)&&32===t.type.bitWidth&&KB.isInt(n.type)&&32===n.type.bitWidth&&KB.isFloat(i.type)&&i.type.precision===
|
|
13521
|
+
t&&n&&i&&KB.isInt(t.type)&&32===t.type.bitWidth&&KB.isInt(n.type)&&32===n.type.bitWidth&&KB.isFloat(i.type)&&i.type.precision===HB.DOUBLE||(this.invalidDiesTableSchema=!0)}return!this.invalidDiesTableSchema}}
|
|
13499
13522
|
/**
|
|
13500
13523
|
* @license
|
|
13501
13524
|
* Copyright 2019 Google LLC
|
|
@@ -13524,32 +13547,32 @@ case"RELEASE":c=void 0
|
|
|
13524
13547
|
break
|
|
13525
13548
|
default:return}}catch(e){c={value:e,[Sq]:0}}Promise.resolve(c).catch((e=>({value:e,[Sq]:0}))).then((n=>{const[o,a]=Lq(n)
|
|
13526
13549
|
t.postMessage(Object.assign(Object.assign({},o),{id:s}),a),"RELEASE"===r&&(t.removeEventListener("message",i),Iq(t),kq in e&&"function"==typeof e[kq]&&e[kq]())})).catch((e=>{const[n,i]=Lq({value:new TypeError("Unserializable return value"),[Sq]:0})
|
|
13527
|
-
t.postMessage(Object.assign(Object.assign({},n),{id:s}),i)}))})),t.start&&t.start()}function Iq(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function _q(e,t){return Rq(e,[],t)}function Tq(e){if(e)throw new Error("Proxy has been released and is not useable")}function Aq(e){return
|
|
13550
|
+
t.postMessage(Object.assign(Object.assign({},n),{id:s}),i)}))})),t.start&&t.start()}function Iq(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function _q(e,t){return Rq(e,[],t)}function Tq(e){if(e)throw new Error("Proxy has been released and is not useable")}function Aq(e){return Vq(e,{type:"RELEASE"}).then((()=>{Iq(e)}))}const Dq=new WeakMap,Oq="FinalizationRegistry"in globalThis&&new FinalizationRegistry((e=>{const t=(Dq.get(e)||0)-1
|
|
13528
13551
|
Dq.set(e,t),0===t&&Aq(e)}))
|
|
13529
13552
|
function Rq(e,t=[],n=function(){}){let i=!1
|
|
13530
13553
|
const o=new Proxy(n,{get(n,s){if(Tq(i),s===Cq)return()=>{!function(e){Oq&&Oq.unregister(e)}(o),Aq(e),i=!0}
|
|
13531
13554
|
if("then"===s){if(0===t.length)return{then:()=>o}
|
|
13532
|
-
const n=
|
|
13555
|
+
const n=Vq(e,{type:"GET",path:t.map((e=>e.toString()))}).then(zq)
|
|
13533
13556
|
return n.then.bind(n)}return Rq(e,[...t,s])},set(n,o,s){Tq(i)
|
|
13534
13557
|
const[r,a]=Lq(s)
|
|
13535
|
-
return
|
|
13558
|
+
return Vq(e,{type:"SET",path:[...t,o].map((e=>e.toString())),value:r},a).then(zq)},apply(n,o,s){Tq(i)
|
|
13536
13559
|
const r=t[t.length-1]
|
|
13537
|
-
if(r===xq)return
|
|
13560
|
+
if(r===xq)return Vq(e,{type:"ENDPOINT"}).then(zq)
|
|
13538
13561
|
if("bind"===r)return Rq(e,t.slice(0,-1))
|
|
13539
13562
|
const[a,l]=Fq(s)
|
|
13540
|
-
return
|
|
13563
|
+
return Vq(e,{type:"APPLY",path:t.map((e=>e.toString())),argumentList:a},l).then(zq)},construct(n,o){Tq(i)
|
|
13541
13564
|
const[s,r]=Fq(o)
|
|
13542
|
-
return
|
|
13565
|
+
return Vq(e,{type:"CONSTRUCT",path:t.map((e=>e.toString())),argumentList:s},r).then(zq)}})
|
|
13543
13566
|
return function(e,t){const n=(Dq.get(t)||0)+1
|
|
13544
13567
|
Dq.set(t,n),Oq&&Oq.register(e,t,e)}(o,e),o}function Fq(e){const t=e.map(Lq)
|
|
13545
13568
|
return[t.map((e=>e[0])),(n=t.map((e=>e[1])),Array.prototype.concat.apply([],n))]
|
|
13546
13569
|
var n}const Nq=new WeakMap
|
|
13547
13570
|
function Pq(e,t){return Nq.set(e,t),e}function Lq(e){for(const[t,n]of Mq)if(n.canHandle(e)){const[i,o]=n.serialize(e)
|
|
13548
13571
|
return[{type:"HANDLER",name:t,value:i},o]}return[{type:"RAW",value:e},Nq.get(e)||[]]}function zq(e){switch(e.type){case"HANDLER":return Mq.get(e.name).deserialize(e.value)
|
|
13549
|
-
case"RAW":return e.value}}function
|
|
13550
|
-
e.addEventListener("message",(function t(n){n.data&&n.data.id&&n.data.id===o&&(e.removeEventListener("message",t),i(n.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:o},t),n)}))}let
|
|
13551
|
-
class Bq{constructor(e){this.wafermap=e,this.minDieDim=100}async setupWafer(e){if(void 0===this.matrixRenderer){const{matrixRenderer:e}=await(async()=>{if(void 0===Vq){const e=new Blob(['var MatrixRenderer = (function (exports) {\n \'use strict\';\n\n /**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n const proxyMarker = Symbol("Comlink.proxy");\n const createEndpoint = Symbol("Comlink.endpoint");\n const releaseProxy = Symbol("Comlink.releaseProxy");\n const finalizer = Symbol("Comlink.finalizer");\n const throwMarker = Symbol("Comlink.thrown");\n const isObject = (val) => (typeof val === "object" && val !== null) || typeof val === "function";\n /**\n * Internal transfer handle to handle objects marked to proxy.\n */\n const proxyTransferHandler = {\n canHandle: (val) => isObject(val) && val[proxyMarker],\n serialize(obj) {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port1);\n return [port2, [port2]];\n },\n deserialize(port) {\n port.start();\n return wrap(port);\n },\n };\n /**\n * Internal transfer handler to handle thrown exceptions.\n */\n const throwTransferHandler = {\n canHandle: (value) => isObject(value) && throwMarker in value,\n serialize({ value }) {\n let serialized;\n if (value instanceof Error) {\n serialized = {\n isError: true,\n value: {\n message: value.message,\n name: value.name,\n stack: value.stack,\n },\n };\n }\n else {\n serialized = { isError: false, value };\n }\n return [serialized, []];\n },\n deserialize(serialized) {\n if (serialized.isError) {\n throw Object.assign(new Error(serialized.value.message), serialized.value);\n }\n throw serialized.value;\n },\n };\n /**\n * Allows customizing the serialization of certain values.\n */\n const transferHandlers = new Map([\n ["proxy", proxyTransferHandler],\n ["throw", throwTransferHandler],\n ]);\n function isAllowedOrigin(allowedOrigins, origin) {\n for (const allowedOrigin of allowedOrigins) {\n if (origin === allowedOrigin || allowedOrigin === "*") {\n return true;\n }\n if (allowedOrigin instanceof RegExp && allowedOrigin.test(origin)) {\n return true;\n }\n }\n return false;\n }\n function expose(obj, ep = globalThis, allowedOrigins = ["*"]) {\n ep.addEventListener("message", function callback(ev) {\n if (!ev || !ev.data) {\n return;\n }\n if (!isAllowedOrigin(allowedOrigins, ev.origin)) {\n console.warn(`Invalid origin \'${ev.origin}\' for comlink proxy`);\n return;\n }\n const { id, type, path } = Object.assign({ path: [] }, ev.data);\n const argumentList = (ev.data.argumentList || []).map(fromWireValue);\n let returnValue;\n try {\n const parent = path.slice(0, -1).reduce((obj, prop) => obj[prop], obj);\n const rawValue = path.reduce((obj, prop) => obj[prop], obj);\n switch (type) {\n case "GET" /* MessageType.GET */:\n {\n returnValue = rawValue;\n }\n break;\n case "SET" /* MessageType.SET */:\n {\n parent[path.slice(-1)[0]] = fromWireValue(ev.data.value);\n returnValue = true;\n }\n break;\n case "APPLY" /* MessageType.APPLY */:\n {\n returnValue = rawValue.apply(parent, argumentList);\n }\n break;\n case "CONSTRUCT" /* MessageType.CONSTRUCT */:\n {\n const value = new rawValue(...argumentList);\n returnValue = proxy(value);\n }\n break;\n case "ENDPOINT" /* MessageType.ENDPOINT */:\n {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port2);\n returnValue = transfer(port1, [port1]);\n }\n break;\n case "RELEASE" /* MessageType.RELEASE */:\n {\n returnValue = undefined;\n }\n break;\n default:\n return;\n }\n }\n catch (value) {\n returnValue = { value, [throwMarker]: 0 };\n }\n Promise.resolve(returnValue)\n .catch((value) => {\n return { value, [throwMarker]: 0 };\n })\n .then((returnValue) => {\n const [wireValue, transferables] = toWireValue(returnValue);\n ep.postMessage(Object.assign(Object.assign({}, wireValue), { id }), transferables);\n if (type === "RELEASE" /* MessageType.RELEASE */) {\n // detach and deactive after sending release response above.\n ep.removeEventListener("message", callback);\n closeEndPoint(ep);\n if (finalizer in obj && typeof obj[finalizer] === "function") {\n obj[finalizer]();\n }\n }\n })\n .catch((error) => {\n // Send Serialization Error To Caller\n const [wireValue, transferables] = toWireValue({\n value: new TypeError("Unserializable return value"),\n [throwMarker]: 0,\n });\n ep.postMessage(Object.assign(Object.assign({}, wireValue), { id }), transferables);\n });\n });\n if (ep.start) {\n ep.start();\n }\n }\n function isMessagePort(endpoint) {\n return endpoint.constructor.name === "MessagePort";\n }\n function closeEndPoint(endpoint) {\n if (isMessagePort(endpoint))\n endpoint.close();\n }\n function wrap(ep, target) {\n return createProxy(ep, [], target);\n }\n function throwIfProxyReleased(isReleased) {\n if (isReleased) {\n throw new Error("Proxy has been released and is not useable");\n }\n }\n function releaseEndpoint(ep) {\n return requestResponseMessage(ep, {\n type: "RELEASE" /* MessageType.RELEASE */,\n }).then(() => {\n closeEndPoint(ep);\n });\n }\n const proxyCounter = new WeakMap();\n const proxyFinalizers = "FinalizationRegistry" in globalThis &&\n new FinalizationRegistry((ep) => {\n const newCount = (proxyCounter.get(ep) || 0) - 1;\n proxyCounter.set(ep, newCount);\n if (newCount === 0) {\n releaseEndpoint(ep);\n }\n });\n function registerProxy(proxy, ep) {\n const newCount = (proxyCounter.get(ep) || 0) + 1;\n proxyCounter.set(ep, newCount);\n if (proxyFinalizers) {\n proxyFinalizers.register(proxy, ep, proxy);\n }\n }\n function unregisterProxy(proxy) {\n if (proxyFinalizers) {\n proxyFinalizers.unregister(proxy);\n }\n }\n function createProxy(ep, path = [], target = function () { }) {\n let isProxyReleased = false;\n const proxy = new Proxy(target, {\n get(_target, prop) {\n throwIfProxyReleased(isProxyReleased);\n if (prop === releaseProxy) {\n return () => {\n unregisterProxy(proxy);\n releaseEndpoint(ep);\n isProxyReleased = true;\n };\n }\n if (prop === "then") {\n if (path.length === 0) {\n return { then: () => proxy };\n }\n const r = requestResponseMessage(ep, {\n type: "GET" /* MessageType.GET */,\n path: path.map((p) => p.toString()),\n }).then(fromWireValue);\n return r.then.bind(r);\n }\n return createProxy(ep, [...path, prop]);\n },\n set(_target, prop, rawValue) {\n throwIfProxyReleased(isProxyReleased);\n // FIXME: ES6 Proxy Handler `set` methods are supposed to return a\n // boolean. To show good will, we return true asynchronously ¯\\_(ツ)_/¯\n const [value, transferables] = toWireValue(rawValue);\n return requestResponseMessage(ep, {\n type: "SET" /* MessageType.SET */,\n path: [...path, prop].map((p) => p.toString()),\n value,\n }, transferables).then(fromWireValue);\n },\n apply(_target, _thisArg, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const last = path[path.length - 1];\n if (last === createEndpoint) {\n return requestResponseMessage(ep, {\n type: "ENDPOINT" /* MessageType.ENDPOINT */,\n }).then(fromWireValue);\n }\n // We just pretend that `bind()` didn’t happen.\n if (last === "bind") {\n return createProxy(ep, path.slice(0, -1));\n }\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(ep, {\n type: "APPLY" /* MessageType.APPLY */,\n path: path.map((p) => p.toString()),\n argumentList,\n }, transferables).then(fromWireValue);\n },\n construct(_target, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(ep, {\n type: "CONSTRUCT" /* MessageType.CONSTRUCT */,\n path: path.map((p) => p.toString()),\n argumentList,\n }, transferables).then(fromWireValue);\n },\n });\n registerProxy(proxy, ep);\n return proxy;\n }\n function myFlat(arr) {\n return Array.prototype.concat.apply([], arr);\n }\n function processArguments(argumentList) {\n const processed = argumentList.map(toWireValue);\n return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];\n }\n const transferCache = new WeakMap();\n function transfer(obj, transfers) {\n transferCache.set(obj, transfers);\n return obj;\n }\n function proxy(obj) {\n return Object.assign(obj, { [proxyMarker]: true });\n }\n function toWireValue(value) {\n for (const [name, handler] of transferHandlers) {\n if (handler.canHandle(value)) {\n const [serializedValue, transferables] = handler.serialize(value);\n return [\n {\n type: "HANDLER" /* WireValueType.HANDLER */,\n name,\n value: serializedValue,\n },\n transferables,\n ];\n }\n }\n return [\n {\n type: "RAW" /* WireValueType.RAW */,\n value,\n },\n transferCache.get(value) || [],\n ];\n }\n function fromWireValue(value) {\n switch (value.type) {\n case "HANDLER" /* WireValueType.HANDLER */:\n return transferHandlers.get(value.name).deserialize(value.value);\n case "RAW" /* WireValueType.RAW */:\n return value.value;\n }\n }\n function requestResponseMessage(ep, msg, transfers) {\n return new Promise((resolve) => {\n const id = generateUUID();\n ep.addEventListener("message", function l(ev) {\n if (!ev.data || !ev.data.id || ev.data.id !== id) {\n return;\n }\n ep.removeEventListener("message", l);\n resolve(ev.data);\n });\n if (ep.start) {\n ep.start();\n }\n ep.postMessage(Object.assign({ id }, msg), transfers);\n });\n }\n function generateUUID() {\n return new Array(4)\n .fill(0)\n .map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16))\n .join("-");\n }\n\n /**\n * MatrixRenderer class is meant to be used within a Web Worker context,\n * using Comlink to facilitate communication between the main thread and the worker.\n * The MatrixRenderer class manages a matrix of dies, once an instance of MatrixRenderer is created,\n * it is exposed to the main thread using Comlink\'s `expose` method.\n * This setup is used in the wafer-map component to perform heavy computational duties\n */\n class MatrixRenderer {\n constructor() {\n this.values = Float64Array.from([]);\n this.scaledColumnIndices = Float64Array.from([]);\n this.scaledRowIndices = Float64Array.from([]);\n this.columnIndicesPositions = Int32Array.from([]);\n this.colorIndices = Int32Array.from([]);\n this.colors = [];\n this.colorValues = Float64Array.from([]);\n this.outsideRangeDieColor = \'rgba(218,223,236,1)\';\n this.fontSizeFactor = 0.8;\n this.renderConfig = {\n dieDimensions: {\n width: 0,\n height: 0\n },\n margin: {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n verticalCoefficient: 1,\n horizontalCoefficient: 1,\n horizontalConstant: 0,\n verticalConstant: 0,\n gridMinX: 0,\n gridMaxX: 0,\n gridMinY: 0,\n gridMaxY: 0,\n labelsFontSize: 0,\n colorScale: [],\n dieLabelsSuffix: \'\',\n maxCharacters: 0\n };\n this.transformConfig = {\n transform: {\n k: 1,\n x: 0,\n y: 0\n },\n topLeftCanvasCorner: {\n x: 0,\n y: 0\n },\n bottomRightCanvasCorner: {\n x: 0,\n y: 0\n }\n };\n }\n setMatrixData(columnIndices, rowIndices, valuesBuffer) {\n const scaledColumnIndex = [];\n const columnPositions = [];\n const scaledRowIndices = [];\n const values = [];\n const colorIndices = [];\n let prevXIndex;\n let dieCount = 0;\n for (let i = 0; i < columnIndices.length; i++) {\n const xIndex = columnIndices[i];\n const yIndex = rowIndices[i];\n if (this.isDieInGrid(xIndex, yIndex)) {\n if (xIndex !== prevXIndex) {\n scaledColumnIndex.push(this.calculateHorizontalScaledIndices(xIndex));\n columnPositions.push(dieCount);\n prevXIndex = xIndex;\n }\n scaledRowIndices.push(this.calculateVerticalScaledIndices(yIndex));\n const value = valuesBuffer[i];\n values.push(value);\n colorIndices.push(this.findColorIndex(value));\n dieCount += 1;\n }\n }\n this.scaledColumnIndices = Float64Array.from(scaledColumnIndex);\n this.columnIndicesPositions = Int32Array.from(columnPositions);\n this.scaledRowIndices = Float64Array.from(scaledRowIndices);\n this.values = Float64Array.from(values);\n this.colorIndices = Int32Array.from(colorIndices);\n }\n setRenderConfig(renderConfig) {\n this.renderConfig = renderConfig;\n this.colors = renderConfig.colorScale.map(marker => marker.color);\n this.colorValues = Float64Array.from(renderConfig.colorScale.map(marker => marker.value));\n }\n setTransformConfig(transformData) {\n this.transformConfig = transformData;\n }\n setCanvas(canvas) {\n this.canvas = canvas;\n this.context = canvas.getContext(\'2d\');\n }\n scaleCanvas() {\n this.context.translate(this.transformConfig.transform.x, this.transformConfig.transform.y);\n this.context.scale(this.transformConfig.transform.k, this.transformConfig.transform.k);\n }\n setCanvasDimensions(data) {\n this.canvas.width = data.width;\n this.canvas.height = data.height;\n }\n getCanvasDimensions() {\n return {\n width: this.canvas.width,\n height: this.canvas.height\n };\n }\n clearCanvas() {\n this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);\n }\n drawWafer() {\n this.context.restore();\n this.context.save();\n this.clearCanvas();\n this.scaleCanvas();\n for (let i = 0; i < this.scaledColumnIndices.length; i++) {\n const scaledX = this.scaledColumnIndices[i];\n if (!(scaledX >= this.transformConfig.topLeftCanvasCorner.x\n && scaledX < this.transformConfig.bottomRightCanvasCorner.x)) {\n continue;\n }\n // columnIndexPositions is used to get chunks to determine the start and end index of the column, it looks something like [0, 1, 4, 9, 12]\n // This means that the first column has a start index of 0 and an end index of 1, the second column has a start index of 1 and an end index of 4, and so on\n // scaledRowIndices is used when we reach the end of the columnIndexPositions, when columnIndexPositions is [0, 1, 4, 9, 12], scaledRowIndices is 13\n const columnEndIndex = this.columnIndicesPositions[i + 1] !== undefined\n ? this.columnIndicesPositions[i + 1]\n : this.scaledRowIndices.length;\n for (let columnStartIndex = this.columnIndicesPositions[i]; columnStartIndex < columnEndIndex; columnStartIndex++) {\n const scaledY = this.scaledRowIndices[columnStartIndex];\n if (!(scaledY >= this.transformConfig.topLeftCanvasCorner.y\n && scaledY < this.transformConfig.bottomRightCanvasCorner.y)) {\n continue;\n }\n // Fill style is temporary green for all dies, will be replaced with a color based on the value of the die in a future implementation\n this.context.fillStyle = this.colors[this.colorIndices[columnStartIndex]]\n ?? this.outsideRangeDieColor;\n this.context.fillRect(scaledX, scaledY, this.renderConfig.dieDimensions.width, this.renderConfig.dieDimensions.height);\n }\n }\n }\n drawText() {\n this.context.font = `${this.renderConfig.labelsFontSize.toString()}px sans-serif`;\n this.context.fillStyle = \'#ffffff\';\n this.context.textAlign = \'center\';\n this.context.lineCap = \'butt\';\n const approximateTextHeight = this.context.measureText(\'M\');\n for (let i = 0; i < this.scaledColumnIndices.length; i++) {\n const scaledX = this.scaledColumnIndices[i];\n if (!(scaledX >= this.transformConfig.topLeftCanvasCorner.x\n && scaledX < this.transformConfig.bottomRightCanvasCorner.x)) {\n continue;\n }\n // columnIndexPositions is used to get chunks to determine the start and end index of the column, it looks something like [0, 1, 4, 9, 12]\n // This means that the first column has a start index of 0 and an end index of 1, the second column has a start index of 1 and an end index of 4, and so on\n // scaledRowIndices is used when we reach the end of the columnIndexPositions, when columnIndexPositions is [0, 1, 4, 9, 12], scaledRowIndices is 13\n const columnEndIndex = this.columnIndicesPositions[i + 1] !== undefined\n ? this.columnIndicesPositions[i + 1]\n : this.scaledRowIndices.length;\n for (let columnStartIndex = this.columnIndicesPositions[i]; columnStartIndex < columnEndIndex; columnStartIndex++) {\n const scaledY = this.scaledRowIndices[columnStartIndex];\n if (!(scaledY >= this.transformConfig.topLeftCanvasCorner.y\n && scaledY < this.transformConfig.bottomRightCanvasCorner.y)) {\n continue;\n }\n let label = `${this.values[columnStartIndex] || \'NaN\'}${this.renderConfig.dieLabelsSuffix}`;\n if (label.length >= this.renderConfig.maxCharacters) {\n label = `${label.substring(0, this.renderConfig.maxCharacters)}…`;\n }\n this.context.fillText(label, scaledX + this.renderConfig.dieDimensions.width / 2, scaledY\n + this.renderConfig.dieDimensions.height / 2\n + approximateTextHeight.width / 2, this.renderConfig.dieDimensions.width * this.fontSizeFactor);\n }\n }\n }\n isDieInGrid(x, y) {\n return (x >= this.renderConfig.gridMinX\n && x <= this.renderConfig.gridMaxX\n && y >= this.renderConfig.gridMinY\n && y <= this.renderConfig.gridMaxY);\n }\n calculateHorizontalScaledIndices(columnIndex) {\n return (this.renderConfig.horizontalCoefficient * columnIndex\n + this.renderConfig.horizontalConstant\n + this.renderConfig.margin.left);\n }\n calculateVerticalScaledIndices(rowIndex) {\n return (this.renderConfig.verticalCoefficient * rowIndex\n + this.renderConfig.verticalConstant\n + this.renderConfig.margin.top);\n }\n findColorIndex(value) {\n let index = -1;\n if (this.colorValues.length === 0 || this.colorValues[0] >= value) {\n return index;\n }\n for (let i = 0; i < this.colorValues.length; i++) {\n if (value <= this.colorValues[i]) {\n index = i;\n break;\n }\n }\n return index;\n }\n }\n expose(MatrixRenderer);\n\n exports.MatrixRenderer = MatrixRenderer;\n\n return exports;\n\n})({});\n'],{type:"text/javascript"})
|
|
13552
|
-
|
|
13572
|
+
case"RAW":return e.value}}function Vq(e,t,n){return new Promise((i=>{const o=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-")
|
|
13573
|
+
e.addEventListener("message",(function t(n){n.data&&n.data.id&&n.data.id===o&&(e.removeEventListener("message",t),i(n.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:o},t),n)}))}let Hq
|
|
13574
|
+
class Bq{constructor(e){this.wafermap=e,this.minDieDim=100}async setupWafer(e){if(void 0===this.matrixRenderer){const{matrixRenderer:e}=await(async()=>{if(void 0===Hq){const e=new Blob(['var MatrixRenderer = (function (exports) {\n \'use strict\';\n\n /**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n const proxyMarker = Symbol("Comlink.proxy");\n const createEndpoint = Symbol("Comlink.endpoint");\n const releaseProxy = Symbol("Comlink.releaseProxy");\n const finalizer = Symbol("Comlink.finalizer");\n const throwMarker = Symbol("Comlink.thrown");\n const isObject = (val) => (typeof val === "object" && val !== null) || typeof val === "function";\n /**\n * Internal transfer handle to handle objects marked to proxy.\n */\n const proxyTransferHandler = {\n canHandle: (val) => isObject(val) && val[proxyMarker],\n serialize(obj) {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port1);\n return [port2, [port2]];\n },\n deserialize(port) {\n port.start();\n return wrap(port);\n },\n };\n /**\n * Internal transfer handler to handle thrown exceptions.\n */\n const throwTransferHandler = {\n canHandle: (value) => isObject(value) && throwMarker in value,\n serialize({ value }) {\n let serialized;\n if (value instanceof Error) {\n serialized = {\n isError: true,\n value: {\n message: value.message,\n name: value.name,\n stack: value.stack,\n },\n };\n }\n else {\n serialized = { isError: false, value };\n }\n return [serialized, []];\n },\n deserialize(serialized) {\n if (serialized.isError) {\n throw Object.assign(new Error(serialized.value.message), serialized.value);\n }\n throw serialized.value;\n },\n };\n /**\n * Allows customizing the serialization of certain values.\n */\n const transferHandlers = new Map([\n ["proxy", proxyTransferHandler],\n ["throw", throwTransferHandler],\n ]);\n function isAllowedOrigin(allowedOrigins, origin) {\n for (const allowedOrigin of allowedOrigins) {\n if (origin === allowedOrigin || allowedOrigin === "*") {\n return true;\n }\n if (allowedOrigin instanceof RegExp && allowedOrigin.test(origin)) {\n return true;\n }\n }\n return false;\n }\n function expose(obj, ep = globalThis, allowedOrigins = ["*"]) {\n ep.addEventListener("message", function callback(ev) {\n if (!ev || !ev.data) {\n return;\n }\n if (!isAllowedOrigin(allowedOrigins, ev.origin)) {\n console.warn(`Invalid origin \'${ev.origin}\' for comlink proxy`);\n return;\n }\n const { id, type, path } = Object.assign({ path: [] }, ev.data);\n const argumentList = (ev.data.argumentList || []).map(fromWireValue);\n let returnValue;\n try {\n const parent = path.slice(0, -1).reduce((obj, prop) => obj[prop], obj);\n const rawValue = path.reduce((obj, prop) => obj[prop], obj);\n switch (type) {\n case "GET" /* MessageType.GET */:\n {\n returnValue = rawValue;\n }\n break;\n case "SET" /* MessageType.SET */:\n {\n parent[path.slice(-1)[0]] = fromWireValue(ev.data.value);\n returnValue = true;\n }\n break;\n case "APPLY" /* MessageType.APPLY */:\n {\n returnValue = rawValue.apply(parent, argumentList);\n }\n break;\n case "CONSTRUCT" /* MessageType.CONSTRUCT */:\n {\n const value = new rawValue(...argumentList);\n returnValue = proxy(value);\n }\n break;\n case "ENDPOINT" /* MessageType.ENDPOINT */:\n {\n const { port1, port2 } = new MessageChannel();\n expose(obj, port2);\n returnValue = transfer(port1, [port1]);\n }\n break;\n case "RELEASE" /* MessageType.RELEASE */:\n {\n returnValue = undefined;\n }\n break;\n default:\n return;\n }\n }\n catch (value) {\n returnValue = { value, [throwMarker]: 0 };\n }\n Promise.resolve(returnValue)\n .catch((value) => {\n return { value, [throwMarker]: 0 };\n })\n .then((returnValue) => {\n const [wireValue, transferables] = toWireValue(returnValue);\n ep.postMessage(Object.assign(Object.assign({}, wireValue), { id }), transferables);\n if (type === "RELEASE" /* MessageType.RELEASE */) {\n // detach and deactive after sending release response above.\n ep.removeEventListener("message", callback);\n closeEndPoint(ep);\n if (finalizer in obj && typeof obj[finalizer] === "function") {\n obj[finalizer]();\n }\n }\n })\n .catch((error) => {\n // Send Serialization Error To Caller\n const [wireValue, transferables] = toWireValue({\n value: new TypeError("Unserializable return value"),\n [throwMarker]: 0,\n });\n ep.postMessage(Object.assign(Object.assign({}, wireValue), { id }), transferables);\n });\n });\n if (ep.start) {\n ep.start();\n }\n }\n function isMessagePort(endpoint) {\n return endpoint.constructor.name === "MessagePort";\n }\n function closeEndPoint(endpoint) {\n if (isMessagePort(endpoint))\n endpoint.close();\n }\n function wrap(ep, target) {\n return createProxy(ep, [], target);\n }\n function throwIfProxyReleased(isReleased) {\n if (isReleased) {\n throw new Error("Proxy has been released and is not useable");\n }\n }\n function releaseEndpoint(ep) {\n return requestResponseMessage(ep, {\n type: "RELEASE" /* MessageType.RELEASE */,\n }).then(() => {\n closeEndPoint(ep);\n });\n }\n const proxyCounter = new WeakMap();\n const proxyFinalizers = "FinalizationRegistry" in globalThis &&\n new FinalizationRegistry((ep) => {\n const newCount = (proxyCounter.get(ep) || 0) - 1;\n proxyCounter.set(ep, newCount);\n if (newCount === 0) {\n releaseEndpoint(ep);\n }\n });\n function registerProxy(proxy, ep) {\n const newCount = (proxyCounter.get(ep) || 0) + 1;\n proxyCounter.set(ep, newCount);\n if (proxyFinalizers) {\n proxyFinalizers.register(proxy, ep, proxy);\n }\n }\n function unregisterProxy(proxy) {\n if (proxyFinalizers) {\n proxyFinalizers.unregister(proxy);\n }\n }\n function createProxy(ep, path = [], target = function () { }) {\n let isProxyReleased = false;\n const proxy = new Proxy(target, {\n get(_target, prop) {\n throwIfProxyReleased(isProxyReleased);\n if (prop === releaseProxy) {\n return () => {\n unregisterProxy(proxy);\n releaseEndpoint(ep);\n isProxyReleased = true;\n };\n }\n if (prop === "then") {\n if (path.length === 0) {\n return { then: () => proxy };\n }\n const r = requestResponseMessage(ep, {\n type: "GET" /* MessageType.GET */,\n path: path.map((p) => p.toString()),\n }).then(fromWireValue);\n return r.then.bind(r);\n }\n return createProxy(ep, [...path, prop]);\n },\n set(_target, prop, rawValue) {\n throwIfProxyReleased(isProxyReleased);\n // FIXME: ES6 Proxy Handler `set` methods are supposed to return a\n // boolean. To show good will, we return true asynchronously ¯\\_(ツ)_/¯\n const [value, transferables] = toWireValue(rawValue);\n return requestResponseMessage(ep, {\n type: "SET" /* MessageType.SET */,\n path: [...path, prop].map((p) => p.toString()),\n value,\n }, transferables).then(fromWireValue);\n },\n apply(_target, _thisArg, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const last = path[path.length - 1];\n if (last === createEndpoint) {\n return requestResponseMessage(ep, {\n type: "ENDPOINT" /* MessageType.ENDPOINT */,\n }).then(fromWireValue);\n }\n // We just pretend that `bind()` didn’t happen.\n if (last === "bind") {\n return createProxy(ep, path.slice(0, -1));\n }\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(ep, {\n type: "APPLY" /* MessageType.APPLY */,\n path: path.map((p) => p.toString()),\n argumentList,\n }, transferables).then(fromWireValue);\n },\n construct(_target, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(ep, {\n type: "CONSTRUCT" /* MessageType.CONSTRUCT */,\n path: path.map((p) => p.toString()),\n argumentList,\n }, transferables).then(fromWireValue);\n },\n });\n registerProxy(proxy, ep);\n return proxy;\n }\n function myFlat(arr) {\n return Array.prototype.concat.apply([], arr);\n }\n function processArguments(argumentList) {\n const processed = argumentList.map(toWireValue);\n return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];\n }\n const transferCache = new WeakMap();\n function transfer(obj, transfers) {\n transferCache.set(obj, transfers);\n return obj;\n }\n function proxy(obj) {\n return Object.assign(obj, { [proxyMarker]: true });\n }\n function toWireValue(value) {\n for (const [name, handler] of transferHandlers) {\n if (handler.canHandle(value)) {\n const [serializedValue, transferables] = handler.serialize(value);\n return [\n {\n type: "HANDLER" /* WireValueType.HANDLER */,\n name,\n value: serializedValue,\n },\n transferables,\n ];\n }\n }\n return [\n {\n type: "RAW" /* WireValueType.RAW */,\n value,\n },\n transferCache.get(value) || [],\n ];\n }\n function fromWireValue(value) {\n switch (value.type) {\n case "HANDLER" /* WireValueType.HANDLER */:\n return transferHandlers.get(value.name).deserialize(value.value);\n case "RAW" /* WireValueType.RAW */:\n return value.value;\n }\n }\n function requestResponseMessage(ep, msg, transfers) {\n return new Promise((resolve) => {\n const id = generateUUID();\n ep.addEventListener("message", function l(ev) {\n if (!ev.data || !ev.data.id || ev.data.id !== id) {\n return;\n }\n ep.removeEventListener("message", l);\n resolve(ev.data);\n });\n if (ep.start) {\n ep.start();\n }\n ep.postMessage(Object.assign({ id }, msg), transfers);\n });\n }\n function generateUUID() {\n return new Array(4)\n .fill(0)\n .map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16))\n .join("-");\n }\n\n /**\n * MatrixRenderer class is meant to be used within a Web Worker context,\n * using Comlink to facilitate communication between the main thread and the worker.\n * The MatrixRenderer class manages a matrix of dies, once an instance of MatrixRenderer is created,\n * it is exposed to the main thread using Comlink\'s `expose` method.\n * This setup is used in the wafer-map component to perform heavy computational duties\n */\n class MatrixRenderer {\n constructor() {\n this.values = Float64Array.from([]);\n this.scaledColumnIndices = Float64Array.from([]);\n this.scaledRowIndices = Float64Array.from([]);\n this.columnIndicesPositions = Int32Array.from([]);\n this.colorIndices = Int32Array.from([]);\n this.colors = [];\n this.colorValues = Float64Array.from([]);\n this.outsideRangeDieColor = \'rgba(218,223,236,1)\';\n this.fontSizeFactor = 0.8;\n this.renderConfig = {\n dieDimensions: {\n width: 0,\n height: 0\n },\n margin: {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n verticalCoefficient: 1,\n horizontalCoefficient: 1,\n horizontalConstant: 0,\n verticalConstant: 0,\n gridMinX: 0,\n gridMaxX: 0,\n gridMinY: 0,\n gridMaxY: 0,\n labelsFontSize: 0,\n colorScale: [],\n dieLabelsSuffix: \'\',\n maxCharacters: 0\n };\n this.transformConfig = {\n transform: {\n k: 1,\n x: 0,\n y: 0\n },\n topLeftCanvasCorner: {\n x: 0,\n y: 0\n },\n bottomRightCanvasCorner: {\n x: 0,\n y: 0\n }\n };\n }\n setMatrixData(columnIndices, rowIndices, valuesBuffer) {\n const scaledColumnIndex = [];\n const columnPositions = [];\n const scaledRowIndices = [];\n const values = [];\n const colorIndices = [];\n let prevXIndex;\n let dieCount = 0;\n for (let i = 0; i < columnIndices.length; i++) {\n const xIndex = columnIndices[i];\n const yIndex = rowIndices[i];\n if (this.isDieInGrid(xIndex, yIndex)) {\n if (xIndex !== prevXIndex) {\n scaledColumnIndex.push(this.calculateHorizontalScaledIndices(xIndex));\n columnPositions.push(dieCount);\n prevXIndex = xIndex;\n }\n scaledRowIndices.push(this.calculateVerticalScaledIndices(yIndex));\n const value = valuesBuffer[i];\n values.push(value);\n colorIndices.push(this.findColorIndex(value));\n dieCount += 1;\n }\n }\n this.scaledColumnIndices = Float64Array.from(scaledColumnIndex);\n this.columnIndicesPositions = Int32Array.from(columnPositions);\n this.scaledRowIndices = Float64Array.from(scaledRowIndices);\n this.values = Float64Array.from(values);\n this.colorIndices = Int32Array.from(colorIndices);\n }\n setRenderConfig(renderConfig) {\n this.renderConfig = renderConfig;\n this.colors = renderConfig.colorScale.map(marker => marker.color);\n this.colorValues = Float64Array.from(renderConfig.colorScale.map(marker => marker.value));\n }\n setTransformConfig(transformData) {\n this.transformConfig = transformData;\n }\n setCanvas(canvas) {\n this.canvas = canvas;\n this.context = canvas.getContext(\'2d\');\n }\n scaleCanvas() {\n this.context.translate(this.transformConfig.transform.x, this.transformConfig.transform.y);\n this.context.scale(this.transformConfig.transform.k, this.transformConfig.transform.k);\n }\n setCanvasDimensions(data) {\n this.canvas.width = data.width;\n this.canvas.height = data.height;\n }\n getCanvasDimensions() {\n return {\n width: this.canvas.width,\n height: this.canvas.height\n };\n }\n clearCanvas() {\n this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);\n }\n drawWafer() {\n this.context.restore();\n this.context.save();\n this.clearCanvas();\n this.scaleCanvas();\n for (let i = 0; i < this.scaledColumnIndices.length; i++) {\n const scaledX = this.scaledColumnIndices[i];\n if (!(scaledX >= this.transformConfig.topLeftCanvasCorner.x\n && scaledX < this.transformConfig.bottomRightCanvasCorner.x)) {\n continue;\n }\n // columnIndexPositions is used to get chunks to determine the start and end index of the column, it looks something like [0, 1, 4, 9, 12]\n // This means that the first column has a start index of 0 and an end index of 1, the second column has a start index of 1 and an end index of 4, and so on\n // scaledRowIndices is used when we reach the end of the columnIndexPositions, when columnIndexPositions is [0, 1, 4, 9, 12], scaledRowIndices is 13\n const columnEndIndex = this.columnIndicesPositions[i + 1] !== undefined\n ? this.columnIndicesPositions[i + 1]\n : this.scaledRowIndices.length;\n for (let columnStartIndex = this.columnIndicesPositions[i]; columnStartIndex < columnEndIndex; columnStartIndex++) {\n const scaledY = this.scaledRowIndices[columnStartIndex];\n if (!(scaledY >= this.transformConfig.topLeftCanvasCorner.y\n && scaledY < this.transformConfig.bottomRightCanvasCorner.y)) {\n continue;\n }\n // Fill style is temporary green for all dies, will be replaced with a color based on the value of the die in a future implementation\n this.context.fillStyle = this.colors[this.colorIndices[columnStartIndex]]\n ?? this.outsideRangeDieColor;\n this.context.fillRect(scaledX, scaledY, this.renderConfig.dieDimensions.width, this.renderConfig.dieDimensions.height);\n }\n }\n }\n drawText() {\n this.context.font = `${this.renderConfig.labelsFontSize.toString()}px sans-serif`;\n this.context.fillStyle = \'#ffffff\';\n this.context.textAlign = \'center\';\n this.context.lineCap = \'butt\';\n const approximateTextHeight = this.context.measureText(\'M\');\n for (let i = 0; i < this.scaledColumnIndices.length; i++) {\n const scaledX = this.scaledColumnIndices[i];\n if (!(scaledX >= this.transformConfig.topLeftCanvasCorner.x\n && scaledX < this.transformConfig.bottomRightCanvasCorner.x)) {\n continue;\n }\n // columnIndexPositions is used to get chunks to determine the start and end index of the column, it looks something like [0, 1, 4, 9, 12]\n // This means that the first column has a start index of 0 and an end index of 1, the second column has a start index of 1 and an end index of 4, and so on\n // scaledRowIndices is used when we reach the end of the columnIndexPositions, when columnIndexPositions is [0, 1, 4, 9, 12], scaledRowIndices is 13\n const columnEndIndex = this.columnIndicesPositions[i + 1] !== undefined\n ? this.columnIndicesPositions[i + 1]\n : this.scaledRowIndices.length;\n for (let columnStartIndex = this.columnIndicesPositions[i]; columnStartIndex < columnEndIndex; columnStartIndex++) {\n const scaledY = this.scaledRowIndices[columnStartIndex];\n if (!(scaledY >= this.transformConfig.topLeftCanvasCorner.y\n && scaledY < this.transformConfig.bottomRightCanvasCorner.y)) {\n continue;\n }\n let label = `${this.values[columnStartIndex] || \'NaN\'}${this.renderConfig.dieLabelsSuffix}`;\n if (label.length >= this.renderConfig.maxCharacters) {\n label = `${label.substring(0, this.renderConfig.maxCharacters)}…`;\n }\n this.context.fillText(label, scaledX + this.renderConfig.dieDimensions.width / 2, scaledY\n + this.renderConfig.dieDimensions.height / 2\n + approximateTextHeight.width / 2, this.renderConfig.dieDimensions.width * this.fontSizeFactor);\n }\n }\n }\n isDieInGrid(x, y) {\n return (x >= this.renderConfig.gridMinX\n && x <= this.renderConfig.gridMaxX\n && y >= this.renderConfig.gridMinY\n && y <= this.renderConfig.gridMaxY);\n }\n calculateHorizontalScaledIndices(columnIndex) {\n return (this.renderConfig.horizontalCoefficient * columnIndex\n + this.renderConfig.horizontalConstant\n + this.renderConfig.margin.left);\n }\n calculateVerticalScaledIndices(rowIndex) {\n return (this.renderConfig.verticalCoefficient * rowIndex\n + this.renderConfig.verticalConstant\n + this.renderConfig.margin.top);\n }\n findColorIndex(value) {\n let index = -1;\n if (this.colorValues.length === 0 || this.colorValues[0] >= value) {\n return index;\n }\n for (let i = 0; i < this.colorValues.length; i++) {\n if (value <= this.colorValues[i]) {\n index = i;\n break;\n }\n }\n return index;\n }\n }\n expose(MatrixRenderer);\n\n exports.MatrixRenderer = MatrixRenderer;\n\n return exports;\n\n})({});\n'],{type:"text/javascript"})
|
|
13575
|
+
Hq=URL.createObjectURL(e)}const e=new Worker(Hq),t=_q(e)
|
|
13553
13576
|
return{matrixRenderer:await new t,terminate:()=>e.terminate()}})()
|
|
13554
13577
|
this.matrixRenderer=e
|
|
13555
13578
|
const t=this.wafermap.workerCanvas.transferControlToOffscreen()
|
|
@@ -13565,7 +13588,7 @@ if(void 0===n||!this.isDieInGrid(n.x,n.y))return void(this.wafermap.hoverDie=voi
|
|
|
13565
13588
|
const i=this.wafermap.diesTable.getChild("colIndex").toArray(),o=this.wafermap.diesTable.getChild("rowIndex").toArray()
|
|
13566
13589
|
for(let e=0;e<i.length;e++)if(i[e]===n.x&&o[e]===n.y)return void(this.wafermap.hoverDie={index:e,x:n.x,y:n.y})
|
|
13567
13590
|
this.wafermap.hoverDie=void 0},this.onMouseOut=e=>{this.wafermap.hoverDie=void 0}}connect(){this.wafermap.addEventListener("mousemove",this.onMouseMove),this.wafermap.addEventListener("mouseout",this.onMouseOut)}disconnect(){this.wafermap.removeEventListener("mousemove",this.onMouseMove),this.wafermap.removeEventListener("mouseout",this.onMouseOut)}calculateDieCoordinates(e){if(this.wafermap.isExperimentalUpdate()){const t=this.wafermap.originLocation,n=t===EB||t===_B?Math.floor:Math.ceil,i=t===EB||t===IB?Math.ceil:Math.floor
|
|
13568
|
-
return{x:n(this.wafermap.computations.horizontalScale.invert(e.x-this.wafermap.computations.margin.left)),y:i(this.wafermap.computations.verticalScale.invert(e.y-this.wafermap.computations.margin.top))}}}isDieInGrid(e,t){return e>=this.wafermap.computations.gridMinX&&e<=this.wafermap.computations.gridMaxX&&t>=this.wafermap.computations.gridMinY&&t<=this.wafermap.computations.gridMaxY}}class Uq{constructor(e){this.wafermap=e,this.scaleExtent=[1,100],this.minExtentPoint=[0,0],this.onWheelMove=e=>{e.preventDefault()},this.wafermapNotifier=m.getNotifier(this.wafermap),this.wafermapNotifier.subscribe(this,"canvasWidth"),this.wafermapNotifier.subscribe(this,"canvasHeight")}connect(){this.createZoomBehavior(),this.wafermap.addEventListener("wheel",this.onWheelMove,{passive:!1})}disconnect(){
|
|
13591
|
+
return{x:n(this.wafermap.computations.horizontalScale.invert(e.x-this.wafermap.computations.margin.left)),y:i(this.wafermap.computations.verticalScale.invert(e.y-this.wafermap.computations.margin.top))}}}isDieInGrid(e,t){return e>=this.wafermap.computations.gridMinX&&e<=this.wafermap.computations.gridMaxX&&t>=this.wafermap.computations.gridMinY&&t<=this.wafermap.computations.gridMaxY}}class Uq{constructor(e){this.wafermap=e,this.scaleExtent=[1,100],this.minExtentPoint=[0,0],this.onWheelMove=e=>{e.preventDefault()},this.wafermapNotifier=m.getNotifier(this.wafermap),this.wafermapNotifier.subscribe(this,"canvasWidth"),this.wafermapNotifier.subscribe(this,"canvasHeight")}connect(){this.createZoomBehavior(),this.wafermap.addEventListener("wheel",this.onWheelMove,{passive:!1})}disconnect(){DH().on("zoom",null)(dz(this.wafermap)),this.wafermap.removeEventListener("wheel",this.onWheelMove)}handleChange(e,t){e!==this.wafermap||"canvasWidth"!==t&&"canvasHeight"!==t||this.createZoomBehavior()}createZoomBehavior(){DH().scaleExtent(this.scaleExtent).translateExtent([this.minExtentPoint,[this.wafermap.canvasWidth,this.wafermap.canvasHeight]]).on("zoom",(e=>{this.wafermap.transform=e.transform}))(dz(this.wafermap))}}class jq{get horizontalScale(){return this._horizontalScale}get verticalScale(){return this._verticalScale}get containerDimensions(){return this._containerDimensions}get dieDimensions(){return this._dieDimensions}get margin(){return this._margin}get verticalCoefficient(){return this._verticalCoefficient}get horizontalCoefficient(){return this._horizontalCoefficient}get horizontalConstant(){return this._horizontalConstant}get verticalConstant(){return this._verticalConstant}get gridMinX(){return this._gridMinX}get gridMaxX(){return this._gridMaxX}get gridMinY(){return this._gridMinY}get gridMaxY(){return this._gridMaxY}get labelsFontSize(){return this._labelsFontSize}get colorScale(){return this._colorScale}constructor(e){this.wafermap=e,this.baseMarginPercentage=.04,this.fontSizeFactor=.8,this.colorScaleResolution=10}componentResizeUpdate(){const e={width:this.wafermap.canvasWidth,height:this.wafermap.canvasHeight},t=Math.min(e.width,e.height),n={top:(e.height-t)/2,right:(e.width-t)/2,bottom:(e.height-t)/2,left:(e.width-t)/2},i={top:t*this.baseMarginPercentage,right:t*this.baseMarginPercentage,bottom:t*this.baseMarginPercentage,left:t*this.baseMarginPercentage}
|
|
13569
13592
|
this._margin=this.calculateMarginAddition(i,n),this._containerDimensions=this.calculateContainerDimensions(e,this.margin),this.inputDataUpdate()}inputDataUpdate(){if(void 0===this._containerDimensions)return void this.componentResizeUpdate()
|
|
13570
13593
|
const e=Math.min(this._containerDimensions.width,this._containerDimensions.height)
|
|
13571
13594
|
this.gridDimensionsValidAndDefined()?this.setGridDimensionsFromBoundingBox():this.setGridDimensionsFromDies()
|
|
@@ -13578,7 +13601,7 @@ return e===EB||e===_B?n.domain([this._gridMinX,this._gridMaxX+1]).range([0,t]):n
|
|
|
13578
13601
|
return e===EB||e===IB?n.domain([this._gridMinY-1,this._gridMaxY]).range([t,0]):n.domain([this._gridMinY,this._gridMaxY+1]).range([0,t])}calculateMarginAddition(e,t){return{top:e.top+t.top,right:e.right+t.right,bottom:e.bottom+t.bottom,left:e.left+t.left}}calculateColorScale(){if(this.wafermap.colorScaleMode===OB){const e=this.wafermap.colorScale.values.map((e=>+e)),t=$B().domain(e).range(this.wafermap.colorScale.colors)
|
|
13579
13602
|
let n=e[0],i=e[0]
|
|
13580
13603
|
e.forEach((e=>{e<n&&(n=e),e>i&&(i=e)}))
|
|
13581
|
-
return
|
|
13604
|
+
return XH(n,i,(i-n)/(e.length*this.colorScaleResolution)).concat(i).map((e=>({color:t(e),value:e})))}return this.wafermap.colorScale.colors.map(((e,t)=>({color:e,value:+this.wafermap.colorScale.values[t]}))).sort(((e,t)=>e.value-t.value))}calculateLabelsFontSize(e,t){return Math.min(e.height,e.width/(.5*Math.max(2,t))*this.fontSizeFactor)}}class Wq extends Vt{constructor(){super(...arguments),this.waferMapUpdateTracker=new zB(this.asRequiredFieldsWaferMap),this.originLocation=EB,this.gridMinX=void 0,this.gridMaxX=void 0,this.gridMinY=void 0,this.gridMaxY=void 0,this.orientation=TB,this.maxCharacters=4,this.dieLabelsHidden=!1,this.dieLabelsSuffix="",this.colorScaleMode=OB,this.computations=new jq(this.asRequiredFieldsWaferMap),this.dataManager=new NB(this.asRequiredFieldsWaferMap),this.workerRenderer=new Bq(this.asRequiredFieldsWaferMap),this.renderer=new PB(this.asRequiredFieldsWaferMap),this.renderQueued=!1,this.transform=kH,this.hoverTransform="",this.hoverOpacity=DB,this.hoverWidth=0,this.hoverHeight=0,this.highlightedTags=[],this.dies=[],this.colorScale={colors:[],values:[]},this.hoverHandler=new class{constructor(e){this.wafermap=e,this.onMouseMove=e=>{if(this.wafermap.isExperimentalUpdate())return
|
|
13582
13605
|
const t={x:e.offsetX,y:e.offsetY}
|
|
13583
13606
|
if(!this.hoversOverDie(t))return void(this.wafermap.hoverDie=void 0)
|
|
13584
13607
|
const n=this.wafermap.transform.invert([t.x,t.y]),i=this.calculateDieCoordinates({x:n[0],y:n[1]})
|
|
@@ -13594,6 +13617,6 @@ return{canvasDimensions:e,renderConfig:t,columnIndices:this.diesTable.getChild("
|
|
|
13594
13617
|
if(void 0===t)return
|
|
13595
13618
|
const{height:n,width:i}=t.contentRect
|
|
13596
13619
|
this.canvas.width=i,this.canvas.height=n,this.canvasWidth=i,this.canvasHeight=n}))}originLocationChanged(){this.waferMapUpdateTracker.track("originLocation"),this.waferMapUpdateTracker.queueUpdate()}gridMinXChanged(){this.waferMapUpdateTracker.track("gridMinX"),this.waferMapUpdateTracker.queueUpdate()}gridMaxXChanged(){this.waferMapUpdateTracker.track("gridMaxX"),this.waferMapUpdateTracker.queueUpdate()}gridMinYChanged(){this.waferMapUpdateTracker.track("gridMinY"),this.waferMapUpdateTracker.queueUpdate()}gridMaxYChanged(){this.waferMapUpdateTracker.track("gridMaxY"),this.waferMapUpdateTracker.queueUpdate()}maxCharactersChanged(){this.waferMapUpdateTracker.track("maxCharacters"),this.waferMapUpdateTracker.queueUpdate()}dieLabelsHiddenChanged(){this.waferMapUpdateTracker.track("dieLabelsHidden"),this.waferMapUpdateTracker.queueUpdate()}dieLabelsSuffixChanged(){this.waferMapUpdateTracker.track("dieLabelsSuffix"),this.waferMapUpdateTracker.queueUpdate()}colorScaleModeChanged(){this.waferMapUpdateTracker.track("colorScaleMode"),this.waferMapUpdateTracker.queueUpdate()}highlightedTagsChanged(){this.waferMapUpdateTracker.track("highlightedTags"),this.waferMapUpdateTracker.queueUpdate()}diesChanged(){this.waferMapUpdateTracker.track("dies"),this.waferMapUpdateTracker.queueUpdate()}diesTableChanged(){this.waferMapUpdateTracker.track("dies"),this.waferMapUpdateTracker.queueUpdate()}colorScaleChanged(){this.waferMapUpdateTracker.track("colorScale"),this.waferMapUpdateTracker.queueUpdate()}transformChanged(){this.waferMapUpdateTracker.track("transform"),this.waferMapUpdateTracker.queueUpdate()}canvasWidthChanged(){this.waferMapUpdateTracker.track("canvasWidth"),this.waferMapUpdateTracker.queueUpdate()}canvasHeightChanged(){this.waferMapUpdateTracker.track("canvasHeight"),this.waferMapUpdateTracker.queueUpdate()}hoverDieChanged(){this.$emit("die-hover",{currentDie:this.hoverDie}),this.waferMapUpdateTracker.track("hoverDie"),this.waferMapUpdateTracker.queueUpdate()}get asRequiredFieldsWaferMap(){return this}}e([le({attribute:"origin-location"})],Wq.prototype,"originLocation",void 0),e([le({attribute:"grid-min-x",converter:re})],Wq.prototype,"gridMinX",void 0),e([le({attribute:"grid-max-x",converter:re})],Wq.prototype,"gridMaxX",void 0),e([le({attribute:"grid-min-y",converter:re})],Wq.prototype,"gridMinY",void 0),e([le({attribute:"grid-max-y",converter:re})],Wq.prototype,"gridMaxY",void 0),e([le],Wq.prototype,"orientation",void 0),e([le({attribute:"max-characters",converter:re})],Wq.prototype,"maxCharacters",void 0),e([le({attribute:"die-labels-hidden",mode:"boolean"})],Wq.prototype,"dieLabelsHidden",void 0),e([le({attribute:"die-labels-suffix"})],Wq.prototype,"dieLabelsSuffix",void 0),e([le({attribute:"color-scale-mode"})],Wq.prototype,"colorScaleMode",void 0),e([g],Wq.prototype,"renderer",void 0),e([g],Wq.prototype,"canvasWidth",void 0),e([g],Wq.prototype,"canvasHeight",void 0),e([g],Wq.prototype,"transform",void 0),e([g],Wq.prototype,"hoverTransform",void 0),e([g],Wq.prototype,"hoverOpacity",void 0),e([g],Wq.prototype,"hoverWidth",void 0),e([g],Wq.prototype,"hoverHeight",void 0),e([g],Wq.prototype,"hoverDie",void 0),e([g],Wq.prototype,"highlightedTags",void 0),e([g],Wq.prototype,"dies",void 0),e([g],Wq.prototype,"diesTable",void 0),e([g],Wq.prototype,"colorScale",void 0)
|
|
13597
|
-
const Gq=Wq.compose({baseName:"wafer-map",template:
|
|
13620
|
+
const Gq=Wq.compose({baseName:"wafer-map",template:OH,styles:RH})
|
|
13598
13621
|
yi.getOrCreate().withPrefix("nimble").register(Gq())}()
|
|
13599
13622
|
//# sourceMappingURL=all-components-bundle.min.js.map
|