@ni/spright-components 4.3.6 → 4.3.8
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.
|
@@ -74,7 +74,7 @@ function C(t,e){x.defineProperty(t,e)}function k(t,e,n){return Object.assign({},
|
|
|
74
74
|
return{get:()=>t,set(e){t=e}}}))
|
|
75
75
|
class _{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return S.get()}get isEven(){return this.index%2==0}get isOdd(){return this.index%2!=0}get isFirst(){return 0===this.index}get isInMiddle(){return!this.isFirst&&!this.isLast}get isLast(){return this.index===this.length-1}static setEvent(t){S.set(t)}}x.defineProperty(_.prototype,"index"),x.defineProperty(_.prototype,"length")
|
|
76
76
|
const I=Object.seal(new _)
|
|
77
|
-
class M{constructor(){this.targetIndex=0}}class $ extends M{constructor(){super(...arguments),this.createPlaceholder=b.createInterpolationPlaceholder}}class D extends M{constructor(t,e,n){super(),this.name=t,this.behavior=e,this.options=n}createPlaceholder(t){return b.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}}function E(t,e){this.source=t,this.context=e,null===this.bindingObserver&&(this.bindingObserver=x.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(t,e))}function A(t,e){this.source=t,this.context=e,this.target.addEventListener(this.targetName,this)}function
|
|
77
|
+
class M{constructor(){this.targetIndex=0}}class $ extends M{constructor(){super(...arguments),this.createPlaceholder=b.createInterpolationPlaceholder}}class D extends M{constructor(t,e,n){super(),this.name=t,this.behavior=e,this.options=n}createPlaceholder(t){return b.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}}function E(t,e){this.source=t,this.context=e,null===this.bindingObserver&&(this.bindingObserver=x.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(t,e))}function A(t,e){this.source=t,this.context=e,this.target.addEventListener(this.targetName,this)}function T(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function O(){this.bindingObserver.disconnect(),this.source=null,this.context=null
|
|
78
78
|
const t=this.target.$fastView
|
|
79
79
|
void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}function R(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function F(t){b.setAttribute(this.target,this.targetName,t)}function N(t){b.setBooleanAttribute(this.target,this.targetName,t)}function L(t){if(null==t&&(t=""),t.create){this.target.textContent=""
|
|
80
80
|
let e=this.target.$fastView
|
|
@@ -84,13 +84,13 @@ let i=this.version||0
|
|
|
84
84
|
if(null!=t&&t.length){const s=t.split(/\s+/)
|
|
85
85
|
for(let t=0,o=s.length;t<o;++t){const o=s[t]
|
|
86
86
|
""!==o&&(e[o]=i,n.classList.add(o))}}if(this.classVersions=e,this.version=i+1,0!==i){i-=1
|
|
87
|
-
for(const t in e)e[t]===i&&n.classList.remove(t)}}class V extends ${constructor(t){super(),this.binding=t,this.bind=E,this.unbind=
|
|
87
|
+
for(const t in e)e[t]===i&&n.classList.remove(t)}}class V extends ${constructor(t){super(),this.binding=t,this.bind=E,this.unbind=T,this.updateTarget=F,this.isBindingVolatile=x.isVolatileBinding(this.binding)}get targetName(){return this.originalTargetName}set targetName(t){if(this.originalTargetName=t,void 0!==t)switch(t[0]){case":":if(this.cleanedTargetName=t.substr(1),this.updateTarget=B,"innerHTML"===this.cleanedTargetName){const t=this.binding
|
|
88
88
|
this.binding=(e,n)=>b.createHTML(t(e,n))}break
|
|
89
89
|
case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=N
|
|
90
90
|
break
|
|
91
91
|
case"@":this.cleanedTargetName=t.substr(1),this.bind=A,this.unbind=R
|
|
92
92
|
break
|
|
93
|
-
default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=P)}}targetAtContent(){this.updateTarget=L,this.unbind=
|
|
93
|
+
default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=P)}}targetAtContent(){this.updateTarget=L,this.unbind=O}createBehavior(t){return new z(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}}class z{constructor(t,e,n,i,s,o,r){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=e,this.isBindingVolatile=n,this.bind=i,this.unbind=s,this.updateTarget=o,this.targetName=r}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){_.setEvent(t)
|
|
94
94
|
const e=this.binding(this.source,this.context)
|
|
95
95
|
_.setEvent(null),!0!==e&&t.preventDefault()}}let H=null
|
|
96
96
|
class U{addFactory(t){t.targetIndex=this.targetIndex,this.behaviorFactories.push(t)}captureContentBinding(t){t.targetAtContent(),this.addFactory(t)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){H=this}static borrow(t){const e=H||new U
|
|
@@ -268,7 +268,7 @@ r=r.createCSS(),t&&s.push(t)}r instanceof tt||r instanceof CSSStyleSheet?(""!==i
|
|
|
268
268
|
return i.length&&s.withBehaviors(...i),s}class $t extends _t{constructor(t,e){super(),this.behaviors=e,this.css=""
|
|
269
269
|
const n=t.reduce(((t,e)=>("string"==typeof e?this.css+=e:t.push(e),t)),[])
|
|
270
270
|
n.length&&(this.styles=tt.create(n))}createBehavior(){return this}createCSS(){return this.css}bind(t){this.styles&&t.$fastController.addStyles(this.styles),this.behaviors.length&&t.$fastController.addBehaviors(this.behaviors)}unbind(t){this.styles&&t.$fastController.removeStyles(this.styles),this.behaviors.length&&t.$fastController.removeBehaviors(this.behaviors)}}function Dt(t,...e){const{styles:n,behaviors:i}=It(t,e)
|
|
271
|
-
return new $t(n,i)}function Et(t,e,n){return{index:t,removed:e,addedCount:n}}const At=0,
|
|
271
|
+
return new $t(n,i)}function Et(t,e,n){return{index:t,removed:e,addedCount:n}}const At=0,Tt=1,Ot=2,Rt=3
|
|
272
272
|
function Ft(t,e,n,i,s,o){let r=0,a=0
|
|
273
273
|
const l=Math.min(n-e,o-s)
|
|
274
274
|
if(0===e&&0===s&&(r=function(t,e,n){for(let i=0;i<n;++i)if(t[i]!==e[i])return i
|
|
@@ -280,11 +280,11 @@ for(;s<o;)t.removed.push(i[s++])
|
|
|
280
280
|
return[t]}if(s===o)return[Et(e,[],n-e)]
|
|
281
281
|
const c=function(t){let e=t.length-1,n=t[0].length-1,i=t[e][n]
|
|
282
282
|
const s=[]
|
|
283
|
-
for(;e>0||n>0;){if(0===e){s.push(
|
|
283
|
+
for(;e>0||n>0;){if(0===e){s.push(Ot),n--
|
|
284
284
|
continue}if(0===n){s.push(Rt),e--
|
|
285
285
|
continue}const o=t[e-1][n-1],r=t[e-1][n],a=t[e][n-1]
|
|
286
286
|
let l
|
|
287
|
-
l=r<a?r<o?r:o:a<o?a:o,l===o?(o===i?s.push(At):(s.push(
|
|
287
|
+
l=r<a?r<o?r:o:a<o?a:o,l===o?(o===i?s.push(At):(s.push(Tt),i=o),e--,n--):l===r?(s.push(Rt),e--,i=r):(s.push(Ot),n--,i=a)}return s.reverse(),s}(function(t,e,n,i,s,o){const r=o-s+1,a=n-e+1,l=new Array(r)
|
|
288
288
|
let c,d
|
|
289
289
|
for(let t=0;t<r;++t)l[t]=new Array(a),l[t][0]=t
|
|
290
290
|
for(let t=0;t<a;++t)l[0][t]=t
|
|
@@ -293,9 +293,9 @@ return l}(t,e,n,i,s,o)),h=[]
|
|
|
293
293
|
let u,p=e,f=s
|
|
294
294
|
for(let t=0;t<c.length;++t)switch(c[t]){case At:void 0!==u&&(h.push(u),u=void 0),p++,f++
|
|
295
295
|
break
|
|
296
|
-
case
|
|
296
|
+
case Tt:void 0===u&&(u=Et(p,[],0)),u.addedCount++,p++,u.removed.push(i[f]),f++
|
|
297
297
|
break
|
|
298
|
-
case
|
|
298
|
+
case Ot:void 0===u&&(u=Et(p,[],0)),u.addedCount++,p++
|
|
299
299
|
break
|
|
300
300
|
case Rt:void 0===u&&(u=Et(p,[],0)),u.removed.push(i[f]),f++}return void 0!==u&&h.push(u),h}const Nt=Array.prototype.push
|
|
301
301
|
function Lt(t,e,n,i){const s=Et(e,n,i)
|
|
@@ -431,7 +431,7 @@ const de=new Map
|
|
|
431
431
|
"metadata"in Reflect||(Reflect.metadata=function(t,e){return function(n){Reflect.defineMetadata(t,e,n)}},Reflect.defineMetadata=function(t,e,n){let i=de.get(n)
|
|
432
432
|
void 0===i&&de.set(n,i=new Map),i.set(t,e)},Reflect.getOwnMetadata=function(t,e){const n=de.get(e)
|
|
433
433
|
if(void 0!==n)return n.get(t)})
|
|
434
|
-
class he{constructor(t,e){this.container=t,this.key=e}instance(t){return this.registerResolver(0,t)}singleton(t){return this.registerResolver(1,t)}transient(t){return this.registerResolver(2,t)}callback(t){return this.registerResolver(3,t)}cachedCallback(t){return this.registerResolver(3,
|
|
434
|
+
class he{constructor(t,e){this.container=t,this.key=e}instance(t){return this.registerResolver(0,t)}singleton(t){return this.registerResolver(1,t)}transient(t){return this.registerResolver(2,t)}callback(t){return this.registerResolver(3,t)}cachedCallback(t){return this.registerResolver(3,Oe(t))}aliasTo(t){return this.registerResolver(5,t)}registerResolver(t,e){const{container:n,key:i}=this
|
|
435
435
|
return this.container=this.key=void 0,n.registerResolver(i,new xe(i,t,e))}}function ue(t){const e=t.slice(),n=Object.keys(t),i=n.length
|
|
436
436
|
let s
|
|
437
437
|
for(let o=0;o<i;++o)s=n[o],ze(s)||(e[s]=t[s])
|
|
@@ -515,10 +515,10 @@ if(!(n instanceof Object)||null==n.resolve){const n=e.resolvers.get(t)
|
|
|
515
515
|
if(null!=n)return n
|
|
516
516
|
throw new Error("A valid resolver was not returned from the static register method")}return n}if(t.$isInterface)throw new Error(`Attempted to jitRegister an interface: ${t.friendlyName}`)
|
|
517
517
|
{const n=this.config.defaultResolver(t,e)
|
|
518
|
-
return e.resolvers.set(t,n),n}}}const
|
|
519
|
-
function
|
|
518
|
+
return e.resolvers.set(t,n),n}}}const Te=new WeakMap
|
|
519
|
+
function Oe(t){return function(e,n,i){if(Te.has(i))return Te.get(i)
|
|
520
520
|
const s=t(e,n,i)
|
|
521
|
-
return
|
|
521
|
+
return Te.set(i,s),s}}const Re=Object.freeze({instance:(t,e)=>new xe(t,0,e),singleton:(t,e)=>new xe(t,1,e),transient:(t,e)=>new xe(t,2,e),callback:(t,e)=>new xe(t,3,e),cachedCallback:(t,e)=>new xe(t,3,Oe(e)),aliasTo:(t,e)=>new xe(e,5,t)})
|
|
522
522
|
function Fe(t){if(null==t)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function Ne(t,e,n){if(t instanceof xe&&4===t.strategy){const i=t.state
|
|
523
523
|
let s=i.length
|
|
524
524
|
const o=new Array(s)
|
|
@@ -638,8 +638,8 @@ return t||(t=this.attachInternals(),En.set(this,t)),t}connectedCallback(){super.
|
|
|
638
638
|
this.proxyInitialized||(this.proxyInitialized=!0,this.proxy.style.display="none",this.proxyEventsToBlock.forEach((t=>this.proxy.addEventListener(t,this.stopPropagation))),this.proxy.disabled=this.disabled,this.proxy.required=this.required,"string"==typeof this.name&&(this.proxy.name=this.name),"string"==typeof this.value&&(this.proxy.value=this.value),this.proxy.setAttribute("slot",Mn),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name",Mn)),null===(t=this.shadowRoot)||void 0===t||t.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var t
|
|
639
639
|
this.removeChild(this.proxy),null===(t=this.shadowRoot)||void 0===t||t.removeChild(this.proxySlot)}validate(t){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage,t)}setFormValue(t,e){this.elementInternals&&this.elementInternals.setFormValue(t,e||t)}_keypressHandler(t){if(t.key===ln)if(this.form instanceof HTMLFormElement){const t=this.form.querySelector("[type=submit]")
|
|
640
640
|
null==t||t.click()}}stopPropagation(t){t.stopPropagation()}}
|
|
641
|
-
return ft({mode:"boolean"})(e.prototype,"disabled"),ft({mode:"fromView",attribute:"value"})(e.prototype,"initialValue"),ft({attribute:"current-value"})(e.prototype,"currentValue"),ft(e.prototype,"name"),ft({mode:"boolean"})(e.prototype,"required"),C(e.prototype,"value"),e}function
|
|
642
|
-
this.setFormValue(t,t)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return ft({attribute:"checked",mode:"boolean"})(n.prototype,"checkedAttribute"),ft({attribute:"current-checked",converter:ht})(n.prototype,"currentChecked"),C(n.prototype,"defaultChecked"),C(n.prototype,"checked"),n}class
|
|
641
|
+
return ft({mode:"boolean"})(e.prototype,"disabled"),ft({mode:"fromView",attribute:"value"})(e.prototype,"initialValue"),ft({attribute:"current-value"})(e.prototype,"currentValue"),ft(e.prototype,"name"),ft({mode:"boolean"})(e.prototype,"required"),C(e.prototype,"value"),e}function Tn(t){class e extends(An(t)){}class n extends e{constructor(...t){super(t),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(t,e){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==t&&this.$emit("change"),this.validate()}currentCheckedChanged(t,e){this.checked=this.currentChecked}updateForm(){const t=this.checked?this.value:null
|
|
642
|
+
this.setFormValue(t,t)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return ft({attribute:"checked",mode:"boolean"})(n.prototype,"checkedAttribute"),ft({attribute:"current-checked",converter:ht})(n.prototype,"currentChecked"),C(n.prototype,"defaultChecked"),C(n.prototype,"checked"),n}class On extends We{}class Rn extends(An(On)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let Fn=class extends Rn{constructor(){super(...arguments),this.handleClick=t=>{var e
|
|
643
643
|
this.disabled&&(null===(e=this.defaultSlottedContent)||void 0===e?void 0:e.length)<=1&&t.stopPropagation()},this.handleSubmission=()=>{if(!this.form)return
|
|
644
644
|
const t=this.proxy.isConnected
|
|
645
645
|
t||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),t||this.detachProxy()},this.handleFormReset=()=>{var t
|
|
@@ -654,7 +654,7 @@ e&&e.forEach((t=>{t.removeEventListener("click",this.handleClick)}))}}
|
|
|
654
654
|
ce([ft({mode:"boolean"})],Fn.prototype,"autofocus",void 0),ce([ft({attribute:"form"})],Fn.prototype,"formId",void 0),ce([ft],Fn.prototype,"formaction",void 0),ce([ft],Fn.prototype,"formenctype",void 0),ce([ft],Fn.prototype,"formmethod",void 0),ce([ft({mode:"boolean"})],Fn.prototype,"formnovalidate",void 0),ce([ft],Fn.prototype,"formtarget",void 0),ce([ft],Fn.prototype,"type",void 0),ce([C],Fn.prototype,"defaultSlottedContent",void 0)
|
|
655
655
|
class Nn{}ce([ft({attribute:"aria-expanded"})],Nn.prototype,"ariaExpanded",void 0),ce([ft({attribute:"aria-pressed"})],Nn.prototype,"ariaPressed",void 0),Ke(Nn,wn),Ke(Fn,re,Nn)
|
|
656
656
|
let Ln=class extends We{}
|
|
657
|
-
class Bn extends We{}class Pn extends(
|
|
657
|
+
class Bn extends We{}class Pn extends(Tn(Bn)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let Vn=class extends Pn{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=t=>{if(!this.readOnly&&t.key===un)this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked},this.clickHandler=t=>{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)}}
|
|
658
658
|
function zn(t){return Je(t)&&("option"===t.getAttribute("role")||t instanceof HTMLOptionElement)}ce([ft({attribute:"readonly",mode:"boolean"})],Vn.prototype,"readOnly",void 0),ce([C],Vn.prototype,"defaultSlottedNodes",void 0),ce([C],Vn.prototype,"indeterminate",void 0)
|
|
659
659
|
class Hn extends We{constructor(t,e,n,i){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,t&&(this.textContent=t),e&&(this.initialValue=e),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(t,e){this.ariaChecked="boolean"!=typeof e?null:e?"true":"false"}contentChanged(t,e){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(t,e){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(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){var t
|
|
660
660
|
return null!==(t=this.value)&&void 0!==t?t:this.text}get text(){var t,e
|
|
@@ -828,7 +828,7 @@ return this}}class Mi{constructor(t,e,n,i,s,o){this.container=t,this.name=e,this
|
|
|
828
828
|
* tabbable 5.3.3
|
|
829
829
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
830
830
|
*/var $i="undefined"==typeof Element,Di=$i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ei=!$i&&Element.prototype.getRootNode?function(t){return t.getRootNode()}:function(t){return t.ownerDocument},Ai=function(t){var e=t.getBoundingClientRect(),n=e.width,i=e.height
|
|
831
|
-
return 0===n&&0===i},
|
|
831
|
+
return 0===n&&0===i},Ti=function(t,e){return!(e.disabled||function(t){return function(t){return"INPUT"===t.tagName}(t)&&"hidden"===t.type}(e)||function(t,e){var n=e.displayCheck,i=e.getShadowRoot
|
|
832
832
|
if("hidden"===getComputedStyle(t).visibility)return!0
|
|
833
833
|
var s=Di.call(t,"details>summary:first-of-type")?t.parentElement:t
|
|
834
834
|
if(Di.call(s,"details:not([open]) *"))return!0
|
|
@@ -836,8 +836,8 @@ var o=Ei(t).host,r=(null==o?void 0:o.ownerDocument.contains(o))||t.ownerDocument
|
|
|
836
836
|
if(n&&"full"!==n){if("non-zero-area"===n)return Ai(t)}else{if("function"==typeof i){for(var a=t;t;){var l=t.parentElement,c=Ei(t)
|
|
837
837
|
if(l&&!l.shadowRoot&&!0===i(l))return Ai(t)
|
|
838
838
|
t=t.assignedSlot?t.assignedSlot:l||c===t.ownerDocument?l:c.host}t=a}if(r)return!t.getClientRects().length}return!1}(e,t)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var n=0;n<e.children.length;n++){var i=e.children.item(n)
|
|
839
|
-
if("LEGEND"===i.tagName)return!!Di.call(e,"fieldset[disabled] *")||!i.contains(t)}return!0}e=e.parentElement}return!1}(e))},
|
|
840
|
-
return!1!==Di.call(t,
|
|
839
|
+
if("LEGEND"===i.tagName)return!!Di.call(e,"fieldset[disabled] *")||!i.contains(t)}return!0}e=e.parentElement}return!1}(e))},Oi=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"].concat("iframe").join(","),Ri=function(t,e){if(e=e||{},!t)throw new Error("No node provided")
|
|
840
|
+
return!1!==Di.call(t,Oi)&&Ti(e,t)}
|
|
841
841
|
class Fi extends qn{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var t
|
|
842
842
|
return null===(t=this.options)||void 0===t?void 0:t.filter((t=>t.checked))}get firstSelectedOptionIndex(){return this.options.indexOf(this.firstSelectedOption)}activeIndexChanged(t,e){var n,i
|
|
843
843
|
this.ariaActiveDescendant=null!==(i=null===(n=this.options[e])||void 0===n?void 0:n.id)&&void 0!==i?i:"",this.focusAndScrollOptionIntoView()}checkActiveIndex(){if(!this.multiple)return
|
|
@@ -924,7 +924,7 @@ if(this.slottedRadioButtons.forEach((t=>{void 0!==this.name&&t.setAttribute("nam
|
|
|
924
924
|
if(e>0&&!n){const n=t[e-1]
|
|
925
925
|
n.checked=!0,this.focusedRadio=n,n.setAttribute("tabindex","0")}else this.slottedRadioButtons[0].setAttribute("tabindex","0"),this.focusedRadio=this.slottedRadioButtons[0]}}}
|
|
926
926
|
ce([ft({attribute:"readonly",mode:"boolean"})],Ki.prototype,"readOnly",void 0),ce([ft({attribute:"disabled",mode:"boolean"})],Ki.prototype,"disabled",void 0),ce([ft],Ki.prototype,"name",void 0),ce([ft],Ki.prototype,"value",void 0),ce([ft],Ki.prototype,"orientation",void 0),ce([C],Ki.prototype,"childItems",void 0),ce([C],Ki.prototype,"slottedRadioButtons",void 0)
|
|
927
|
-
class Yi extends We{}class Xi extends(
|
|
927
|
+
class Yi extends We{}class Xi extends(Tn(Yi)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let Ji=class extends Xi{constructor(){super(),this.initialValue="on",this.keypressHandler=t=>{if(t.key!==un)return!0
|
|
928
928
|
this.checked||this.readOnly||(this.checked=!0)},this.proxy.setAttribute("type","radio")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}defaultCheckedChanged(){var t
|
|
929
929
|
this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}connectedCallback(){var t,e
|
|
930
930
|
super.connectedCallback(),this.validate(),"radiogroup"!==(null===(t=this.parentElement)||void 0===t?void 0:t.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.closest("[role=radiogroup]")}clickHandler(t){this.disabled||this.readOnly||this.checked||(this.checked=!0)}}
|
|
@@ -959,7 +959,7 @@ break
|
|
|
959
959
|
case pn:return this.collapsible&&this.open&&(t.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!(e===sn||e===an)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(t,e){super.sizeChanged(t,e),this.proxy&&(this.proxy.size=e)}updateDisplayValue(){this.collapsible&&x.notify(this,"displayValue")}}
|
|
960
960
|
ce([ft({attribute:"open",mode:"boolean"})],es.prototype,"open",void 0),ce([k],es.prototype,"collapsible",null),ce([C],es.prototype,"control",void 0),ce([ft({attribute:"position"})],es.prototype,"positionAttribute",void 0),ce([C],es.prototype,"position",void 0),ce([C],es.prototype,"maxHeight",void 0)
|
|
961
961
|
class ns{}ce([C],ns.prototype,"ariaControls",void 0),Ke(ns,jn),Ke(es,re,ns)
|
|
962
|
-
class is extends We{}class ss extends(
|
|
962
|
+
class is extends We{}class ss extends(Tn(is)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}let rs=class extends ss{constructor(){super(),this.initialValue="on",this.keypressHandler=t=>{if(!this.readOnly)switch(t.key){case ln:case un:this.checked=!this.checked}},this.clickHandler=t=>{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(t,e){super.checkedChanged(t,e),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}
|
|
963
963
|
ce([ft({attribute:"readonly",mode:"boolean"})],rs.prototype,"readOnly",void 0),ce([C],rs.prototype,"defaultSlottedNodes",void 0)
|
|
964
964
|
let as=class extends We{}
|
|
965
965
|
let ls=class extends We{}
|
|
@@ -1020,7 +1020,7 @@ return n.hasAttribute("disabled")||n.hasAttribute("hidden")||!(Ri(n)||a||l||c)?n
|
|
|
1020
1020
|
ce([C],gs.prototype,"direction",void 0),ce([ft],gs.prototype,"orientation",void 0),ce([C],gs.prototype,"slottedItems",void 0),ce([C],gs.prototype,"slottedLabel",void 0),ce([C],gs.prototype,"childItems",void 0)
|
|
1021
1021
|
class vs{}ce([ft({attribute:"aria-labelledby"})],vs.prototype,"ariaLabelledby",void 0),ce([ft({attribute:"aria-label"})],vs.prototype,"ariaLabel",void 0),Ke(vs,wn),Ke(gs,re,vs)
|
|
1022
1022
|
const bs="top",ys="right",ws="bottom",xs="left",Cs="start",ks="end",Ss="top-left",_s="top-right",Is="bottom-left",Ms="bottom-right",$s="top-start",Ds="top-end",Es="bottom-start",As="bottom-end"
|
|
1023
|
-
let
|
|
1023
|
+
let Ts=class extends We{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=mn.ltr,this.showDelayTimer=null,this.hideDelayTimer=null,this.isAnchorHoveredFocused=!1,this.isRegionHovered=!1,this.handlePositionChange=t=>{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=t=>{this.isRegionHovered=!0},this.handleRegionMouseOut=t=>{this.isRegionHovered=!1,this.startHideDelayTimer()},this.handleAnchorMouseOver=t=>{this.tooltipVisible?this.isAnchorHoveredFocused=!0:this.startShowDelayTimer()},this.handleAnchorMouseOut=t=>{this.isAnchorHoveredFocused=!1,this.clearShowDelayTimer(),this.startHideDelayTimer()},this.handleAnchorFocusIn=t=>{this.startShowDelayTimer()},this.handleAnchorFocusOut=t=>{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 t=this.getRootNode()
|
|
1024
1024
|
return t instanceof ShadowRoot?t.getElementById(this.anchor):document.getElementById(this.anchor)},this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&this.tooltipVisible&&t.key===cn)this.isAnchorHoveredFocused=!1,this.updateTooltipVisibility(),this.$emit("dismiss")},this.updateTooltipVisibility=()=>{if(!1===this.visible)this.hideTooltip()
|
|
1025
1025
|
else{if(!0===this.visible)return void this.showTooltip()
|
|
1026
1026
|
if(this.isAnchorHoveredFocused||this.isRegionHovered)return void this.showTooltip()
|
|
@@ -1047,8 +1047,8 @@ break
|
|
|
1047
1047
|
case As:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="end"
|
|
1048
1048
|
break
|
|
1049
1049
|
default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}
|
|
1050
|
-
ce([ft({mode:"boolean"})],
|
|
1051
|
-
function
|
|
1050
|
+
ce([ft({mode:"boolean"})],Ts.prototype,"visible",void 0),ce([ft],Ts.prototype,"anchor",void 0),ce([ft],Ts.prototype,"delay",void 0),ce([ft],Ts.prototype,"position",void 0),ce([ft({attribute:"auto-update-mode"})],Ts.prototype,"autoUpdateMode",void 0),ce([ft({attribute:"horizontal-viewport-lock"})],Ts.prototype,"horizontalViewportLock",void 0),ce([ft({attribute:"vertical-viewport-lock"})],Ts.prototype,"verticalViewportLock",void 0),ce([C],Ts.prototype,"anchorElement",void 0),ce([C],Ts.prototype,"viewportElement",void 0),ce([C],Ts.prototype,"verticalPositioningMode",void 0),ce([C],Ts.prototype,"horizontalPositioningMode",void 0),ce([C],Ts.prototype,"horizontalInset",void 0),ce([C],Ts.prototype,"verticalInset",void 0),ce([C],Ts.prototype,"horizontalScaling",void 0),ce([C],Ts.prototype,"verticalScaling",void 0),ce([C],Ts.prototype,"verticalDefaultPosition",void 0),ce([C],Ts.prototype,"horizontalDefaultPosition",void 0),ce([C],Ts.prototype,"tooltipVisible",void 0),ce([C],Ts.prototype,"currentDirection",void 0)
|
|
1051
|
+
function Os(t){return Je(t)&&"treeitem"===t.getAttribute("role")}let Rs=class extends We{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.isNestedItem=()=>Os(this.parentElement),this.handleExpandCollapseButtonClick=t=>{this.disabled||t.defaultPrevented||(this.expanded=!this.expanded)},this.handleFocus=t=>{this.setAttribute("tabindex","0")},this.handleBlur=t=>{this.setAttribute("tabindex","-1")}}expandedChanged(){this.$fastController.isConnected&&this.$emit("expanded-change",this)}selectedChanged(){this.$fastController.isConnected&&this.$emit("selected-change",this)}itemsChanged(t,e){this.$fastController.isConnected&&this.items.forEach((t=>{Os(t)&&(t.nested=!0)}))}static focusItem(t){t.focusable=!0,t.focus()}childItemLength(){const t=this.childItems.filter((t=>Os(t)))
|
|
1052
1052
|
return t?t.length:0}}
|
|
1053
1053
|
ce([ft({mode:"boolean"})],Rs.prototype,"expanded",void 0),ce([ft({mode:"boolean"})],Rs.prototype,"selected",void 0),ce([ft({mode:"boolean"})],Rs.prototype,"disabled",void 0),ce([C],Rs.prototype,"focusable",void 0),ce([C],Rs.prototype,"childItems",void 0),ce([C],Rs.prototype,"items",void 0),ce([C],Rs.prototype,"nested",void 0),ce([C],Rs.prototype,"renderCollapsedChildren",void 0),Ke(Rs,re)
|
|
1054
1054
|
let Fs=class extends We{constructor(){super(...arguments),this.currentFocused=null,this.handleFocus=t=>{if(!(this.slottedTreeItems.length<1))return t.target===this?(null===this.currentFocused&&(this.currentFocused=this.getValidFocusableItem()),void(null!==this.currentFocused&&Rs.focusItem(this.currentFocused))):void(this.contains(t.target)&&(this.setAttribute("tabindex","-1"),this.currentFocused=t.target))},this.handleBlur=t=>{t.target instanceof HTMLElement&&(null===t.relatedTarget||!this.contains(t.relatedTarget))&&this.setAttribute("tabindex","0")},this.handleKeyDown=t=>{if(t.defaultPrevented)return
|
|
@@ -1063,19 +1063,19 @@ e instanceof Rs&&e.childItemLength()>0&&!e.expanded?e.expanded=!0:e instanceof R
|
|
|
1063
1063
|
case sn:return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(1,t.target))
|
|
1064
1064
|
case an:return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(-1,t.target))
|
|
1065
1065
|
case ln:return void this.handleClick(t)}return!0},this.handleSelectedChange=t=>{if(t.defaultPrevented)return
|
|
1066
|
-
if(!(t.target instanceof Element&&
|
|
1066
|
+
if(!(t.target instanceof Element&&Os(t.target)))return!0
|
|
1067
1067
|
const e=t.target
|
|
1068
1068
|
e.selected?(this.currentSelected&&this.currentSelected!==e&&(this.currentSelected.selected=!1),this.currentSelected=e):e.selected||this.currentSelected!==e||(this.currentSelected=null)},this.setItems=()=>{const t=this.treeView.querySelector("[aria-selected='true']")
|
|
1069
1069
|
this.currentSelected=t,null!==this.currentFocused&&this.contains(this.currentFocused)||(this.currentFocused=this.getValidFocusableItem()),this.nested=this.checkForNestedItems()
|
|
1070
|
-
this.getVisibleNodes().forEach((t=>{
|
|
1071
|
-
if(!(t.target instanceof Element&&
|
|
1070
|
+
this.getVisibleNodes().forEach((t=>{Os(t)&&(t.nested=this.nested)}))},this.isFocusableElement=t=>Os(t),this.isSelectedElement=t=>t.selected}slottedTreeItemsChanged(){this.$fastController.isConnected&&this.setItems()}connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0"),b.queueUpdate((()=>{this.setItems()}))}handleClick(t){if(t.defaultPrevented)return
|
|
1071
|
+
if(!(t.target instanceof Element&&Os(t.target)))return!0
|
|
1072
1072
|
const e=t.target
|
|
1073
1073
|
e.disabled||(e.selected=!e.selected)}focusNextNode(t,e){const n=this.getVisibleNodes()
|
|
1074
1074
|
if(!n)return
|
|
1075
1075
|
const i=n[n.indexOf(e)+t]
|
|
1076
1076
|
Je(i)&&Rs.focusItem(i)}getValidFocusableItem(){const t=this.getVisibleNodes()
|
|
1077
1077
|
let e=t.findIndex(this.isSelectedElement)
|
|
1078
|
-
return-1===e&&(e=t.findIndex(this.isFocusableElement)),-1!==e?t[e]:null}checkForNestedItems(){return this.slottedTreeItems.some((t=>
|
|
1078
|
+
return-1===e&&(e=t.findIndex(this.isFocusableElement)),-1!==e?t[e]:null}checkForNestedItems(){return this.slottedTreeItems.some((t=>Os(t)&&t.querySelector("[role='treeitem']")))}getVisibleNodes(){return function(t,e){if(!t||!Je(t))return
|
|
1079
1079
|
return Array.from(t.querySelectorAll(e)).filter((t=>null!==t.offsetParent))}(this,"[role='treeitem']")||[]}}
|
|
1080
1080
|
ce([ft({attribute:"render-collapsed-nodes"})],Fs.prototype,"renderCollapsedNodes",void 0),ce([C],Fs.prototype,"currentSelected",void 0),ce([C],Fs.prototype,"slottedTreeItems",void 0)
|
|
1081
1081
|
function Ns(t){return`:host([hidden]){display:none}:host{display:${t}}`}const Ls=function(){if("boolean"==typeof Qe)return Qe
|
|
@@ -1106,7 +1106,7 @@ return new js(Hs(Number(n[0]),0,255),Hs(Number(n[1]),0,255),Hs(Number(n[2]),0,25
|
|
|
1106
1106
|
if(null===e)return null
|
|
1107
1107
|
const n=e[1].split(",")
|
|
1108
1108
|
return 4===n.length?new js(Hs(Number(n[0]),0,255),Hs(Number(n[1]),0,255),Hs(Number(n[2]),0,255),Number(n[3])):null}(e):function(t){return Ws.hasOwnProperty(t)}(e)?function(t){const e=Ws[t.toLowerCase()]
|
|
1109
|
-
return e?new js(e.r,e.g,e.b,e.hasOwnProperty("a")?e.a:void 0):null}(e):null}const to="#a46eff",eo="#804ad9",no="#ff8126",io="#009921",so="#00c12b",oo="#c4000c",ro="#818386",ao="#f1f1f2",lo="#f5f5f5",co="#ffffff",ho="#363738",uo="#505153",po="#000000",fo="#161617",mo="#074023",go="#009b65",vo="#d63434",bo="#ff4b00",yo="#008557",wo="#00734b",xo="#00613f",Co="#32eb96",ko="#364941",So="#356d54",_o="#98f5ca",Io="#434445",Mo="#e54c8a",$o="#8e78b7",Do="Source Sans Pro",Eo="Source Sans Pro",Ao="400",
|
|
1109
|
+
return e?new js(e.r,e.g,e.b,e.hasOwnProperty("a")?e.a:void 0):null}(e):null}const to="#a46eff",eo="#804ad9",no="#ff8126",io="#009921",so="#00c12b",oo="#c4000c",ro="#818386",ao="#f1f1f2",lo="#f5f5f5",co="#ffffff",ho="#363738",uo="#505153",po="#000000",fo="#161617",mo="#074023",go="#009b65",vo="#d63434",bo="#ff4b00",yo="#008557",wo="#00734b",xo="#00613f",Co="#32eb96",ko="#364941",So="#356d54",_o="#98f5ca",Io="#434445",Mo="#e54c8a",$o="#8e78b7",Do="Source Sans Pro",Eo="Source Sans Pro",Ao="400",To="14px",Oo="14px",Ro="18px",Fo="18px",No="14px",Lo={light:"light",dark:"dark",color:"color"},Bo="action-rgb-partial-color",Po="application-background-color",Vo="divider-background-color",zo="header-background-color",Ho="section-background-color",Uo="button-fill-primary-color",qo="button-primary-font-color",jo="button-fill-accent-color",Wo="button-accent-block-font-color",Go="button-accent-outline-font-color",Zo="button-border-accent-outline-color",Ko="fill-selected-color",Yo="fill-selected-rgb-partial-color",Xo="fill-hover-selected-color",Jo="fill-hover-color",Qo="fill-hover-rgb-partial-color",tr="fill-down-color",er="border-color",nr="border-rgb-partial-color",ir="fail-color",sr="warning-color",or="pass-color",rr="information-color",ar="border-hover-color",lr="icon-color",cr="modal-backdrop-color",dr="popup-border-color",hr="card-border-color",ur="tag-fill-color",pr="control-height",fr="control-slim-height",mr="small-padding",gr="medium-padding",vr="standard-padding",br="large-padding",yr="label-height",wr="border-width",xr="icon-size",Cr="group-header-text-transform",kr="drawer-width",Sr="dialog-small-width",_r="dialog-small-height",Ir="dialog-small-max-height",Mr="dialog-large-width",$r="dialog-large-height",Dr="dialog-large-max-height",Er="menu-min-width",Ar="banner-gap-size",Tr="spinner-small-height",Or="spinner-medium-height",Rr="spinner-large-height",Fr="table-fit-rows-height",Nr="small-delay",Lr="medium-delay",Br="large-delay",Pr="headline-plus-1-font",Vr="headline-font",zr="table-header-font",Hr="title-plus-2-font",Ur="title-plus-1-font",qr="title-font",jr="subtitle-plus-1-font",Wr="subtitle-font",Gr="link-font",Zr="link-active-font",Kr="link-prominent-font",Yr="link-active-prominent-font",Xr="placeholder-font",Jr="body-font",Qr="body-emphasized-font",ta="body-plus-1-font",ea="body-plus-1-emphasized-font",na="group-header-font",ia="control-label-font",sa="button-label-font",oa="tooltip-caption-font",ra="tooltip-background-color",aa="error-text-font",la="table-row-border-color",ca="elevation-1-box-shadow",da="elevation-2-box-shadow",ha="elevation-3-box-shadow",ua="graph-gridline-color",pa="graph-trace-1-color",fa="graph-trace-2-color",ma="graph-trace-3-color",ga="graph-trace-4-color",va="graph-trace-5-color",ba="graph-trace-6-color",ya="graph-trace-7-color",wa="graph-trace-8-color",xa="mention-font",Ca="calendar-event-background-static-color",ka="calendar-event-background-dynamic-color",Sa="calendar-event-background-transient-color",_a="calendar-event-border-static-color",Ia="calendar-event-border-transient-color",Ma="calendar-event-static-font-color",$a="calendar-event-dynamic-font-color",Da="calendar-event-transient-font-color",Ea="calendar-event-background-hover-static-color",Aa="calendar-event-background-hover-dynamic-color",Ta="calendar-event-background-hover-transient-color",Oa="calendar-row-background-selected-color",Ra="calendar-event-fill-blocked-color",Fa="calendar-grab-handle-background-color",Na="calendar-grid-border-color",La="calendar-group-header-background-color",Ba=t=>`ni-nimble-${t}`,Pa="horizontal"
|
|
1110
1110
|
function Va(...t){return t.every((t=>t instanceof HTMLElement))}const za="animationend",Ha="change",Ua="ArrowDown",qa="ArrowLeft",ja="ArrowRight",Wa="ArrowUp",Ga="End",Za="Enter",Ka="Escape",Ya="Home",Xa="PageDown",Ja="PageUp",Qa=" ",tl="Tab"
|
|
1111
1111
|
var el
|
|
1112
1112
|
!function(t){t.ltr="ltr",t.rtl="rtl"}(el||(el={}))
|
|
@@ -1130,30 +1130,30 @@ const bl=yi.create(Ba(Ko)).withDefault((t=>ml(vh(t),.2))),yl=yi.create(Ba(Yo)).w
|
|
|
1130
1130
|
yi.create(Ba(Qo)).withDefault((t=>hh(bh(t)))),yi.create(Ba(tr)).withDefault((t=>ml(function(t){return ph(t,fo,ao,co)}(t),.15)))
|
|
1131
1131
|
const Cl=yi.create(Ba(er)).withDefault((t=>mh(t))),kl=yi.create(Ba(nr)).withDefault((t=>hh(mh(t)))),Sl=yi.create(Ba(ir)).withDefault((t=>fh(t))),_l=yi.create(Ba(sr)).withDefault((t=>function(t){return ph(t,bo,no,co)}(t))),Il=yi.create(Ba(or)).withDefault((t=>function(t){return ph(t,io,so,co)}(t))),Ml=yi.create(Ba(rr)).withDefault((t=>function(t){return ph(t,eo,to,co)}(t))),$l=yi.create(Ba(ar)).withDefault((t=>ph(t,go,Co,co))),Dl=yi.create(Ba(lr)).withDefault((t=>ph(t,fo,ao,co))),El=yi.create(Ba(cr)).withDefault((t=>function(t){switch(hl.getValueFor(t)){case Lo.light:return ml(po,.3)
|
|
1132
1132
|
case Lo.dark:case Lo.color:return ml(po,.6)
|
|
1133
|
-
default:return ml(po,.3)}}(t))),Al=yi.create(Ba(dr)).withDefault((t=>ml(ph(t,fo,ao,co),.3))),
|
|
1133
|
+
default:return ml(po,.3)}}(t))),Al=yi.create(Ba(dr)).withDefault((t=>ml(ph(t,fo,ao,co),.3))),Tl=yi.create(Ba(hr)).withDefault((t=>ml(ph(t,fo,ao,co),.1)))
|
|
1134
1134
|
yi.create(Ba(ua)).withDefault((t=>ml(ph(t,fo,ao,co),.2))),yi.create(Ba(pa)).withDefault((t=>ph(t,"#312e7f","#3cb4e7",co))),yi.create(Ba(fa)).withDefault((t=>ph(t,"#cd1722","#ef463f",ml(co,.7)))),yi.create(Ba(ma)).withDefault((t=>ph(t,"#499146","#76bc43",ml(co,.4)))),yi.create(Ba(ga)).withDefault((t=>ph(t,"#8c459a","#a5d8c8",ml(co,.25)))),yi.create(Ba(va)).withDefault((t=>ph(t,"#00685f","#00aba5",ml(co,.55)))),yi.create(Ba(ba)).withDefault((t=>ph(t,Mo,Mo,ml(co,.85)))),yi.create(Ba(ya)).withDefault((t=>ph(t,"#371615","#ffe76b",ml(co,.325)))),yi.create(Ba(wa)).withDefault((t=>ph(t,$o,$o,ml(co,.625)))),yi.create(Ba(ra)).withDefault((t=>ph(t,ao,ho,mo)))
|
|
1135
|
-
const
|
|
1135
|
+
const Ol=yi.create(Ba(la)).withDefault((t=>ph(t,ao,uo,mo)))
|
|
1136
1136
|
yi.create(Ba(ur)).withDefault((t=>ml(ph(t,fo,ao,co),.1)))
|
|
1137
1137
|
const Rl=yi.create(Ba(Uo)).withDefault((t=>ph(t,ml(fo,.75),ml(ao,.3),ml(co,.3)))),Fl=yi.create(Ba(qo)).withDefault((t=>ph(t,ao,ao,co))),Nl=yi.create(Ba(jo)).withDefault((t=>ph(t,yo,go,ml(co,.1)))),Ll=yi.create(Ba(Wo)).withDefault((t=>ph(t,co,ao,co))),Bl=yi.create(Ba(Go)).withDefault((t=>ph(t,wo,Co,co))),Pl=yi.create(Ba(Zo)).withDefault((t=>ph(t,go,Co,ml(co,.3))))
|
|
1138
|
-
yi.create(Ba(Ca)).withDefault((t=>ph(t,"#e6f5f0",ko,ko))),yi.create(Ba(ka)).withDefault((t=>ph(t,wo,yo,yo))),yi.create(Ba(Sa)).withDefault((t=>ph(t,wo,yo,yo))),yi.create(Ba(_a)).withDefault((t=>ph(t,go,go,go))),yi.create(Ba(Ia)).withDefault((t=>ph(t,go,ml(Co,.85),ml(Co,.85)))),yi.create(Ba(Ma)).withDefault((t=>ph(t,xo,_o,_o))),yi.create(Ba($a)).withDefault((t=>ph(t,co,co,co))),yi.create(Ba(Da)).withDefault((t=>ph(t,co,co,co))),yi.create(Ba(Ea)).withDefault((t=>ph(t,"#b3e1d1",So,So))),yi.create(Ba(Aa)).withDefault((t=>ph(t,xo,wo,wo))),yi.create(Ba(
|
|
1138
|
+
yi.create(Ba(Ca)).withDefault((t=>ph(t,"#e6f5f0",ko,ko))),yi.create(Ba(ka)).withDefault((t=>ph(t,wo,yo,yo))),yi.create(Ba(Sa)).withDefault((t=>ph(t,wo,yo,yo))),yi.create(Ba(_a)).withDefault((t=>ph(t,go,go,go))),yi.create(Ba(Ia)).withDefault((t=>ph(t,go,ml(Co,.85),ml(Co,.85)))),yi.create(Ba(Ma)).withDefault((t=>ph(t,xo,_o,_o))),yi.create(Ba($a)).withDefault((t=>ph(t,co,co,co))),yi.create(Ba(Da)).withDefault((t=>ph(t,co,co,co))),yi.create(Ba(Ea)).withDefault((t=>ph(t,"#b3e1d1",So,So))),yi.create(Ba(Aa)).withDefault((t=>ph(t,xo,wo,wo))),yi.create(Ba(Ta)).withDefault((t=>ph(t,xo,wo,wo))),yi.create(Ba(Oa)).withDefault((t=>ph(t,ml(go,.2),ml(Co,.2),ml(Co,.2)))),yi.create(Ba(Ra)).withDefault((t=>ph(t,ml(fo,.07),Io,Io))),yi.create(Ba(Fa)).withDefault((t=>ph(t,go,Co,Co))),yi.create(Ba(Na)).withDefault((t=>ph(t,"#e6e6e6",uo,uo))),yi.create(Ba(La)).withDefault((t=>ph(t,lo,ml(fo,.1),ml(fo,.1))))
|
|
1139
1139
|
const Vl=yi.create(Ba(pr)).withDefault("32px"),zl=yi.create(Ba(fr)).withDefault("24px"),Hl=yi.create(Ba(mr)).withDefault("4px"),Ul=yi.create(Ba(gr)).withDefault("8px"),ql=yi.create(Ba(vr)).withDefault("16px"),jl=yi.create(Ba(br)).withDefault("24px")
|
|
1140
1140
|
yi.create(Ba(yr)).withDefault("16px")
|
|
1141
1141
|
const Wl=yi.create(Ba(wr)).withDefault("1px"),Gl=yi.create(Ba(xr)).withDefault("16px"),Zl=yi.create(Ba(kr)).withDefault("784px"),Kl=yi.create(Ba(Sr)).withDefault("400px"),Yl=yi.create(Ba(_r)).withDefault("fit-content"),Xl=yi.create(Ba(Ir)).withDefault("600px")
|
|
1142
1142
|
yi.create(Ba(Mr)).withDefault("1024px"),yi.create(Ba($r)).withDefault("680px"),yi.create(Ba(Dr)).withDefault("680px")
|
|
1143
1143
|
const Jl=yi.create(Ba(Er)).withDefault("176px")
|
|
1144
1144
|
yi.create(Ba(Ar)).withDefault("1px")
|
|
1145
|
-
const Ql=yi.create(Ba(
|
|
1146
|
-
yi.create(Ba(
|
|
1145
|
+
const Ql=yi.create(Ba(Tr)).withDefault("16px")
|
|
1146
|
+
yi.create(Ba(Or)).withDefault("32px"),yi.create(Ba(Rr)).withDefault("64px")
|
|
1147
1147
|
const tc=yi.create(Ba(Fr)).withDefault("480px")
|
|
1148
1148
|
yi.create(Ba(ca)).withDefault((t=>`0px 1px 4px ${ml(ph(t,po,po,po),.16)}`))
|
|
1149
1149
|
const ec=yi.create(Ba(da)).withDefault((t=>`0px 2px 4px ${ml(ph(t,po,po,po),.16)}`)),nc=yi.create(Ba(ha)).withDefault((t=>`0px 4px 8px ${ml(ph(t,po,po,po),.3)}`))
|
|
1150
1150
|
uh(Vr,(t=>gh(t)),(t=>ml(gh(t),.3)),"Noto Serif","400","25px","32px"),uh(Pr,(t=>gh(t)),(t=>ml(gh(t),.3)),"Noto Serif","400","29.1px","40px"),uh(Hr,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","400","25px","32px")
|
|
1151
1151
|
const[ic,sc,oc,rc,ac,lc,cc]=uh(Ur,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","400","22px","28px")
|
|
1152
1152
|
uh(qr,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","400","19px","24px")
|
|
1153
|
-
const[dc,hc,uc,pc,fc,mc,gc]=uh(jr,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","300","16px","20px"),[vc,bc,yc,wc,xc,Cc,kc]=uh(Wr,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","300","12.8px","16px"),[Sc,_c,Ic,Mc,$c,Dc,Ec]=uh(Gr,(t=>gh(t)),(t=>ml(gh(t),.3)),Eo,Ao,
|
|
1153
|
+
const[dc,hc,uc,pc,fc,mc,gc]=uh(jr,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","300","16px","20px"),[vc,bc,yc,wc,xc,Cc,kc]=uh(Wr,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","300","12.8px","16px"),[Sc,_c,Ic,Mc,$c,Dc,Ec]=uh(Gr,(t=>gh(t)),(t=>ml(gh(t),.3)),Eo,Ao,Oo,Fo),[Ac,Tc,Oc,Rc,Fc,Nc,Lc]=uh(Zr,(t=>ph(t,go,go,ml(co,.75))),(t=>ml(gh(t),.3)),Eo,Ao,Oo,Fo),[Bc,Pc,Vc,zc,Hc,Uc,qc]=uh(Kr,(t=>ph(t,wo,Co,co)),(t=>ml(gh(t),.3)),Eo,Ao,Oo,Fo),[jc,Wc,Gc,Zc,Kc,Yc,Xc]=uh(Yr,(t=>ph(t,go,go,ml(co,.75))),(t=>ml(gh(t),.3)),Eo,Ao,Oo,Fo),[Jc,Qc,td,ed,nd,id,sd]=uh(Xr,(t=>ml(gh(t),.6)),(t=>ml(gh(t),.3)),"Source Sans Pro","400","14px","18px"),[od,rd,ad,ld,cd,dd,hd]=uh(Jr,(t=>gh(t)),(t=>ml(gh(t),.3)),Do,"400",To,Ro),[ud,pd,fd,md,gd,vd,bd]=uh(Qr,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","600","14px","18px")
|
|
1154
1154
|
uh(ta,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","400","16px","16px"),uh(ea,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","600","16px","16px")
|
|
1155
|
-
const[yd,wd,xd,Cd,kd,Sd,_d]=uh(na,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","600","11px","16px"),[Id,Md,$d,Dd,Ed,Ad,
|
|
1156
|
-
uh(xa,(t=>ph(t,yo,Co,Co)),(t=>ml(gh(t),.3)),Do,"600",
|
|
1155
|
+
const[yd,wd,xd,Cd,kd,Sd,_d]=uh(na,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","600","11px","16px"),[Id,Md,$d,Dd,Ed,Ad,Td]=uh(ia,(t=>ml(gh(t),.6)),(t=>ml(gh(t),.3)),"Source Sans Pro","600","11px","16px"),[Od,Rd,Fd,Nd,Ld,Bd,Pd]=uh(sa,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","600","14px","16px"),[Vd,zd,Hd,Ud,qd,jd,Wd]=uh(oa,(t=>gh(t)),(t=>ml(gh(t),.3)),"Source Sans Pro","400","11px",No),[Gd,Zd,Kd,Yd,Xd,Jd,Qd]=uh(aa,(t=>fh(t)),(t=>ml(fh(t),.3)),"Source Sans Pro","400","11px",No),[th,eh,nh,ih,sh,oh,rh]=uh(zr,(t=>ml(gh(t),.6)),(t=>ml(gh(t),.3)),"Source Sans Pro","600","12.8px",No)
|
|
1156
|
+
uh(xa,(t=>ph(t,yo,Co,Co)),(t=>ml(gh(t),.3)),Do,"600",To,Ro)
|
|
1157
1157
|
const ah=yi.create(Ba(Cr)).withDefault("uppercase"),lh=yi.create(Ba(Nr)).withDefault("0.075s"),ch=yi.create(Ba(Lr)).withDefault("0.15s"),dh=yi.create(Ba(Br)).withDefault("0.25s")
|
|
1158
1158
|
function hh(t){const{r:e,g:n,b:i}=Js(t)
|
|
1159
1159
|
return`${255*e}, ${255*n}, ${255*i}`}function uh(t,e,n,i,s,o,r){if(""===t||""===i||""===s||""===o||""===r)throw new Error("createFontTokens parameter unexpectedly set to empty string")
|
|
@@ -1219,7 +1219,7 @@ default:return e}}function fh(t){return ph(t,oo,"#ff4646",co)}function mh(t){ret
|
|
|
1219
1219
|
|
|
1220
1220
|
@layer active {
|
|
1221
1221
|
.control:active {
|
|
1222
|
-
color: ${
|
|
1222
|
+
color: ${Tc};
|
|
1223
1223
|
text-decoration: underline;
|
|
1224
1224
|
box-shadow: none;
|
|
1225
1225
|
}
|
|
@@ -1327,7 +1327,7 @@ class Mh{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1327
1327
|
background-color: transparent;
|
|
1328
1328
|
height: ${Vl};
|
|
1329
1329
|
color: ${Rd};
|
|
1330
|
-
font: ${
|
|
1330
|
+
font: ${Od};
|
|
1331
1331
|
cursor: pointer;
|
|
1332
1332
|
white-space: nowrap;
|
|
1333
1333
|
outline: none;
|
|
@@ -1593,7 +1593,7 @@ class Mh{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1593
1593
|
${Dl.cssCustomProperty}: ${Fl};
|
|
1594
1594
|
}
|
|
1595
1595
|
}
|
|
1596
|
-
`)),
|
|
1596
|
+
`)),Th=Mt`
|
|
1597
1597
|
${Eh}
|
|
1598
1598
|
${Ah}
|
|
1599
1599
|
|
|
@@ -1613,8 +1613,8 @@ class Mh{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1613
1613
|
pointer-events: none;
|
|
1614
1614
|
}
|
|
1615
1615
|
`
|
|
1616
|
-
class
|
|
1617
|
-
const Rh=
|
|
1616
|
+
class Oh extends Bs{constructor(){super(...arguments),this.appearance=kh,this.contentHidden=!1,this.disabled=!1}}t([ft],Oh.prototype,"appearance",void 0),t([ft({attribute:"appearance-variant"})],Oh.prototype,"appearanceVariant",void 0),t([ft({attribute:"content-hidden",mode:"boolean"})],Oh.prototype,"contentHidden",void 0),t([ft({mode:"boolean"})],Oh.prototype,"disabled",void 0)
|
|
1617
|
+
const Rh=Oh.compose({baseName:"anchor-button",template:(t,e)=>Q`
|
|
1618
1618
|
<a
|
|
1619
1619
|
class="control"
|
|
1620
1620
|
part="control"
|
|
@@ -1654,7 +1654,7 @@ const Rh=Th.compose({baseName:"anchor-button",template:(t,e)=>Q`
|
|
|
1654
1654
|
</span>
|
|
1655
1655
|
${ae(0,e)}
|
|
1656
1656
|
</a>
|
|
1657
|
-
`,styles:
|
|
1657
|
+
`,styles:Th,shadowOptions:{delegatesFocus:!0}})
|
|
1658
1658
|
_i.getOrCreate().withPrefix("nimble").register(Rh())
|
|
1659
1659
|
const Fh=Mt`
|
|
1660
1660
|
${Ps("grid")}
|
|
@@ -1774,7 +1774,7 @@ const Bh=Mt`
|
|
|
1774
1774
|
|
|
1775
1775
|
:host {
|
|
1776
1776
|
position: relative;
|
|
1777
|
-
font: ${
|
|
1777
|
+
font: ${Od};
|
|
1778
1778
|
height: ${Vl};
|
|
1779
1779
|
color: ${rd};
|
|
1780
1780
|
align-items: center;
|
|
@@ -1995,7 +1995,7 @@ const qh=Uh.compose({baseName:"button",baseClass:Fn,template:(t,e)=>Q`
|
|
|
1995
1995
|
</button>
|
|
1996
1996
|
`,styles:Hh,shadowOptions:{delegatesFocus:!0}})
|
|
1997
1997
|
_i.getOrCreate().withPrefix("nimble").register(qh())
|
|
1998
|
-
const jh="nimble-button",Wh={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>'},Gh={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>'},Zh={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>'},Kh={name:"arrow_down_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.018 11 11 5.1 8.996 6.412 9 2H7v4.387L5 5.1zm0 0L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1zM14 9v5H2V9h3.871l.512 1H3v3h10v-3H9.643l.506-1z" class="cls-1"/></svg>'},Yh={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>'},Xh={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>'},Jh={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>'},Qh={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>'},tu={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>'},eu={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>'},nu={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>'},iu={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>'},su={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>'},ou={name:"arrow_right_thin_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.831 4.386-.706 1.127 3.128 1.837H2v1.3h8.365L7.49 10.528l.768 1.085L13.875 8z" class="cls-1"/></svg>'},ru={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>'},au={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>'},lu={name:"arrow_u_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m9.453 8.857-1.68-2.571h.908a3 3 0 0 1 0 6H3.11V14h5.571a4.714 4.714 0 0 0 0-9.429h-.908L9.453 2 2.604 5.403z" class="cls-1"/></svg>'},cu={name:"arrow_u_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.547 8.857 1.68-2.571H7.32a3 3 0 0 0 0 6h5.571V14H7.319a4.714 4.714 0 0 1 0-9.429h.908L6.547 2l6.849 3.403z" class="cls-1"/></svg>'},du={name:"arrow_u_up_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>'},hu={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>'},uu={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>'},pu={name:"arrow_up_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.982 2 5 7.9l2.004-1.312L7 11h2V6.613L11 7.9zm0 0L5 7.9l2.004-1.312L7 11h2V6.613L11 7.9zM14 9v5H2V9h4v1H3v3h10v-3h-3V9z" class="cls-1"/></svg>'},fu={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>'},mu={name:"arrow_up_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.436 10h1v3h-9V4h3v1h-2v7h7zm-3.42-6.173.298 1.296 2.92-.748L5.068 9.53l.925.926L11.13 5.33l-.52 2.532 1.31.225 1.2-5.839z" class="cls-1"/></svg>'},gu={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>'},vu={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>'},bu={name:"asterisk_5_x_5",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 5"><path d="m.721 4.076.813-1.372-1.429-.63.266-.84 1.527.349L2.05 0h.883l.154 1.583 1.541-.35.266.84-1.442.631.812 1.372-.715.519L2.5 3.376 1.435 4.595z" class="cls-1"/></svg>'},yu={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>'},wu={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>'},xu={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>'},Cu={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>'},ku={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>'},Su={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>'},_u={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>'},Iu={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>'},Mu={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>'},$u={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>'},Du={name:"calendar_clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 8.79V3h-2V2h-2v1H6V2H4v1H2v11h7.47c.545.35 1.19.559 1.885.559a3.5 3.5 0 0 0 3.5-3.5c0-.87-.33-1.657-.855-2.269M3 6h10v1.987a3.46 3.46 0 0 0-1.645-.428A3.5 3.5 0 0 0 8.445 13H3zm9.978 7.041a391 391 0 0 1-1.288-1.304.743.743 0 1 1 0-1.338l.908-.908c.081-.081.356-.149.49-.149 0 .09-.06.358-.134.462-.068.095-.791.822-.917.948a.75.75 0 0 1 0 .633l1.386 1.389s.312.327.268.625c-.208 0-.416-.06-.713-.358" class="cls-1"/></svg>'},Eu={name:"calendar_day_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 10H4V7h3zm7-7v11H2V3h2V2h2v1h4V2h2v1zm-1 3H3v7h10z" class="cls-1"/></svg>'},Au={name:"calendar_day_outline_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM7 7H4v3h3zM6 9H5V8h1z" class="cls-1"/></svg>'},Ou={name:"calendar_days_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>'},Tu={name:"calendar_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-5H4V7h8zm0 2H4V9h8zm0 2H4v-1h8z" class="cls-1"/></svg>'},Ru={name:"calendar_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-1H4V7h8z" class="cls-1"/></svg>'},Fu={name:"calendar_week_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="cls-3"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-4H4V7h8z" class="cls-1"/></g></svg>'},Nu={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>'},Lu={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>'},Bu={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>'},Pu={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>'},Vu={name:"check_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>'},zu={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>'},Hu={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>'},Uu={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>'},qu={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>'},ju={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>'},Wu={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>'},Gu={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>'},Zu={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>'},Ku={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>'},Yu={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>'},Xu={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>'},Ju={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>'},Qu={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>'},tp={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>'},ep={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>'},np={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>'},ip={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>'},sp={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>'},op={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>'},rp={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>'},ap={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>'},lp={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>'},cp={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>'},dp={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>'},hp={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>'},up={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>'},pp={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>'},fp={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>'},mp={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>'},gp={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>'},vp={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>'},bp={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>'},yp={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>'},wp={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>'},xp={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>'},Cp={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>'},kp={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>'},Sp={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>'},_p={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>'},Ip={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>'},Mp={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>'},$p={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>'},Dp={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>'},Ep={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>'},Ap={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>'},Op={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>'},Tp={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>'},Rp={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>'},Fp={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>'},Np={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>'},Lp={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.803 11H7V9H5v2H4V8h6v.617l1.469-1.471q.227-.224.514-.347L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497L7.372 12zM3 7V4h8v3zm11.166 1.935L13.09 7.859a.64.64 0 0 0-.908 0l-3.388 3.393-1.503 3.483 3.487-1.5 3.388-3.392a.64.64 0 0 0 0-.908m-5.683 4.803-.198-.199.916-2.116.34 1.06 1.058.35z" class="cls-1"/></svg>'},Pp={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>'},Vp={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>'},zp={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>'},Hp={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>'},Up={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>'},qp={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>'},jp={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>'},Wp={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>'},Gp={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>'},Zp={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>'},Kp={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>'},Yp={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>'},Xp={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>'},Jp={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>'},Qp={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>'},tf={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>'},ef={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>'},nf={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>'},sf={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>'},of={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>'},rf={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>'},af={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>'},lf={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>'},cf={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>'},df={name:"lightbulb_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 5.53C12 3.584 10.206 2 8 2S4 3.583 4 5.53c0 .736.256 1.44.74 2.04.801.99 1.285 2.456 1.555 3.427h3.41c.27-.97.754-2.437 1.556-3.428.483-.598.739-1.303.739-2.038M9.138 14H6.862l-.569-1.001v-.3l.285-.15-.285-.15v-.401h3.414v.4l-.285.15.285.15V13z" class="cls-1"/></svg>'},hf={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>'},uf={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>'},pf={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>'},ff={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>'},mf={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>'},gf={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>'},vf={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>'},bf={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>'},yf={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>'},wf={name:"microphone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 8V4a2 2 0 1 1 4 0v4a2 2 0 0 1-4 0m6 0v-.5a.5.5 0 1 0-1 0V8a3 3 0 1 1-6 0v-.5a.5.5 0 1 0-1 0V8c0 1.859 1.28 3.411 3 3.858V14h2v-2.142c1.72-.447 3-2 3-3.858" class="cls-1"/><path d="M6 8V4a2 2 0 1 1 4 0v4a2 2 0 0 1-4 0m6 0v-.5a.5.5 0 1 0-1 0V8a3 3 0 1 1-6 0v-.5a.5.5 0 1 0-1 0V8c0 1.859 1.28 3.411 3 3.858V14h2v-2.142c1.72-.447 3-2 3-3.858" class="cls-1"/></svg>'},xf={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>'},Cf={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>'},kf={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>'},Sf={name:"mountain_sun_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.457 10.097-1.468-3.011-1.195-1.026-.677.48-2.343-3.556L4.688 8.14l-1.204-.678-1.468 1.543L1 13h14zm-10.478-.2-.939 1.047.372-1.652.975-.993 2.722 3.04zm5.924.764L7.181 9.335l.17-1.958-2.192.896L7.605 4.19 9.4 7.06l-.11.943 1.197-1.038 2.228 4.345zM4.5 4.487a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0" class="cls-1"/></svg>'},_f={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>'},If={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>'},Mf={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>'},$f={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>'},Df={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>'},Ef={name:"paper_plane_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m1 12.5 2-4 6-1-6-1-2-4 14 5z" class="cls-1"/></svg>'},Af={name:"paperclip_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.5 14C6.406 14 5 12.393 5 10V5c0-1.822.981-3 2.5-3S10 3.178 10 5v3.98c0 1.328-.505 2-1.5 2s-1.5-.672-1.5-2V6h1v2.98c0 1 .266 1 .5 1s.5 0 .5-1V5c0-.602-.146-2-1.5-2S6 4.398 6 5v5c0 1.384.654 3 2.5 3s2.5-1.616 2.5-3V6h1v4c0 2.393-1.406 4-3.5 4"/></svg>'},Of={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>'},Tf={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>'},Rf={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.118 2.793 4.84 8.076 2.5 13.5l5.43-2.335 5.278-5.284a1 1 0 0 0-.001-1.414l-1.675-1.674a1 1 0 0 0-1.414 0m-5.76 9.154-.31-.309 1.427-3.296.53 1.652 1.648.543z" class="cls-1"/></svg>'},Ff={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>'},Nf={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>'},Lf={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>'},Bf={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>'},Pf={name:"rectangle_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 2v11h10V2zm6 7H5V8h4zm2-2H5V6h6zm0-2H5V4h6z" class="cls-1"/></svg>'},Vf={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>'},zf={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>'},Hf={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>'},Uf={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>'},qf={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>'},jf={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>'},Gf={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>'},Zf={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>'},Yf={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>'},Xf={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>'},Jf={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>'},Qf={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>'},tm={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>'},em={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>'},nm={name:"star_8_point_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.756 6.872 15 8.002 10.754 9.13l1.722 3.335-3.31-1.74L8.046 15l-1.118-4.276-3.312 1.736 1.727-3.332L1 7.996 5.343 6.87 3.621 3.535l3.308 1.74L8.052 1l1.12 4.276 3.31-1.734z" class="cls-1"/></svg>'},im={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>'},sm={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>'},om={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>'},rm={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>'},am={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>'},lm={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>'},cm={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>'},dm={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>'},hm={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>'},um={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>'},pm={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>'},fm={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>'},mm={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>'},gm={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>'},vm={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>'},bm={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>'},ym={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>'},wm={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>'},xm={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>'},Cm={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>'},km={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>'},Sm={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>'},_m={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>'},Im={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>'},Mm={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>'},$m={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>'},Dm={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>'},Em={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>'},Am={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>'},Om={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>'},Tm={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>'},Rm={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>'},Fm={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>'},Nm={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>'},Lm={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>'},Bm=Q`<div
|
|
1998
|
+
const jh="nimble-button",Wh={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>'},Gh={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>'},Zh={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>'},Kh={name:"arrow_down_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.018 11 11 5.1 8.996 6.412 9 2H7v4.387L5 5.1zm0 0L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1zM14 9v5H2V9h3.871l.512 1H3v3h10v-3H9.643l.506-1z" class="cls-1"/></svg>'},Yh={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>'},Xh={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>'},Jh={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>'},Qh={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>'},tu={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>'},eu={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>'},nu={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>'},iu={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>'},su={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>'},ou={name:"arrow_right_thin_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m7.831 4.386-.706 1.127 3.128 1.837H2v1.3h8.365L7.49 10.528l.768 1.085L13.875 8z" class="cls-1"/></svg>'},ru={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>'},au={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>'},lu={name:"arrow_u_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m9.453 8.857-1.68-2.571h.908a3 3 0 0 1 0 6H3.11V14h5.571a4.714 4.714 0 0 0 0-9.429h-.908L9.453 2 2.604 5.403z" class="cls-1"/></svg>'},cu={name:"arrow_u_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m6.547 8.857 1.68-2.571H7.32a3 3 0 0 0 0 6h5.571V14H7.319a4.714 4.714 0 0 1 0-9.429h.908L6.547 2l6.849 3.403z" class="cls-1"/></svg>'},du={name:"arrow_u_up_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>'},hu={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>'},uu={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>'},pu={name:"arrow_up_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.982 2 5 7.9l2.004-1.312L7 11h2V6.613L11 7.9zm0 0L5 7.9l2.004-1.312L7 11h2V6.613L11 7.9zM14 9v5H2V9h4v1H3v3h10v-3h-3V9z" class="cls-1"/></svg>'},fu={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>'},mu={name:"arrow_up_right_from_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.436 10h1v3h-9V4h3v1h-2v7h7zm-3.42-6.173.298 1.296 2.92-.748L5.068 9.53l.925.926L11.13 5.33l-.52 2.532 1.31.225 1.2-5.839z" class="cls-1"/></svg>'},gu={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>'},vu={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>'},bu={name:"asterisk_5_x_5",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 5"><path d="m.721 4.076.813-1.372-1.429-.63.266-.84 1.527.349L2.05 0h.883l.154 1.583 1.541-.35.266.84-1.442.631.812 1.372-.715.519L2.5 3.376 1.435 4.595z" class="cls-1"/></svg>'},yu={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>'},wu={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>'},xu={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>'},Cu={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>'},ku={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>'},Su={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>'},_u={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>'},Iu={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>'},Mu={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>'},$u={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>'},Du={name:"calendar_clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M14 8.79V3h-2V2h-2v1H6V2H4v1H2v11h7.47c.545.35 1.19.559 1.885.559a3.5 3.5 0 0 0 3.5-3.5c0-.87-.33-1.657-.855-2.269M3 6h10v1.987a3.46 3.46 0 0 0-1.645-.428A3.5 3.5 0 0 0 8.445 13H3zm9.978 7.041a391 391 0 0 1-1.288-1.304.743.743 0 1 1 0-1.338l.908-.908c.081-.081.356-.149.49-.149 0 .09-.06.358-.134.462-.068.095-.791.822-.917.948a.75.75 0 0 1 0 .633l1.386 1.389s.312.327.268.625c-.208 0-.416-.06-.713-.358" class="cls-1"/></svg>'},Eu={name:"calendar_day_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7 10H4V7h3zm7-7v11H2V3h2V2h2v1h4V2h2v1zm-1 3H3v7h10z" class="cls-1"/></svg>'},Au={name:"calendar_day_outline_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zM7 7H4v3h3zM6 9H5V8h1z" class="cls-1"/></svg>'},Tu={name:"calendar_days_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>'},Ou={name:"calendar_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-5H4V7h8zm0 2H4V9h8zm0 2H4v-1h8z" class="cls-1"/></svg>'},Ru={name:"calendar_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-1H4V7h8z" class="cls-1"/></svg>'},Fu={name:"calendar_week_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><g class="cls-3"><path d="M12 3V2h-2v1H6V2H4v1H2v11h12V3zm1 10H3V6h10zm-1-4H4V7h8z" class="cls-1"/></g></svg>'},Nu={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>'},Lu={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>'},Bu={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>'},Pu={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>'},Vu={name:"check_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>'},zu={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>'},Hu={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>'},Uu={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>'},qu={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>'},ju={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>'},Wu={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>'},Gu={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>'},Zu={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>'},Ku={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>'},Yu={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>'},Xu={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>'},Ju={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>'},Qu={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>'},tp={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>'},ep={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>'},np={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>'},ip={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>'},sp={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>'},op={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>'},rp={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>'},ap={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>'},lp={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>'},cp={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>'},dp={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>'},hp={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>'},up={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>'},pp={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>'},fp={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>'},mp={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>'},gp={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>'},vp={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>'},bp={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>'},yp={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>'},wp={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>'},xp={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>'},Cp={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>'},kp={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>'},Sp={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>'},_p={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>'},Ip={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>'},Mp={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>'},$p={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>'},Dp={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>'},Ep={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>'},Ap={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>'},Tp={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>'},Op={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>'},Rp={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>'},Fp={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>'},Np={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>'},Lp={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.803 11H7V9H5v2H4V8h6v.617l1.469-1.471q.227-.224.514-.347L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497L7.372 12zM3 7V4h8v3zm11.166 1.935L13.09 7.859a.64.64 0 0 0-.908 0l-3.388 3.393-1.503 3.483 3.487-1.5 3.388-3.392a.64.64 0 0 0 0-.908m-5.683 4.803-.198-.199.916-2.116.34 1.06 1.058.35z" class="cls-1"/></svg>'},Pp={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>'},Vp={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>'},zp={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>'},Hp={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>'},Up={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>'},qp={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>'},jp={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>'},Wp={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>'},Gp={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>'},Zp={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>'},Kp={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>'},Yp={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>'},Xp={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>'},Jp={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>'},Qp={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>'},tf={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>'},ef={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>'},nf={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>'},sf={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>'},of={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>'},rf={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>'},af={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>'},lf={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>'},cf={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>'},df={name:"lightbulb_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12 5.53C12 3.584 10.206 2 8 2S4 3.583 4 5.53c0 .736.256 1.44.74 2.04.801.99 1.285 2.456 1.555 3.427h3.41c.27-.97.754-2.437 1.556-3.428.483-.598.739-1.303.739-2.038M9.138 14H6.862l-.569-1.001v-.3l.285-.15-.285-.15v-.401h3.414v.4l-.285.15.285.15V13z" class="cls-1"/></svg>'},hf={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>'},uf={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>'},pf={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>'},ff={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>'},mf={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>'},gf={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>'},vf={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>'},bf={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>'},yf={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>'},wf={name:"microphone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M6 8V4a2 2 0 1 1 4 0v4a2 2 0 0 1-4 0m6 0v-.5a.5.5 0 1 0-1 0V8a3 3 0 1 1-6 0v-.5a.5.5 0 1 0-1 0V8c0 1.859 1.28 3.411 3 3.858V14h2v-2.142c1.72-.447 3-2 3-3.858" class="cls-1"/><path d="M6 8V4a2 2 0 1 1 4 0v4a2 2 0 0 1-4 0m6 0v-.5a.5.5 0 1 0-1 0V8a3 3 0 1 1-6 0v-.5a.5.5 0 1 0-1 0V8c0 1.859 1.28 3.411 3 3.858V14h2v-2.142c1.72-.447 3-2 3-3.858" class="cls-1"/></svg>'},xf={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>'},Cf={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>'},kf={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>'},Sf={name:"mountain_sun_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m13.457 10.097-1.468-3.011-1.195-1.026-.677.48-2.343-3.556L4.688 8.14l-1.204-.678-1.468 1.543L1 13h14zm-10.478-.2-.939 1.047.372-1.652.975-.993 2.722 3.04zm5.924.764L7.181 9.335l.17-1.958-2.192.896L7.605 4.19 9.4 7.06l-.11.943 1.197-1.038 2.228 4.345zM4.5 4.487a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0" class="cls-1"/></svg>'},_f={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>'},If={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>'},Mf={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>'},$f={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>'},Df={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>'},Ef={name:"paper_plane_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="m1 12.5 2-4 6-1-6-1-2-4 14 5z" class="cls-1"/></svg>'},Af={name:"paperclip_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8.5 14C6.406 14 5 12.393 5 10V5c0-1.822.981-3 2.5-3S10 3.178 10 5v3.98c0 1.328-.505 2-1.5 2s-1.5-.672-1.5-2V6h1v2.98c0 1 .266 1 .5 1s.5 0 .5-1V5c0-.602-.146-2-1.5-2S6 4.398 6 5v5c0 1.384.654 3 2.5 3s2.5-1.616 2.5-3V6h1v4c0 2.393-1.406 4-3.5 4"/></svg>'},Tf={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>'},Of={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>'},Rf={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.118 2.793 4.84 8.076 2.5 13.5l5.43-2.335 5.278-5.284a1 1 0 0 0-.001-1.414l-1.675-1.674a1 1 0 0 0-1.414 0m-5.76 9.154-.31-.309 1.427-3.296.53 1.652 1.648.543z" class="cls-1"/></svg>'},Ff={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>'},Nf={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>'},Lf={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>'},Bf={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>'},Pf={name:"rectangle_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M3 2v11h10V2zm6 7H5V8h4zm2-2H5V6h6zm0-2H5V4h6z" class="cls-1"/></svg>'},Vf={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>'},zf={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>'},Hf={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>'},Uf={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>'},qf={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>'},jf={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>'},Gf={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>'},Zf={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>'},Yf={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>'},Xf={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>'},Jf={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>'},Qf={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>'},tm={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>'},em={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>'},nm={name:"star_8_point_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M10.756 6.872 15 8.002 10.754 9.13l1.722 3.335-3.31-1.74L8.046 15l-1.118-4.276-3.312 1.736 1.727-3.332L1 7.996 5.343 6.87 3.621 3.535l3.308 1.74L8.052 1l1.12 4.276 3.31-1.734z" class="cls-1"/></svg>'},im={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>'},sm={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>'},om={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>'},rm={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>'},am={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>'},lm={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>'},cm={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>'},dm={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>'},hm={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>'},um={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>'},pm={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>'},fm={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>'},mm={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>'},gm={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>'},vm={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>'},bm={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>'},ym={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>'},wm={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>'},xm={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>'},Cm={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>'},km={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>'},Sm={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>'},_m={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>'},Im={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>'},Mm={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>'},$m={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>'},Dm={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>'},Em={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>'},Am={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>'},Tm={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>'},Om={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>'},Rm={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>'},Fm={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>'},Nm={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>'},Lm={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>'},Bm=Q`<div
|
|
1999
1999
|
class="icon"
|
|
2000
2000
|
aria-hidden="true"
|
|
2001
2001
|
:innerHTML=${t=>t.icon.data}
|
|
@@ -2226,7 +2226,7 @@ const gg=Mt`
|
|
|
2226
2226
|
display: none;
|
|
2227
2227
|
}
|
|
2228
2228
|
`
|
|
2229
|
-
class vg extends Bs{constructor(){super(...arguments),this.selected=!1,this.disabled=!1}isNestedItem(){return
|
|
2229
|
+
class vg extends Bs{constructor(){super(...arguments),this.selected=!1,this.disabled=!1}isNestedItem(){return Os(this.parentElement)}handleFocus(t){this.setAttribute("tabindex","0")}handleBlur(t){this.setAttribute("tabindex","-1")}keydownHandler(t){if(t.defaultPrevented)return!1
|
|
2230
2230
|
switch(t.key){case Za:t.stopPropagation()
|
|
2231
2231
|
break
|
|
2232
2232
|
case qa:this.parentElement&&this.isNestedItem()&&Rs.focusItem(this.parentElement)}return!0}clickHandler(t){return!t.defaultPrevented&&(t.stopPropagation(),!0)}selectedChanged(t,e){this.$fastController.isConnected&&this.$emit("selected-change",this)}}t([ft({mode:"boolean"})],vg.prototype,"selected",void 0),t([ft({mode:"boolean"})],vg.prototype,"disabled",void 0)
|
|
@@ -2415,7 +2415,7 @@ const Dg="nimble-icon-info"
|
|
|
2415
2415
|
Hm("icon-triangle-filled",class extends zm{constructor(){super(ym)}})
|
|
2416
2416
|
const Eg="nimble-icon-triangle-filled"
|
|
2417
2417
|
Hm("icon-times",class extends zm{constructor(){super(gm)}})
|
|
2418
|
-
const Ag="nimble-icon-times",
|
|
2418
|
+
const Ag="nimble-icon-times",Tg={default:void 0,error:"error",warning:"warning",information:"information"},Og=Q`
|
|
2419
2419
|
<${fl} theme="${Lo.color}">
|
|
2420
2420
|
<div class="container"
|
|
2421
2421
|
role="status"
|
|
@@ -2441,13 +2441,13 @@ const Ag="nimble-icon-times",Og={default:void 0,error:"error",warning:"warning",
|
|
|
2441
2441
|
aria-roledescription="${t=>t.ariaRoledescription}"
|
|
2442
2442
|
>
|
|
2443
2443
|
<div class="icon">
|
|
2444
|
-
${Gt((t=>t.severity===
|
|
2444
|
+
${Gt((t=>t.severity===Tg.error),Q`
|
|
2445
2445
|
<${$g} role="img" aria-label="${t=>og.getValueFor(t)}"></${$g}>
|
|
2446
2446
|
`)}
|
|
2447
|
-
${Gt((t=>t.severity===
|
|
2447
|
+
${Gt((t=>t.severity===Tg.warning),Q`
|
|
2448
2448
|
<${Eg} role="img" aria-label="${t=>rg.getValueFor(t)}"></${Eg}>
|
|
2449
2449
|
`)}
|
|
2450
|
-
${Gt((t=>t.severity===
|
|
2450
|
+
${Gt((t=>t.severity===Tg.information),Q`
|
|
2451
2451
|
<${Dg} role="img" aria-label="${t=>ag.getValueFor(t)}"></${Dg}>
|
|
2452
2452
|
`)}
|
|
2453
2453
|
</div>
|
|
@@ -2469,9 +2469,9 @@ const Ag="nimble-icon-times",Og={default:void 0,error:"error",warning:"warning",
|
|
|
2469
2469
|
</div>
|
|
2470
2470
|
</${fl}>
|
|
2471
2471
|
`
|
|
2472
|
-
class Rg extends We{constructor(){super(...arguments),this.open=!1,this.severity=
|
|
2472
|
+
class Rg extends We{constructor(){super(...arguments),this.open=!1,this.severity=Tg.default,this.titleHidden=!1,this.preventDismiss=!1}openChanged(){const t={newState:this.open,oldState:!this.open}
|
|
2473
2473
|
this.$emit("toggle",t)}dismissBanner(){this.open=!1}}t([ft({mode:"boolean"})],Rg.prototype,"open",void 0),t([ft()],Rg.prototype,"severity",void 0),t([ft({attribute:"title-hidden",mode:"boolean"})],Rg.prototype,"titleHidden",void 0),t([ft({attribute:"prevent-dismiss",mode:"boolean"})],Rg.prototype,"preventDismiss",void 0),Ke(Rg,wn)
|
|
2474
|
-
const Fg=Rg.compose({baseName:"banner",template:
|
|
2474
|
+
const Fg=Rg.compose({baseName:"banner",template:Og,styles:Mg})
|
|
2475
2475
|
_i.getOrCreate().withPrefix("nimble").register(Fg())
|
|
2476
2476
|
const Ng=Mt`
|
|
2477
2477
|
${Ps("inline-block")}
|
|
@@ -2574,7 +2574,7 @@ const Pg=Mt`
|
|
|
2574
2574
|
|
|
2575
2575
|
@layer active {
|
|
2576
2576
|
.control:active {
|
|
2577
|
-
color: ${
|
|
2577
|
+
color: ${Tc};
|
|
2578
2578
|
text-decoration: underline;
|
|
2579
2579
|
box-shadow: none;
|
|
2580
2580
|
}
|
|
@@ -2651,7 +2651,7 @@ const zg=Mt`
|
|
|
2651
2651
|
flex-direction: column;
|
|
2652
2652
|
gap: ${jl};
|
|
2653
2653
|
padding: ${jl};
|
|
2654
|
-
border: 2px solid ${
|
|
2654
|
+
border: 2px solid ${Tl};
|
|
2655
2655
|
border-radius: 8px;
|
|
2656
2656
|
font: ${od};
|
|
2657
2657
|
color: ${rd};
|
|
@@ -2680,7 +2680,7 @@ const qg=Mt`
|
|
|
2680
2680
|
:host {
|
|
2681
2681
|
background-color: transparent;
|
|
2682
2682
|
color: ${Rd};
|
|
2683
|
-
font: ${
|
|
2683
|
+
font: ${Od};
|
|
2684
2684
|
cursor: pointer;
|
|
2685
2685
|
outline: none;
|
|
2686
2686
|
border: none;
|
|
@@ -3939,10 +3939,10 @@ class Av extends We{constructor(){super(...arguments),this.location=Ev,this.prev
|
|
|
3939
3939
|
return this.openDialog(),await new Promise(((t,e)=>{this.resolveShow=t}))}close(t){if(!this.open||this.closing)throw new Error("Drawer is not open or already closing")
|
|
3940
3940
|
this.closeReason=t,this.closeDialog()}cancelHandler(t){return t.preventDefault(),this.preventDismiss||(this.closeReason=kv,this.closeDialog()),!0}closeHandler(t){t.target===this.dialog&&this.resolveShow&&this.doResolveShow(kv)}doResolveShow(t){if(!this.resolveShow)throw new Error("Do not call doResolveShow unless there is a promise to resolve")
|
|
3941
3941
|
this.resolveShow(t),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(za,this.animationEndHandlerFunction)}animationEndHandler(){this.dialog.removeEventListener(za,this.animationEndHandlerFunction),this.dialog.classList.remove("animating"),this.closing&&(this.dialog.classList.remove("closing"),this.dialog.close(),this.closing=!1,this.doResolveShow(this.closeReason))}}Av.UserDismissed=kv,t([ft],Av.prototype,"location",void 0),t([ft({attribute:"prevent-dismiss",mode:"boolean"})],Av.prototype,"preventDismiss",void 0),Ke(Av,wn)
|
|
3942
|
-
const
|
|
3943
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
3942
|
+
const Tv=Av.compose({baseName:"drawer",template:Dv,styles:$v})
|
|
3943
|
+
_i.getOrCreate().withPrefix("nimble").register(Tv())
|
|
3944
3944
|
Hm("icon-add",class extends zm{constructor(){super(Wh)}})
|
|
3945
|
-
const
|
|
3945
|
+
const Ov="nimble-icon-add"
|
|
3946
3946
|
Hm("icon-arrow-down",class extends zm{constructor(){super(Gh)}})
|
|
3947
3947
|
const Rv="nimble-icon-arrow-down"
|
|
3948
3948
|
Hm("icon-arrow-down-left-and-arrow-up-right",class extends zm{constructor(){super(Zh)}})
|
|
@@ -3981,8 +3981,8 @@ Hm("icon-calendar-check-lines",class extends zm{constructor(){super($u)}})
|
|
|
3981
3981
|
Hm("icon-calendar-clock",class extends zm{constructor(){super(Du)}})
|
|
3982
3982
|
Hm("icon-calendar-day",class extends zm{constructor(){super(Eu)}})
|
|
3983
3983
|
Hm("icon-calendar-day-outline",class extends zm{constructor(){super(Au)}})
|
|
3984
|
-
Hm("icon-calendar-days",class extends zm{constructor(){super(
|
|
3985
|
-
Hm("icon-calendar-lines",class extends zm{constructor(){super(
|
|
3984
|
+
Hm("icon-calendar-days",class extends zm{constructor(){super(Tu)}})
|
|
3985
|
+
Hm("icon-calendar-lines",class extends zm{constructor(){super(Ou)}})
|
|
3986
3986
|
Hm("icon-calendar-rectangle",class extends zm{constructor(){super(Ru)}})
|
|
3987
3987
|
Hm("icon-calendar-week",class extends zm{constructor(){super(Fu)}})
|
|
3988
3988
|
Hm("icon-chart-diagram",class extends zm{constructor(){super(Nu)}})
|
|
@@ -4034,8 +4034,8 @@ Hm("icon-eye",class extends zm{constructor(){super($p)}})
|
|
|
4034
4034
|
Hm("icon-eye-dash",class extends zm{constructor(){super(Dp)}})
|
|
4035
4035
|
Hm("icon-fancy-a",class extends zm{constructor(){super(Ep)}})
|
|
4036
4036
|
Hm("icon-file",class extends zm{constructor(){super(Ap)}})
|
|
4037
|
-
Hm("icon-file-arrow-curved-right",class extends zm{constructor(){super(
|
|
4038
|
-
Hm("icon-file-drawer",class extends zm{constructor(){super(
|
|
4037
|
+
Hm("icon-file-arrow-curved-right",class extends zm{constructor(){super(Tp)}})
|
|
4038
|
+
Hm("icon-file-drawer",class extends zm{constructor(){super(Op)}})
|
|
4039
4039
|
Hm("icon-file-search",class extends zm{constructor(){super(Rp)}})
|
|
4040
4040
|
Hm("icon-filter",class extends zm{constructor(){super(Fp)}})
|
|
4041
4041
|
Hm("icon-floppy-disk",class extends zm{constructor(){super(Np)}})
|
|
@@ -4091,8 +4091,8 @@ Hm("icon-outdent",class extends zm{constructor(){super($f)}})
|
|
|
4091
4091
|
Hm("icon-outward-squares-three",class extends zm{constructor(){super(Df)}})
|
|
4092
4092
|
Hm("icon-paper-plane",class extends zm{constructor(){super(Ef)}})
|
|
4093
4093
|
Hm("icon-paperclip",class extends zm{constructor(){super(Af)}})
|
|
4094
|
-
Hm("icon-paste",class extends zm{constructor(){super(
|
|
4095
|
-
Hm("icon-pause",class extends zm{constructor(){super(
|
|
4094
|
+
Hm("icon-paste",class extends zm{constructor(){super(Tf)}})
|
|
4095
|
+
Hm("icon-pause",class extends zm{constructor(){super(Of)}})
|
|
4096
4096
|
Hm("icon-pencil",class extends zm{constructor(){super(Rf)}})
|
|
4097
4097
|
Hm("icon-play",class extends zm{constructor(){super(Ff)}})
|
|
4098
4098
|
Hm("icon-pot-with-lid",class extends zm{constructor(){super(Nf)}})
|
|
@@ -4146,8 +4146,8 @@ Hm("icon-user",class extends zm{constructor(){super($m)}})
|
|
|
4146
4146
|
Hm("icon-watch",class extends zm{constructor(){super(Dm)}})
|
|
4147
4147
|
Hm("icon-waveform",class extends zm{constructor(){super(Em)}})
|
|
4148
4148
|
Hm("icon-webvi-custom",class extends zm{constructor(){super(Am)}})
|
|
4149
|
-
Hm("icon-webvi-host",class extends zm{constructor(){super(
|
|
4150
|
-
Hm("icon-window-code",class extends zm{constructor(){super(
|
|
4149
|
+
Hm("icon-webvi-host",class extends zm{constructor(){super(Tm)}})
|
|
4150
|
+
Hm("icon-window-code",class extends zm{constructor(){super(Om)}})
|
|
4151
4151
|
Hm("icon-window-text",class extends zm{constructor(){super(Rm)}})
|
|
4152
4152
|
Hm("icon-wrench-hammer",class extends zm{constructor(){super(Fm)}})
|
|
4153
4153
|
Hm("icon-xmark",class extends zm{constructor(){super(Nm)}})
|
|
@@ -4234,13 +4234,13 @@ const Ab=Mt`
|
|
|
4234
4234
|
[part='end'] {
|
|
4235
4235
|
display: none;
|
|
4236
4236
|
}
|
|
4237
|
-
`,
|
|
4238
|
-
class
|
|
4237
|
+
`,Tb=t=>t.assignedNodes().map((t=>t.textContent?.trim())).filter((t=>void 0!==t&&""!==t)).join(" ")
|
|
4238
|
+
class Ob extends Hn{constructor(){super(...arguments),this.hidden=!1,this.visuallyHidden=!1,this.activeOption=!1,this.hasOverflow=!1}get elementTextContent(){return Tb(this.contentSlot)}connectedCallback(){super.connectedCallback()
|
|
4239
4239
|
const t=this.getListOptionOwner()
|
|
4240
4240
|
t?.registerOption(this)}getListOptionOwner(){let t=this.parentElement
|
|
4241
4241
|
for(;t;){if(this.isListOptionOwner(t))return t
|
|
4242
|
-
t=t.parentElement}}isListOptionOwner(t){return!!t&&"function"==typeof t.registerOption}}t([ft({mode:"boolean"})],
|
|
4243
|
-
const Rb=
|
|
4242
|
+
t=t.parentElement}}isListOptionOwner(t){return!!t&&"function"==typeof t.registerOption}}t([ft({mode:"boolean"})],Ob.prototype,"hidden",void 0),t([ft({attribute:"visually-hidden",mode:"boolean"})],Ob.prototype,"visuallyHidden",void 0),t([ft({attribute:"active-option",mode:"boolean"})],Ob.prototype,"activeOption",void 0),t([C],Ob.prototype,"hasOverflow",void 0)
|
|
4243
|
+
const Rb=Ob.compose({baseName:"list-option",baseClass:Hn,template:(t,e)=>Q`
|
|
4244
4244
|
<template
|
|
4245
4245
|
aria-checked="${t=>t.ariaChecked}"
|
|
4246
4246
|
aria-disabled="${t=>t.ariaDisabled}"
|
|
@@ -4341,12 +4341,12 @@ const Fb="nimble-list-option",Nb=Mt`
|
|
|
4341
4341
|
</span>
|
|
4342
4342
|
<span class="content" part="content" role="none">
|
|
4343
4343
|
<slot name="option"
|
|
4344
|
-
${ie({flatten:!0,filter:t=>(t=>t instanceof
|
|
4344
|
+
${ie({flatten:!0,filter:t=>(t=>t instanceof Ob)(t),property:"listOptions"})}
|
|
4345
4345
|
></slot>
|
|
4346
4346
|
</span>
|
|
4347
4347
|
</template>
|
|
4348
4348
|
`
|
|
4349
|
-
class Bb extends We{constructor(){super(...arguments),this.hidden=!1,this.visuallyHidden=!1,this.topSeparatorVisible=!1,this.bottomSeparatorVisible=!1,this.hasOverflow=!1,this.hiddenOptions=new Set}get labelContent(){return this.label?this.label:this.$fastController.isConnected?
|
|
4349
|
+
class Bb extends We{constructor(){super(...arguments),this.hidden=!1,this.visuallyHidden=!1,this.topSeparatorVisible=!1,this.bottomSeparatorVisible=!1,this.hasOverflow=!1,this.hiddenOptions=new Set}get labelContent(){return this.label?this.label:this.$fastController.isConnected?Tb(this.labelSlot):""}clickHandler(t){t.preventDefault(),t.stopImmediatePropagation()}handleChange(t,e){t instanceof Ob&&("hidden"===e||"visuallyHidden"===e)&&(t.hidden||t.visuallyHidden?this.hiddenOptions.add(t):this.hiddenOptions.delete(t),this.visuallyHidden=this.hiddenOptions.size===this.listOptions.length)}listOptionsChanged(t,e){this.hiddenOptions.clear(),e.filter((t=>t.hidden||t.visuallyHidden)).forEach((t=>this.hiddenOptions.add(t))),t?.forEach((t=>{const e=x.getNotifier(t)
|
|
4350
4350
|
e.unsubscribe(this,"hidden"),e.unsubscribe(this,"visuallyHidden")}))
|
|
4351
4351
|
let n=!0
|
|
4352
4352
|
e?.forEach((t=>{const e=x.getNotifier(t)
|
|
@@ -4985,9 +4985,9 @@ const my=fy.compose({baseName:"number-field",baseClass:Zi,template:(t,e)=>Q`
|
|
|
4985
4985
|
aria-hidden="true"
|
|
4986
4986
|
>
|
|
4987
4987
|
${t=>sg.getValueFor(t)}
|
|
4988
|
-
<${
|
|
4988
|
+
<${Ov}
|
|
4989
4989
|
slot="start">
|
|
4990
|
-
</${
|
|
4990
|
+
</${Ov}>
|
|
4991
4991
|
</${jh}>
|
|
4992
4992
|
`,end:Q`
|
|
4993
4993
|
<${$g}
|
|
@@ -5129,7 +5129,7 @@ const by=Mt`
|
|
|
5129
5129
|
|
|
5130
5130
|
.label-container {
|
|
5131
5131
|
display: flex;
|
|
5132
|
-
min-height: ${
|
|
5132
|
+
min-height: ${Td};
|
|
5133
5133
|
gap: ${Hl};
|
|
5134
5134
|
margin-bottom: ${Hl};
|
|
5135
5135
|
}
|
|
@@ -5265,8 +5265,8 @@ if(e instanceof t)return[e]
|
|
|
5265
5265
|
let n=e.slice()
|
|
5266
5266
|
return n.sort(((t,e)=>t.type.rank-e.type.rank)),n}}
|
|
5267
5267
|
Dy.none=[]
|
|
5268
|
-
class Ey extends Error{}class Ay{constructor(t,e,n){this.content=t,this.openStart=e,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let n=
|
|
5269
|
-
return n&&new Ay(n,this.openStart,this.openEnd)}removeBetween(t,e){return new Ay(
|
|
5268
|
+
class Ey extends Error{}class Ay{constructor(t,e,n){this.content=t,this.openStart=e,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,e){let n=Oy(this.content,t+this.openStart,e)
|
|
5269
|
+
return n&&new Ay(n,this.openStart,this.openEnd)}removeBetween(t,e){return new Ay(Ty(this.content,t+this.openStart,e+this.openStart),this.openStart,this.openEnd)}eq(t){return this.content.eq(t.content)&&this.openStart==t.openStart&&this.openEnd==t.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null
|
|
5270
5270
|
let t={content:this.content.toJSON()}
|
|
5271
5271
|
return this.openStart>0&&(t.openStart=this.openStart),this.openEnd>0&&(t.openEnd=this.openEnd),t}static fromJSON(t,e){if(!e)return Ay.empty
|
|
5272
5272
|
let n=e.openStart||0,i=e.openEnd||0
|
|
@@ -5274,12 +5274,12 @@ if("number"!=typeof n||"number"!=typeof i)throw new RangeError("Invalid input fo
|
|
|
5274
5274
|
return new Ay(_y.fromJSON(t,e.content),n,i)}static maxOpen(t,e=!0){let n=0,i=0
|
|
5275
5275
|
for(let i=t.firstChild;i&&!i.isLeaf&&(e||!i.type.spec.isolating);i=i.firstChild)n++
|
|
5276
5276
|
for(let n=t.lastChild;n&&!n.isLeaf&&(e||!n.type.spec.isolating);n=n.lastChild)i++
|
|
5277
|
-
return new Ay(t,n,i)}}function
|
|
5277
|
+
return new Ay(t,n,i)}}function Ty(t,e,n){let{index:i,offset:s}=t.findIndex(e),o=t.maybeChild(i),{index:r,offset:a}=t.findIndex(n)
|
|
5278
5278
|
if(s==e||o.isText){if(a!=n&&!t.child(r).isText)throw new RangeError("Removing non-flat range")
|
|
5279
5279
|
return t.cut(0,e).append(t.cut(n))}if(i!=r)throw new RangeError("Removing non-flat range")
|
|
5280
|
-
return t.replaceChild(i,o.copy(
|
|
5280
|
+
return t.replaceChild(i,o.copy(Ty(o.content,e-s-1,n-s-1)))}function Oy(t,e,n,i){let{index:s,offset:o}=t.findIndex(e),r=t.maybeChild(s)
|
|
5281
5281
|
if(o==e||r.isText)return t.cut(0,e).append(n).append(t.cut(e))
|
|
5282
|
-
let a=
|
|
5282
|
+
let a=Oy(r.content,e-o-1,n)
|
|
5283
5283
|
return a&&t.replaceChild(s,r.copy(a))}function Ry(t,e,n){if(n.openStart>t.depth)throw new Ey("Inserted content deeper than insertion position")
|
|
5284
5284
|
if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Ey("Inconsistent open depths")
|
|
5285
5285
|
return Fy(t,e,n,0)}function Fy(t,e,n,i){let s=t.index(i),o=t.node(i)
|
|
@@ -5642,17 +5642,17 @@ e>0?l.setAttributeNS(t.slice(0,e),t.slice(e+1),c[t]):l.setAttribute(t,c[t])}}for
|
|
|
5642
5642
|
if(0===o){if(s<e.length-1||s>d)throw new RangeError("Content hole must be the only child of its parent node")
|
|
5643
5643
|
return{dom:l,contentDOM:l}}{let{dom:e,contentDOM:s}=Aw(t,o,n,i)
|
|
5644
5644
|
if(l.appendChild(e),s){if(r)throw new RangeError("Multiple content holes")
|
|
5645
|
-
r=s}}}return{dom:l,contentDOM:r}}const
|
|
5646
|
-
function
|
|
5645
|
+
r=s}}}return{dom:l,contentDOM:r}}const Tw=Math.pow(2,16)
|
|
5646
|
+
function Ow(t){return 65535&t}class Rw{constructor(t,e,n){this.pos=t,this.delInfo=e,this.recover=n}get deleted(){return(8&this.delInfo)>0}get deletedBefore(){return(5&this.delInfo)>0}get deletedAfter(){return(6&this.delInfo)>0}get deletedAcross(){return(4&this.delInfo)>0}}class Fw{constructor(t,e=!1){if(this.ranges=t,this.inverted=e,!t.length&&Fw.empty)return Fw.empty}recover(t){let e=0,n=Ow(t)
|
|
5647
5647
|
if(!this.inverted)for(let t=0;t<n;t++)e+=this.ranges[3*t+2]-this.ranges[3*t+1]
|
|
5648
|
-
return this.ranges[3*n]+e+function(t){return(t-(65535&t))/
|
|
5648
|
+
return this.ranges[3*n]+e+function(t){return(t-(65535&t))/Tw}(t)}mapResult(t,e=1){return this._map(t,e,!1)}map(t,e=1){return this._map(t,e,!0)}_map(t,e,n){let i=0,s=this.inverted?2:1,o=this.inverted?1:2
|
|
5649
5649
|
for(let r=0;r<this.ranges.length;r+=3){let a=this.ranges[r]-(this.inverted?i:0)
|
|
5650
5650
|
if(a>t)break
|
|
5651
5651
|
let l=this.ranges[r+s],c=this.ranges[r+o],d=a+l
|
|
5652
5652
|
if(t<=d){let s=a+i+((l?t==a?-1:t==d?1:e:e)<0?0:c)
|
|
5653
5653
|
if(n)return s
|
|
5654
|
-
let o=t==(e<0?a:d)?null:r/3+(t-a)*
|
|
5655
|
-
return(e<0?t!=a:t!=d)&&(h|=8),new Rw(s,h,o)}i+=c-l}return n?t+i:new Rw(t+i,0,null)}touches(t,e){let n=0,i=
|
|
5654
|
+
let o=t==(e<0?a:d)?null:r/3+(t-a)*Tw,h=t==a?2:t==d?1:4
|
|
5655
|
+
return(e<0?t!=a:t!=d)&&(h|=8),new Rw(s,h,o)}i+=c-l}return n?t+i:new Rw(t+i,0,null)}touches(t,e){let n=0,i=Ow(e),s=this.inverted?2:1,o=this.inverted?1:2
|
|
5656
5656
|
for(let e=0;e<this.ranges.length;e+=3){let r=this.ranges[e]-(this.inverted?n:0)
|
|
5657
5657
|
if(r>t)break
|
|
5658
5658
|
let a=this.ranges[e+s]
|
|
@@ -5963,7 +5963,7 @@ for(let r=i-(s>0?0:1);s>0?r<e.childCount:r>=0;r+=s){let i=e.child(r)
|
|
|
5963
5963
|
if(i.isAtom){if(!o&&Ix.isSelectable(i))return Ix.create(t,n-(s<0?i.nodeSize:0))}else{let e=Ex(t,i,n+s,s<0?i.childCount:0,s,o)
|
|
5964
5964
|
if(e)return e}n+=i.nodeSize*s}return null}function Ax(t,e,n){let i=t.steps.length-1
|
|
5965
5965
|
if(i<e)return
|
|
5966
|
-
let s,o=t.steps[i];(o instanceof jw||o instanceof Ww)&&(t.mapping.maps[i].forEach(((t,e,n,i)=>{null==s&&(s=i)})),t.setSelection(wx.near(t.doc.resolve(s),n)))}class
|
|
5966
|
+
let s,o=t.steps[i];(o instanceof jw||o instanceof Ww)&&(t.mapping.maps[i].forEach(((t,e,n,i)=>{null==s&&(s=i)})),t.setSelection(wx.near(t.doc.resolve(s),n)))}class Tx extends bx{constructor(t){super(t.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=t.selection,this.storedMarks=t.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(t){if(t.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document")
|
|
5967
5967
|
return this.curSelection=t,this.curSelectionFor=this.steps.length,this.updated=-3&this.updated|1,this.storedMarks=null,this}get selectionSet(){return(1&this.updated)>0}setStoredMarks(t){return this.storedMarks=t,this.updated|=2,this}ensureMarks(t){return Dy.sameSet(this.storedMarks||this.selection.$from.marks(),t)||this.setStoredMarks(t),this}addStoredMark(t){return this.ensureMarks(t.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(t){return this.ensureMarks(t.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(2&this.updated)>0}addStep(t,e){super.addStep(t,e),this.updated=-3&this.updated,this.storedMarks=null}setTime(t){return this.time=t,this}replaceSelection(t){return this.selection.replace(this,t),this}replaceSelectionWith(t,e=!0){let n=this.selection
|
|
5968
5968
|
return e&&(t=t.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||Dy.none))),n.replaceWith(this,t),this}deleteSelection(){return this.selection.replace(this),this}insertText(t,e,n){let i=this.doc.type.schema
|
|
5969
5969
|
if(null==e)return t?this.replaceSelectionWith(i.text(t),!0):this.deleteSelection()
|
|
@@ -5971,7 +5971,7 @@ if(null==e)return t?this.replaceSelectionWith(i.text(t),!0):this.deleteSelection
|
|
|
5971
5971
|
let s=this.storedMarks
|
|
5972
5972
|
if(!s){let t=this.doc.resolve(e)
|
|
5973
5973
|
s=n==e?t.marks():t.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(e,n,i.text(t,s)),this.selection.empty||this.setSelection(wx.near(this.selection.$to)),this}}setMeta(t,e){return this.meta["string"==typeof t?t:t.key]=e,this}getMeta(t){return this.meta["string"==typeof t?t:t.key]}get isGeneric(){for(let t in this.meta)return!1
|
|
5974
|
-
return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function
|
|
5974
|
+
return!0}scrollIntoView(){return this.updated|=4,this}get scrolledIntoView(){return(4&this.updated)>0}}function Ox(t,e){return e&&t?t.bind(e):t}class Rx{constructor(t,e,n){this.name=t,this.init=Ox(e.init,n),this.apply=Ox(e.apply,n)}}const Fx=[new Rx("doc",{init:t=>t.doc||t.schema.topNodeType.createAndFill(),apply:t=>t.doc}),new Rx("selection",{init:(t,e)=>t.selection||wx.atStart(e.doc),apply:t=>t.selection}),new Rx("storedMarks",{init:t=>t.storedMarks||null,apply:(t,e,n,i)=>i.selection.$cursor?t.storedMarks:null}),new Rx("scrollToSelection",{init:()=>0,apply:(t,e)=>t.scrolledIntoView?e+1:e})]
|
|
5975
5975
|
let Nx=class{constructor(t,e){this.schema=t,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=Fx.slice(),e&&e.forEach((t=>{if(this.pluginsByKey[t.key])throw new RangeError("Adding different instances of a keyed plugin ("+t.key+")")
|
|
5976
5976
|
this.plugins.push(t),this.pluginsByKey[t.key]=t,t.spec.state&&this.fields.push(new Rx(t.key,t.spec.state,t))}))}}
|
|
5977
5977
|
class Lx{constructor(t){this.config=t}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(t){return this.applyTransaction(t).state}filterTransaction(t,e=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=e){let e=this.config.plugins[n]
|
|
@@ -5984,7 +5984,7 @@ if(c&&n.filterTransaction(c,o)){if(c.setMeta("appendedTransaction",t),!i){i=[]
|
|
|
5984
5984
|
for(let t=0;t<this.config.plugins.length;t++)i.push(t<o?{state:n,n:e.length}:{state:this,n:0})}e.push(c),n=n.applyInner(c),s=!0}i&&(i[o]={state:n,n:e.length})}}if(!s)return{state:n,transactions:e}}}applyInner(t){if(!t.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction")
|
|
5985
5985
|
let e=new Lx(this.config),n=this.config.fields
|
|
5986
5986
|
for(let i=0;i<n.length;i++){let s=n[i]
|
|
5987
|
-
e[s.name]=s.apply(t,this[s.name],this,e)}return e}get tr(){return new
|
|
5987
|
+
e[s.name]=s.apply(t,this[s.name],this,e)}return e}get tr(){return new Tx(this)}static create(t){let e=new Nx(t.doc?t.doc.type.schema:t.schema,t.plugins),n=new Lx(e)
|
|
5988
5988
|
for(let i=0;i<e.fields.length;i++)n[e.fields[i].name]=e.fields[i].init(t,n)
|
|
5989
5989
|
return n}reconfigure(t){let e=new Nx(this.schema,t.plugins),n=e.fields,i=new Lx(e)
|
|
5990
5990
|
for(let e=0;e<n.length;e++){let s=n[e].name
|
|
@@ -6065,9 +6065,9 @@ o=t.left!=t.right&&n.left>(t.left+t.right)/2?1:-1}return t.docView.posFromDOM(i,
|
|
|
6065
6065
|
let l=t.docView.nearestDesc(a,!0)
|
|
6066
6066
|
return{pos:r,inside:l?l.posAtStart-l.border:-1}}function EC(t){return t.top<t.bottom||t.left<t.right}function AC(t,e){let n=t.getClientRects()
|
|
6067
6067
|
if(n.length){let t=n[e<0?0:n.length-1]
|
|
6068
|
-
if(EC(t))return t}return Array.prototype.find.call(n,EC)||t.getBoundingClientRect()}const
|
|
6069
|
-
function
|
|
6070
|
-
if(3==i.nodeType){if(!r||!
|
|
6068
|
+
if(EC(t))return t}return Array.prototype.find.call(n,EC)||t.getBoundingClientRect()}const TC=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/
|
|
6069
|
+
function OC(t,e,n){let{node:i,offset:s,atom:o}=t.docView.domFromPos(e,n<0?-1:1),r=vC||lC
|
|
6070
|
+
if(3==i.nodeType){if(!r||!TC.test(i.nodeValue)&&(n<0?s:s!=i.nodeValue.length)){let t=s,e=s,o=n<0?1:-1
|
|
6071
6071
|
return n<0&&!s?(e++,o=-1):n>=0&&s==i.nodeValue.length?(t--,o=1):n<0?t--:e++,RC(AC(Wx(i,t,e),o),o<0)}{let t=AC(Wx(i,s,s),n)
|
|
6072
6072
|
if(lC&&s&&/\s/.test(i.nodeValue[s-1])&&s<i.nodeValue.length){let e=AC(Wx(i,s-1,s-1),-1)
|
|
6073
6073
|
if(e.top==t.top){let n=AC(Wx(i,s,s+1),-1)
|
|
@@ -6090,7 +6090,7 @@ return NC(t,e,(()=>{let{node:e}=t.docView.domFromPos(s.pos,"up"==n?-1:1)
|
|
|
6090
6090
|
for(;;){let n=t.docView.nearestDesc(e,!0)
|
|
6091
6091
|
if(!n)break
|
|
6092
6092
|
if(n.node.isBlock){e=n.contentDOM||n.dom
|
|
6093
|
-
break}e=n.dom.parentNode}let i=
|
|
6093
|
+
break}e=n.dom.parentNode}let i=OC(t,s.pos,1)
|
|
6094
6094
|
for(let t=e.firstChild;t;t=t.nextSibling){let e
|
|
6095
6095
|
if(1==t.nodeType)e=t.getClientRects()
|
|
6096
6096
|
else{if(3!=t.nodeType)continue
|
|
@@ -6124,8 +6124,9 @@ if(o&&(!e||o.node)){if(!n||!(s=o.nodeDOM)||(1==s.nodeType?s.contains(1==t.nodeTy
|
|
|
6124
6124
|
n=!1}}}getDesc(t){let e=t.pmViewDesc
|
|
6125
6125
|
for(let t=e;t;t=t.parent)if(t==this)return e}posFromDOM(t,e,n){for(let i=t;i;i=i.parentNode){let s=this.getDesc(i)
|
|
6126
6126
|
if(s)return s.localPosFromDOM(t,e,n)}return-1}descAt(t){for(let e=0,n=0;e<this.children.length;e++){let i=this.children[e],s=n+i.size
|
|
6127
|
-
if(n==t&&s!=n){for(;!i.border&&i.children.length;)i=i.children[
|
|
6128
|
-
|
|
6127
|
+
if(n==t&&s!=n){for(;!i.border&&i.children.length;)for(let t=0;t<i.children.length;t++){let e=i.children[t]
|
|
6128
|
+
if(e.size){i=e
|
|
6129
|
+
break}}return i}if(t<s)return i.descAt(t-n-i.border)
|
|
6129
6130
|
n=s}}domFromPos(t,e){if(!this.contentDOM)return{node:this.dom,offset:0,atom:t+1}
|
|
6130
6131
|
let n=0,i=0
|
|
6131
6132
|
for(let e=0;n<this.children.length;n++){let s=this.children[n],o=e+s.size
|
|
@@ -6407,7 +6408,7 @@ if(!s)return!1
|
|
|
6407
6408
|
if(t.endOfTextblock(e>0?"forward":"backward"))return!0
|
|
6408
6409
|
let o=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter)
|
|
6409
6410
|
if(o&&!o.isText){let i=t.state.tr
|
|
6410
|
-
return e<0?i.delete(n.pos-o.nodeSize,n.pos):i.delete(n.pos,n.pos+o.nodeSize),t.dispatch(i),!0}return!1}function
|
|
6411
|
+
return e<0?i.delete(n.pos-o.nodeSize,n.pos):i.delete(n.pos,n.pos+o.nodeSize),t.dispatch(i),!0}return!1}function Tk(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function Ok(t,e){let n=e.keyCode,i=function(t){let e=""
|
|
6411
6412
|
return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}(e)
|
|
6412
6413
|
if(8==n||fC&&72==n&&"c"==i)return Ak(t,-1)||Ik(t,-1)
|
|
6413
6414
|
if(46==n&&!e.shiftKey||fC&&68==n&&"c"==i)return Ak(t,1)||Ik(t,1)
|
|
@@ -6417,7 +6418,7 @@ return kk(t,e,i)||Ik(t,e)}if(39==n||fC&&70==n&&"c"==i){let e=39==n?"ltr"==Dk(t,t
|
|
|
6417
6418
|
return kk(t,e,i)||Ik(t,e)}return 38==n||fC&&80==n&&"c"==i?Ek(t,-1,i)||Ik(t,-1):40==n||fC&&78==n&&"c"==i?function(t){if(!uC||t.state.selection.$head.parentOffset>0)return!1
|
|
6418
6419
|
let{focusNode:e,focusOffset:n}=t.domSelectionRange()
|
|
6419
6420
|
if(e&&1==e.nodeType&&0==n&&e.firstChild&&"false"==e.firstChild.contentEditable){let n=e.firstChild
|
|
6420
|
-
|
|
6421
|
+
Tk(t,n,"true"),setTimeout((()=>Tk(t,n,"false")),20)}return!1}(t)||Ek(t,1,i)||Ik(t,1):i==(fC?"m":"c")&&(66==n||73==n||89==n||90==n)}function Rk(t,e){t.someProp("transformCopied",(n=>{e=n(e,t)}))
|
|
6421
6422
|
let n=[],{content:i,openStart:s,openEnd:o}=e
|
|
6422
6423
|
for(;s>1&&o>1&&1==i.childCount&&1==i.firstChild.childCount;){s--,o--
|
|
6423
6424
|
let t=i.firstChild
|
|
@@ -6500,7 +6501,7 @@ for(let e=s.depth+1;e>0;e--){let n=e>s.depth?s.nodeAfter:s.node(e),o=s.before(e)
|
|
|
6500
6501
|
if(n.inlineContent)nS(t,Sx.create(i,o+1,o+1+n.content.size))
|
|
6501
6502
|
else{if(!Ix.isSelectable(n))continue
|
|
6502
6503
|
nS(t,Ix.create(i,o))}return!0}}(t,n,i)}function rS(t){return fS(t)}Gk.keydown=(t,e)=>{let n=e
|
|
6503
|
-
if(t.input.shiftKey=16==n.keyCode||n.shiftKey,!cS(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!gC||!dC||13!=n.keyCode))if(229!=n.keyCode&&t.domObserver.forceFlush(),!pC||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)t.someProp("handleKeyDown",(e=>e(t,n)))||
|
|
6504
|
+
if(t.input.shiftKey=16==n.keyCode||n.shiftKey,!cS(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!gC||!dC||13!=n.keyCode))if(229!=n.keyCode&&t.domObserver.forceFlush(),!pC||13!=n.keyCode||n.ctrlKey||n.altKey||n.metaKey)t.someProp("handleKeyDown",(e=>e(t,n)))||Ok(t,n)?n.preventDefault():Yk(t,"key")
|
|
6504
6505
|
else{let e=Date.now()
|
|
6505
6506
|
t.input.lastIOSEnter=e,t.input.lastIOSEnterFallbackTimeout=setTimeout((()=>{t.input.lastIOSEnter==e&&(t.someProp("handleKeyDown",(e=>e(t,Qx(13,"Enter")))),t.input.lastIOSEnter=0)}),200)}},Gk.keyup=(t,e)=>{16==e.keyCode&&(t.input.shiftKey=!1)},Gk.keypress=(t,e)=>{let n=e
|
|
6506
6507
|
if(cS(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||fC&&n.metaKey)return
|
|
@@ -6622,7 +6623,7 @@ if(s.deleted)return null
|
|
|
6622
6623
|
let o=t.mapResult(e.to+i,-1)
|
|
6623
6624
|
return o.deleted||o.pos<=s.pos?null:new SS(s.pos-n,o.pos-n,this)}valid(t,e){let n,{index:i,offset:s}=t.content.findIndex(e.from)
|
|
6624
6625
|
return s==e.from&&!(n=t.child(i)).isText&&s+n.nodeSize==e.to}eq(t){return this==t||t instanceof kS&&wS(this.attrs,t.attrs)&&wS(this.spec,t.spec)}destroy(){}}class SS{constructor(t,e,n){this.from=t,this.to=e,this.type=n}copy(t,e){return new SS(t,e,this.type)}eq(t,e=0){return this.type.eq(t.type)&&this.from+e==t.from&&this.to+e==t.to}map(t,e,n){return this.type.map(t,this,e,n)}static widget(t,e,n){return new SS(t,t,new xS(e,n))}static inline(t,e,n,i){return new SS(t,e,new CS(n,i))}static node(t,e,n,i){return new SS(t,e,new kS(n,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof CS}get widget(){return this.type instanceof xS}}const _S=[],IS={}
|
|
6625
|
-
class MS{constructor(t,e){this.local=t.length?t:_S,this.children=e.length?e:_S}static create(t,e){return e.length?
|
|
6626
|
+
class MS{constructor(t,e){this.local=t.length?t:_S,this.children=e.length?e:_S}static create(t,e){return e.length?OS(e,t,0,IS):$S}find(t,e,n){let i=[]
|
|
6626
6627
|
return this.findInner(null==t?0:t,null==e?1e9:e,i,0,n),i}findInner(t,e,n,i,s){for(let o=0;o<this.local.length;o++){let r=this.local[o]
|
|
6627
6628
|
r.from<=e&&r.to>=t&&(!s||s(r.spec))&&n.push(r.copy(r.from+i,r.to+i))}for(let o=0;o<this.children.length;o+=3)if(this.children[o]<e&&this.children[o+1]>t){let r=this.children[o]+1
|
|
6628
6629
|
this.children[o+2].findInner(t-r,e-r,n,i+r,s)}}map(t,e,n){return this==$S||0==t.maps.length?this:this.mapInner(t,e,0,0,n||IS)}mapInner(t,e,n,i,s){let o
|
|
@@ -6641,7 +6642,7 @@ continue}let h=n.map(t[e+1]+o,-1)-s,{index:u,offset:p}=i.content.findIndex(d),f=
|
|
|
6641
6642
|
if(f&&p==d&&p+f.nodeSize==h){let i=a[e+2].mapInner(n,f,c+1,t[e]+o+1,r)
|
|
6642
6643
|
i!=$S?(a[e]=d,a[e+1]=h,a[e+2]=i):(a[e+1]=-2,l=!0)}else l=!0}if(l){let l=function(t,e,n,i,s,o,r){function a(t,e){for(let o=0;o<t.local.length;o++){let a=t.local[o].map(i,s,e)
|
|
6643
6644
|
a?n.push(a):r.onRemove&&r.onRemove(t.local[o].spec)}for(let n=0;n<t.children.length;n+=3)a(t.children[n+2],t.children[n]+e+1)}for(let n=0;n<t.length;n+=3)-1==t[n+1]&&a(t[n+2],e[n]+o+1)
|
|
6644
|
-
return n}(a,t,e,n,s,o,r),c=
|
|
6645
|
+
return n}(a,t,e,n,s,o,r),c=OS(l,i,0,r)
|
|
6645
6646
|
e=c.local
|
|
6646
6647
|
for(let t=0;t<a.length;t+=3)a[t+1]<0&&(a.splice(t,3),t-=3)
|
|
6647
6648
|
for(let t=0,e=0;t<c.children.length;t+=3){let n=c.children[t]
|
|
@@ -6649,8 +6650,8 @@ for(;e<a.length&&a[e]<n;)e+=3
|
|
|
6649
6650
|
a.splice(e,0,c.children[t],c.children[t+1],c.children[t+2])}}return new MS(e.sort(RS),a)}(this.children,o||[],t,e,n,i,s):o?new MS(o.sort(RS),_S):$S}add(t,e){return e.length?this==$S?MS.create(t,e):this.addInner(t,e,0):this}addInner(t,e,n){let i,s=0
|
|
6650
6651
|
t.forEach(((t,o)=>{let r,a=o+n
|
|
6651
6652
|
if(r=AS(e,t,a)){for(i||(i=this.children.slice());s<i.length&&i[s]<o;)s+=3
|
|
6652
|
-
i[s]==o?i[s+2]=i[s+2].addInner(t,r,a+1):i.splice(s,0,o,o+t.nodeSize,
|
|
6653
|
-
let o=ES(s?
|
|
6653
|
+
i[s]==o?i[s+2]=i[s+2].addInner(t,r,a+1):i.splice(s,0,o,o+t.nodeSize,OS(r,t,a+1,IS)),s+=3}}))
|
|
6654
|
+
let o=ES(s?TS(e):e,-n)
|
|
6654
6655
|
for(let e=0;e<o.length;e++)o[e].type.valid(t,o[e])||o.splice(e--,1)
|
|
6655
6656
|
return new MS(o.length?this.local.concat(o).sort(RS):this.local,i||this.children)}remove(t){return 0==t.length||this==$S?this:this.removeInner(t,0)}removeInner(t,e){let n=this.children,i=this.local
|
|
6656
6657
|
for(let i=0;i<n.length;i+=3){let s,o=n[i]+e,r=n[i+1]+e
|
|
@@ -6694,14 +6695,14 @@ for(let i=0;i<t.length;i++){let s=t[i]
|
|
|
6694
6695
|
n.push(new SS(s.from+e,s.to+e,s.type))}return n}function AS(t,e,n){if(e.isLeaf)return null
|
|
6695
6696
|
let i=n+e.nodeSize,s=null
|
|
6696
6697
|
for(let e,o=0;o<t.length;o++)(e=t[o])&&e.from>n&&e.to<i&&((s||(s=[])).push(e),t[o]=null)
|
|
6697
|
-
return s}function
|
|
6698
|
+
return s}function TS(t){let e=[]
|
|
6698
6699
|
for(let n=0;n<t.length;n++)null!=t[n]&&e.push(t[n])
|
|
6699
|
-
return e}function
|
|
6700
|
+
return e}function OS(t,e,n,i){let s=[],o=!1
|
|
6700
6701
|
e.forEach(((e,r)=>{let a=AS(t,e,r+n)
|
|
6701
6702
|
if(a){o=!0
|
|
6702
|
-
let t=
|
|
6703
|
+
let t=OS(a,e,n+r+1,i)
|
|
6703
6704
|
t!=$S&&s.push(r,r+e.nodeSize,t)}}))
|
|
6704
|
-
let r=ES(o?
|
|
6705
|
+
let r=ES(o?TS(t):t,-n).sort(RS)
|
|
6705
6706
|
for(let t=0;t<r.length;t++)r[t].type.valid(e,r[t])||(i.onRemove&&i.onRemove(r[t].spec),r.splice(t--,1))
|
|
6706
6707
|
return r.length||s.length?new MS(r,s):$S}function RS(t,e){return t.from-e.from||t.to-e.to}function FS(t){let e=t
|
|
6707
6708
|
for(let n=0;n<e.length-1;n++){let i=e[n]
|
|
@@ -6834,8 +6835,9 @@ if(d){let n=dC?this.trackWrites=this.domSelectionRange().focusNode:null
|
|
|
6834
6835
|
this.composing&&(this.input.compositionNode=pS(this)),!s&&this.docView.update(t.doc,l,a,this)||(this.docView.updateOuterDeco(l),this.docView.destroy(),this.docView=GC(t.doc,l,a,this.dom,this)),n&&!this.trackWrites&&(e=!0)}e||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&function(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange()
|
|
6835
6836
|
return Gx(e.node,e.offset,n.anchorNode,n.anchorOffset)}(this))?hk(this,e):(gk(this,t.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(i),(null===(n=this.dragging)||void 0===n?void 0:n.node)&&!i.doc.eq(t.doc)&&this.updateDraggedNode(this.dragging,i),"reset"==c?this.dom.scrollTop=0:"to selection"==c?this.scrollToSelection():h&&function({refDOM:t,refTop:e,stack:n}){let i=t?t.getBoundingClientRect().top:0
|
|
6836
6837
|
SC(n,0==i?0:i-e)}(h)}scrollToSelection(){let t=this.domSelectionRange().focusNode
|
|
6837
|
-
if(this.someProp("handleScrollToSelection",(t=>t(this))));else if(this.state.selection instanceof Ix){let e=this.docView.domAfterPos(this.state.selection.from)
|
|
6838
|
-
1==e.nodeType&&CC(this,e.getBoundingClientRect(),t)}else CC(this,this.coordsAtPos(this.state.selection.head,1),t)
|
|
6838
|
+
if(t&&this.dom.contains(1==t.nodeType?t:t.parentNode))if(this.someProp("handleScrollToSelection",(t=>t(this))));else if(this.state.selection instanceof Ix){let e=this.docView.domAfterPos(this.state.selection.from)
|
|
6839
|
+
1==e.nodeType&&CC(this,e.getBoundingClientRect(),t)}else CC(this,this.coordsAtPos(this.state.selection.head,1),t)
|
|
6840
|
+
else;}destroyPluginViews(){let t
|
|
6839
6841
|
for(;t=this.pluginViews.pop();)t.destroy&&t.destroy()}updatePluginViews(t){if(t&&t.plugins==this.state.plugins&&this.directPlugins==this.prevDirectPlugins)for(let e=0;e<this.pluginViews.length;e++){let n=this.pluginViews[e]
|
|
6840
6842
|
n.update&&n.update(this,t)}else{this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews()
|
|
6841
6843
|
for(let t=0;t<this.directPlugins.length;t++){let e=this.directPlugins[t]
|
|
@@ -6856,7 +6858,7 @@ if(_C)return t.focus(_C)
|
|
|
6856
6858
|
let e=kC(t)
|
|
6857
6859
|
t.focus(null==_C?{get preventScroll(){return _C={preventScroll:!0},!0}}:void 0),_C||(_C=!1,SC(e,0))}(this.dom),hk(this),this.domObserver.start()}get root(){let t=this._root
|
|
6858
6860
|
if(null==t)for(let t=this.dom.parentNode;t;t=t.parentNode)if(9==t.nodeType||11==t.nodeType&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=()=>t.ownerDocument.getSelection()),this._root=t
|
|
6859
|
-
return t||document}updateRoot(){this._root=null}posAtCoords(t){return DC(this,t)}coordsAtPos(t,e=1){return
|
|
6861
|
+
return t||document}updateRoot(){this._root=null}posAtCoords(t){return DC(this,t)}coordsAtPos(t,e=1){return OC(this,t,e)}domAtPos(t,e=0){return this.docView.domFromPos(t,e)}nodeDOM(t){let e=this.docView.descAt(t)
|
|
6860
6862
|
return e?e.nodeDOM:null}posAtDOM(t,e,n=-1){let i=this.docView.posFromDOM(t,e,n)
|
|
6861
6863
|
if(null==i)throw new RangeError("DOM position not inside the editor")
|
|
6862
6864
|
return i}endOfTextblock(t,e){return zC(this,e||this.state,t)}pasteHTML(t,e){return gS(this,"",t,!1,e||new ClipboardEvent("paste"))}pasteText(t,e){return gS(this,t,null,!0,e||new ClipboardEvent("paste"))}destroy(){this.docView&&(!function(t){t.domObserver.stop()
|
|
@@ -6979,7 +6981,7 @@ return r}}class E_{constructor(){this.callbacks={}}on(t,e){return this.callbacks
|
|
|
6979
6981
|
return n&&n.forEach((t=>t.apply(this,e))),this}off(t,e){const n=this.callbacks[t]
|
|
6980
6982
|
return n&&(e?this.callbacks[t]=n.filter((t=>t!==e)):delete this.callbacks[t]),this}once(t,e){const n=(...i)=>{this.off(t,n),e.apply(this,i)}
|
|
6981
6983
|
return this.on(t,n)}removeAllListeners(){this.callbacks={}}}function A_(t,e,n){if(void 0===t.config[e]&&t.parent)return A_(t.parent,e,n)
|
|
6982
|
-
if("function"==typeof t.config[e]){return t.config[e].bind({...n,parent:t.parent?A_(t.parent,e,n):null})}return t.config[e]}function
|
|
6984
|
+
if("function"==typeof t.config[e]){return t.config[e].bind({...n,parent:t.parent?A_(t.parent,e,n):null})}return t.config[e]}function T_(t){return{baseExtensions:t.filter((t=>"extension"===t.type)),nodeExtensions:t.filter((t=>"node"===t.type)),markExtensions:t.filter((t=>"mark"===t.type))}}function O_(t){const e=[],{nodeExtensions:n,markExtensions:i}=T_(t),s=[...n,...i],o={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1}
|
|
6983
6985
|
return t.forEach((t=>{const n=A_(t,"addGlobalAttributes",{name:t.name,options:t.options,storage:t.storage,extensions:s})
|
|
6984
6986
|
if(!n)return
|
|
6985
6987
|
n().forEach((t=>{t.types.forEach((n=>{Object.entries(t.attributes).forEach((([t,i])=>{e.push({type:n,name:t,attribute:{...o,...i}})}))}))}))})),s.forEach((t=>{const n={name:t.name,options:t.options,storage:t.storage},i=A_(t,"addAttributes",n)
|
|
@@ -6988,7 +6990,7 @@ const s=i()
|
|
|
6988
6990
|
Object.entries(s).forEach((([n,i])=>{const s={...o,...i}
|
|
6989
6991
|
"function"==typeof(null==s?void 0:s.default)&&(s.default=s.default()),(null==s?void 0:s.isRequired)&&void 0===(null==s?void 0:s.default)&&delete s.default,e.push({type:t.name,name:n,attribute:s})}))})),e}function R_(t,e){if("string"==typeof t){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`)
|
|
6990
6992
|
return e.nodes[t]}return t}function F_(...t){return t.filter((t=>!!t)).reduce(((t,e)=>{const n={...t}
|
|
6991
|
-
return Object.entries(e).forEach((([t,e])=>{if(n[t])if("class"===t){const i=e?e.split(" "):[],s=n[t]?n[t].split(" "):[],o=i.filter((t=>!s.includes(t)))
|
|
6993
|
+
return Object.entries(e).forEach((([t,e])=>{if(n[t])if("class"===t){const i=e?String(e).split(" "):[],s=n[t]?n[t].split(" "):[],o=i.filter((t=>!s.includes(t)))
|
|
6992
6994
|
n[t]=[...s,...o].join(" ")}else if("style"===t){const i=e?e.split(";").map((t=>t.trim())).filter(Boolean):[],s=n[t]?n[t].split(";").map((t=>t.trim())).filter(Boolean):[],o=new Map
|
|
6993
6995
|
s.forEach((t=>{const[e,n]=t.split(":").map((t=>t.trim()))
|
|
6994
6996
|
o.set(e,n)})),i.forEach((t=>{const[e,n]=t.split(":").map((t=>t.trim()))
|
|
@@ -7043,13 +7045,13 @@ return n.index=e.index,n.input=t,n.data=e.data,e.replaceWith&&(e.text.includes(e
|
|
|
7043
7045
|
let eI=null
|
|
7044
7046
|
function nI(t){const{editor:e,rules:n}=t
|
|
7045
7047
|
let i,s=null,o=!1,r=!1,a="undefined"!=typeof ClipboardEvent?new ClipboardEvent("paste"):null
|
|
7046
|
-
try{i="undefined"!=typeof DragEvent?new DragEvent("drop"):null}catch
|
|
7048
|
+
try{i="undefined"!=typeof DragEvent?new DragEvent("drop"):null}catch{i=null}const l=({state:t,from:n,to:s,rule:o,pasteEvt:r})=>{const l=t.tr,c=$_({state:t,transaction:l}),d=function(t){const{editor:e,state:n,from:i,to:s,rule:o,pasteEvent:r,dropEvent:a}=t,{commands:l,chain:c,can:d}=new D_({editor:e,state:n}),h=[]
|
|
7047
7049
|
return n.doc.nodesBetween(i,s,((t,e)=>{if(!t.isTextblock||t.type.spec.code)return
|
|
7048
7050
|
const u=Math.max(i,e),p=Math.min(s,e+t.content.size),f=t.textBetween(u-e,p-e,void 0,"")
|
|
7049
7051
|
tI(f,o.find,r).forEach((t=>{if(void 0===t.index)return
|
|
7050
7052
|
const e=u+t.index+1,i=e+t[0].length,s={from:n.tr.mapping.map(e),to:n.tr.mapping.map(i)},p=o.handler({state:n,range:s,match:t,commands:l,chain:c,can:d,pasteEvent:r,dropEvent:a})
|
|
7051
7053
|
h.push(p)}))})),h.every((t=>null!==t))}({editor:e,state:c,from:Math.max(n-1,0),to:s.b-1,rule:o,pasteEvent:r,dropEvent:i})
|
|
7052
|
-
if(d&&l.steps.length){try{i="undefined"!=typeof DragEvent?new DragEvent("drop"):null}catch
|
|
7054
|
+
if(d&&l.steps.length){try{i="undefined"!=typeof DragEvent?new DragEvent("drop"):null}catch{i=null}return a="undefined"!=typeof ClipboardEvent?new ClipboardEvent("paste"):null,l}},c=n.map((t=>new Px({view(t){const n=n=>{var i
|
|
7053
7055
|
s=(null===(i=t.dom.parentElement)||void 0===i?void 0:i.contains(n.target))?t.dom.parentElement:null,s&&(eI=e)},i=()=>{eI&&(eI=null)}
|
|
7054
7056
|
return window.addEventListener("dragstart",n),window.addEventListener("dragend",i),{destroy(){window.removeEventListener("dragstart",n),window.removeEventListener("dragend",i)}}},props:{handleDOMEvents:{drop:(t,e)=>{if(r=s===t.dom.parentElement,i=e,!r){const t=eI
|
|
7055
7057
|
t&&setTimeout((()=>{const e=t.state.selection
|
|
@@ -7065,7 +7067,7 @@ return null===(e=n.clipboardData)||void 0===e||e.setData("text/html",t),n})(e)
|
|
|
7065
7067
|
return l({rule:t,state:i,from:n,to:{b:s},pasteEvt:o})}const p=n.doc.content.findDiffStart(i.doc.content),f=n.doc.content.findDiffEnd(i.doc.content)
|
|
7066
7068
|
return"number"==typeof p&&f&&p!==f.b?l({rule:t,state:i,from:p,to:f,pasteEvt:a}):void 0}})))
|
|
7067
7069
|
return c}class iI{constructor(t,e){this.splittableMarks=[],this.editor=e,this.extensions=iI.resolve(t),this.schema=function(t,e){var n
|
|
7068
|
-
const i=
|
|
7070
|
+
const i=O_(t),{nodeExtensions:s,markExtensions:o}=T_(t),r=null===(n=s.find((t=>A_(t,"topNode"))))||void 0===n?void 0:n.name,a=Object.fromEntries(s.map((n=>{const s=i.filter((t=>t.type===n.name)),o={name:n.name,options:n.options,storage:n.storage,editor:e},r=V_({...t.reduce(((t,e)=>{const i=A_(e,"extendNodeSchema",o)
|
|
7069
7071
|
return{...t,...i?i(n):{}}}),{}),content:B_(A_(n,"content",o)),marks:B_(A_(n,"marks",o)),group:B_(A_(n,"group",o)),inline:B_(A_(n,"inline",o)),atom:B_(A_(n,"atom",o)),selectable:B_(A_(n,"selectable",o)),draggable:B_(A_(n,"draggable",o)),code:B_(A_(n,"code",o)),whitespace:B_(A_(n,"whitespace",o)),linebreakReplacement:B_(A_(n,"linebreakReplacement",o)),defining:B_(A_(n,"defining",o)),isolating:B_(A_(n,"isolating",o)),attrs:Object.fromEntries(s.map((t=>{var e
|
|
7070
7072
|
return[t.name,{default:null===(e=null==t?void 0:t.attribute)||void 0===e?void 0:e.default}]})))}),a=B_(A_(n,"parseHTML",o))
|
|
7071
7073
|
a&&(r.parseDOM=a.map((t=>P_(t,s))))
|
|
@@ -7095,7 +7097,7 @@ H_(e,t.options.enablePasteRules)&&d&&i.push(...d())
|
|
|
7095
7097
|
const h=A_(e,"addProseMirrorPlugins",s)
|
|
7096
7098
|
if(h){const t=h()
|
|
7097
7099
|
o.push(...t)}return o})).flat()
|
|
7098
|
-
return[K_({editor:t,rules:n}),...nI({editor:t,rules:i}),...s]}get attributes(){return
|
|
7100
|
+
return[K_({editor:t,rules:n}),...nI({editor:t,rules:i}),...s]}get attributes(){return O_(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=T_(this.extensions)
|
|
7099
7101
|
return Object.fromEntries(e.filter((t=>!!A_(t,"addNodeView"))).map((e=>{const n=this.attributes.filter((t=>t.type===e.name)),i={name:e.name,options:e.options,storage:e.storage,editor:t,type:R_(e.name,this.schema)},s=A_(e,"addNodeView",i)
|
|
7100
7102
|
if(!s)return[]
|
|
7101
7103
|
return[e.name,(i,o,r,a,l)=>{const c=N_(i,n)
|
|
@@ -7129,20 +7131,20 @@ const n=wx.atStart(t),i=wx.atEnd(t)
|
|
|
7129
7131
|
if("start"===e||!0===e)return n
|
|
7130
7132
|
if("end"===e)return i
|
|
7131
7133
|
const s=n.from,o=i.to
|
|
7132
|
-
return"all"===e?Sx.create(t,fI(0,s,o),fI(t.content.size,s,o)):Sx.create(t,fI(e,s,o),fI(e,s,o))}const
|
|
7134
|
+
return"all"===e?Sx.create(t,fI(0,s,o),fI(t.content.size,s,o)):Sx.create(t,fI(e,s,o),fI(e,s,o))}function gI(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const vI=t=>{const e=t.childNodes
|
|
7133
7135
|
for(let n=e.length-1;n>=0;n-=1){const i=e[n]
|
|
7134
|
-
3===i.nodeType&&i.nodeValue&&/^(\n\s\s|\n)$/.test(i.nodeValue)?t.removeChild(i):1===i.nodeType&&
|
|
7135
|
-
function
|
|
7136
|
-
return
|
|
7136
|
+
3===i.nodeType&&i.nodeValue&&/^(\n\s\s|\n)$/.test(i.nodeValue)?t.removeChild(i):1===i.nodeType&&vI(i)}return t}
|
|
7137
|
+
function bI(t){const e=`<body>${t}</body>`,n=(new window.DOMParser).parseFromString(e,"text/html").body
|
|
7138
|
+
return vI(n)}function yI(t,e,n){if(t instanceof Ky||t instanceof _y)return t
|
|
7137
7139
|
n={slice:!0,parseOptions:{},...n}
|
|
7138
7140
|
const i="string"==typeof t
|
|
7139
7141
|
if("object"==typeof t&&null!==t)try{if(Array.isArray(t)&&t.length>0)return _y.fromArray(t.map((t=>e.nodeFromJSON(t))))
|
|
7140
7142
|
const i=e.nodeFromJSON(t)
|
|
7141
7143
|
return n.errorOnInvalidContent&&i.check(),i}catch(i){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:i})
|
|
7142
|
-
return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",i),
|
|
7144
|
+
return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",i),yI("",e,n)}if(i){if(n.errorOnInvalidContent){let i=!1,s=""
|
|
7143
7145
|
const o=new fw({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:t=>(i=!0,s="string"==typeof t?t:t.outerHTML,null)}]}})})
|
|
7144
|
-
if(n.slice?gw.fromSchema(o).parseSlice(
|
|
7145
|
-
return n.slice?i.parseSlice(
|
|
7146
|
+
if(n.slice?gw.fromSchema(o).parseSlice(bI(t),n.parseOptions):gw.fromSchema(o).parse(bI(t),n.parseOptions),n.errorOnInvalidContent&&i)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${s}`)})}const i=gw.fromSchema(e)
|
|
7147
|
+
return n.slice?i.parseSlice(bI(t),n.parseOptions).content:i.parse(bI(t),n.parseOptions)}return yI("",e,n)}function wI(){return"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)}function xI(t,e,n={}){const{from:i,to:s,empty:o}=t.selection,r=e?R_(e,t.schema):null,a=[]
|
|
7146
7148
|
t.doc.nodesBetween(i,s,((t,e)=>{if(t.isText)return
|
|
7147
7149
|
const n=Math.max(i,e),o=Math.min(s,e+t.nodeSize)
|
|
7148
7150
|
a.push({node:t,from:n,to:o})}))
|
|
@@ -7150,7 +7152,7 @@ const l=s-i,c=a.filter((t=>!r||r.name===t.node.type.name)).filter((t=>lI(t.node.
|
|
|
7150
7152
|
if(o)return!!c.length
|
|
7151
7153
|
const d=c.reduce(((t,e)=>t+e.to-e.from),0)
|
|
7152
7154
|
return d>=l}function CI(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function kI(t,e){const n="string"==typeof e?[e]:e
|
|
7153
|
-
return Object.keys(t).reduce(((e,i)=>(n.includes(i)||(e[i]=t[i]),e)),{})}function SI(t,e,n={},i={}){return
|
|
7155
|
+
return Object.keys(t).reduce(((e,i)=>(n.includes(i)||(e[i]=t[i]),e)),{})}function SI(t,e,n={},i={}){return yI(t,e,{slice:!1,parseOptions:n,errorOnInvalidContent:i.errorOnInvalidContent})}function _I(t,e){const n=uI(e,t.schema),{from:i,to:s,empty:o}=t.selection,r=[]
|
|
7154
7156
|
o?(t.storedMarks&&r.push(...t.storedMarks),r.push(...t.selection.$head.marks())):t.doc.nodesBetween(i,s,(t=>{r.push(...t.marks)}))
|
|
7155
7157
|
const a=r.find((t=>t.type.name===n.name))
|
|
7156
7158
|
return a?{...a.attrs}:{}}function II(t){return e=>function(t,e){for(let n=t.depth;n>0;n-=1){const i=t.node(n)
|
|
@@ -7174,16 +7176,16 @@ t.doc.nodesBetween(i,s,((t,e)=>{if(!t.isText&&!t.marks.length)return
|
|
|
7174
7176
|
const n=Math.max(i,e),o=Math.min(s,e+t.nodeSize)
|
|
7175
7177
|
r+=o-n,a.push(...t.marks.map((t=>({mark:t,from:n,to:o}))))}))})),0===r)return!1
|
|
7176
7178
|
const l=a.filter((t=>!o||o.name===t.mark.type.name)).filter((t=>lI(t.mark.attrs,n,{strict:!1}))).reduce(((t,e)=>t+e.to-e.from),0),c=a.filter((t=>!o||t.mark.type!==o&&t.mark.type.excludes(o))).reduce(((t,e)=>t+e.to-e.from),0)
|
|
7177
|
-
return(l>0?l+c:l)>=r}function
|
|
7179
|
+
return(l>0?l+c:l)>=r}function TI(t,e){const{nodeExtensions:n}=T_(e),i=n.find((e=>e.name===t))
|
|
7178
7180
|
if(!i)return!1
|
|
7179
7181
|
const s=B_(A_(i,"group",{name:i.name,options:i.options,storage:i.storage}))
|
|
7180
|
-
return"string"==typeof s&&s.split(" ").includes("list")}function
|
|
7182
|
+
return"string"==typeof s&&s.split(" ").includes("list")}function OI(t,{checkChildren:e=!0,ignoreWhitespace:n=!1}={}){var i
|
|
7181
7183
|
if(n){if("hardBreak"===t.type.name)return!0
|
|
7182
7184
|
if(t.isText)return/^\s*$/m.test(null!==(i=t.text)&&void 0!==i?i:"")}if(t.isText)return!t.text
|
|
7183
7185
|
if(t.isAtom||t.isLeaf)return!1
|
|
7184
7186
|
if(0===t.content.childCount)return!0
|
|
7185
7187
|
if(e){let i=!0
|
|
7186
|
-
return t.content.forEach((t=>{!1!==i&&(
|
|
7188
|
+
return t.content.forEach((t=>{!1!==i&&(OI(t,{ignoreWhitespace:n,checkChildren:e})||(i=!1))})),i}return!1}function RI(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks()
|
|
7187
7189
|
if(n){const i=n.filter((t=>null==e?void 0:e.includes(t.type.name)))
|
|
7188
7190
|
t.tr.ensureMarks(i)}}const FI=(t,e)=>{const n=II((t=>t.type===e))(t.selection)
|
|
7189
7191
|
if(!n)return!0
|
|
@@ -7229,14 +7231,14 @@ if(t&&t.from<=c&&t.to>=d){const e=Sx.create(r,t.from,t.to)
|
|
|
7229
7231
|
n.setSelection(e)}}return!0},first:t=>e=>{const n="function"==typeof t?t(e):t
|
|
7230
7232
|
for(let t=0;t<n.length;t+=1)if(n[t](e))return!0
|
|
7231
7233
|
return!1},focus:(t=null,e={})=>({editor:n,view:i,tr:s,dispatch:o})=>{e={scrollIntoView:!0,...e}
|
|
7232
|
-
const r=()=>{i.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(i.focus(),(null==e?void 0:e.scrollIntoView)&&n.commands.scrollIntoView())}))}
|
|
7234
|
+
const r=()=>{(gI()||"Android"===navigator.platform||/android/i.test(navigator.userAgent))&&i.dom.focus(),requestAnimationFrame((()=>{n.isDestroyed||(i.focus(),(null==e?void 0:e.scrollIntoView)&&n.commands.scrollIntoView())}))}
|
|
7233
7235
|
if(i.hasFocus()&&null===t||!1===t)return!0
|
|
7234
7236
|
if(o&&null===t&&!pI(n.state.selection))return r(),!0
|
|
7235
7237
|
const a=mI(s.doc,t)||n.state.selection,l=n.state.selection.eq(a)
|
|
7236
7238
|
return o&&(l||s.setSelection(a),l&&s.storedMarks&&s.setStoredMarks(s.storedMarks),r()),!0},forEach:(t,e)=>n=>t.every(((t,i)=>e(t,{...n,index:i}))),insertContent:(t,e)=>({tr:n,commands:i})=>i.insertContentAt({from:n.selection.from,to:n.selection.to},t,e),insertContentAt:(t,e,n)=>({tr:i,dispatch:s,editor:o})=>{var r
|
|
7237
7239
|
if(s){let s
|
|
7238
7240
|
n={parseOptions:o.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n}
|
|
7239
|
-
try{s=
|
|
7241
|
+
try{s=yI(e,o.schema,{parseOptions:{preserveWhitespace:"full",...n.parseOptions},errorOnInvalidContent:null!==(r=n.errorOnInvalidContent)&&void 0!==r?r:o.options.enableContentCheck})}catch(t){return o.emit("contentError",{editor:o,error:t,disableCollaboration:()=>{o.storage.collaboration&&(o.storage.collaboration.isDisabled=!0)}}),!1}let{from:a,to:l}="number"==typeof t?{from:t,to:t}:{from:t.from,to:t.to},c=!0,d=!0
|
|
7240
7242
|
if(("type"in s?[s]:s).forEach((t=>{t.check(),c=!!c&&(t.isText&&0===t.marks.length),d=!!d&&t.isBlock})),a===l&&d){const{parent:t}=i.doc.resolve(a)
|
|
7241
7243
|
t.isTextblock&&!t.type.spec.code&&!t.childCount&&(a-=1,l+=1)}let h
|
|
7242
7244
|
if(c){if(Array.isArray(e))h=e.map((t=>t.text||"")).join("")
|
|
@@ -7269,8 +7271,8 @@ if(x_(t,s,e,1))return!0
|
|
|
7269
7271
|
if(0==i.parent.content.size&&(g_(o,"start")||Ix.isSelectable(o))){let n=ox(t.doc,i.before(),i.after(),Ay.empty)
|
|
7270
7272
|
if(n&&n.slice.size<n.to-n.from){if(e){let i=t.tr.step(n)
|
|
7271
7273
|
i.setSelection(g_(o,"start")?wx.findFrom(i.doc.resolve(i.mapping.map(s.pos)),1):Ix.create(i.doc,i.mapping.map(s.pos))),e(i.scrollIntoView())}return!0}}return!(!o.isAtom||s.depth!=i.depth-1||(e&&e(t.tr.delete(s.pos,s.pos+o.nodeSize).scrollIntoView()),0))})(t,e),joinItemBackward:()=>({state:t,dispatch:e,tr:n})=>{try{const i=sx(t.doc,t.selection.$from.pos,-1)
|
|
7272
|
-
return null!=i&&(n.join(i,2),e&&e(n),!0)}catch
|
|
7273
|
-
return null!=i&&(n.join(i,2),e&&e(n),!0)}catch
|
|
7274
|
+
return null!=i&&(n.join(i,2),e&&e(n),!0)}catch{return!1}},joinItemForward:()=>({state:t,dispatch:e,tr:n})=>{try{const i=sx(t.doc,t.selection.$from.pos,1)
|
|
7275
|
+
return null!=i&&(n.join(i,2),e&&e(n),!0)}catch{return!1}},joinTextblockBackward:()=>({state:t,dispatch:e})=>((t,e,n)=>{let i=f_(t,n)
|
|
7274
7276
|
if(!i)return!1
|
|
7275
7277
|
let s=v_(i)
|
|
7276
7278
|
return!!s&&m_(t,s,e)})(t,e),joinTextblockForward:()=>({state:t,dispatch:e})=>((t,e,n)=>{let i=b_(t,n)
|
|
@@ -7289,7 +7291,7 @@ else if(/^a(lt)?$/i.test(r))n=!0
|
|
|
7289
7291
|
else if(/^(c|ctrl|control)$/i.test(r))i=!0
|
|
7290
7292
|
else if(/^s(hift)?$/i.test(r))s=!0
|
|
7291
7293
|
else{if(!/^mod$/i.test(r))throw new Error(`Unrecognized modifier name: ${r}`)
|
|
7292
|
-
|
|
7294
|
+
gI()||wI()?o=!0:i=!0}}return n&&(r=`Alt-${r}`),i&&(r=`Ctrl-${r}`),o&&(r=`Meta-${r}`),s&&(r=`Shift-${r}`),r}(t).split(/-(?!$)/),r=o.find((t=>!["Alt","Ctrl","Meta","Shift"].includes(t))),a=new KeyboardEvent("keydown",{key:"Space"===r?" ":r,altKey:o.includes("Alt"),ctrlKey:o.includes("Ctrl"),metaKey:o.includes("Meta"),shiftKey:o.includes("Shift"),bubbles:!0,cancelable:!0}),l=e.captureTransaction((()=>{n.someProp("handleKeyDown",(t=>t(n,a)))}))
|
|
7293
7295
|
return null==l||l.steps.forEach((t=>{const e=t.map(i.mapping)
|
|
7294
7296
|
e&&s&&i.maybeStep(e)})),!0},lift:(t,e={})=>({state:n,dispatch:i})=>!!xI(n,R_(t,n.schema),e)&&((t,e)=>{let{$from:n,$to:i}=t.selection,s=n.blockRange(i),o=s&&Yw(s)
|
|
7295
7297
|
return null!=o&&(e&&e(t.tr.lift(s,o).scrollIntoView()),!0)})(n,i),liftEmptyBlock:()=>({state:t,dispatch:e})=>((t,e)=>{let{$cursor:n}=t.selection
|
|
@@ -7370,9 +7372,9 @@ if(n.split(l.pos,2,g).scrollIntoView(),!a||!s)return!0
|
|
|
7370
7372
|
const c=a.filter((t=>r.includes(t.type.name)))
|
|
7371
7373
|
n.ensureMarks(c)}return!0},toggleList:(t,e,n,i={})=>({editor:s,tr:o,state:r,dispatch:a,chain:l,commands:c,can:d})=>{const{extensions:h,splittableMarks:u}=s.extensionManager,p=R_(t,r.schema),f=R_(e,r.schema),{selection:m,storedMarks:g}=r,{$from:v,$to:b}=m,y=v.blockRange(b),w=g||m.$to.parentOffset&&m.$from.marks()
|
|
7372
7374
|
if(!y)return!1
|
|
7373
|
-
const x=II((t=>
|
|
7375
|
+
const x=II((t=>TI(t.type.name,h)))(m)
|
|
7374
7376
|
if(y.depth>=1&&x&&y.depth-x.depth<=1){if(x.node.type===p)return c.liftListItem(f)
|
|
7375
|
-
if(
|
|
7377
|
+
if(TI(x.node.type.name,h)&&p.validContent(x.node.content)&&a)return l().command((()=>(o.setNodeMarkup(x.pos,p),!0))).command((()=>FI(o,p))).command((()=>NI(o,p))).run()}return n&&w&&a?l().command((()=>{const t=d().wrapInList(p,i),e=w.filter((t=>u.includes(t.type.name)))
|
|
7376
7378
|
return o.ensureMarks(e),!!t||c.clearNodes()})).wrapInList(p,i).command((()=>FI(o,p))).command((()=>NI(o,p))).run():l().command((()=>!!d().wrapInList(p,i)||c.clearNodes())).wrapInList(p,i).command((()=>FI(o,p))).command((()=>NI(o,p))).run()},toggleMark:(t,e={},n={})=>({state:i,commands:s})=>{const{extendEmptyMarkRange:o=!1}=n,r=uI(t,i.schema)
|
|
7377
7379
|
return AI(i,r,e)?s.unsetMark(r,{extendEmptyMarkRange:o}):s.setMark(r,e)},toggleNode:(t,e,n={})=>({state:i,commands:s})=>{const o=R_(t,i.schema),r=R_(e,i.schema),a=xI(i,o,n)
|
|
7378
7380
|
let l
|
|
@@ -7404,11 +7406,12 @@ return e.dispatch(i),!1},blur:(e,n)=>{t.isFocused=!1
|
|
|
7404
7406
|
const i=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1)
|
|
7405
7407
|
return e.dispatch(i),!1}}}})]}}),HI=sI.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first((({commands:t})=>[()=>t.undoInputRule(),()=>t.command((({tr:e})=>{const{selection:n,doc:i}=e,{empty:s,$anchor:o}=n,{pos:r,parent:a}=o,l=o.parent.isTextblock&&r>0?e.doc.resolve(r-1):o,c=l.parent.type.spec.isolating,d=o.pos-o.parentOffset,h=c&&1===l.parent.childCount?d===o.pos:wx.atStart(i).from===r
|
|
7406
7408
|
return!(!s||!a.type.isTextblock||a.textContent.length||!h||h&&"paragraph"===o.parent.type.name)&&t.clearNodes()})),()=>t.deleteSelection(),()=>t.joinBackward(),()=>t.selectNodeBackward()])),e=()=>this.editor.commands.first((({commands:t})=>[()=>t.deleteSelection(),()=>t.deleteCurrentNode(),()=>t.joinForward(),()=>t.selectNodeForward()])),n={Enter:()=>this.editor.commands.first((({commands:t})=>[()=>t.newlineInCode(),()=>t.createParagraphNear(),()=>t.liftEmptyBlock(),()=>t.splitBlock()])),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},i={...n},s={...n,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()}
|
|
7407
|
-
return
|
|
7409
|
+
return gI()||wI()?s:i},addProseMirrorPlugins(){return[new Px({key:new Hx("clearDocument"),appendTransaction:(t,e,n)=>{if(t.some((t=>t.getMeta("composition"))))return
|
|
7410
|
+
const i=t.some((t=>t.docChanged))&&!e.doc.eq(n.doc),s=t.some((t=>t.getMeta("preventClearDocument")))
|
|
7408
7411
|
if(!i||s)return
|
|
7409
7412
|
const{empty:o,from:r,to:a}=e.selection,l=wx.atStart(e.doc).from,c=wx.atEnd(e.doc).to
|
|
7410
7413
|
if(o||!(r===l&&a===c))return
|
|
7411
|
-
if(!
|
|
7414
|
+
if(!OI(n.doc))return
|
|
7412
7415
|
const d=n.tr,h=$_({state:n,transaction:d}),{commands:u}=new D_({editor:this.editor,state:h})
|
|
7413
7416
|
return u.clearNodes(),d.steps.length?d:void 0}})]}}),UI=sI.create({name:"paste",addProseMirrorPlugins(){return[new Px({key:new Hx("tiptapPaste"),props:{handlePaste:(t,e,n)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:n})}}})]}}),qI=sI.create({name:"tabindex",addProseMirrorPlugins(){return[new Px({key:new Hx("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}})
|
|
7414
7417
|
class jI{get name(){return this.node.type.name}constructor(t,e,n=!1,i=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=t,this.editor=e,this.currentNode=i}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var t
|
|
@@ -7462,7 +7465,7 @@ i&&this.emit("focus",{editor:this,event:i.event,transaction:t}),s&&this.emit("bl
|
|
|
7462
7465
|
return function(t,e,n={}){if(!e)return xI(t,null,n)||AI(t,null,n)
|
|
7463
7466
|
const i=CI(e,t.schema)
|
|
7464
7467
|
return"node"===i?xI(t,e,n):"mark"===i&&AI(t,e,n)}(this.state,n,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return U_(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e="\n\n",textSerializers:n={}}=t||{}
|
|
7465
|
-
return function(t,e){return oI(t,{from:0,to:t.content.size},e)}(this.state.doc,{blockSeparator:e,textSerializers:{...rI(this.schema),...n}})}get isEmpty(){return
|
|
7468
|
+
return function(t,e){return oI(t,{from:0,to:t.content.size},e)}(this.state.doc,{blockSeparator:e,textSerializers:{...rI(this.schema),...n}})}get isEmpty(){return OI(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const t=this.view.dom
|
|
7466
7469
|
t&&t.editor&&delete t.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var t
|
|
7467
7470
|
return!(null===(t=this.view)||void 0===t?void 0:t.docView)}$node(t,e){var n
|
|
7468
7471
|
return(null===(n=this.$doc)||void 0===n?void 0:n.querySelector(t,e))||null}$nodes(t,e){var n
|
|
@@ -7541,7 +7544,7 @@ const QI=class extends gs{}.compose({baseName:"toolbar",baseClass:gs,template:(t
|
|
|
7541
7544
|
${ae(0,e)}
|
|
7542
7545
|
</div>
|
|
7543
7546
|
</template>
|
|
7544
|
-
`,styles:JI
|
|
7547
|
+
`,styles:JI})
|
|
7545
7548
|
_i.getOrCreate().withPrefix("nimble").register(QI())
|
|
7546
7549
|
const tM="nimble-toolbar",eM="Bold",nM="Italics",iM="Bulleted List",sM="Numbered List",oM=yi.create({name:"rich-text-toggle-bold-label",cssCustomPropertyName:null}).withDefault(eM),rM=yi.create({name:"rich-text-toggle-italics-label",cssCustomPropertyName:null}).withDefault(nM),aM=yi.create({name:"rich-text-toggle-bulleted-list-label",cssCustomPropertyName:null}).withDefault(iM),lM=yi.create({name:"rich-text-toggle-numbered-list-label",cssCustomPropertyName:null}).withDefault(sM),cM=Mt`
|
|
7547
7550
|
${hv}
|
|
@@ -7985,14 +7988,14 @@ else if(r>=55296&&r<=57343){if(r>=55296&&r<=56319&&e+1<o){const n=t.charCodeAt(e
|
|
|
7985
7988
|
if(n>=56320&&n<=57343){s+=encodeURIComponent(t[e]+t[e+1]),e++
|
|
7986
7989
|
continue}}s+="%EF%BF%BD"}else s+=encodeURIComponent(t[e])}return s}function SM(t){let e=""
|
|
7987
7990
|
return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&-1!==t.hostname.indexOf(":")?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function _M(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}kM.defaultChars=";/?:@&=+$,-_.!~*'()#",kM.componentChars="-_.!~*'()"
|
|
7988
|
-
const IM=/^([a-z0-9.+-]+:)/i,MM=/:[0-9]*$/,$M=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,DM=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),EM=["'"].concat(DM),AM=["%","/","?",";","#"].concat(EM),
|
|
7991
|
+
const IM=/^([a-z0-9.+-]+:)/i,MM=/:[0-9]*$/,$M=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,DM=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),EM=["'"].concat(DM),AM=["%","/","?",";","#"].concat(EM),TM=["/","?","#"],OM=/^[+a-z0-9A-Z_-]{0,63}$/,RM=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,FM={javascript:!0,"javascript:":!0},NM={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0}
|
|
7989
7992
|
function LM(t,e){if(t&&t instanceof _M)return t
|
|
7990
7993
|
const n=new _M
|
|
7991
7994
|
return n.parse(t,e),n}_M.prototype.parse=function(t,e){let n,i,s,o=t
|
|
7992
7995
|
if(o=o.trim(),!e&&1===t.split("#").length){const t=$M.exec(o)
|
|
7993
7996
|
if(t)return this.pathname=t[1],t[2]&&(this.search=t[2]),this}let r=IM.exec(o)
|
|
7994
7997
|
if(r&&(r=r[0],n=r.toLowerCase(),this.protocol=r,o=o.substr(r.length)),(e||r||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(s="//"===o.substr(0,2),!s||r&&FM[r]||(o=o.substr(2),this.slashes=!0)),!FM[r]&&(s||r&&!NM[r])){let t,e,n=-1
|
|
7995
|
-
for(let t=0;t<
|
|
7998
|
+
for(let t=0;t<TM.length;t++)i=o.indexOf(TM[t]),-1!==i&&(-1===n||i<n)&&(n=i)
|
|
7996
7999
|
e=-1===n?o.lastIndexOf("@"):o.lastIndexOf("@",n),-1!==e&&(t=o.slice(0,e),o=o.slice(e+1),this.auth=t),n=-1
|
|
7997
8000
|
for(let t=0;t<AM.length;t++)i=o.indexOf(AM[t]),-1!==i&&(-1===n||i<n)&&(n=i);-1===n&&(n=o.length),":"===o[n-1]&&n--
|
|
7998
8001
|
const s=o.slice(0,n)
|
|
@@ -8000,9 +8003,9 @@ o=o.slice(n),this.parseHost(s),this.hostname=this.hostname||""
|
|
|
8000
8003
|
const r="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1]
|
|
8001
8004
|
if(!r){const t=this.hostname.split(/\./)
|
|
8002
8005
|
for(let e=0,n=t.length;e<n;e++){const n=t[e]
|
|
8003
|
-
if(n&&!n.match(
|
|
8006
|
+
if(n&&!n.match(OM)){let i=""
|
|
8004
8007
|
for(let t=0,e=n.length;t<e;t++)n.charCodeAt(t)>127?i+="x":i+=n[t]
|
|
8005
|
-
if(!i.match(
|
|
8008
|
+
if(!i.match(OM)){const i=t.slice(0,e),s=t.slice(e+1),r=n.match(RM)
|
|
8006
8009
|
r&&(i.push(r[1]),s.unshift(r[2])),s.length&&(o=s.join(".")+o),this.hostname=i.join(".")
|
|
8007
8010
|
break}}}}this.hostname.length>255&&(this.hostname=""),r&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=o.indexOf("#");-1!==a&&(this.hash=o.substr(a),o=o.slice(0,a))
|
|
8008
8011
|
const l=o.indexOf("?")
|
|
@@ -8095,34 +8098,34 @@ if(34!==i&&39!==i&&40!==i)return r
|
|
|
8095
8098
|
e++,o++,40===i&&(i=41),r.marker=i}for(;o<n;){if(s=t.charCodeAt(o),s===r.marker)return r.pos=o+1,r.str+=v$(t.slice(e,o)),r.ok=!0,r
|
|
8096
8099
|
if(40===s&&41===r.marker)return r
|
|
8097
8100
|
92===s&&o+1<n&&o++,o++}return r.can_continue=!0,r.str+=v$(t.slice(e,o)),r}})
|
|
8098
|
-
const
|
|
8099
|
-
function
|
|
8100
|
-
return"<code"+s.renderAttrs(o)+">"+C$(o.content)+"</code>"},
|
|
8101
|
-
return"<pre"+s.renderAttrs(o)+"><code>"+C$(t[e].content)+"</code></pre>\n"},
|
|
8101
|
+
const T$={}
|
|
8102
|
+
function O$(){this.rules=d$({},T$)}function R$(){this.__rules__=[],this.__cache__=null}function F$(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}function N$(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}T$.code_inline=function(t,e,n,i,s){const o=t[e]
|
|
8103
|
+
return"<code"+s.renderAttrs(o)+">"+C$(o.content)+"</code>"},T$.code_block=function(t,e,n,i,s){const o=t[e]
|
|
8104
|
+
return"<pre"+s.renderAttrs(o)+"><code>"+C$(t[e].content)+"</code></pre>\n"},T$.fence=function(t,e,n,i,s){const o=t[e],r=o.info?v$(o.info).trim():""
|
|
8102
8105
|
let a,l="",c=""
|
|
8103
8106
|
if(r){const t=r.split(/(\s+)/g)
|
|
8104
8107
|
l=t[0],c=t.slice(2).join("")}if(a=n.highlight&&n.highlight(o.content,l,c)||C$(o.content),0===a.indexOf("<pre"))return a+"\n"
|
|
8105
8108
|
if(r){const t=o.attrIndex("class"),e=o.attrs?o.attrs.slice():[]
|
|
8106
8109
|
t<0?e.push(["class",n.langPrefix+l]):(e[t]=e[t].slice(),e[t][1]+=" "+n.langPrefix+l)
|
|
8107
8110
|
const i={attrs:e}
|
|
8108
|
-
return`<pre><code${s.renderAttrs(i)}>${a}</code></pre>\n`}return`<pre><code${s.renderAttrs(o)}>${a}</code></pre>\n`},
|
|
8109
|
-
return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,n,i),s.renderToken(t,e,n)},
|
|
8111
|
+
return`<pre><code${s.renderAttrs(i)}>${a}</code></pre>\n`}return`<pre><code${s.renderAttrs(o)}>${a}</code></pre>\n`},T$.image=function(t,e,n,i,s){const o=t[e]
|
|
8112
|
+
return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,n,i),s.renderToken(t,e,n)},T$.hardbreak=function(t,e,n){return n.xhtmlOut?"<br />\n":"<br>\n"},T$.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},T$.text=function(t,e){return C$(t[e].content)},T$.html_block=function(t,e){return t[e].content},T$.html_inline=function(t,e){return t[e].content},O$.prototype.renderAttrs=function(t){let e,n,i
|
|
8110
8113
|
if(!t.attrs)return""
|
|
8111
8114
|
for(i="",e=0,n=t.attrs.length;e<n;e++)i+=" "+C$(t.attrs[e][0])+'="'+C$(t.attrs[e][1])+'"'
|
|
8112
|
-
return i},
|
|
8115
|
+
return i},O$.prototype.renderToken=function(t,e,n){const i=t[e]
|
|
8113
8116
|
let s=""
|
|
8114
8117
|
if(i.hidden)return""
|
|
8115
8118
|
i.block&&-1!==i.nesting&&e&&t[e-1].hidden&&(s+="\n"),s+=(-1===i.nesting?"</":"<")+i.tag,s+=this.renderAttrs(i),0===i.nesting&&n.xhtmlOut&&(s+=" /")
|
|
8116
8119
|
let o=!1
|
|
8117
|
-
if(i.block&&(o=!0,1===i.nesting&&e+1<t.length)){const n=t[e+1];("inline"===n.type||n.hidden||-1===n.nesting&&n.tag===i.tag)&&(o=!1)}return s+=o?">\n":">",s},
|
|
8120
|
+
if(i.block&&(o=!0,1===i.nesting&&e+1<t.length)){const n=t[e+1];("inline"===n.type||n.hidden||-1===n.nesting&&n.tag===i.tag)&&(o=!1)}return s+=o?">\n":">",s},O$.prototype.renderInline=function(t,e,n){let i=""
|
|
8118
8121
|
const s=this.rules
|
|
8119
8122
|
for(let o=0,r=t.length;o<r;o++){const r=t[o].type
|
|
8120
|
-
void 0!==s[r]?i+=s[r](t,o,e,n,this):i+=this.renderToken(t,o,e)}return i},
|
|
8123
|
+
void 0!==s[r]?i+=s[r](t,o,e,n,this):i+=this.renderToken(t,o,e)}return i},O$.prototype.renderInlineAsText=function(t,e,n){let i=""
|
|
8121
8124
|
for(let s=0,o=t.length;s<o;s++)switch(t[s].type){case"text":case"html_inline":case"html_block":i+=t[s].content
|
|
8122
8125
|
break
|
|
8123
8126
|
case"image":i+=this.renderInlineAsText(t[s].children,e,n)
|
|
8124
8127
|
break
|
|
8125
|
-
case"softbreak":case"hardbreak":i+="\n"}return i},
|
|
8128
|
+
case"softbreak":case"hardbreak":i+="\n"}return i},O$.prototype.render=function(t,e,n){let i=""
|
|
8126
8129
|
const s=this.rules
|
|
8127
8130
|
for(let o=0,r=t.length;o<r;o++){const r=t[o].type
|
|
8128
8131
|
"inline"===r?i+=this.renderInline(t[o].children,e,n):void 0!==s[r]?i+=s[r](t,o,e,n,this):i+=this.renderToken(t,o,e,n)}return i},R$.prototype.__find__=function(t){for(let e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e
|
|
@@ -8692,8 +8695,8 @@ break}if(r){if(t.pos>=i)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPe
|
|
|
8692
8695
|
this.tokenize(s)
|
|
8693
8696
|
const o=this.ruler2.getRules(""),r=o.length
|
|
8694
8697
|
for(let t=0;t<r;t++)o[t](s)},MD.prototype.State=uD
|
|
8695
|
-
const
|
|
8696
|
-
const
|
|
8698
|
+
const TD={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1}
|
|
8699
|
+
const OD={"http:":{validate:function(t,e,n){const i=t.slice(e)
|
|
8697
8700
|
return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(i)?i.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){const i=t.slice(e)
|
|
8698
8701
|
return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(i)?e>=3&&":"===t[e-3]||e>=3&&"/"===t[e-3]?0:i.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){const i=t.slice(e)
|
|
8699
8702
|
return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(i)?i.match(n.re.mailto)[0].length:0}}},RD="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",FD="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|")
|
|
@@ -8714,7 +8717,7 @@ t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+r+")","i"),t.re.s
|
|
|
8714
8717
|
this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=s,this.text=s,this.url=s}function BD(t,e){const n=new LD(t,e)
|
|
8715
8718
|
return t.__compiled__[n.schema].normalize(n,t),n}function PD(t,e){if(!(this instanceof PD))return new PD(t,e)
|
|
8716
8719
|
var n
|
|
8717
|
-
e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||
|
|
8720
|
+
e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||TD.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=$D({},TD,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=$D({},OD,t),this.__compiled__={},this.__tlds__=FD,this.__tlds_replaced__=!1,this.re={},ND(this)}PD.prototype.add=function(t,e){return this.__schemas__[t]=e,ND(this),this},PD.prototype.set=function(t){return this.__opts__=$D(this.__opts__,t),this},PD.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1
|
|
8718
8721
|
let e,n,i,s,o,r,a,l,c
|
|
8719
8722
|
if(this.re.schema_test.test(t))for(a=this.re.schema_search,a.lastIndex=0;null!==(e=a.exec(t));)if(s=this.testSchemaAt(t,e[2],a.lastIndex),s){this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+s
|
|
8720
8723
|
break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=t.indexOf("@"),c>=0&&null!==(i=t.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,r=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&r>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=r))),this.__index__>=0},PD.prototype.pretest=function(t){return this.re.pretest.test(t)},PD.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},PD.prototype.match=function(t){const e=[]
|
|
@@ -8775,7 +8778,7 @@ return!iE.test(e)||sE.test(e)}const rE=["http:","https:","mailto:"]
|
|
|
8775
8778
|
function aE(t){const e=LM(t,!0)
|
|
8776
8779
|
if(e.hostname&&(!e.protocol||rE.indexOf(e.protocol)>=0))try{e.hostname=eE.toASCII(e.hostname)}catch(t){}return kM(SM(e))}function lE(t){const e=LM(t,!0)
|
|
8777
8780
|
if(e.hostname&&(!e.protocol||rE.indexOf(e.protocol)>=0))try{e.hostname=eE.toUnicode(e.hostname)}catch(t){}return xM(SM(e),xM.defaultChars+"%")}function cE(t,e){if(!(this instanceof cE))return new cE(t,e)
|
|
8778
|
-
e||l$(t)||(e=t||{},t="default"),this.inline=new MD,this.block=new hD,this.core=new Q$,this.renderer=new
|
|
8781
|
+
e||l$(t)||(e=t||{},t="default"),this.inline=new MD,this.block=new hD,this.core=new Q$,this.renderer=new O$,this.linkify=new PD,this.validateLink=oE,this.normalizeLink=aE,this.normalizeLinkText=lE,this.utils=E$,this.helpers=d$({},A$),this.options={},this.configure(t),e&&this.set(e)}cE.prototype.set=function(t){return d$(this.options,t),this},cE.prototype.configure=function(t){const e=this
|
|
8779
8782
|
if(l$(t)){const e=t
|
|
8780
8783
|
if(!(t=nE[e]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty")
|
|
8781
8784
|
return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach((function(n){t.components[n].rules&&e[n].ruler.enableOnly(t.components[n].rules),t.components[n].rules2&&e[n].ruler2.enableOnly(t.components[n].rules2)})),this},cE.prototype.enable=function(t,e){let n=[]
|
|
@@ -8882,8 +8885,8 @@ for(const t of this.mappingElements){const e=x.getNotifier(t)
|
|
|
8882
8885
|
e.subscribe(this),this.mappingNotifiers.push(e)}}}t([ft],$E.prototype,"pattern",void 0),t([ft({attribute:"button-label"})],$E.prototype,"buttonLabel",void 0),t([C],$E.prototype,"mappingElements",void 0)
|
|
8883
8886
|
class DE{constructor(t){this.regexPattern=new RegExp(t.pattern??""),this.mappingConfigs=t.mappingConfigs,this.viewElement=t.viewElement}isValidMentionHref(t){return this.regexPattern.test(t)}getDisplayName(t){const e=this.mappingConfigs?.get(t),n=this.extractMentionId(t)
|
|
8884
8887
|
return e?.displayName??n}extractMentionId(t){const e=this.regexPattern.exec(t)
|
|
8885
|
-
return e?.[1]??void 0}}class EE{constructor(t){this.parserMentionConfig=[],this.isValid=!0,this.isValid=t.every((t=>t.mentionInternals.validator.isValid())),this.parserMentionConfig=this.isValid?t.map((t=>new DE(t.mentionInternals))):[]}}class AE{constructor(t){this.trackedItems={},this.trackedItems=t.reduce(((t,e)=>({...t,[e]:!1})),this.trackedItems)}getTrackedItems(){return{...this.trackedItems}}isTracked(t){return this.trackedItems[t]}track(t){this.trackedItems[t]||(this.trackedItems[t]=!0,this.onTrackingChange())}untrack(t){this.trackedItems[t]&&(this.trackedItems[t]=!1,this.onTrackingChange())}trackAll(){this.allTracked()||(this.setAllKeys(!0),this.onTrackingChange())}untrackAll(){this.noneTracked()||(this.setAllKeys(!1),this.onTrackingChange())}allTracked(){return Object.values(this.trackedItems).every((t=>t))}anyTracked(){return Object.values(this.trackedItems).some((t=>t))}noneTracked(){return Object.values(this.trackedItems).every((t=>!t))}onTrackingChange(){}setAllKeys(t){this.trackedItems=Object.keys(this.trackedItems).reduce(((e,n)=>({...e,[n]:t})),this.trackedItems)}}class
|
|
8886
|
-
class RE extends
|
|
8888
|
+
return e?.[1]??void 0}}class EE{constructor(t){this.parserMentionConfig=[],this.isValid=!0,this.isValid=t.every((t=>t.mentionInternals.validator.isValid())),this.parserMentionConfig=this.isValid?t.map((t=>new DE(t.mentionInternals))):[]}}class AE{constructor(t){this.trackedItems={},this.trackedItems=t.reduce(((t,e)=>({...t,[e]:!1})),this.trackedItems)}getTrackedItems(){return{...this.trackedItems}}isTracked(t){return this.trackedItems[t]}track(t){this.trackedItems[t]||(this.trackedItems[t]=!0,this.onTrackingChange())}untrack(t){this.trackedItems[t]&&(this.trackedItems[t]=!1,this.onTrackingChange())}trackAll(){this.allTracked()||(this.setAllKeys(!0),this.onTrackingChange())}untrackAll(){this.noneTracked()||(this.setAllKeys(!1),this.onTrackingChange())}allTracked(){return Object.values(this.trackedItems).every((t=>t))}anyTracked(){return Object.values(this.trackedItems).some((t=>t))}noneTracked(){return Object.values(this.trackedItems).every((t=>!t))}onTrackingChange(){}setAllKeys(t){this.trackedItems=Object.keys(this.trackedItems).reduce(((e,n)=>({...e,[n]:t})),this.trackedItems)}}class TE extends AE{}const OE=["pattern","mappingConfigs","buttonLabel"]
|
|
8889
|
+
class RE extends TE{constructor(t){super(OE),this.richText=t,this.updateQueued=!1}get updatePattern(){return this.isTracked("pattern")}get updateMappingConfigs(){return this.isTracked("mappingConfigs")}get updateButtonLabel(){return this.isTracked("buttonLabel")}trackMentionInternalsPropertyChanged(t){switch(t){case"mappingConfigs":this.track("mappingConfigs")
|
|
8887
8890
|
break
|
|
8888
8891
|
case"pattern":this.track("pattern")
|
|
8889
8892
|
break
|
|
@@ -8975,134 +8978,134 @@ let r=o.selection.resolve(o.transform.doc),a=(n?t.done:t.undone).addTransform(o.
|
|
|
8975
8978
|
return o.transform.setSelection(r).setMeta(rA,{redo:n,historyState:l})}(s,n,t)
|
|
8976
8979
|
o&&i(e?o.scrollIntoView():o)}return!0}}const dA=cA(!1,!0),hA=cA(!0,!0),uA=sI.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:t,dispatch:e})=>dA(t,e),redo:()=>({state:t,dispatch:e})=>hA(t,e)}),addProseMirrorPlugins(){return[lA(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),pA=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,fA=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,mA=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,gA=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,vA=J_.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>"normal"!==t.style.fontStyle&&null},{style:"font-style=normal",clearMark:t=>t.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",F_(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[GI({find:pA,type:this.type}),GI({find:mA,type:this.type})]},addPasteRules(){return[YI({find:fA,type:this.type}),YI({find:gA,type:this.type})]}}),bA="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",yA="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",wA=(t,e)=>{for(const n in e)t[n]=e[n]
|
|
8977
8980
|
return t},xA="numeric",CA="ascii",kA="alpha",SA="asciinumeric",_A="alphanumeric",IA="domain",MA="emoji",$A="scheme",DA="slashscheme",EA="whitespace"
|
|
8978
|
-
function AA(t,e){return t in e||(e[t]=[]),e[t]}function
|
|
8981
|
+
function AA(t,e){return t in e||(e[t]=[]),e[t]}function TA(t,e,n){e[xA]&&(e[SA]=!0,e[_A]=!0),e[CA]&&(e[SA]=!0,e[kA]=!0),e[SA]&&(e[_A]=!0),e[kA]&&(e[_A]=!0),e[_A]&&(e[IA]=!0),e[MA]&&(e[IA]=!0)
|
|
8979
8982
|
for(const i in e){const e=AA(i,n)
|
|
8980
|
-
e.indexOf(t)<0&&e.push(t)}}function
|
|
8983
|
+
e.indexOf(t)<0&&e.push(t)}}function OA(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}OA.groups={},OA.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t]
|
|
8981
8984
|
if(n)return n
|
|
8982
8985
|
for(let n=0;n<e.jr.length;n++){const i=e.jr[n][0],s=e.jr[n][1]
|
|
8983
8986
|
if(s&&i.test(t))return s}return e.jd},has(t,e=!1){return e?t in this.j:!!this.go(t)},ta(t,e,n,i){for(let s=0;s<t.length;s++)this.tt(t[s],e,n,i)},tr(t,e,n,i){let s
|
|
8984
|
-
return i=i||
|
|
8987
|
+
return i=i||OA.groups,e&&e.j?s=e:(s=new OA(e),n&&i&&TA(e,n,i)),this.jr.push([t,s]),s},ts(t,e,n,i){let s=this
|
|
8985
8988
|
const o=t.length
|
|
8986
8989
|
if(!o)return s
|
|
8987
8990
|
for(let e=0;e<o-1;e++)s=s.tt(t[e])
|
|
8988
|
-
return s.tt(t[o-1],e,n,i)},tt(t,e,n,i){i=i||
|
|
8991
|
+
return s.tt(t[o-1],e,n,i)},tt(t,e,n,i){i=i||OA.groups
|
|
8989
8992
|
const s=this
|
|
8990
8993
|
if(e&&e.j)return s.j[t]=e,e
|
|
8991
8994
|
const o=e
|
|
8992
8995
|
let r,a=s.go(t)
|
|
8993
|
-
if(a?(r=new
|
|
8996
|
+
if(a?(r=new OA,wA(r.j,a.j),r.jr.push.apply(r.jr,a.jr),r.jd=a.jd,r.t=a.t):r=new OA,o){if(i)if(r.t&&"string"==typeof r.t){const t=wA(function(t,e){const n={}
|
|
8994
8997
|
for(const i in e)e[i].indexOf(t)>=0&&(n[i]=!0)
|
|
8995
8998
|
return n}(r.t,i),n)
|
|
8996
|
-
|
|
8999
|
+
TA(o,t,i)}else n&&TA(o,n,i)
|
|
8997
9000
|
r.t=o}return s.j[t]=r,r}}
|
|
8998
|
-
const RA=(t,e,n,i,s)=>t.ta(e,n,i,s),FA=(t,e,n,i,s)=>t.tr(e,n,i,s),NA=(t,e,n,i,s)=>t.ts(e,n,i,s),LA=(t,e,n,i,s)=>t.tt(e,n,i,s),BA="WORD",PA="UWORD",VA="ASCIINUMERICAL",zA="ALPHANUMERICAL",HA="LOCALHOST",UA="TLD",qA="UTLD",jA="SCHEME",WA="SLASH_SCHEME",GA="NUM",ZA="WS",KA="NL",YA="OPENBRACE",XA="CLOSEBRACE",JA="OPENBRACKET",QA="CLOSEBRACKET",
|
|
8999
|
-
var
|
|
9000
|
-
const
|
|
9001
|
-
let
|
|
9002
|
-
function
|
|
9001
|
+
const RA=(t,e,n,i,s)=>t.ta(e,n,i,s),FA=(t,e,n,i,s)=>t.tr(e,n,i,s),NA=(t,e,n,i,s)=>t.ts(e,n,i,s),LA=(t,e,n,i,s)=>t.tt(e,n,i,s),BA="WORD",PA="UWORD",VA="ASCIINUMERICAL",zA="ALPHANUMERICAL",HA="LOCALHOST",UA="TLD",qA="UTLD",jA="SCHEME",WA="SLASH_SCHEME",GA="NUM",ZA="WS",KA="NL",YA="OPENBRACE",XA="CLOSEBRACE",JA="OPENBRACKET",QA="CLOSEBRACKET",tT="OPENPAREN",eT="CLOSEPAREN",nT="OPENANGLEBRACKET",iT="CLOSEANGLEBRACKET",sT="FULLWIDTHLEFTPAREN",oT="FULLWIDTHRIGHTPAREN",rT="LEFTCORNERBRACKET",aT="RIGHTCORNERBRACKET",lT="LEFTWHITECORNERBRACKET",cT="RIGHTWHITECORNERBRACKET",dT="FULLWIDTHLESSTHAN",hT="FULLWIDTHGREATERTHAN",uT="AMPERSAND",pT="APOSTROPHE",fT="ASTERISK",mT="AT",gT="BACKSLASH",vT="BACKTICK",bT="CARET",yT="COLON",wT="COMMA",xT="DOLLAR",CT="DOT",kT="EQUALS",ST="EXCLAMATION",_T="HYPHEN",IT="PERCENT",MT="PIPE",$T="PLUS",DT="POUND",ET="QUERY",AT="QUOTE",TT="FULLWIDTHMIDDLEDOT",OT="SEMI",RT="SLASH",FT="TILDE",NT="UNDERSCORE",LT="EMOJI",BT="SYM"
|
|
9002
|
+
var PT=Object.freeze({__proto__:null,WORD:BA,UWORD:PA,ASCIINUMERICAL:VA,ALPHANUMERICAL:zA,LOCALHOST:HA,TLD:UA,UTLD:qA,SCHEME:jA,SLASH_SCHEME:WA,NUM:GA,WS:ZA,NL:KA,OPENBRACE:YA,CLOSEBRACE:XA,OPENBRACKET:JA,CLOSEBRACKET:QA,OPENPAREN:tT,CLOSEPAREN:eT,OPENANGLEBRACKET:nT,CLOSEANGLEBRACKET:iT,FULLWIDTHLEFTPAREN:sT,FULLWIDTHRIGHTPAREN:oT,LEFTCORNERBRACKET:rT,RIGHTCORNERBRACKET:aT,LEFTWHITECORNERBRACKET:lT,RIGHTWHITECORNERBRACKET:cT,FULLWIDTHLESSTHAN:dT,FULLWIDTHGREATERTHAN:hT,AMPERSAND:uT,APOSTROPHE:pT,ASTERISK:fT,AT:mT,BACKSLASH:gT,BACKTICK:vT,CARET:bT,COLON:yT,COMMA:wT,DOLLAR:xT,DOT:CT,EQUALS:kT,EXCLAMATION:ST,HYPHEN:_T,PERCENT:IT,PIPE:MT,PLUS:$T,POUND:DT,QUERY:ET,QUOTE:AT,FULLWIDTHMIDDLEDOT:TT,SEMI:OT,SLASH:RT,TILDE:FT,UNDERSCORE:NT,EMOJI:LT,SYM:BT})
|
|
9003
|
+
const VT=/[a-z]/,zT=/\p{L}/u,HT=/\p{Emoji}/u,UT=/\d/,qT=/\s/,jT="\r",WT="\n",GT="️",ZT="",KT=""
|
|
9004
|
+
let YT=null,XT=null
|
|
9005
|
+
function JT(t,e){const n=function(t){const e=[],n=t.length
|
|
9003
9006
|
let i=0
|
|
9004
9007
|
for(;i<n;){let s,o=t.charCodeAt(i),r=o<55296||o>56319||i+1===n||(s=t.charCodeAt(i+1))<56320||s>57343?t[i]:t.slice(i,i+2)
|
|
9005
9008
|
e.push(r),i+=r.length}return e}(e.replace(/[A-Z]/g,(t=>t.toLowerCase()))),i=n.length,s=[]
|
|
9006
9009
|
let o=0,r=0
|
|
9007
9010
|
for(;r<i;){let a=t,l=null,c=0,d=null,h=-1,u=-1
|
|
9008
9011
|
for(;r<i&&(l=a.go(n[r]));)a=l,a.accepts()?(h=0,u=0,d=a):h>=0&&(h+=n[r].length,u++),c+=n[r].length,o+=n[r].length,r++
|
|
9009
|
-
o-=h,r-=u,c-=h,s.push({t:d.t,v:e.slice(o-c,o),s:o-c,e:o})}return s}function
|
|
9012
|
+
o-=h,r-=u,c-=h,s.push({t:d.t,v:e.slice(o-c,o),s:o-c,e:o})}return s}function QT(t,e,n,i,s){let o
|
|
9010
9013
|
const r=e.length
|
|
9011
9014
|
for(let n=0;n<r-1;n++){const r=e[n]
|
|
9012
|
-
t.j[r]?o=t.j[r]:(o=new
|
|
9015
|
+
t.j[r]?o=t.j[r]:(o=new OA(i),o.jr=s.slice(),t.j[r]=o),t=o}return o=new OA(n),o.jr=s.slice(),t.j[e[r-1]]=o,o}function tO(t){const e=[],n=[]
|
|
9013
9016
|
let i=0
|
|
9014
9017
|
for(;i<t.length;){let s=0
|
|
9015
9018
|
for(;"0123456789".indexOf(t[i+s])>=0;)s++
|
|
9016
9019
|
if(s>0){e.push(n.join(""))
|
|
9017
9020
|
for(let e=parseInt(t.substring(i,i+s),10);e>0;e--)n.pop()
|
|
9018
|
-
i+=s}else n.push(t[i]),i++}return e}const
|
|
9019
|
-
function
|
|
9020
|
-
t&&(n=wA(n,t instanceof
|
|
9021
|
+
i+=s}else n.push(t[i]),i++}return e}const eO={defaultProtocol:"http",events:null,format:iO,formatHref:iO,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null}
|
|
9022
|
+
function nO(t,e=null){let n=wA({},eO)
|
|
9023
|
+
t&&(n=wA(n,t instanceof nO?t.o:t))
|
|
9021
9024
|
const i=n.ignoreTags,s=[]
|
|
9022
9025
|
for(let t=0;t<i.length;t++)s.push(i[t].toUpperCase())
|
|
9023
|
-
this.o=n,e&&(this.defaultRender=e),this.ignoreTags=s}function
|
|
9024
|
-
return n.t=t,n}
|
|
9026
|
+
this.o=n,e&&(this.defaultRender=e),this.ignoreTags=s}function iO(t){return t}function sO(t,e){this.t="token",this.v=t,this.tk=e}function oO(t,e){class n extends sO{constructor(e,n){super(e,n),this.t=t}}for(const t in e)n.prototype[t]=e[t]
|
|
9027
|
+
return n.t=t,n}nO.prototype={o:eO,ignoreTags:[],defaultRender:t=>t,check(t){return this.get("validate",t.toString(),t)},get(t,e,n){const i=null!=e
|
|
9025
9028
|
let s=this.o[t]
|
|
9026
|
-
return s?("object"==typeof s?(s=n.t in s?s[n.t]:
|
|
9029
|
+
return s?("object"==typeof s?(s=n.t in s?s[n.t]:eO[t],"function"==typeof s&&i&&(s=s(e,n))):"function"==typeof s&&i&&(s=s(e,n.t,n)),s):s},getObj(t,e,n){let i=this.o[t]
|
|
9027
9030
|
return"function"==typeof i&&null!=e&&(i=i(e,n.t,n)),i},render(t){const e=t.render(this)
|
|
9028
|
-
return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}},
|
|
9029
|
-
return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=
|
|
9031
|
+
return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}},sO.prototype={isLink:!1,toString(){return this.v},toHref(t){return this.toString()},toFormattedString(t){const e=this.toString(),n=t.get("truncate",e,this),i=t.get("format",e,this)
|
|
9032
|
+
return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=eO.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),i=t.get("formatHref",n,this),s=t.get("tagName",n,e),o=this.toFormattedString(t),r={},a=t.get("className",n,e),l=t.get("target",n,e),c=t.get("rel",n,e),d=t.getObj("attributes",n,e),h=t.getObj("events",n,e)
|
|
9030
9033
|
return r.href=i,a&&(r.class=a),l&&(r.target=l),c&&(r.rel=c),d&&wA(r,d),{tagName:s,attributes:r,content:o,eventListeners:h}}}
|
|
9031
|
-
const
|
|
9032
|
-
return t.length>=2&&t[0].t!==HA&&t[1].t===
|
|
9033
|
-
function
|
|
9034
|
-
return new t(e.slice(i,s),n)}const
|
|
9035
|
-
function
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
const n=new
|
|
9039
|
-
null==
|
|
9040
|
-
const i=FA(n,
|
|
9041
|
-
FA(i,
|
|
9042
|
-
const s=FA(i,
|
|
9043
|
-
FA(r,
|
|
9044
|
-
const a=FA(n,
|
|
9045
|
-
FA(a,
|
|
9046
|
-
const l=LA(n,
|
|
9047
|
-
LA(n,
|
|
9048
|
-
const h=FA(n,
|
|
9049
|
-
LA(h,"#"),FA(h,
|
|
9050
|
-
const u=LA(h,
|
|
9051
|
-
LA(u,"#"),FA(u,
|
|
9052
|
-
const p=[[
|
|
9053
|
-
for(let t=0;t<
|
|
9054
|
-
for(let t=0;t<
|
|
9055
|
-
|
|
9034
|
+
const rO=oO("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),aO=oO("text"),lO=oO("nl"),cO=oO("url",{isLink:!0,toHref(t=eO.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk
|
|
9035
|
+
return t.length>=2&&t[0].t!==HA&&t[1].t===yT}}),dO=t=>new OA(t)
|
|
9036
|
+
function hO(t,e,n){const i=n[0].s,s=n[n.length-1].e
|
|
9037
|
+
return new t(e.slice(i,s),n)}const uO="undefined"!=typeof console&&console&&console.warn||(()=>{}),pO={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1}
|
|
9038
|
+
function fO(t,e=!1){if(pO.initialized&&uO(`linkifyjs: already initialized - will not register custom scheme "${t}" until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))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')
|
|
9039
|
+
pO.customSchemes.push([t,e])}function mO(){pO.scanner=function(t=[]){const e={}
|
|
9040
|
+
OA.groups=e
|
|
9041
|
+
const n=new OA
|
|
9042
|
+
null==YT&&(YT=tO(bA)),null==XT&&(XT=tO(yA)),LA(n,"'",pT),LA(n,"{",YA),LA(n,"}",XA),LA(n,"[",JA),LA(n,"]",QA),LA(n,"(",tT),LA(n,")",eT),LA(n,"<",nT),LA(n,">",iT),LA(n,"(",sT),LA(n,")",oT),LA(n,"「",rT),LA(n,"」",aT),LA(n,"『",lT),LA(n,"』",cT),LA(n,"<",dT),LA(n,">",hT),LA(n,"&",uT),LA(n,"*",fT),LA(n,"@",mT),LA(n,"`",vT),LA(n,"^",bT),LA(n,":",yT),LA(n,",",wT),LA(n,"$",xT),LA(n,".",CT),LA(n,"=",kT),LA(n,"!",ST),LA(n,"-",_T),LA(n,"%",IT),LA(n,"|",MT),LA(n,"+",$T),LA(n,"#",DT),LA(n,"?",ET),LA(n,'"',AT),LA(n,"/",RT),LA(n,";",OT),LA(n,"~",FT),LA(n,"_",NT),LA(n,"\\",gT),LA(n,"・",TT)
|
|
9043
|
+
const i=FA(n,UT,GA,{[xA]:!0})
|
|
9044
|
+
FA(i,UT,i)
|
|
9045
|
+
const s=FA(i,VT,VA,{[SA]:!0}),o=FA(i,zT,zA,{[_A]:!0}),r=FA(n,VT,BA,{[CA]:!0})
|
|
9046
|
+
FA(r,UT,s),FA(r,VT,r),FA(s,UT,s),FA(s,VT,s)
|
|
9047
|
+
const a=FA(n,zT,PA,{[kA]:!0})
|
|
9048
|
+
FA(a,VT),FA(a,UT,o),FA(a,zT,a),FA(o,UT,o),FA(o,VT),FA(o,zT,o)
|
|
9049
|
+
const l=LA(n,WT,KA,{[EA]:!0}),c=LA(n,jT,ZA,{[EA]:!0}),d=FA(n,qT,ZA,{[EA]:!0})
|
|
9050
|
+
LA(n,KT,d),LA(c,WT,l),LA(c,KT,d),FA(c,qT,d),LA(d,jT),LA(d,WT),FA(d,qT,d),LA(d,KT,d)
|
|
9051
|
+
const h=FA(n,HT,LT,{[MA]:!0})
|
|
9052
|
+
LA(h,"#"),FA(h,HT,h),LA(h,GT,h)
|
|
9053
|
+
const u=LA(h,ZT)
|
|
9054
|
+
LA(u,"#"),FA(u,HT,h)
|
|
9055
|
+
const p=[[VT,r],[UT,s]],f=[[VT,null],[zT,a],[UT,o]]
|
|
9056
|
+
for(let t=0;t<YT.length;t++)QT(n,YT[t],UA,BA,p)
|
|
9057
|
+
for(let t=0;t<XT.length;t++)QT(n,XT[t],qA,PA,f)
|
|
9058
|
+
TA(UA,{tld:!0,ascii:!0},e),TA(qA,{utld:!0,alpha:!0},e),QT(n,"file",jA,BA,p),QT(n,"mailto",jA,BA,p),QT(n,"http",WA,BA,p),QT(n,"https",WA,BA,p),QT(n,"ftp",WA,BA,p),QT(n,"ftps",WA,BA,p),TA(jA,{scheme:!0,ascii:!0},e),TA(WA,{slashscheme:!0,ascii:!0},e),t=t.sort(((t,e)=>t[0]>e[0]?1:-1))
|
|
9056
9059
|
for(let e=0;e<t.length;e++){const i=t[e][0],s=t[e][1]?{[$A]:!0}:{[DA]:!0}
|
|
9057
|
-
i.indexOf("-")>=0?s[IA]=!0:
|
|
9058
|
-
for(let t=0;t<
|
|
9059
|
-
|
|
9060
|
+
i.indexOf("-")>=0?s[IA]=!0:VT.test(i)?UT.test(i)?s[SA]=!0:s[CA]=!0:s[xA]=!0,NA(n,i,i,s)}return NA(n,"localhost",HA,{ascii:!0}),n.jd=new OA(BT),{start:n,tokens:wA({groups:e},PT)}}(pO.customSchemes)
|
|
9061
|
+
for(let t=0;t<pO.tokenQueue.length;t++)pO.tokenQueue[t][1]({scanner:pO.scanner})
|
|
9062
|
+
pO.parser=function({groups:t}){const e=t.domain.concat([uT,fT,mT,gT,vT,bT,xT,kT,_T,GA,IT,MT,$T,DT,RT,BT,FT,NT]),n=[yT,wT,CT,ST,IT,ET,AT,OT,nT,iT,YA,XA,QA,JA,tT,eT,sT,oT,rT,aT,lT,cT,dT,hT],i=[uT,pT,fT,gT,vT,bT,xT,kT,_T,YA,XA,IT,MT,$T,DT,ET,RT,BT,FT,NT],s=dO(),o=LA(s,FT)
|
|
9060
9063
|
RA(o,i,o),RA(o,t.domain,o)
|
|
9061
|
-
const r=
|
|
9064
|
+
const r=dO(),a=dO(),l=dO()
|
|
9062
9065
|
RA(s,t.domain,r),RA(s,t.scheme,a),RA(s,t.slashscheme,l),RA(r,i,o),RA(r,t.domain,r)
|
|
9063
|
-
const c=LA(r,
|
|
9064
|
-
LA(o,
|
|
9065
|
-
const d=LA(o,
|
|
9066
|
+
const c=LA(r,mT)
|
|
9067
|
+
LA(o,mT,c),LA(a,mT,c),LA(l,mT,c)
|
|
9068
|
+
const d=LA(o,CT)
|
|
9066
9069
|
RA(d,i,o),RA(d,t.domain,o)
|
|
9067
|
-
const h=
|
|
9070
|
+
const h=dO()
|
|
9068
9071
|
RA(c,t.domain,h),RA(h,t.domain,h)
|
|
9069
|
-
const u=LA(h,
|
|
9072
|
+
const u=LA(h,CT)
|
|
9070
9073
|
RA(u,t.domain,h)
|
|
9071
|
-
const p=
|
|
9074
|
+
const p=dO(rO)
|
|
9072
9075
|
RA(u,t.tld,p),RA(u,t.utld,p),LA(c,HA,p)
|
|
9073
|
-
const f=LA(h,
|
|
9074
|
-
LA(f,
|
|
9075
|
-
const m=LA(p,
|
|
9076
|
-
RA(m,t.numeric,
|
|
9077
|
-
const g=LA(r,
|
|
9078
|
-
LA(g,
|
|
9079
|
-
const b=
|
|
9080
|
-
RA(v,t.tld,b),RA(v,t.utld,b),RA(b,t.domain,r),RA(b,i,o),LA(b,
|
|
9081
|
-
const y=LA(b,
|
|
9076
|
+
const f=LA(h,_T)
|
|
9077
|
+
LA(f,_T,f),RA(f,t.domain,h),RA(p,t.domain,h),LA(p,CT,u),LA(p,_T,f)
|
|
9078
|
+
const m=LA(p,yT)
|
|
9079
|
+
RA(m,t.numeric,rO)
|
|
9080
|
+
const g=LA(r,_T),v=LA(r,CT)
|
|
9081
|
+
LA(g,_T,g),RA(g,t.domain,r),RA(v,i,o),RA(v,t.domain,r)
|
|
9082
|
+
const b=dO(cO)
|
|
9083
|
+
RA(v,t.tld,b),RA(v,t.utld,b),RA(b,t.domain,r),RA(b,i,o),LA(b,CT,v),LA(b,_T,g),LA(b,mT,c)
|
|
9084
|
+
const y=LA(b,yT),w=dO(cO)
|
|
9082
9085
|
RA(y,t.numeric,w)
|
|
9083
|
-
const x=
|
|
9084
|
-
RA(x,e,x),RA(x,n,C),RA(C,e,x),RA(C,n,C),LA(b,
|
|
9085
|
-
const k=LA(a,
|
|
9086
|
-
RA(a,t.domain,r),LA(a,
|
|
9087
|
-
const M=[[YA,XA],[JA,QA],[
|
|
9086
|
+
const x=dO(cO),C=dO()
|
|
9087
|
+
RA(x,e,x),RA(x,n,C),RA(C,e,x),RA(C,n,C),LA(b,RT,x),LA(w,RT,x)
|
|
9088
|
+
const k=LA(a,yT),S=LA(l,yT),_=LA(S,RT),I=LA(_,RT)
|
|
9089
|
+
RA(a,t.domain,r),LA(a,CT,v),LA(a,_T,g),RA(l,t.domain,r),LA(l,CT,v),LA(l,_T,g),RA(k,t.domain,x),LA(k,RT,x),LA(k,ET,x),RA(I,t.domain,x),RA(I,e,x),LA(I,RT,x)
|
|
9090
|
+
const M=[[YA,XA],[JA,QA],[tT,eT],[nT,iT],[sT,oT],[rT,aT],[lT,cT],[dT,hT]]
|
|
9088
9091
|
for(let t=0;t<M.length;t++){const[i,s]=M[t],o=LA(x,i)
|
|
9089
9092
|
LA(C,i,o),LA(o,s,x)
|
|
9090
|
-
const r=
|
|
9093
|
+
const r=dO(cO)
|
|
9091
9094
|
RA(o,e,r)
|
|
9092
|
-
const a=
|
|
9093
|
-
RA(o,n),RA(r,e,r),RA(r,n,a),RA(a,e,r),RA(a,n,a),LA(r,s,x),LA(a,s,x)}return LA(s,HA,b),LA(s,KA,
|
|
9094
|
-
for(let t=0;t<
|
|
9095
|
-
return
|
|
9095
|
+
const a=dO()
|
|
9096
|
+
RA(o,n),RA(r,e,r),RA(r,n,a),RA(a,e,r),RA(a,n,a),LA(r,s,x),LA(a,s,x)}return LA(s,HA,b),LA(s,KA,lO),{start:s,tokens:PT}}(pO.scanner.tokens)
|
|
9097
|
+
for(let t=0;t<pO.pluginQueue.length;t++)pO.pluginQueue[t][1]({scanner:pO.scanner,parser:pO.parser})
|
|
9098
|
+
return pO.initialized=!0,pO}function gO(t){return pO.initialized||mO(),function(t,e,n){let i=n.length,s=0,o=[],r=[]
|
|
9096
9099
|
for(;s<i;){let a=t,l=null,c=null,d=0,h=null,u=-1
|
|
9097
9100
|
for(;s<i&&!(l=a.go(n[s].t));)r.push(n[s++])
|
|
9098
9101
|
for(;s<i&&(c=l||a.go(n[s].t));)l=null,a=c,a.accepts()?(u=0,h=a):u>=0&&u++,s++,d++
|
|
9099
9102
|
if(u<0)s-=d,s<i&&(r.push(n[s]),s++)
|
|
9100
|
-
else{r.length>0&&(o.push(
|
|
9103
|
+
else{r.length>0&&(o.push(hO(aO,e,r)),r=[]),s-=u,d-=u
|
|
9101
9104
|
const t=h.t,i=n.slice(s-d,s)
|
|
9102
|
-
o.push(
|
|
9103
|
-
n=e,e=null}const i=new
|
|
9105
|
+
o.push(hO(t,e,i))}}return r.length>0&&o.push(hO(aO,e,r)),o}(pO.parser.start,t,JT(pO.scanner.start,t))}function vO(t,e=null,n=null){if(e&&"object"==typeof e){if(n)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`)
|
|
9106
|
+
n=e,e=null}const i=new nO(n),s=gO(t),o=[]
|
|
9104
9107
|
for(let t=0;t<s.length;t++){const n=s[t]
|
|
9105
|
-
!n.isLink||e&&n.t!==e||!i.check(n)||o.push(n.toFormattedObject(i))}return o}function
|
|
9108
|
+
!n.isLink||e&&n.t!==e||!i.check(n)||o.push(n.toFormattedObject(i))}return o}function bO(t){return new Px({key:new Hx("autolink"),appendTransaction:(e,n,i)=>{const s=e.some((t=>t.docChanged))&&!n.doc.eq(i.doc),o=e.some((t=>t.getMeta("preventAutolink")))
|
|
9106
9109
|
if(!s||o)return
|
|
9107
9110
|
const{tr:r}=i,a=function(t,e){const n=new bx(t)
|
|
9108
9111
|
return e.forEach((t=>{t.steps.forEach((t=>{n.step(t)}))})),n}(n.doc,[...e]),l=function(t){const{mapping:e,steps:n}=t,i=[]
|
|
@@ -9119,21 +9122,21 @@ if(n.length>1?(s=n[0],o=i.doc.textBetween(s.pos,s.pos+s.node.nodeSize,void 0," "
|
|
|
9119
9122
|
if(e.length<=0)return!1
|
|
9120
9123
|
const n=e[e.length-1],l=s.pos+o.lastIndexOf(n)
|
|
9121
9124
|
if(!n)return!1
|
|
9122
|
-
const c=
|
|
9125
|
+
const c=gO(n).map((e=>e.toObject(t.defaultProtocol)))
|
|
9123
9126
|
if(!(1===(a=c).length?a[0].isLink:3===a.length&&a[1].isLink&&["()","[]"].includes(a[0].value+a[2].value)))return!1
|
|
9124
|
-
c.filter((t=>t.isLink)).map((t=>({...t,from:l+t.start+1,to:l+t.end+1}))).filter((t=>!i.schema.marks.code||!i.doc.rangeHasMark(t.from,t.to,i.schema.marks.code))).filter((e=>t.validate(e.value))).filter((e=>t.shouldAutoLink(e.value))).forEach((e=>{DI(e.from,e.to,i.doc).some((e=>e.mark.type===t.type))||r.addMark(e.from,e.to,t.type.create({href:e.href}))}))}var a})),r.steps.length?r:void 0}})}
|
|
9125
|
-
const
|
|
9126
|
-
function
|
|
9127
|
+
c.filter((t=>t.isLink)).map((t=>({...t,from:l+t.start+1,to:l+t.end+1}))).filter((t=>!i.schema.marks.code||!i.doc.rangeHasMark(t.from,t.to,i.schema.marks.code))).filter((e=>t.validate(e.value))).filter((e=>t.shouldAutoLink(e.value))).forEach((e=>{DI(e.from,e.to,i.doc).some((e=>e.mark.type===t.type))||r.addMark(e.from,e.to,t.type.create({href:e.href}))}))}var a})),r.steps.length?r:void 0}})}gO.scan=JT
|
|
9128
|
+
const yO=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
9129
|
+
function wO(t,e){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"]
|
|
9127
9130
|
return e&&e.forEach((t=>{const e="string"==typeof t?t:t.scheme
|
|
9128
|
-
e&&n.push(e)})),!t||t.replace(
|
|
9129
|
-
return!(!e||!this.options.isAllowedUri(e,{defaultValidate:t=>!!
|
|
9130
|
-
return!!this.options.isAllowedUri(n,{defaultValidate:t=>!!
|
|
9131
|
-
return!!this.options.isAllowedUri(n,{defaultValidate:t=>!!
|
|
9132
|
-
if(t){const{protocols:n,defaultProtocol:i}=this.options,s=
|
|
9131
|
+
e&&n.push(e)})),!t||t.replace(yO,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"))}const xO=J_.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach((t=>{"string"!=typeof t?fO(t.scheme,t.optionalSlashes):fO(t)}))},onDestroy(){OA.groups={},pO.scanner=null,pO.parser=null,pO.tokenQueue=[],pO.pluginQueue=[],pO.customSchemes=[],pO.initialized=!1},inclusive(){return this.options.autolink},addOptions:()=>({openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(t,e)=>!!wO(t,e.protocols),validate:t=>!!t,shouldAutoLink:t=>!!t}),addAttributes(){return{href:{default:null,parseHTML:t=>t.getAttribute("href")},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{const e=t.getAttribute("href")
|
|
9132
|
+
return!(!e||!this.options.isAllowedUri(e,{defaultValidate:t=>!!wO(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol}))&&null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:t=>!!wO(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",F_(this.options.HTMLAttributes,t),0]:["a",F_(this.options.HTMLAttributes,{...t,href:""}),0]},addCommands(){return{setLink:t=>({chain:e})=>{const{href:n}=t
|
|
9133
|
+
return!!this.options.isAllowedUri(n,{defaultValidate:t=>!!wO(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&e().setMark(this.name,t).setMeta("preventAutolink",!0).run()},toggleLink:t=>({chain:e})=>{const{href:n}=t
|
|
9134
|
+
return!!this.options.isAllowedUri(n,{defaultValidate:t=>!!wO(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[YI({find:t=>{const e=[]
|
|
9135
|
+
if(t){const{protocols:n,defaultProtocol:i}=this.options,s=vO(t).filter((t=>t.isLink&&this.options.isAllowedUri(t.value,{defaultValidate:t=>!!wO(t,n),protocols:n,defaultProtocol:i})))
|
|
9133
9136
|
s.length&&s.forEach((t=>e.push({text:t.value,data:{href:t.href},index:t.start})))}return e},type:this.type,getAttributes:t=>{var e
|
|
9134
9137
|
return{href:null===(e=t.data)||void 0===e?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:n}=this.options
|
|
9135
9138
|
var i
|
|
9136
|
-
return this.options.autolink&&t.push(
|
|
9139
|
+
return this.options.autolink&&t.push(bO({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:t=>this.options.isAllowedUri(t,{defaultValidate:t=>!!wO(t,e),protocols:e,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),!0===this.options.openOnClick&&t.push((i={type:this.type},new Px({key:new Hx("handleClickLink"),props:{handleClick:(t,e,n)=>{var s,o
|
|
9137
9140
|
if(0!==n.button)return!1
|
|
9138
9141
|
if(!t.editable)return!1
|
|
9139
9142
|
let r=n.target
|
|
@@ -9145,9 +9148,9 @@ return!(!c||!d||(window.open(d,h),0))}}}))),this.options.linkOnPaste&&t.push(fun
|
|
|
9145
9148
|
if(r)return!1
|
|
9146
9149
|
let a=""
|
|
9147
9150
|
i.content.forEach((t=>{a+=t.textContent}))
|
|
9148
|
-
const l=
|
|
9149
|
-
return!(!a||!l
|
|
9150
|
-
function
|
|
9151
|
+
const l=vO(a,{defaultProtocol:t.defaultProtocol}).find((t=>t.isLink&&t.value===a))
|
|
9152
|
+
return!(!a||!l)&&t.editor.commands.setMark(t.type,{href:l.href})}}})}({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),t}}),CO=KI.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:t}){return["li",F_(this.options.HTMLAttributes,t),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)}}})
|
|
9153
|
+
function kO(t){var e
|
|
9151
9154
|
const{char:n,allowSpaces:i,allowToIncludeChar:s,allowedPrefixes:o,startOfLine:r,$position:a}=t,l=i&&!s,c=n.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")
|
|
9152
9155
|
const d=new RegExp(`\\s${c}$`),h=r?"^":"",u=s?"":c,p=l?new RegExp(`${h}${c}.*?(?=\\s${u}|$)`,"gm"):new RegExp(`${h}(?:^)?${c}[^\\s${u}]*`,"gm"),f=(null===(e=a.nodeBefore)||void 0===e?void 0:e.isText)&&a.nodeBefore.text
|
|
9153
9156
|
if(!f)return null
|
|
@@ -9157,8 +9160,8 @@ const v=g.input.slice(Math.max(0,g.index-1),g.index),b=new RegExp(`^[${null==o?v
|
|
|
9157
9160
|
if(null!==o&&!b)return null
|
|
9158
9161
|
const y=m+g.index
|
|
9159
9162
|
let w=y+g[0].length
|
|
9160
|
-
return l&&d.test(f.slice(w-1,w+1))&&(g[0]+=" ",w+=1),y<a.pos&&w>=a.pos?{range:{from:y,to:w},query:g[0].slice(n.length),text:g[0]}:null}const
|
|
9161
|
-
function
|
|
9163
|
+
return l&&d.test(f.slice(w-1,w+1))&&(g[0]+=" ",w+=1),y<a.pos&&w>=a.pos?{range:{from:y,to:w},query:g[0].slice(n.length),text:g[0]}:null}const SO=new Hx("suggestion")
|
|
9164
|
+
function _O({pluginKey:t=SO,editor:e,char:n="@",allowSpaces:i=!1,allowToIncludeChar:s=!1,allowedPrefixes:o=[" "],startOfLine:r=!1,decorationTag:a="span",decorationClass:l="suggestion",command:c=(()=>null),items:d=(()=>[]),render:h=(()=>({})),allow:u=(()=>!0),findSuggestionMatch:p=kO}){let f
|
|
9162
9165
|
const m=null==h?void 0:h(),g=new Px({key:t,view(){return{update:async(t,n)=>{var i,s,o,r,a,l,h
|
|
9163
9166
|
const u=null===(i=this.key)||void 0===i?void 0:i.getState(n),p=null===(s=this.key)||void 0===s?void 0:s.getState(t.state),g=u.active&&p.active&&u.range.from!==p.range.from,v=!u.active&&p.active,b=u.active&&!p.active,y=!v&&!b&&u.query!==p.query,w=v||g&&y,x=y||g,C=b||g&&y
|
|
9164
9167
|
if(!w&&!x&&!C)return
|
|
@@ -9174,9 +9177,9 @@ return v.active||(v.decorationId=null,v.range={from:0,to:0},v.query=null,v.text=
|
|
|
9174
9177
|
const{active:i,range:s}=g.getState(t.state)
|
|
9175
9178
|
return i&&(null===(n=null==m?void 0:m.onKeyDown)||void 0===n?void 0:n.call(m,{view:t,event:e,range:s}))||!1},decorations(t){const{active:e,range:n,decorationId:i}=g.getState(t)
|
|
9176
9179
|
return e?MS.create(t.doc,[SS.inline(n.from,n.to,{nodeName:a,class:l,"data-decoration-id":i})]):null}}})
|
|
9177
|
-
return g}const
|
|
9180
|
+
return g}const IO=new Hx("mention"),MO=KI.create({name:"mention",priority:101,addOptions(){return{HTMLAttributes:{},renderText({options:t,node:e}){var n
|
|
9178
9181
|
return`${t.suggestion.char}${null!==(n=e.attrs.label)&&void 0!==n?n:e.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:t,node:e}){var n
|
|
9179
|
-
return["span",F_(this.HTMLAttributes,t.HTMLAttributes),`${t.suggestion.char}${null!==(n=e.attrs.label)&&void 0!==n?n:e.attrs.id}`]},suggestion:{char:"@",pluginKey:
|
|
9182
|
+
return["span",F_(this.HTMLAttributes,t.HTMLAttributes),`${t.suggestion.char}${null!==(n=e.attrs.label)&&void 0!==n?n:e.attrs.id}`]},suggestion:{char:"@",pluginKey:IO,command:({editor:t,range:e,props:n})=>{var i,s,o
|
|
9180
9183
|
const r=t.view.state.selection.$to.nodeAfter;(null===(i=null==r?void 0:r.text)||void 0===i?void 0:i.startsWith(" "))&&(e.to+=1),t.chain().focus().insertContentAt(e,[{type:this.name,attrs:n},{type:"text",text:" "}]).run(),null===(o=null===(s=t.view.dom.ownerDocument.defaultView)||void 0===s?void 0:s.getSelection())||void 0===o||o.collapseToEnd()},allow:({state:t,range:e})=>{const n=t.doc.resolve(e.from),i=t.schema.nodes[this.name]
|
|
9181
9184
|
return!!n.parent.type.contentMatch.matchType(i)}}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes:()=>({id:{default:null,parseHTML:t=>t.getAttribute("data-id"),renderHTML:t=>t.id?{"data-id":t.id}:{}},label:{default:null,parseHTML:t=>t.getAttribute("data-label"),renderHTML:t=>t.label?{"data-label":t.label}:{}}}),parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:t,HTMLAttributes:e}){if(void 0!==this.options.renderLabel)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",F_({"data-type":this.name},this.options.HTMLAttributes,e),this.options.renderLabel({options:this.options,node:t})]
|
|
9182
9185
|
const n={...this.options}
|
|
@@ -9184,49 +9187,49 @@ n.HTMLAttributes=F_({"data-type":this.name},this.options.HTMLAttributes,e)
|
|
|
9184
9187
|
const i=this.options.renderHTML({options:n,node:t})
|
|
9185
9188
|
return"string"==typeof i?["span",F_({"data-type":this.name},this.options.HTMLAttributes,e),i]:i},renderText({node:t}){return void 0!==this.options.renderLabel?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel({options:this.options,node:t})):this.options.renderText({options:this.options,node:t})},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command((({tr:t,state:e})=>{let n=!1
|
|
9186
9189
|
const{selection:i}=e,{empty:s,anchor:o}=i
|
|
9187
|
-
return!!s&&(e.doc.nodesBetween(o-1,o,((e,i)=>{if(e.type.name===this.name)return n=!0,t.insertText(this.options.deleteTriggerWithBackspace?"":this.options.suggestion.char||"",i,i+e.nodeSize),!1})),n)}))}},addProseMirrorPlugins(){return[
|
|
9188
|
-
return 1===e?["ol",F_(this.options.HTMLAttributes,n),0]:["ol",F_(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes($
|
|
9189
|
-
return(this.options.keepMarks||this.options.keepAttributes)&&(t=ZI({find:
|
|
9190
|
+
return!!s&&(e.doc.nodesBetween(o-1,o,((e,i)=>{if(e.type.name===this.name)return n=!0,t.insertText(this.options.deleteTriggerWithBackspace?"":this.options.suggestion.char||"",i,i+e.nodeSize),!1})),n)}))}},addProseMirrorPlugins(){return[_O({editor:this.editor,...this.options.suggestion})]}}),$O="textStyle",DO=/^(\d+)\.\s$/,EO=KI.create({name:"orderedList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes:()=>({start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:void 0,parseHTML:t=>t.getAttribute("type")}}),parseHTML:()=>[{tag:"ol"}],renderHTML({HTMLAttributes:t}){const{start:e,...n}=t
|
|
9191
|
+
return 1===e?["ol",F_(this.options.HTMLAttributes,n),0]:["ol",F_(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes("listItem",this.editor.getAttributes($O)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=ZI({find:DO,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,e)=>e.childCount+e.attrs.start===+t[1]})
|
|
9192
|
+
return(this.options.keepMarks||this.options.keepAttributes)&&(t=ZI({find:DO,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:t=>({start:+t[1],...this.editor.getAttributes($O)}),joinPredicate:(t,e)=>e.childCount+e.attrs.start===+t[1],editor:this.editor})),[t]}}),AO=KI.create({name:"paragraph",priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:"block",content:"inline*",parseHTML:()=>[{tag:"p"}],renderHTML({HTMLAttributes:t}){return["p",F_(this.options.HTMLAttributes,t),0]},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),TO=sI.create({name:"placeholder",addOptions:()=>({emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}),addProseMirrorPlugins(){return[new Px({key:new Hx("placeholder"),props:{decorations:({doc:t,selection:e})=>{const n=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:i}=e,s=[]
|
|
9190
9193
|
if(!n)return null
|
|
9191
9194
|
const o=this.editor.isEmpty
|
|
9192
|
-
return t.descendants(((t,e)=>{const n=i>=e&&i<=e+t.nodeSize,r=!t.isLeaf&&
|
|
9195
|
+
return t.descendants(((t,e)=>{const n=i>=e&&i<=e+t.nodeSize,r=!t.isLeaf&&OI(t)
|
|
9193
9196
|
if((n||!this.options.showOnlyCurrent)&&r){const i=[this.options.emptyNodeClass]
|
|
9194
9197
|
o&&i.push(this.options.emptyEditorClass)
|
|
9195
9198
|
const r=SS.node(e,e+t.nodeSize,{class:i.join(" "),"data-placeholder":"function"==typeof this.options.placeholder?this.options.placeholder({editor:this.editor,node:t,pos:e,hasAnchor:n}):this.options.placeholder})
|
|
9196
|
-
s.push(r)}return this.options.includeChildren})),MS.create(t,s)}}})]}}),
|
|
9197
|
-
function
|
|
9198
|
-
return{onStart:o=>{null!==o.decorationNode&&(s=!0,t.mentionUpdateEmitter(o.query),e(o.text.slice(0,1)),n(o.command),i?.show({filter:o.query,anchorNode:o.decorationNode}))},onUpdate:e=>{s&&(t.mentionUpdateEmitter(e.query),n(e.command),i?.show({filter:e.query,anchorNode:e.decorationNode}))},onKeyDown:t=>!!s&&(t.event.key===Ka&&(s=!1),i?.keydownHandler(t.event)??!1),onExit:()=>{e(""),n(void 0),i?.close()}}}}})}(n,t,e,s))),l=new WI({element:n,enableInputRules:[jE,
|
|
9199
|
-
return new Ay(e,t.openStart,t.openEnd)}},extensions:[WE,
|
|
9200
|
-
return l}function
|
|
9199
|
+
s.push(r)}return this.options.includeChildren})),MS.create(t,s)}}})]}}),OO=KI.create({name:"text",group:"inline"}),RO=/^https?:\/\//i
|
|
9200
|
+
function FO(t,e,n,i,s,o){const r=xO.extend({excludes:"_",inclusive:!1,parseHTML:()=>[{tag:Ch},{tag:"a"}],renderHTML:({HTMLAttributes:t})=>["a",t]}).configure({HTMLAttributes:{rel:"noopener noreferrer",target:null,class:""},autolink:!0,openOnClick:!1,linkOnPaste:!1,shouldAutoLink:t=>RO.test(t)}),a=i.map((n=>function(t,e,n,i){return MO.extend({name:t.name,parseHTML:()=>[{tag:t.viewElement}],addAttributes:()=>({href:{default:null,parseHTML:t=>t.getAttribute("mention-href"),renderHTML:t=>({"mention-href":t.href})},label:{default:null,parseHTML:t=>t.getAttribute("mention-label"),renderHTML:t=>({"mention-label":t.label})},disabled:{default:null,parseHTML:t=>t.getAttribute("disabled"),renderHTML:t=>({disabled:t.disabled})}}),renderHTML({node:e,HTMLAttributes:n}){return[t.viewElement,F_(this.options.HTMLAttributes,n),this.options.renderText({options:this.options,node:e})]}}).configure({suggestion:{char:t.character,decorationClass:"nimble-mention-view-edit",pluginKey:new Hx(t.key),allowSpaces:!0,render:()=>{let s=!1
|
|
9201
|
+
return{onStart:o=>{null!==o.decorationNode&&(s=!0,t.mentionUpdateEmitter(o.query),e(o.text.slice(0,1)),n(o.command),i?.show({filter:o.query,anchorNode:o.decorationNode}))},onUpdate:e=>{s&&(t.mentionUpdateEmitter(e.query),n(e.command),i?.show({filter:e.query,anchorNode:e.decorationNode}))},onKeyDown:t=>!!s&&(t.event.key===Ka&&(s=!1),i?.keydownHandler(t.event)??!1),onExit:()=>{e(""),n(void 0),i?.close()}}}}})}(n,t,e,s))),l=new WI({element:n,enableInputRules:[jE,EO],enablePasteRules:!1,editorProps:{transformPasted:function(t){const e=NO(l,t.content)
|
|
9202
|
+
return new Ay(e,t.openStart,t.openEnd)}},extensions:[WE,AO,OO,jE,EO,CO,HE,vA,uA,TO.configure({placeholder:o,showOnlyWhenEditable:!1}),XI,r,...a]})
|
|
9203
|
+
return l}function NO(t,e){const n=[]
|
|
9201
9204
|
return e.forEach((e=>{if(e.isText&&e.marks.length>0){const i=e.marks.find((t=>"link"===t.type.name&&t.attrs))
|
|
9202
|
-
i?
|
|
9203
|
-
else{const i=
|
|
9204
|
-
n.push(e.copy(i))}})),_y.fromArray(n)}class
|
|
9205
|
-
const e=`${yM}${
|
|
9206
|
-
this.name=e,this.key=e,this.viewElement=t.viewElement,this.character=t.character,this.mappingConfigs=t.mappingConfigs,this.iconTemplate=t.iconTemplate,this.buttonLabel=t.buttonLabel??"",this.mentionUpdateEmitter=t.mentionUpdateEmitter}}
|
|
9207
|
-
class
|
|
9205
|
+
i?RO.test(i.attrs.href)?n.push(t.schema.text(i.attrs.href,e.marks)):n.push(t.schema.text(e.textContent,i.removeFromSet(e.marks))):n.push(e)}else if(e.type.name.startsWith(yM))n.push(t.schema.text(e.attrs.label))
|
|
9206
|
+
else{const i=NO(t,e.content)
|
|
9207
|
+
n.push(e.copy(i))}})),_y.fromArray(n)}class LO{constructor(t){LO.instance+=1
|
|
9208
|
+
const e=`${yM}${LO.instance}`
|
|
9209
|
+
this.name=e,this.key=e,this.viewElement=t.viewElement,this.character=t.character,this.mappingConfigs=t.mappingConfigs,this.iconTemplate=t.iconTemplate,this.buttonLabel=t.buttonLabel??"",this.mentionUpdateEmitter=t.mentionUpdateEmitter}}LO.instance=0
|
|
9210
|
+
class BO extends EE{constructor(t){super(t),this.mentionExtensionConfig=this.isValid?t.map((t=>new LO(t.mentionInternals))):[]}}class PO extends(Jg(LE)){constructor(){super(...arguments),this.editorDiv=this.createEditor(),this.tiptapEditor=FO((()=>{}),(()=>{}),this.editorDiv,[],this.mentionListbox,this.placeholder),this.xmlSerializer=new XMLSerializer,this.richTextMarkdownSerializer=new IE([]),this.disabled=!1,this.footerHidden=!1,this.scrollbarWidth=-1,this.activeMentionCharacter="",this.updateScrollbarWidthQueued=!1}get empty(){if(""===this.tiptapEditor.state.doc.textContent.trim()){let t=!1
|
|
9208
9211
|
return this.tiptapEditor.state.doc.descendants((e=>{e.type.name.startsWith(yM)&&(t=!0)
|
|
9209
9212
|
return!1===t})),!t}return!1}connectedCallback(){super.connectedCallback(),this.editorDiv.isConnected||this.editorContainer.append(this.editorDiv),this.bindEditorTransactionEvent(),this.bindEditorUpdateEvent(),this.stopNativeInputEventPropagation(),this.resizeObserver=new ResizeObserver((()=>this.onResize())),this.resizeObserver.observe(this)}disconnectedCallback(){super.disconnectedCallback(),this.unbindEditorTransactionEvent(),this.unbindEditorUpdateEvent(),this.unbindNativeInputEvent(),this.resizeObserver?.disconnect()}disabledChanged(){this.disableEditor(),this.disableMentionViewElement()}placeholderChanged(t,e){this.getTipTapExtension("placeholder").options.placeholder=this.placeholder??"",this.tiptapEditor.view.dispatch(this.tiptapEditor.state.tr),this.queueUpdateScrollbarWidth()}ariaLabelChanged(t,e){null!==this.ariaLabel&&void 0!==this.ariaLabel?this.editorDiv.setAttribute("aria-label",this.ariaLabel):this.editorDiv.removeAttribute("aria-label")}configurationChanged(t,e){const n=this.getButtonsState(this.tiptapEditor),{from:i,to:s}=this.tiptapEditor.view.state.selection
|
|
9210
9213
|
if(this.isMentionExtensionConfigUnchanged(t,e))this.setMarkdown(this.getMarkdown())
|
|
9211
9214
|
else{const t=this.getMentionExtensionConfig(),e=this.getMarkdown()
|
|
9212
9215
|
this.richTextMarkdownSerializer=new IE(t.map((t=>t.name))),this.initializeEditor(),this.setMarkdown(e)}this.tiptapEditor.commands.setTextSelection({from:i,to:s}),this.resetEditorButtonsState(n),this.setActiveMappingConfigs()}activeMentionCharacterChanged(){this.setActiveMappingConfigs()}boldButtonClick(){this.tiptapEditor.chain().focus().toggleBold().run()}boldButtonKeyDown(t){return!this.keyActivatesButton(t)||(this.tiptapEditor.chain().focus().toggleBold().run(),!1)}italicsButtonClick(){this.tiptapEditor.chain().focus().toggleItalic().run()}italicsButtonKeyDown(t){return!this.keyActivatesButton(t)||(this.tiptapEditor.chain().focus().toggleItalic().run(),!1)}bulletListButtonClick(){this.tiptapEditor.chain().focus().toggleBulletList().run()}bulletListButtonKeyDown(t){return!this.keyActivatesButton(t)||(this.tiptapEditor.chain().focus().toggleBulletList().run(),!1)}numberedListButtonClick(){this.tiptapEditor.chain().focus().toggleOrderedList().run()}numberedListButtonKeyDown(t){return!this.keyActivatesButton(t)||(this.tiptapEditor.chain().focus().toggleOrderedList().run(),!1)}mentionButtonClick(t){this.tiptapEditor.chain().insertContent(this.shouldInsertSpace()?` ${t}`:t).focus().run()}setMarkdown(t){const e=this.getHtmlContent(t)
|
|
9213
9216
|
this.tiptapEditor.commands.setContent(e),this.disableMentionViewElement()}getMarkdown(){return this.richTextMarkdownSerializer.serializeDOMToMarkdown(this.tiptapEditor.state.doc)}stopEventPropagation(t){return t.stopPropagation(),!1}getMentionedHrefs(){const t=new Set
|
|
9214
|
-
return this.tiptapEditor.state.doc.descendants((e=>{e.type.name.startsWith(yM)&&t.add(e.attrs.href)})),Array.from(t)}getMentionExtensionConfig(){return this.configuration instanceof
|
|
9217
|
+
return this.tiptapEditor.state.doc.descendants((e=>{e.type.name.startsWith(yM)&&t.add(e.attrs.href)})),Array.from(t)}getMentionExtensionConfig(){return this.configuration instanceof BO?this.configuration.mentionExtensionConfig:[]}onMentionSelect(t){this.activeMentionCommand&&this.activeMentionCommand({href:t.detail.href,label:t.detail.displayName})}focusoutHandler(){this.mentionListbox?.open&&this.mentionListbox?.close()}createConfig(){this.validate(),this.richTextValidator.isValid()?(this.richTextUpdateTracker.updateButtonLabel||this.richTextUpdateTracker.updateMappingConfigs||this.richTextUpdateTracker.updatePattern)&&(this.configuration=new BO(this.mentionElements)):this.configuration=void 0}isMentionExtensionConfigUnchanged(t,e){const n=t?.mentionExtensionConfig.map((t=>t.character)).sort(((t,e)=>t.localeCompare(e))).toString(),i=e?.mentionExtensionConfig.map((t=>t.character)).sort(((t,e)=>t.localeCompare(e))).toString()
|
|
9215
9218
|
return n===i}createEditor(){const t=document.createElement("div")
|
|
9216
|
-
return t.className="editor",t.setAttribute("aria-multiline","true"),t.setAttribute("role","textbox"),t.setAttribute("aria-disabled","false"),t}initializeEditor(){this.unbindEditorTransactionEvent(),this.unbindEditorUpdateEvent(),this.unbindNativeInputEvent(),this.tiptapEditor?.destroy(),this.tiptapEditor=
|
|
9219
|
+
return t.className="editor",t.setAttribute("aria-multiline","true"),t.setAttribute("role","textbox"),t.setAttribute("aria-disabled","false"),t}initializeEditor(){this.unbindEditorTransactionEvent(),this.unbindEditorUpdateEvent(),this.unbindNativeInputEvent(),this.tiptapEditor?.destroy(),this.tiptapEditor=FO((t=>{this.activeMentionCharacter=t}),(t=>{this.activeMentionCommand=t}),this.editorDiv,this.configuration instanceof BO?this.configuration.mentionExtensionConfig:[],this.mentionListbox,this.placeholder),this.disableEditor(),this.disableMentionViewElement(),this.bindEditorTransactionEvent(),this.bindEditorUpdateEvent(),this.stopNativeInputEventPropagation()}getHtmlContent(t){const e=_E.parseMarkdownToDOM(t,this.configuration?.parserMentionConfig)
|
|
9217
9220
|
return this.xmlSerializer.serializeToString(e.fragment)}bindEditorTransactionEvent(){this.tiptapEditor.on("transaction",(()=>{this.updateEditorButtonsState()}))}unbindEditorTransactionEvent(){this.tiptapEditor.off("transaction")}updateEditorButtonsState(){if(!this.$fastController.isConnected)return
|
|
9218
|
-
const{extensionManager:t,state:e}=this.tiptapEditor,{extensions:n}=t,{selection:i}=e,s=II((t=>
|
|
9221
|
+
const{extensionManager:t,state:e}=this.tiptapEditor,{extensions:n}=t,{selection:i}=e,s=II((t=>TI(t.type.name,n)))(i)
|
|
9219
9222
|
this.boldButton.checked=this.tiptapEditor.isActive("bold"),this.italicsButton.checked=this.tiptapEditor.isActive("italic"),this.bulletListButton.checked=s?.node.type.name===vM,this.numberedListButton.checked=s?.node.type.name===bM}keyActivatesButton(t){switch(t.key){case Qa:case Za:return!0
|
|
9220
9223
|
default:return!1}}unbindEditorUpdateEvent(){this.tiptapEditor.off("update")}bindEditorUpdateEvent(){this.tiptapEditor.on("update",(()=>{this.$emit("input"),this.queueUpdateScrollbarWidth()}))}disableEditor(){this.tiptapEditor.setEditable(!this.disabled),this.setEditorTabIndex(),this.editorDiv.setAttribute("aria-disabled",this.disabled?"true":"false"),this.mentionListbox?.close()}disableMentionViewElement(){this.tiptapEditor.state.doc.descendants(((t,e)=>{if(t.type.name.startsWith(yM)){const n={...t.attrs,disabled:this.disabled?"":null},i=this.tiptapEditor.schema.node(t.type.name,n,t.content),s=this.tiptapEditor.state.tr.replaceWith(e,e+t.nodeSize,i)
|
|
9221
9224
|
this.tiptapEditor.view.dispatch(s)}return!0}))}stopNativeInputEventPropagation(){this.tiptapEditor.view.dom.addEventListener("input",(t=>{t.stopPropagation()}))}unbindNativeInputEvent(){this.tiptapEditor.view.dom.removeEventListener("input",(()=>{}))}queueUpdateScrollbarWidth(){this.$fastController.isConnected&&(this.updateScrollbarWidthQueued||(this.updateScrollbarWidthQueued=!0,b.queueUpdate((()=>this.updateScrollbarWidth()))))}updateScrollbarWidth(){this.updateScrollbarWidthQueued=!1,this.scrollbarWidth=this.tiptapEditor.view.dom.offsetWidth-this.tiptapEditor.view.dom.clientWidth}onResize(){this.scrollbarWidth=this.tiptapEditor.view.dom.offsetWidth-this.tiptapEditor.view.dom.clientWidth}getTipTapExtension(t){return this.tiptapEditor.extensionManager.extensions.find((e=>e.name===t))}setEditorTabIndex(){this.tiptapEditor.setOptions({editorProps:{attributes:{tabindex:this.disabled?"-1":"0"}}})}setActiveMappingConfigs(){this.activeMappingConfigs=this.activeMentionCharacter?this.getMentionExtensionConfigFromCharacter(this.activeMentionCharacter)?.mappingConfigs:void 0}shouldInsertSpace(){const{$anchor:t,$head:e}=this.tiptapEditor.view.state.selection,n=0===e.parentOffset||0===t.parentOffset,i=t.pos<e.pos?t.nodeBefore:e.nodeBefore,s=i?.type.name===XI.name,o=i?.textContent.endsWith(" ")
|
|
9222
|
-
return!n&&!s&&!o}getMentionExtensionConfigFromCharacter(t){return this.getMentionExtensionConfig().find((e=>e.character===t))}resetEditorButtonsState(t){t?.bold&&!this.tiptapEditor.isActive("bold")&&this.tiptapEditor.chain().focus().toggleBold().run(),t?.italics&&!this.tiptapEditor.isActive("italic")&&this.tiptapEditor.chain().focus().toggleItalic().run()}getButtonsState(t){if(this.$fastController.isConnected)return{bold:t.isActive("bold"),italics:t.isActive("italic")}}}t([ft({mode:"boolean"})],
|
|
9223
|
-
const
|
|
9224
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
9225
|
-
const
|
|
9225
|
+
return!n&&!s&&!o}getMentionExtensionConfigFromCharacter(t){return this.getMentionExtensionConfig().find((e=>e.character===t))}resetEditorButtonsState(t){t?.bold&&!this.tiptapEditor.isActive("bold")&&this.tiptapEditor.chain().focus().toggleBold().run(),t?.italics&&!this.tiptapEditor.isActive("italic")&&this.tiptapEditor.chain().focus().toggleItalic().run()}getButtonsState(t){if(this.$fastController.isConnected)return{bold:t.isActive("bold"),italics:t.isActive("italic")}}}t([ft({mode:"boolean"})],PO.prototype,"disabled",void 0),t([ft({attribute:"footer-hidden",mode:"boolean"})],PO.prototype,"footerHidden",void 0),t([ft],PO.prototype,"placeholder",void 0),t([C],PO.prototype,"boldButton",void 0),t([C],PO.prototype,"italicsButton",void 0),t([C],PO.prototype,"bulletListButton",void 0),t([C],PO.prototype,"numberedListButton",void 0),t([C],PO.prototype,"scrollbarWidth",void 0),t([C],PO.prototype,"activeMentionCharacter",void 0),t([C],PO.prototype,"activeMappingConfigs",void 0),Ke(PO,wn)
|
|
9226
|
+
const VO=PO.compose({baseName:"rich-text-editor",template:mM,styles:gM,shadowOptions:{delegatesFocus:!0}})
|
|
9227
|
+
_i.getOrCreate().withPrefix("nimble").register(VO())
|
|
9228
|
+
const zO=Q`
|
|
9226
9229
|
<template ${oe({property:"childItems",filter:te()})}>
|
|
9227
9230
|
<div ${Ut("viewer")} class="viewer"></div>
|
|
9228
9231
|
</template>
|
|
9229
|
-
`,
|
|
9232
|
+
`,HO=Mt`
|
|
9230
9233
|
${Ps("flex")}
|
|
9231
9234
|
|
|
9232
9235
|
:host {
|
|
@@ -9268,11 +9271,11 @@ const zT=Q`
|
|
|
9268
9271
|
color: ${_c};
|
|
9269
9272
|
}
|
|
9270
9273
|
`
|
|
9271
|
-
class
|
|
9272
|
-
this.viewer.replaceChildren(t.fragment),this.mentionedHrefs=t.mentionedHrefs}else this.viewer.innerHTML="",this.mentionedHrefs=[]}}t([C],
|
|
9273
|
-
const
|
|
9274
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
9275
|
-
const
|
|
9274
|
+
class UO extends LE{constructor(){super(...arguments),this.markdown="",this.mentionedHrefs=[]}connectedCallback(){super.connectedCallback(),this.updateView()}markdownChanged(){this.updateView()}configurationChanged(){this.updateView()}getMentionedHrefs(){return Array.from(this.mentionedHrefs)}updateView(){if(this.$fastController.isConnected)if(this.markdown){const t=_E.parseMarkdownToDOM(this.markdown,this.configuration?.parserMentionConfig)
|
|
9275
|
+
this.viewer.replaceChildren(t.fragment),this.mentionedHrefs=t.mentionedHrefs}else this.viewer.innerHTML="",this.mentionedHrefs=[]}}t([C],UO.prototype,"markdown",void 0)
|
|
9276
|
+
const qO=UO.compose({baseName:"rich-text-viewer",template:zO,styles:HO})
|
|
9277
|
+
_i.getOrCreate().withPrefix("nimble").register(qO())
|
|
9278
|
+
const jO=Mt`
|
|
9276
9279
|
${hv}
|
|
9277
9280
|
${Gg}
|
|
9278
9281
|
${uv}
|
|
@@ -9426,7 +9429,7 @@ const jT=Mt`
|
|
|
9426
9429
|
.loading-container {
|
|
9427
9430
|
background: ${ml(co,.15)};
|
|
9428
9431
|
}
|
|
9429
|
-
`)),
|
|
9432
|
+
`)),WO=Mt`
|
|
9430
9433
|
${Ps("inline-grid")}
|
|
9431
9434
|
|
|
9432
9435
|
:host {
|
|
@@ -9584,7 +9587,7 @@ const jT=Mt`
|
|
|
9584
9587
|
:host([appearance='accent']) {
|
|
9585
9588
|
--ni-private-spinner-bits-background-color: ${Co};
|
|
9586
9589
|
}
|
|
9587
|
-
`)),
|
|
9590
|
+
`)),GO=Q`
|
|
9588
9591
|
<template role="progressbar">
|
|
9589
9592
|
${""}
|
|
9590
9593
|
<div class="overlay"></div>
|
|
@@ -9594,26 +9597,26 @@ const jT=Mt`
|
|
|
9594
9597
|
<div class="bit2"></div>
|
|
9595
9598
|
</div>
|
|
9596
9599
|
</template>
|
|
9597
|
-
`,
|
|
9598
|
-
class
|
|
9599
|
-
const
|
|
9600
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
9601
|
-
const
|
|
9600
|
+
`,ZO={default:void 0,accent:"accent"}
|
|
9601
|
+
class KO extends We{constructor(){super(...arguments),this.appearance=ZO.default}}t([ft],KO.prototype,"appearance",void 0)
|
|
9602
|
+
const YO=KO.compose({baseName:"spinner",template:GO,styles:WO})
|
|
9603
|
+
_i.getOrCreate().withPrefix("nimble").register(YO())
|
|
9604
|
+
const XO="nimble-spinner",JO=t=>t instanceof Ob,QO=t=>t instanceof Bb,tR=gv(Q`
|
|
9602
9605
|
<label part="label" class="label" aria-hidden="true">
|
|
9603
9606
|
<slot ${Ut("labelSlot")}></slot>
|
|
9604
9607
|
</label>
|
|
9605
9608
|
`)
|
|
9606
9609
|
let eR=class extends Fi{}
|
|
9607
9610
|
class nR extends(An(eR)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}const iR=t=>!t.visuallyHidden&&!t.disabled&&!t.hidden,sR=t=>!t.visuallyHidden&&!t.hidden
|
|
9608
|
-
class oR extends(Jg(wv(nR))){constructor(){super(...arguments),this.appearance=lv,this.filterMode=pv.none,this.clearable=!1,this.loadingVisible=!1,this.displayPlaceholder=!1,this.open=!1,this.listboxId=il("listbox-"),this.hasOverflow=!1,this.filteredOptions=[],this.filter="",this.availableViewportHeight=0,this._value="",this.forcedPosition=!1,this.selectedOptionObserver=new MutationObserver((()=>{this.updateDisplayValue()}))}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get labelContent(){return this.$fastController.isConnected?
|
|
9611
|
+
class oR extends(Jg(wv(nR))){constructor(){super(...arguments),this.appearance=lv,this.filterMode=pv.none,this.clearable=!1,this.loadingVisible=!1,this.displayPlaceholder=!1,this.open=!1,this.listboxId=il("listbox-"),this.hasOverflow=!1,this.filteredOptions=[],this.filter="",this.availableViewportHeight=0,this._value="",this.forcedPosition=!1,this.selectedOptionObserver=new MutationObserver((()=>{this.updateDisplayValue()}))}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get labelContent(){return this.$fastController.isConnected?Tb(this.labelSlot):""}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.open&&this.initializeOpenState(),this.observeSelectedOptionTextContent()}disconnectedCallback(){super.disconnectedCallback(),this.selectedOptionObserver?.disconnect()}get value(){return x.track(this,"value"),this._value}set value(t){const e=this._value
|
|
9609
9612
|
let n=t
|
|
9610
9613
|
if(this.options?.length){const t=this.options.findIndex((t=>t.value===n)),e=this.options[this.selectedIndex]?.value??null,i=this.options[t]?.value??null;-1!==t&&e===i||(n="",this.selectedIndex=t),n=this.firstSelectedOption?.value??n}e!==n&&(this._value=n,super.valueChanged(e,n),x.notify(this,"value"),this.updateDisplayValue())}get displayValue(){return x.track(this,"displayValue"),this.firstSelectedOption?.text??""}anchoredRegionChanged(t,e){this.anchoredRegion&&this.control&&(this.anchoredRegion.anchorElement=this.control)}controlChanged(t,e){this.anchoredRegion&&this.control&&(this.anchoredRegion.anchorElement=this.control)}slottedOptionsChanged(t,e){const n=this.value
|
|
9611
9614
|
this.options.forEach((t=>{const e=x.getNotifier(t)
|
|
9612
|
-
e.unsubscribe(this,"value"),e.unsubscribe(this,"hidden"),e.unsubscribe(this,"disabled")})),t?.filter(
|
|
9615
|
+
e.unsubscribe(this,"value"),e.unsubscribe(this,"hidden"),e.unsubscribe(this,"disabled")})),t?.filter(QO).forEach((t=>{const e=x.getNotifier(t)
|
|
9613
9616
|
e.unsubscribe(this,"hidden"),e.unsubscribe(this,"visuallyHidden"),e.unsubscribe(this,"listOptions")}))
|
|
9614
9617
|
const i=this.getSlottedOptions(e)
|
|
9615
9618
|
super.slottedOptionsChanged(t,i),i.forEach((t=>{const e=x.getNotifier(t)
|
|
9616
|
-
e.subscribe(this,"value"),e.subscribe(this,"hidden"),e.subscribe(this,"disabled")})),e?.filter(
|
|
9619
|
+
e.subscribe(this,"value"),e.subscribe(this,"hidden"),e.subscribe(this,"disabled")})),e?.filter(QO).forEach((t=>{this.updateAdjacentSeparatorState(t)
|
|
9617
9620
|
const e=x.getNotifier(t)
|
|
9618
9621
|
e.subscribe(this,"hidden"),e.subscribe(this,"visuallyHidden"),e.subscribe(this,"listOptions")})),this.setProxyOptions(),this.updateValue(),this.filterOptions(),n&&(this.value=n)}clickHandler(t){if(this.disabled)return
|
|
9619
9622
|
let e=!1
|
|
@@ -9622,11 +9625,11 @@ if(e=null!==n,n?.disabled)return}const n=this.selectedIndex
|
|
|
9622
9625
|
super.clickHandler(t),this.open&&this.selectedIndex!==n&&e&&this.updateValue(!0),this.open=this.collapsible&&!this.open}handleChange(t,e){const n=t
|
|
9623
9626
|
switch(e){case"value":this.updateValue()
|
|
9624
9627
|
break
|
|
9625
|
-
case"selected":
|
|
9628
|
+
case"selected":JO(n)&&n.selected?this.selectedIndex=this.options.indexOf(n):this.clearSelect()
|
|
9626
9629
|
break
|
|
9627
|
-
case"hidden":
|
|
9630
|
+
case"hidden":JO(n)?(n.visuallyHidden=n.hidden,this.updateAdjacentSeparatorState(n)):QO(n)&&(n.listOptions.forEach((t=>{t.visuallyHidden=n.hidden})),this.updateAdjacentSeparatorState(n)),this.filterOptions(),this.updateDisplayValue()
|
|
9628
9631
|
break
|
|
9629
|
-
case"visuallyHidden":(
|
|
9632
|
+
case"visuallyHidden":(QO(n)||JO(n))&&this.updateAdjacentSeparatorState(n)
|
|
9630
9633
|
break
|
|
9631
9634
|
case"disabled":this.updateDisplayValue()
|
|
9632
9635
|
break
|
|
@@ -9642,9 +9645,9 @@ if(t.ctrlKey||t.shiftKey)return!0
|
|
|
9642
9645
|
n!==Ua&&n!==Wa&&super.keydownHandler(t)
|
|
9643
9646
|
let i=this.openActiveIndex??this.selectedIndex,s=!1
|
|
9644
9647
|
switch(n){case Ua:{const e=this.options[this.selectedIndex]
|
|
9645
|
-
this.open&&
|
|
9648
|
+
this.open&&JO(e)&&!sR(e)?this.openActiveIndex===this.selectedIndex?this.selectFirstOption():this.selectNextOption():super.keydownHandler(t),i=this.openActiveIndex??this.selectedIndex
|
|
9646
9649
|
break}case Wa:{const e=this.options[this.selectedIndex]
|
|
9647
|
-
this.open&&
|
|
9650
|
+
this.open&&JO(e)&&!sR(e)?this.openActiveIndex===this.selectedIndex?this.selectLastOption():this.selectPreviousOption():super.keydownHandler(t),i=this.openActiveIndex??this.selectedIndex
|
|
9648
9651
|
break}case Qa:if(this.open&&this.filterMode!==pv.none)break
|
|
9649
9652
|
t.preventDefault(),this.collapsible&&this.typeAheadExpired&&(this.open=!this.open),this.open||this.focus()
|
|
9650
9653
|
break
|
|
@@ -9657,50 +9660,50 @@ case Ka:if(!this.open){if(this.clearable)return this.clearSelect(),this.updateVa
|
|
|
9657
9660
|
break}this.collapsible&&this.open&&(t.preventDefault(),this.open=!1),i=this.selectedIndex,this.focus()}return this.open&&!s||(this.selectedIndex!==i&&(this.selectedIndex=i),e!==this.selectedIndex&&this.updateValue(!0)),s&&(this.open=!1),!(n===Ua||n===Wa)}selectedIndexChanged(t,e){this.setSelectedOptions(),this.open&&this.setActiveOption(this.selectedIndex),this.updateValue()}typeaheadBufferChanged(t,e){if(this.$fastController.isConnected){const t=this.getTypeaheadMatches()
|
|
9658
9661
|
if(t.length){const e=this.options.indexOf(t[0])
|
|
9659
9662
|
this.open&&this.filterMode!==pv.none||this.setActiveOption(e)}this.typeaheadExpired=!1}}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}formResetCallback(){this.setProxyOptions(),super.setDefaultSelectedOption(),-1===this.selectedIndex&&(this.selectedIndex=0)}selectNextOption(){for(let t=(this.openActiveIndex??this.selectedIndex)+1;t<this.options.length;t++){const e=this.options[t]
|
|
9660
|
-
if(
|
|
9663
|
+
if(JO(e)&&iR(e)){this.setActiveOption(t)
|
|
9661
9664
|
break}}}selectPreviousOption(){for(let t=(this.openActiveIndex??this.selectedIndex)-1;t>=0;t--){const e=this.options[t]
|
|
9662
|
-
if(
|
|
9663
|
-
break}}}selectFirstOption(){const t=this.options.findIndex((t=>
|
|
9665
|
+
if(JO(e)&&iR(e)){this.setActiveOption(t)
|
|
9666
|
+
break}}}selectFirstOption(){const t=this.options.findIndex((t=>JO(t)&&iR(t)))
|
|
9664
9667
|
this.setActiveOption(t)}selectLastOption(){const t=function(t,e){let n=t.length
|
|
9665
9668
|
for(;n--;)if(e(t[n],n,t))return n
|
|
9666
|
-
return-1}(this.options,(t=>
|
|
9669
|
+
return-1}(this.options,(t=>JO(t)&&iR(t)))
|
|
9667
9670
|
this.setActiveOption(t)}registerOption(t){this.options.includes(t)||this.options.push(t)}setSelectedOptions(){this.open&&-1===this.selectedIndex||super.setSelectedOptions()}focusAndScrollOptionIntoView(){this.open&&(super.focusAndScrollOptionIntoView(),window.requestAnimationFrame((()=>{this.filterInput?.focus()})))}getTypeaheadMatches(){return super.getTypeaheadMatches().filter((t=>!t.hidden&&!t.disabled))}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}sizeChanged(t,e){super.sizeChanged(t,e),this.proxy&&(this.proxy.size=e)}openChanged(){if(!this.collapsible)return
|
|
9668
9671
|
if(this.open)return void this.initializeOpenState()
|
|
9669
9672
|
const t=this.options[this.openActiveIndex??this.selectedIndex]
|
|
9670
|
-
|
|
9673
|
+
JO(t)&&(t.activeOption=!1),this.openActiveIndex=void 0,this.filter="",this.filterInput&&(this.filterInput.value=""),this.filterMode!==pv.none&&this.emitFilterInputEvent(),this.ariaControls="",this.ariaExpanded="false"}selectedOptionsChanged(t,e){this.options?.forEach(((t,n)=>{const i=x.getNotifier(t)
|
|
9671
9674
|
i.unsubscribe(this,"selected"),t.selected=e.includes(t),i.subscribe(this,"selected")
|
|
9672
9675
|
const s=this.proxy?.options.item(n)
|
|
9673
|
-
s&&(s.selected=t.selected)}))}setDefaultSelectedOption(){const t=this.options??Array.from(this.children).filter((t=>
|
|
9676
|
+
s&&(s.selected=t.selected)}))}setDefaultSelectedOption(){const t=this.options??Array.from(this.children).filter((t=>JO(t))),e=t=>t.hasAttribute("selected")||t.selected
|
|
9674
9677
|
let n=-1,i=-1,s=-1
|
|
9675
9678
|
for(let r=0;r<t?.length;r++){const a=t[r]
|
|
9676
9679
|
if(e(a)||a.value===this.value){n=r
|
|
9677
9680
|
break}-1===s&&((o=a).disabled&&o.hidden)?s=r:-1===i&&iR(a)&&(i=r)}var o
|
|
9678
9681
|
this.selectedIndex=-1!==n?n:-1!==s?s:-1!==i?i:0}getSlottedOptions(t){const e=[]
|
|
9679
|
-
return t?.forEach((t=>{
|
|
9680
|
-
if(this.open){
|
|
9682
|
+
return t?.forEach((t=>{JO(t)?e.push(t):QO(t)&&e.push(...this.getGroupOptions(t))})),e}setActiveOption(t){const e=this.options[t]
|
|
9683
|
+
if(this.open){JO(e)&&(e.activeOption=!0)
|
|
9681
9684
|
const n=this.openActiveIndex??this.selectedIndex,i=this.options[n]
|
|
9682
|
-
n!==t&&
|
|
9685
|
+
n!==t&&JO(i)&&(i.activeOption=!1),this.openActiveIndex=t,this.focusAndScrollActiveOptionIntoView()}else this.selectedIndex=t
|
|
9683
9686
|
this.ariaActiveDescendant=e?.id??""}focusAndScrollActiveOptionIntoView(){const t=this.options[this.openActiveIndex??this.selectedIndex]
|
|
9684
9687
|
void 0!==t&&this.contains(t)&&(t.focus(),requestAnimationFrame((()=>{t.scrollIntoView({block:"nearest"})})))}getPlaceholderOption(){return this.options.find((t=>t.hidden&&t.disabled))}setPositioning(){if(!this.$fastController.isConnected)return
|
|
9685
9688
|
const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom
|
|
9686
9689
|
this.forcedPosition?this.position=this.positionAttribute:t.top>e?this.position=Wn:this.position=Gn,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.availableViewportHeight=this.position===Wn?Math.trunc(t.top):Math.trunc(e)}updateAdjacentSeparatorState(t){const e=this.getPreviousVisibleOptionOrGroup(t),n=this.getNextVisibleOptionOrGroup(t)
|
|
9687
|
-
if(sR(t)){const i=
|
|
9690
|
+
if(sR(t)){const i=JO(e)
|
|
9688
9691
|
this.setTopSeparatorState(t,i)
|
|
9689
9692
|
const s=null!==n
|
|
9690
|
-
this.setBottomSeparatorState(t,s),this.setBottomSeparatorState(e,!0)}else{const t=
|
|
9693
|
+
this.setBottomSeparatorState(t,s),this.setBottomSeparatorState(e,!0)}else{const t=JO(e)
|
|
9691
9694
|
this.setTopSeparatorState(n,t)
|
|
9692
9695
|
const i=null!==n
|
|
9693
|
-
this.setBottomSeparatorState(e,i)}}setTopSeparatorState(t,e){
|
|
9694
|
-
for(;e;){if((
|
|
9696
|
+
this.setBottomSeparatorState(e,i)}}setTopSeparatorState(t,e){QO(t)&&(t.topSeparatorVisible=e)}setBottomSeparatorState(t,e){QO(t)&&(t.bottomSeparatorVisible=e)}getPreviousVisibleOptionOrGroup(t){let e=t.previousElementSibling
|
|
9697
|
+
for(;e;){if((JO(e)||QO(e))&&sR(e))return e
|
|
9695
9698
|
e=e.previousElementSibling}return null}getNextVisibleOptionOrGroup(t){let e=t.nextElementSibling
|
|
9696
|
-
for(;e;){if((
|
|
9699
|
+
for(;e;){if((JO(e)||QO(e))&&sR(e))return e
|
|
9697
9700
|
e=e.nextElementSibling}return null}isOptionHiddenOrFilteredOut(t){return!!t.hidden||this.filterMode===pv.standard&&!this.filterMatchesText(t.text)}filterMatchesText(t){const e=this.filter.toLowerCase(),n=hM(e)
|
|
9698
9701
|
return hM(t).includes(n)}filterOptions(){if(!this.$fastController.isConnected)return
|
|
9699
9702
|
const t=[]
|
|
9700
|
-
for(const e of this.slottedOptions)if(
|
|
9703
|
+
for(const e of this.slottedOptions)if(QO(e)){if(e.hidden)continue
|
|
9701
9704
|
const n=this.getGroupOptions(e),i=this.filterMatchesText(e.labelContent)
|
|
9702
|
-
n.forEach((e=>{e.visuallyHidden=!i&&this.isOptionHiddenOrFilteredOut(e),e.visuallyHidden||t.push(e)}))}else
|
|
9703
|
-
this.filteredOptions=t}getGroupOptions(t){return Array.from(t.children).filter((t=>
|
|
9705
|
+
n.forEach((e=>{e.visuallyHidden=!i&&this.isOptionHiddenOrFilteredOut(e),e.visuallyHidden||t.push(e)}))}else JO(e)&&(e.visuallyHidden=this.isOptionHiddenOrFilteredOut(e),e.visuallyHidden||t.push(e))
|
|
9706
|
+
this.filteredOptions=t}getGroupOptions(t){return Array.from(t.children).filter((t=>JO(t))).map((e=>(t.hidden&&JO(e)&&(e.visuallyHidden=!0),e)))}updateValue(t){this.$fastController.isConnected&&(this.value=this.firstSelectedOption?.value??"",this.observeSelectedOptionTextContent()),t&&(this.$emit("input"),this.$emit("change",this,{bubbles:!0,composed:void 0}))}clearSelect(){const t=this.getPlaceholderOption()
|
|
9704
9707
|
this.selectedIndex=t?this.options.indexOf(t):-1}setProxyOptions(){this.proxy instanceof HTMLSelectElement&&this.options&&(this.proxy.options.length=0,this.options.forEach((t=>{const e=t.proxy||(t instanceof HTMLOptionElement?t.cloneNode():null)
|
|
9705
9708
|
e&&this.proxy.options.add(e)})))}filterChanged(){this.filterOptions()}emitFilterInputEvent(){const t={filterText:this.filter}
|
|
9706
9709
|
this.$emit("filter-input",t,{bubbles:!0})}initializeOpenState(){this.setActiveOption(this.selectedIndex),this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView()}observeSelectedOptionTextContent(){if(this.selectedOptionObserver?.disconnect(),-1===this.selectedIndex)return
|
|
@@ -9805,7 +9808,7 @@ const rR=oR.compose({baseName:"select",baseClass:es,template:(t,e)=>Q`
|
|
|
9805
9808
|
class="scrollable-region">
|
|
9806
9809
|
<slot
|
|
9807
9810
|
name="option"
|
|
9808
|
-
${ie({filter:t=>t instanceof HTMLElement&&(
|
|
9811
|
+
${ie({filter:t=>t instanceof HTMLElement&&(JO(t)||QO(t)),flatten:!0,property:"slottedOptions"})}
|
|
9809
9812
|
></slot>
|
|
9810
9813
|
${Gt((t=>t.filterMode!==pv.none&&0===t.filteredOptions.length&&!t.loadingVisible),Q`
|
|
9811
9814
|
<span class="no-results-label">
|
|
@@ -9819,14 +9822,14 @@ const rR=oR.compose({baseName:"select",baseClass:es,template:(t,e)=>Q`
|
|
|
9819
9822
|
<span class="loading-label">
|
|
9820
9823
|
${t=>dg.getValueFor(t)}
|
|
9821
9824
|
</span>
|
|
9822
|
-
<${
|
|
9825
|
+
<${XO} class="loading-spinner" appearance="accent"></${XO}>
|
|
9823
9826
|
</div>
|
|
9824
9827
|
`)}
|
|
9825
9828
|
</div>
|
|
9826
9829
|
</div>
|
|
9827
9830
|
</${kg}>
|
|
9828
9831
|
</template>
|
|
9829
|
-
`,styles:
|
|
9832
|
+
`,styles:jO,indicator:Xh.data,end:Q`
|
|
9830
9833
|
<${$g}
|
|
9831
9834
|
severity="error"
|
|
9832
9835
|
class="error-icon"
|
|
@@ -10036,7 +10039,7 @@ const dR=Mt`
|
|
|
10036
10039
|
|
|
10037
10040
|
:host {
|
|
10038
10041
|
position: relative;
|
|
10039
|
-
font: ${
|
|
10042
|
+
font: ${Od};
|
|
10040
10043
|
height: ${Vl};
|
|
10041
10044
|
color: ${rd};
|
|
10042
10045
|
align-items: center;
|
|
@@ -10237,17 +10240,17 @@ ER.autoRemove=t=>NR(t)||!(null!=t&&t.length)
|
|
|
10237
10240
|
const AR=(t,e,n)=>n.some((n=>{var i
|
|
10238
10241
|
return null==(i=t.getValue(e))?void 0:i.includes(n)}))
|
|
10239
10242
|
AR.autoRemove=t=>NR(t)||!(null!=t&&t.length)
|
|
10240
|
-
const
|
|
10241
|
-
OR.autoRemove=t=>NR(t)
|
|
10242
|
-
const TR=(t,e,n)=>t.getValue(e)==n
|
|
10243
|
+
const TR=(t,e,n)=>t.getValue(e)===n
|
|
10243
10244
|
TR.autoRemove=t=>NR(t)
|
|
10245
|
+
const OR=(t,e,n)=>t.getValue(e)==n
|
|
10246
|
+
OR.autoRemove=t=>NR(t)
|
|
10244
10247
|
const RR=(t,e,n)=>{let[i,s]=n
|
|
10245
10248
|
const o=t.getValue(e)
|
|
10246
10249
|
return o>=i&&o<=s}
|
|
10247
10250
|
RR.resolveFilterValue=t=>{let[e,n]=t,i="number"!=typeof e?parseFloat(e):e,s="number"!=typeof n?parseFloat(n):n,o=null===e||Number.isNaN(i)?-1/0:i,r=null===n||Number.isNaN(s)?1/0:s
|
|
10248
10251
|
if(o>r){const t=o
|
|
10249
10252
|
o=r,r=t}return[o,r]},RR.autoRemove=t=>NR(t)||NR(t[0])&&NR(t[1])
|
|
10250
|
-
const FR={includesString:IR,includesStringSensitive:MR,equalsString:$R,arrIncludes:DR,arrIncludesAll:ER,arrIncludesSome:AR,equals:
|
|
10253
|
+
const FR={includesString:IR,includesStringSensitive:MR,equalsString:$R,arrIncludes:DR,arrIncludesAll:ER,arrIncludesSome:AR,equals:TR,weakEquals:OR,inNumberRange:RR}
|
|
10251
10254
|
function NR(t){return null==t||""===t}const LR={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:t=>({columnFilters:[],...t}),getDefaultOptions:t=>({onColumnFiltersChange:mR("columnFilters",t),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(t,e)=>{t.getAutoFilterFn=()=>{const n=e.getCoreRowModel().flatRows[0],i=null==n?void 0:n.getValue(t.id)
|
|
10252
10255
|
return"string"==typeof i?FR.includesString:"number"==typeof i?FR.inNumberRange:"boolean"==typeof i||null!==i&&"object"==typeof i?FR.equals:Array.isArray(i)?FR.arrIncludes:FR.weakEquals},t.getFilterFn=()=>{var n,i
|
|
10253
10256
|
return gR(t.columnDef.filterFn)?t.columnDef.filterFn:"auto"===t.columnDef.filterFn?t.getAutoFilterFn():null!=(n=null==(i=e.options.filterFns)?void 0:i[t.columnDef.filterFn])?n:FR[t.columnDef.filterFn]},t.getCanFilter=()=>{var n,i,s
|
|
@@ -10518,7 +10521,7 @@ return m._valuesCache[e]}if(m._groupingValuesCache.hasOwnProperty(e))return m._g
|
|
|
10518
10521
|
const s=t.getColumn(e),o=null==s?void 0:s.getAggregationFn()
|
|
10519
10522
|
return o?(m._groupingValuesCache[e]=o(e,f,h),m._groupingValuesCache[e]):void 0}}),p.forEach((t=>{s.push(t),o[t.id]=t})),m}))
|
|
10520
10523
|
return d},a=r(n.rows,0)
|
|
10521
|
-
return a.forEach((t=>{s.push(t),o[t.id]=t})),{rows:a,flatRows:s,rowsById:o}}),yR(t.options,"debugTable",0,(()=>{t._queue((()=>{t._autoResetExpanded(),t._autoResetPageIndex()}))})))}const fF=void 0,mF="can-load-children",gF="loading-children",vF={none:void 0,ascending:"ascending",descending:"descending"},bF={none:void 0,single:"single",multiple:"multiple"},yF="not-selected",wF="selected",xF="partially-selected",CF="left",kF="right",SF="none",_F="columnHeader",IF="headerActions",MF="row",$F="rowSelectionCheckbox",DF="cell",EF="cellActionMenu",AF="cellContent",
|
|
10524
|
+
return a.forEach((t=>{s.push(t),o[t.id]=t})),{rows:a,flatRows:s,rowsById:o}}),yR(t.options,"debugTable",0,(()=>{t._queue((()=>{t._autoResetExpanded(),t._autoResetPageIndex()}))})))}const fF=void 0,mF="can-load-children",gF="loading-children",vF={none:void 0,ascending:"ascending",descending:"descending"},bF={none:void 0,single:"single",multiple:"multiple"},yF="not-selected",wF="selected",xF="partially-selected",CF="left",kF="right",SF="none",_F="columnHeader",IF="headerActions",MF="row",$F="rowSelectionCheckbox",DF="cell",EF="cellActionMenu",AF="cellContent",TF="basic",OF="localeAwareCaseSensitive",RF=117,FF=1
|
|
10522
10525
|
class NF extends We{}t([C],NF.prototype,"groupHeaderValue",void 0),t([C],NF.prototype,"columnConfig",void 0)
|
|
10523
10526
|
const LF=t=>((t=>{let e
|
|
10524
10527
|
try{e=document.createElement(t)}catch(t){}if(!(e instanceof NF))throw new Error(`Group header view tag name (${t}) must evaluate to an element extending TableGroupHeaderView`)})(t),Q`
|
|
@@ -10549,9 +10552,9 @@ try{e=document.createElement(t)}catch(t){}if(!(e instanceof BF))throw new Error(
|
|
|
10549
10552
|
`)}
|
|
10550
10553
|
</${t}>
|
|
10551
10554
|
`)
|
|
10552
|
-
class HF{constructor(t){this.uniqueId=il("table-column-slot"),this.sortOperation=
|
|
10555
|
+
class HF{constructor(t){this.uniqueId=il("table-column-slot"),this.sortOperation=TF,this.dataRecordFieldNames=[],this.groupingDisabled=!0,this.fractionalWidth=FF,this.minPixelWidth=RF,this.resizingDisabled=!1,this.hideHeaderIndicators=!1,this.headerAlignment=CF,this.currentFractionalWidth=FF,this.sortingDisabled=!0,this.currentSortDirection=vF.none,this.cellRecordFieldNames=t.cellRecordFieldNames,this.cellViewTemplate=zF(t.cellViewTag),t.groupHeaderViewTag&&(this.groupHeaderViewTemplate=LF(t.groupHeaderViewTag)),this.delegatedEvents=t.delegatedEvents,this.slotNames=t.slotNames??[],this.sortOperation=t.sortOperation??TF,this.validator=t.validator}fractionalWidthChanged(){this.currentFractionalWidth=this.fractionalWidth}pixelWidthChanged(){this.currentPixelWidth=this.pixelWidth}}function UF(t,...e){for(const n of e)if(t===n)return!0
|
|
10553
10556
|
return!1}t([C],HF.prototype,"columnConfig",void 0),t([C],HF.prototype,"operandDataRecordFieldName",void 0),t([C],HF.prototype,"sortOperation",void 0),t([C],HF.prototype,"dataRecordFieldNames",void 0),t([C],HF.prototype,"groupingDisabled",void 0),t([C],HF.prototype,"groupIndex",void 0),t([C],HF.prototype,"pixelWidth",void 0),t([C],HF.prototype,"fractionalWidth",void 0),t([C],HF.prototype,"minPixelWidth",void 0),t([C],HF.prototype,"resizingDisabled",void 0),t([C],HF.prototype,"hideHeaderIndicators",void 0),t([C],HF.prototype,"headerAlignment",void 0),t([C],HF.prototype,"currentFractionalWidth",void 0),t([C],HF.prototype,"currentPixelWidth",void 0),t([C],HF.prototype,"sortingDisabled",void 0),t([C],HF.prototype,"currentSortIndex",void 0),t([C],HF.prototype,"currentSortDirection",void 0)
|
|
10554
|
-
class qF extends We{constructor(){super(...arguments),this.columnInternals=new HF(this.getColumnInternalsOptions()),this.columnHidden=!1,this.hasOverflow=!1}checkValidity(){return this.columnInternals.validator.isColumnValid}get validity(){return this.columnInternals.validator.getValidity()}get headerTextContent(){return
|
|
10557
|
+
class qF extends We{constructor(){super(...arguments),this.columnInternals=new HF(this.getColumnInternalsOptions()),this.columnHidden=!1,this.hasOverflow=!1}checkValidity(){return this.columnInternals.validator.isColumnValid}get validity(){return this.columnInternals.validator.getValidity()}get headerTextContent(){return Tb(this.contentSlot)}connectedCallback(){super.connectedCallback(),this.setAttribute("slot",this.columnInternals.uniqueId)}}t([ft({attribute:"column-id"})],qF.prototype,"columnId",void 0),t([ft({attribute:"action-menu-slot"})],qF.prototype,"actionMenuSlot",void 0),t([ft({attribute:"action-menu-label"})],qF.prototype,"actionMenuLabel",void 0),t([ft({attribute:"column-hidden",mode:"boolean"})],qF.prototype,"columnHidden",void 0),t([C],qF.prototype,"hasOverflow",void 0)
|
|
10555
10558
|
class jF{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((t=>!1===t))}areRecordIdsValid(){const t=this.getValidity()
|
|
10556
10559
|
return!t.duplicateRecordId&&!t.missingRecordId&&!t.invalidRecordId}validateIdFieldConfiguration(t,e,n){const i=t!==bF.none||"string"==typeof n
|
|
10557
10560
|
return this.idFieldNameNotConfigured=!!i&&"string"!=typeof e,!this.idFieldNameNotConfigured}validateRecordIds(t,e){if(this.duplicateRecordId=!1,this.missingRecordId=!1,this.invalidRecordId=!1,this.recordIds.clear(),"string"!=typeof e)return!0
|
|
@@ -10733,7 +10736,7 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(t
|
|
|
10733
10736
|
min-width: max(100%, var(--ni-private-table-scrollable-min-width));
|
|
10734
10737
|
position: relative;
|
|
10735
10738
|
top: var(--ni-private-table-row-container-top);
|
|
10736
|
-
background-color: ${
|
|
10739
|
+
background-color: ${Ol};
|
|
10737
10740
|
}
|
|
10738
10741
|
|
|
10739
10742
|
.selection-checkbox {
|
|
@@ -11134,12 +11137,12 @@ const sN="nimble-table-cell",oN=Q`
|
|
|
11134
11137
|
${Gt((t=>t.isParentRow),Q`
|
|
11135
11138
|
${Gt((t=>t.loading),Q`
|
|
11136
11139
|
<span class="spinner-container">
|
|
11137
|
-
<${
|
|
11138
|
-
appearance="${
|
|
11140
|
+
<${XO}
|
|
11141
|
+
appearance="${ZO.accent}"
|
|
11139
11142
|
aria-label="${t=>_b.getValueFor(t)}"
|
|
11140
11143
|
title="${t=>_b.getValueFor(t)}"
|
|
11141
11144
|
>
|
|
11142
|
-
</${
|
|
11145
|
+
</${XO}>
|
|
11143
11146
|
</span>
|
|
11144
11147
|
`)}
|
|
11145
11148
|
${Gt((t=>!t.loading),Q`
|
|
@@ -11621,12 +11624,12 @@ this.virtualizer?this.virtualizer.setOptions(t):this.virtualizer=new IN(t),this.
|
|
|
11621
11624
|
return{count:this.tanStackTable.getRowModel().rows.length,getScrollElement:()=>this.table.viewport,estimateSize:e=>t,enableSmoothScroll:!0,overscan:3,isScrollingResetDelay:250,scrollToFn:_N,observeElementOffset:kN,observeElementRect:wN,onChange:()=>this.handleVirtualizerChange()}}handleVirtualizerChange(){const t=this.virtualizer
|
|
11622
11625
|
this.visibleItems=t.getVirtualItems(),this.scrollHeight=t.getTotalSize(),this.isScrolling=t.isScrolling,window.clearTimeout(this.isScrollingTimer),this.isScrolling&&(this.isScrollingTimer=window.setTimeout((()=>{this.isScrolling=!1}),300))
|
|
11623
11626
|
let e=0
|
|
11624
|
-
if(this.visibleItems.length>0){e=this.visibleItems[0].start}this.rowContainerYOffset=e}updatePageSize(){this._pageSize=Math.round(this.table.viewport.clientHeight/this.table.rowHeight)}}function DN(t){switch(t){case
|
|
11625
|
-
case
|
|
11627
|
+
if(this.visibleItems.length>0){e=this.visibleItems[0].start}this.rowContainerYOffset=e}updatePageSize(){this._pageSize=Math.round(this.table.viewport.clientHeight/this.table.rowHeight)}}function DN(t){switch(t){case TF:return AN
|
|
11628
|
+
case OF:return EN
|
|
11626
11629
|
default:return AN}}function EN(t,e,n){const i=t.getValue(n),s=e.getValue(n)
|
|
11627
11630
|
return"string"==typeof i&&"string"==typeof s?i.localeCompare(s):i===s?0:void 0===i||null===i&&void 0!==s?-1:1}function AN(t,e,n){const i=t.getValue(n),s=e.getValue(n)
|
|
11628
11631
|
return Object.is(i,s)?0:void 0===i?-1:void 0===s?1:null===i?-1:null===s?1:Number.isNaN(i)?-1:Number.isNaN(s)?1:0===i&&0===s?Object.is(i,-0)?-1:1:i>s?1:-1}t([C],$N.prototype,"visibleItems",void 0),t([C],$N.prototype,"scrollHeight",void 0),t([C],$N.prototype,"isScrolling",void 0),t([C],$N.prototype,"headerContainerMarginRight",void 0),t([C],$N.prototype,"rowContainerYOffset",void 0)
|
|
11629
|
-
class
|
|
11632
|
+
class TN{constructor(t){this.table=t,this.isColumnBeingSized=!1,this.visibleColumns=[],this.currentTotalDelta=0,this.dragStart=0,this.initialColumnWidths=[],this.onDividerPointerMove=t=>{for(let t=0;t<this.visibleColumns.length;t++)this.visibleColumns[t].columnInternals.currentPixelWidth=this.initialColumnWidths[t]?.initialPixelWidth
|
|
11630
11633
|
this.currentTotalDelta=this.getAllowedSizeDelta(t.clientX-this.dragStart),this.performCascadeSizeLeft(this.leftColumnIndex,this.currentTotalDelta),this.performCascadeSizeRight(this.rightColumnIndex,this.currentTotalDelta)
|
|
11631
11634
|
const e=this.getTotalColumnFixedWidth()-this.initialColumnTotalWidth
|
|
11632
11635
|
this.table.tableScrollableMinWidth=e>0?this.initialTableScrollableWidth+e:this.initialTableScrollableMinWidth},this.onDividerPointerUp=()=>{this.activeColumnDividerElement.removeEventListener("pointermove",this.onDividerPointerMove),this.activeColumnDividerElement.removeEventListener("pointerup",this.onDividerPointerUp),this.resetGridSizedColumns(),this.isColumnBeingSized=!1,this.activeColumnIndex=void 0,this.activeColumnDivider=void 0,this.activeColumnDividerElement=void 0,this.visibleColumns=[]}}getGridTemplateColumns(){return this.getVisibleColumns().map((t=>{const{minPixelWidth:e,currentPixelWidth:n,currentFractionalWidth:i}=t.columnInternals
|
|
@@ -11662,10 +11665,10 @@ for(const t of this.visibleColumns)this.initialColumnWidths.push({initalColumnFr
|
|
|
11662
11665
|
const t=this.gridSizedColumns.reduce(((t,e)=>t+e.columnInternals.currentPixelWidth),0),e=t/this.gridSizedColumns.length
|
|
11663
11666
|
let n=0
|
|
11664
11667
|
for(let t=0;t<this.visibleColumns.length&&n<this.gridSizedColumns.length;t++){const i=this.visibleColumns[t]
|
|
11665
|
-
i===this.gridSizedColumns[n]&&(n+=1,i.columnInternals.currentFractionalWidth=i.columnInternals.currentPixelWidth/e,i.columnInternals.currentPixelWidth=void 0)}}getVisibleColumns(){return this.table.columns.filter((t=>!t.columnHidden))}getLeftColumnIndexFromDivider(t){return Math.floor(t/2)}}t([C],
|
|
11666
|
-
const
|
|
11668
|
+
i===this.gridSizedColumns[n]&&(n+=1,i.columnInternals.currentFractionalWidth=i.columnInternals.currentPixelWidth/e,i.columnInternals.currentPixelWidth=void 0)}}getVisibleColumns(){return this.table.columns.filter((t=>!t.columnHidden))}getLeftColumnIndexFromDivider(t){return Math.floor(t/2)}}t([C],TN.prototype,"isColumnBeingSized",void 0),t([C],TN.prototype,"activeColumnIndex",void 0),t([C],TN.prototype,"activeColumnDivider",void 0)
|
|
11669
|
+
const ON=(t,...e)=>{for(const n of e)if(t===n)return!0
|
|
11667
11670
|
return!1},RN=["rowIds","rowParentIds","groupRows","columnIds","columnHidden","columnSort","columnSortDisabled","columnWidths","columnDefinition","actionMenuSlots","selectionMode"]
|
|
11668
|
-
class FN extends
|
|
11671
|
+
class FN extends TE{constructor(t){super(RN),this.table=t,this.updateQueued=!1}get updateRowIds(){return this.isTracked("rowIds")}get updateRowParentIds(){return this.isTracked("rowParentIds")}get updateGroupRows(){return this.isTracked("groupRows")}get updateColumnIds(){return this.isTracked("columnIds")}get updateColumnSort(){return this.isTracked("columnSort")}get updateColumnWidths(){return this.isTracked("columnWidths")}get updateColumnDefinition(){return this.isTracked("columnDefinition")}get updateActionMenuSlots(){return this.isTracked("actionMenuSlots")}get updateSelectionMode(){return this.isTracked("selectionMode")}get requiresTanStackUpdate(){return this.isTracked("rowIds")||this.isTracked("rowParentIds")||this.isTracked("columnSort")||this.isTracked("columnDefinition")||this.isTracked("groupRows")||this.isTracked("selectionMode")}get requiresTanStackDataReset(){return this.isTracked("rowIds")||this.isTracked("columnDefinition")||this.isTracked("rowParentIds")}get requiresKeyboardFocusReset(){return this.isTracked("columnSortDisabled")||this.isTracked("columnDefinition")||this.isTracked("columnHidden")||this.isTracked("selectionMode")||this.isTracked("actionMenuSlots")}trackAllStateChanged(){this.trackAll(),this.queueUpdate()}get hasPendingUpdates(){return this.updateQueued}trackColumnPropertyChanged(t){ON(t,"columnId")?this.track("columnIds"):UF(t,"operandDataRecordFieldName","sortOperation")?this.track("columnDefinition"):UF(t,"sortingDisabled")?(this.track("columnSort"),this.track("columnSortDisabled")):UF(t,"currentSortDirection","currentSortIndex")?this.track("columnSort"):UF(t,"currentFractionalWidth","currentPixelWidth","minPixelWidth","resizingDisabled")?this.track("columnWidths"):ON(t,"columnHidden")?(this.track("columnWidths"),this.track("columnHidden")):ON(t,"actionMenuSlot")?this.track("actionMenuSlots"):UF(t,"groupIndex","groupingDisabled")&&this.track("groupRows"),this.queueUpdate()}trackColumnInstancesChanged(){this.track("columnIds"),this.track("columnDefinition"),this.track("columnSort"),this.track("columnSortDisabled"),this.track("columnWidths"),this.track("actionMenuSlots"),this.track("groupRows"),this.queueUpdate()}trackIdFieldNameChanged(){this.track("rowIds"),this.queueUpdate()}trackParentIdFieldNameChanged(){this.track("rowParentIds"),this.queueUpdate()}trackSelectionModeChanged(){this.track("selectionMode"),this.queueUpdate()}queueUpdate(){this.table.$fastController.isConnected&&(this.updateQueued||(this.updateQueued=!0,b.queueUpdate((()=>{this.table.update(),this.untrackAll(),this.updateQueued=!1}))))}}class NN{constructor(t){this.tanStackTable=t}reset(){}toggleIsRowSelected(t,e){t.isGroupRow&&t.selectionState===wF?this.deselectAllLeafRows(t.id):this.tanStackTable.getRow(t.id).toggleSelected(e,{selectChildren:t.isGroupRow})}selectSingleRow(t){if(t.isGroupRow)throw new Error("function not intended to select grouped rows")
|
|
11669
11672
|
const e=this.tanStackTable.getState().rowSelection,n=[]
|
|
11670
11673
|
if(Object.entries(e).forEach((([t,e])=>{e&&n.push(t)})),1===n.length&&n[0]===t.id)return!1
|
|
11671
11674
|
const i={}
|
|
@@ -11872,11 +11875,11 @@ d=n&&i?0:n?l:-l}}if(0===d&&(d=a.sortingFn(t,e,s.id)),0!==d)return c&&(d*=-1),a.i
|
|
|
11872
11875
|
s.push(t),null!=(e=t.subRows)&&e.length&&(t.subRows=a(t.subRows))})),e}
|
|
11873
11876
|
return{rows:a(n.rows),flatRows:s,rowsById:n.rowsById}}),yR(t.options,"debugTable",0,(()=>t._autoResetPageIndex()))),getGroupedRowModel:pF(),getExpandedRowModel:t=>bR((()=>[t.getState().expanded,t.getPreExpandedRowModel(),t.options.paginateExpandedRows]),((t,e,n)=>!e.rows.length||!0!==t&&!Object.keys(null!=t?t:{}).length?e:n?function(t){const e=[],n=t=>{var i
|
|
11874
11877
|
e.push(t),null!=(i=t.subRows)&&i.length&&t.getIsExpanded()&&t.subRows.forEach(n)}
|
|
11875
|
-
return t.rows.forEach(n),{rows:e,flatRows:t.flatRows,rowsById:t.rowsById}}(e):e),yR(t.options,"debugTable")),getRowCanExpand:this.getRowCanExpand,getIsRowExpanded:this.getIsRowExpanded,getSubRows:t=>t.subRows,columns:[],state:{rowSelection:{},grouping:[],expanded:!0},enableRowSelection:t=>!t.getIsGrouped(),enableMultiRowSelection:!1,enableSubRowSelection:!1,enableSorting:!0,enableGrouping:!0,renderFallbackValue:null,autoResetAll:!1},this.table=uF(this.options),this.virtualizer=new $N(this,this.table),this.keyboardNavigationManager=new GN(this,this.virtualizer),this.layoutManager=new
|
|
11878
|
+
return t.rows.forEach(n),{rows:e,flatRows:t.flatRows,rowsById:t.rowsById}}(e):e),yR(t.options,"debugTable")),getRowCanExpand:this.getRowCanExpand,getIsRowExpanded:this.getIsRowExpanded,getSubRows:t=>t.subRows,columns:[],state:{rowSelection:{},grouping:[],expanded:!0},enableRowSelection:t=>!t.getIsGrouped(),enableMultiRowSelection:!1,enableSubRowSelection:!1,enableSorting:!0,enableGrouping:!0,renderFallbackValue:null,autoResetAll:!1},this.table=uF(this.options),this.virtualizer=new $N(this,this.table),this.keyboardNavigationManager=new GN(this,this.virtualizer),this.layoutManager=new TN(this),this.layoutManagerNotifier=x.getNotifier(this.layoutManager),this.layoutManagerNotifier.subscribe(this,"isColumnBeingSized"),this.selectionManager=new VN(this.table,this.selectionMode),this.expansionManager=new qN(this.table)}async setData(t){await this.processPendingUpdates()
|
|
11876
11879
|
const e=t.map((t=>({...t}))),n=this.calculateTanStackData(e)
|
|
11877
11880
|
this.updateTableOptions(n)}async getSelectedRecordIds(){return await this.processPendingUpdates(),this.selectionManager.getCurrentSelectedRecordIds()}async setSelectedRecordIds(t){await this.processPendingUpdates(),this.selectionMode!==bF.none&&this.updateTableOptions({state:{rowSelection:this.calculateTanStackSelectionState(t)}})}async setRecordHierarchyOptions(t){await this.processPendingUpdates()
|
|
11878
11881
|
const e=structuredClone(t),n=this.tableValidator.getOptionsWithPresentIds(e)
|
|
11879
|
-
this.expansionManager.setHierarchyOptions(n),this.refreshRows()}connectedCallback(){super.connectedCallback(),this.initialize(),this.updateRowHeight(),this.virtualizer.connect(),this.viewport.addEventListener("scroll",this.onViewPortScroll,{passive:!0}),this.keyboardNavigationManager.connect(),window.addEventListener("keydown",this.onKeyDown),window.addEventListener("keyup",this.onKeyUp),window.addEventListener("blur",this.onBlur),Wl.subscribe(this.borderWidthSubscriber,this),Vl.subscribe(this.controlHeightSubscriber,this)}disconnectedCallback(){super.disconnectedCallback(),this.virtualizer.disconnect(),this.keyboardNavigationManager.disconnect(),this.viewport.removeEventListener("scroll",this.onViewPortScroll),window.removeEventListener("keydown",this.onKeyDown),window.removeEventListener("keyup",this.onKeyUp),window.removeEventListener("blur",this.onBlur),Wl.unsubscribe(this.borderWidthSubscriber),Vl.unsubscribe(this.controlHeightSubscriber)}checkValidity(){return this.tableValidator.isValid()}handleChange(t,e){(t instanceof qF||t instanceof HF)&&"string"==typeof e?this.tableUpdateTracker.trackColumnPropertyChanged(e):t instanceof WN&&"isColumnValid"===e?this.tableValidator.validateColumnConfigurations(this.columns):t instanceof
|
|
11882
|
+
this.expansionManager.setHierarchyOptions(n),this.refreshRows()}connectedCallback(){super.connectedCallback(),this.initialize(),this.updateRowHeight(),this.virtualizer.connect(),this.viewport.addEventListener("scroll",this.onViewPortScroll,{passive:!0}),this.keyboardNavigationManager.connect(),window.addEventListener("keydown",this.onKeyDown),window.addEventListener("keyup",this.onKeyUp),window.addEventListener("blur",this.onBlur),Wl.subscribe(this.borderWidthSubscriber,this),Vl.subscribe(this.controlHeightSubscriber,this)}disconnectedCallback(){super.disconnectedCallback(),this.virtualizer.disconnect(),this.keyboardNavigationManager.disconnect(),this.viewport.removeEventListener("scroll",this.onViewPortScroll),window.removeEventListener("keydown",this.onKeyDown),window.removeEventListener("keyup",this.onKeyUp),window.removeEventListener("blur",this.onBlur),Wl.unsubscribe(this.borderWidthSubscriber),Vl.unsubscribe(this.controlHeightSubscriber)}checkValidity(){return this.tableValidator.isValid()}handleChange(t,e){(t instanceof qF||t instanceof HF)&&"string"==typeof e?this.tableUpdateTracker.trackColumnPropertyChanged(e):t instanceof WN&&"isColumnValid"===e?this.tableValidator.validateColumnConfigurations(this.columns):t instanceof TN&&"isColumnBeingSized"===e&&!this.layoutManager.isColumnBeingSized&&this.emitColumnConfigurationChangeEvent()}onRowSelectionToggle(t,e){e.stopImmediatePropagation()
|
|
11880
11883
|
this.selectionManager.handleRowSelectionToggle(this.tableData[t],e.detail.newState,this.windowShiftKeyDown)&&this.emitSelectionChangeEvent()}onRowClick(t,e){return this.selectionManager.handleRowClick(this.tableData[t],e.shiftKey,e.ctrlKey||e.metaKey)&&this.emitSelectionChangeEvent(),!0}onRowFocusIn(t){this.keyboardNavigationManager.onRowFocusIn(t)}onRowBlur(t){this.keyboardNavigationManager.onRowBlur(t)}onAllRowsSelectionChange(t){t.stopPropagation(),this.ignoreSelectionChangeEvents||(this.table.toggleAllRowsSelected(this.selectionCheckbox.checked),this.emitSelectionChangeEvent())}onRowActionMenuBeforeToggle(t,e){e.stopImmediatePropagation(),this.handleActionMenuBeforeToggleEvent(t,e)}onRowActionMenuToggle(t){t.stopImmediatePropagation(),this.handleRowActionMenuToggleEvent(t)}onRowSlotsRequest(t){t.stopImmediatePropagation()
|
|
11881
11884
|
for(const e of t.detail.slots){const n=PF(t.detail.columnInternalId,e.slot)
|
|
11882
11885
|
this.requestedSlots.set(e.name,{recordId:t.detail.recordId,uniqueSlot:n})}this.refreshRows()}handleCollapseAllRows(){this.expansionManager.collapseAll()}onRightDividerPointerDown(t,e){"mouse"===t.pointerType&&0!==t.button||this.layoutManager.beginColumnInteractiveSize(t.target,t.pointerId,t.clientX,this.getRightDividerIndex(e))}onLeftDividerPointerDown(t,e){"mouse"===t.pointerType&&0!==t.button||this.layoutManager.beginColumnInteractiveSize(t.target,t.pointerId,t.clientX,this.getLeftDividerIndex(e))}getLeftDividerIndex(t){return 2*t-1}getRightDividerIndex(t){return 2*t}handleGroupRowExpanded(t,e){this.toggleRowExpanded(t),e.stopPropagation()}handleRowExpanded(t){this.toggleRowExpanded(t)}toggleColumnSort(t,e){if(t.columnInternals.sortingDisabled)return
|
|
@@ -12038,9 +12041,9 @@ const rL=Q`
|
|
|
12038
12041
|
const lL=class extends oL{updateText(){this.text="string"==typeof this.groupHeaderValue?this.groupHeaderValue:""}}.compose({baseName:"table-column-text-group-header-view",template:rL,styles:aL})
|
|
12039
12042
|
_i.getOrCreate().withPrefix("nimble").register(lL())
|
|
12040
12043
|
const cL="nimble-table-column-text-group-header-view"
|
|
12041
|
-
function dL(t){class e extends t{constructor(){super(...arguments),this.sortingDisabled=!1,this.sortDirection=vF.none}sortingDisabledChanged(){this.columnInternals.sortingDisabled=this.sortingDisabled,this.sortingDisabled?(this.columnInternals.currentSortDirection=vF.none,this.columnInternals.currentSortIndex=void 0):(this.columnInternals.currentSortDirection=this.sortDirection,this.columnInternals.currentSortIndex=this.sortIndex??void 0)}sortDirectionChanged(){this.sortingDisabled||(this.columnInternals.currentSortDirection=this.sortDirection)}sortIndexChanged(){this.sortingDisabled||(this.columnInternals.currentSortIndex=this.sortIndex??void 0)}}return ft({attribute:"sorting-disabled",mode:"boolean"})(e.prototype,"sortingDisabled"),ft({attribute:"sort-index",converter:ut})(e.prototype,"sortIndex"),ft({attribute:"sort-direction"})(e.prototype,"sortDirection"),e}function hL(t){class e extends t{constructor(){super(...arguments),this.customSortOrderColumnChangeHandler={handleChange:this.handleCustomSortOrderColumnChange.bind(this)}}getResolvedOperandDataRecordFieldName(t){return"string"==typeof this.sortByFieldName?this.sortByFieldName:t}getResolvedSortOperation(t){return"string"==typeof this.sortByFieldName?
|
|
12044
|
+
function dL(t){class e extends t{constructor(){super(...arguments),this.sortingDisabled=!1,this.sortDirection=vF.none}sortingDisabledChanged(){this.columnInternals.sortingDisabled=this.sortingDisabled,this.sortingDisabled?(this.columnInternals.currentSortDirection=vF.none,this.columnInternals.currentSortIndex=void 0):(this.columnInternals.currentSortDirection=this.sortDirection,this.columnInternals.currentSortIndex=this.sortIndex??void 0)}sortDirectionChanged(){this.sortingDisabled||(this.columnInternals.currentSortDirection=this.sortDirection)}sortIndexChanged(){this.sortingDisabled||(this.columnInternals.currentSortIndex=this.sortIndex??void 0)}}return ft({attribute:"sorting-disabled",mode:"boolean"})(e.prototype,"sortingDisabled"),ft({attribute:"sort-index",converter:ut})(e.prototype,"sortIndex"),ft({attribute:"sort-direction"})(e.prototype,"sortDirection"),e}function hL(t){class e extends t{constructor(){super(...arguments),this.customSortOrderColumnChangeHandler={handleChange:this.handleCustomSortOrderColumnChange.bind(this)}}getResolvedOperandDataRecordFieldName(t){return"string"==typeof this.sortByFieldName?this.sortByFieldName:t}getResolvedSortOperation(t){return"string"==typeof this.sortByFieldName?TF:t}sortByFieldNameChanged(){this.handleSortConfigurationChange(),this.updateCustomColumnSortingValidity(),"string"!=typeof this.sortByFieldName||this.customSortOrderColumnNotifier?(this.customSortOrderColumnNotifier?.unsubscribe(this.customSortOrderColumnChangeHandler),this.customSortOrderColumnNotifier=void 0):(this.customSortOrderColumnNotifier=x.getNotifier(this.columnInternals),this.customSortOrderColumnNotifier.subscribe(this.customSortOrderColumnChangeHandler))}handleCustomSortOrderColumnChange(t,e){"groupingDisabled"===e&&this.updateCustomColumnSortingValidity()}updateCustomColumnSortingValidity(){const t="string"==typeof this.sortByFieldName
|
|
12042
12045
|
!!this.columnInternals.groupingDisabled||!t?this.columnInternals.validator.untrack("invalidCustomSortWithGrouping"):this.columnInternals.validator.track("invalidCustomSortWithGrouping")}}return ft({attribute:"sort-by-field-name"})(e.prototype,"sortByFieldName"),e}const uL=["invalidCustomSortWithGrouping"]
|
|
12043
|
-
class pL extends WN{constructor(){super(uL)}}class fL extends(QN(JN(tL(dL(hL(qF)))))){constructor(){super(...arguments),this.underlineHidden=!1,this.defaultSortOperation=
|
|
12046
|
+
class pL extends WN{constructor(){super(uL)}}class fL extends(QN(JN(tL(dL(hL(qF)))))){constructor(){super(...arguments),this.underlineHidden=!1,this.defaultSortOperation=OF}placeholderChanged(){this.updateColumnConfig()}handleSortConfigurationChange(){this.updateColumnInternalsSortConfiguration()}getColumnInternalsOptions(){return{cellRecordFieldNames:["label","href"],cellViewTag:"nimble-table-column-anchor-cell-view",groupHeaderViewTag:cL,delegatedEvents:["click"],sortOperation:this.getResolvedSortOperation(this.defaultSortOperation),validator:new pL}}labelFieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.labelFieldName,this.hrefFieldName],this.updateColumnInternalsSortConfiguration()}hrefFieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.labelFieldName,this.hrefFieldName]}appearanceChanged(){this.updateColumnConfig()}underlineHiddenChanged(){this.updateColumnConfig()}hreflangChanged(){this.updateColumnConfig()}pingChanged(){this.updateColumnConfig()}referrerpolicyChanged(){this.updateColumnConfig()}relChanged(){this.updateColumnConfig()}targetChanged(){this.updateColumnConfig()}typeChanged(){this.updateColumnConfig()}downloadChanged(){this.updateColumnConfig()}updateColumnConfig(){this.columnInternals.columnConfig={appearance:this.appearance,underlineHidden:this.underlineHidden,hreflang:this.hreflang,ping:this.ping,referrerpolicy:this.referrerpolicy,rel:this.rel,target:this.target,type:this.type,download:this.download,placeholder:this.placeholder}}updateColumnInternalsSortConfiguration(){this.columnInternals.operandDataRecordFieldName=this.getResolvedOperandDataRecordFieldName(this.labelFieldName),this.columnInternals.sortOperation=this.getResolvedSortOperation(this.defaultSortOperation)}}t([ft({attribute:"label-field-name"})],fL.prototype,"labelFieldName",void 0),t([ft({attribute:"href-field-name"})],fL.prototype,"hrefFieldName",void 0),t([ft],fL.prototype,"appearance",void 0),t([ft({attribute:"underline-hidden",mode:"boolean"})],fL.prototype,"underlineHidden",void 0),t([ft],fL.prototype,"hreflang",void 0),t([ft],fL.prototype,"ping",void 0),t([ft],fL.prototype,"referrerpolicy",void 0),t([ft],fL.prototype,"rel",void 0),t([ft],fL.prototype,"target",void 0),t([ft],fL.prototype,"type",void 0),t([ft],fL.prototype,"download",void 0)
|
|
12044
12047
|
const mL=fL.compose({baseName:"table-column-anchor",template:XN,styles:YN})
|
|
12045
12048
|
_i.getOrCreate().withPrefix("nimble").register(mL())
|
|
12046
12049
|
class gL extends qF{fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}}function vL(t){return QN(JN(tL(dL(t))))}function bL(t,e){if("number"!=typeof e)return""
|
|
@@ -12091,7 +12094,7 @@ const kL=class extends CL{updateText(){this.columnConfig?this.text=bL(this.colum
|
|
|
12091
12094
|
_i.getOrCreate().withPrefix("nimble").register(kL())
|
|
12092
12095
|
const SL=void 0,_L=["invalidCustomOptionsCombination"]
|
|
12093
12096
|
class IL extends WN{constructor(){super(_L)}setCustomOptionsValidity(t){this.setConditionValue("invalidCustomOptionsCombination",!t)}}const ML={toView:t=>"boolean"==typeof t?t.toString():null,fromView:t=>"true"===t||!0===t||"false"!==t&&!1!==t&&void 0}
|
|
12094
|
-
class $L extends(vL(gL)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),cl.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),cl.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:
|
|
12097
|
+
class $L extends(vL(gL)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),cl.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),cl.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:TF,validator:new IL}}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 t=this.createFormatter()
|
|
12095
12098
|
if(t){const e={formatter:t,placeholder:this.placeholder}
|
|
12096
12099
|
this.columnInternals.columnConfig=e,this.columnInternals.validator.setCustomOptionsValidity(!0)}else this.columnInternals.columnConfig=void 0,this.columnInternals.validator.setCustomOptionsValidity(!1)}createFormatter(){let t
|
|
12097
12100
|
t=this.format===SL?{dateStyle:"medium",timeStyle:"medium"}:this.getCustomFormattingOptions()
|
|
@@ -12113,10 +12116,10 @@ if(a-=d*i,d){const t=this.minutesFormatter.format(d)
|
|
|
12113
12116
|
e.push(t)}const h=a/n,u=0===h?0:h%60
|
|
12114
12117
|
if(t<1&&0!==h)return this.scientificSecondsFormatter.format(h)
|
|
12115
12118
|
if(u>=5e-4||0===u&&0===e.length){const t=this.secondsFormatter.format(u)
|
|
12116
|
-
e.push(t)}return e.join(", ")}}const
|
|
12117
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
12118
|
-
class
|
|
12119
|
-
this.columnInternals.columnConfig=t}}const RL=
|
|
12119
|
+
e.push(t)}return e.join(", ")}}const TL=class extends oL{updateText(){this.columnConfig?this.text=this.columnConfig.formatter.format(this.groupHeaderValue):this.text=""}}.compose({baseName:"table-column-duration-text-group-header-view",template:rL,styles:aL})
|
|
12120
|
+
_i.getOrCreate().withPrefix("nimble").register(TL())
|
|
12121
|
+
class OL extends(vL(gL)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),cl.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),cl.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:TF,validator:new WN([])}}updateColumnConfig(){const t={formatter:new AL(cl.getValueFor(this)),placeholder:this.placeholder}
|
|
12122
|
+
this.columnInternals.columnConfig=t}}const RL=OL.compose({baseName:"table-column-duration-text",template:XN,styles:YN})
|
|
12120
12123
|
_i.getOrCreate().withPrefix("nimble").register(RL())
|
|
12121
12124
|
const FL=(t,e)=>{if("number"===e){const e=ut.fromView(t)
|
|
12122
12125
|
return null===e?void 0:e}return"boolean"===e?!1!==t&&"false"!==t&&(!0===t||"true"===t||void 0):t?.toString()??void 0}
|
|
@@ -12188,12 +12191,12 @@ super(n),this.severity=e,this.textHidden=i,this.iconTemplate=Q`
|
|
|
12188
12191
|
>
|
|
12189
12192
|
</${s}>
|
|
12190
12193
|
`}}const GL=Q`
|
|
12191
|
-
<${
|
|
12194
|
+
<${XO}
|
|
12192
12195
|
title="${t=>t.textHidden?t.text:""}"
|
|
12193
12196
|
aria-label="${t=>t.text}"
|
|
12194
12197
|
aria-hidden="${t=>t.textHidden?"false":"true"}"
|
|
12195
12198
|
>
|
|
12196
|
-
</${
|
|
12199
|
+
</${XO}>
|
|
12197
12200
|
`
|
|
12198
12201
|
class ZL extends jL{constructor(t,e){super(t),this.textHidden=e,this.spinnerTemplate=GL}}class KL extends jL{}class YL extends jL{}class XL extends NF{constructor(){super(...arguments),this.hasOverflow=!1,this.text="",this.textHidden=!1}columnConfigChanged(){this.updateState()}groupHeaderValueChanged(){this.updateState()}updateState(){if(this.resetState(),!this.columnConfig)return
|
|
12199
12202
|
const t=this.groupHeaderValue,e=this.columnConfig.mappingConfigs.get(t)
|
|
@@ -12246,7 +12249,7 @@ e instanceof WL?(this.severity=e.severity,this.text=e.text,this.visualizationTem
|
|
|
12246
12249
|
const nB=eB.compose({baseName:"table-column-mapping-cell-view",template:tB,styles:QL})
|
|
12247
12250
|
_i.getOrCreate().withPrefix("nimble").register(nB())
|
|
12248
12251
|
const iB="icon-size"
|
|
12249
|
-
class sB extends(QN(JN(dL(NL)))){minPixelWidthChanged(){this.widthMode!==iB&&(this.columnInternals.minPixelWidth=this.getConfiguredMinPixelWidth())}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-mapping-cell-view",groupHeaderViewTag:"nimble-table-column-mapping-group-header-view",delegatedEvents:[],sortOperation:
|
|
12252
|
+
class sB extends(QN(JN(dL(NL)))){minPixelWidthChanged(){this.widthMode!==iB&&(this.columnInternals.minPixelWidth=this.getConfiguredMinPixelWidth())}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-mapping-cell-view",groupHeaderViewTag:"nimble-table-column-mapping-group-header-view",delegatedEvents:[],sortOperation:TF,validator:new zL}}createColumnConfig(t){return{mappingConfigs:t}}createMappingConfig(t){if(t instanceof Wb){if(!t.resolvedIcon)throw Error("Unresolved icon")
|
|
12250
12253
|
return new WL(t.resolvedIcon,t.severity,t.text,t.textHidden)}if(t instanceof Zb)return new ZL(t.text,t.textHidden)
|
|
12251
12254
|
if(t instanceof Yb)return new KL(t.text)
|
|
12252
12255
|
if(t instanceof Ub)return new YL(t.text)
|
|
@@ -12345,18 +12348,18 @@ class AB extends WN{constructor(){super(EB)}validateDecimalDigits(t,e){const n=!
|
|
|
12345
12348
|
this.setConditionValue("invalidDecimalDigits",n)}validateDecimalMaximumDigits(t,e){const n=!!(t===vB.decimal&&"number"==typeof e)&&this.isInvalidDecimalDigitsValue(e)
|
|
12346
12349
|
this.setConditionValue("invalidDecimalMaximumDigits",n)}validateNoMutuallyExclusiveProperties(t,e,n){const i=!!(t===vB.decimal)&&("number"==typeof e&&"number"==typeof n)
|
|
12347
12350
|
this.setConditionValue("decimalDigitsMutuallyExclusiveWithDecimalMaximumDigits",i)}validateAtMostOneUnit(t){const e=t.length>1
|
|
12348
|
-
this.setConditionValue("moreThanOneUnitSpecified",e)}isInvalidDecimalDigitsValue(t){return t<0||t>20}}class
|
|
12349
|
-
class
|
|
12350
|
-
t.subscribe(this.unitSubscriber,"resolvedUnitScale"),this.unitNotifier=t}}formatChanged(){this.updateColumnConfig()}alignmentChanged(){this.updateColumnConfig()}decimalDigitsChanged(){this.updateColumnConfig()}decimalMaximumDigitsChanged(){this.updateColumnConfig()}unitElementsChanged(){this.updateUnit()}async updateUnit(){this.unit=void 0,this.unitElements&&(await NE(this.unitElements),this.unit=this.unitElements.find((t=>t instanceof
|
|
12351
|
+
this.setConditionValue("moreThanOneUnitSpecified",e)}isInvalidDecimalDigitsValue(t){return t<0||t>20}}class TB extends We{}t([C],TB.prototype,"resolvedUnitScale",void 0)
|
|
12352
|
+
class OB extends(vL(gL)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}},this.unitSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),cl.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),cl.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:TF,validator:new AB}}updateUnitNotifier(){if(this.unitNotifier&&(this.unitNotifier.unsubscribe(this.unitSubscriber),this.unitNotifier=void 0),this.unit){const t=x.getNotifier(this.unit)
|
|
12353
|
+
t.subscribe(this.unitSubscriber,"resolvedUnitScale"),this.unitNotifier=t}}formatChanged(){this.updateColumnConfig()}alignmentChanged(){this.updateColumnConfig()}decimalDigitsChanged(){this.updateColumnConfig()}decimalMaximumDigitsChanged(){this.updateColumnConfig()}unitElementsChanged(){this.updateUnit()}async updateUnit(){this.unit=void 0,this.unitElements&&(await NE(this.unitElements),this.unit=this.unitElements.find((t=>t instanceof TB))),this.updateUnitNotifier()}unitChanged(){this.updateColumnConfig()}updateColumnConfig(){const t=this.columnInternals.validator
|
|
12351
12354
|
if(t.validateDecimalDigits(this.format,this.decimalDigits),t.validateDecimalMaximumDigits(this.format,this.decimalMaximumDigits),t.validateNoMutuallyExclusiveProperties(this.format,this.decimalDigits,this.decimalMaximumDigits),t.validateAtMostOneUnit(this.unitElements??[]),t.isValid()){const t={formatter:this.createFormatter(),alignment:this.determineCellContentAlignment(),placeholder:this.placeholder}
|
|
12352
12355
|
this.columnInternals.headerAlignment=t.alignment,this.columnInternals.columnConfig=t}else this.columnInternals.columnConfig=void 0}createFormatter(){const t=this.unit?.resolvedUnitScale
|
|
12353
|
-
return new DB(cl.getValueFor(this),{numberTextFormat:this.format??void 0,decimalDigits:this.decimalDigits??void 0,decimalMaximumDigits:this.decimalMaximumDigits??void 0,unitScale:t})}determineCellContentAlignment(){return this.alignment===bB?CF:this.alignment===yB?kF:this.format!==vB.decimal||"number"==typeof this.decimalMaximumDigits||this.unit?CF:kF}}t([ft],
|
|
12354
|
-
const RB=
|
|
12356
|
+
return new DB(cl.getValueFor(this),{numberTextFormat:this.format??void 0,decimalDigits:this.decimalDigits??void 0,decimalMaximumDigits:this.decimalMaximumDigits??void 0,unitScale:t})}determineCellContentAlignment(){return this.alignment===bB?CF:this.alignment===yB?kF:this.format!==vB.decimal||"number"==typeof this.decimalMaximumDigits||this.unit?CF:kF}}t([ft],OB.prototype,"format",void 0),t([ft],OB.prototype,"alignment",void 0),t([ft({attribute:"decimal-digits",converter:ut})],OB.prototype,"decimalDigits",void 0),t([ft({attribute:"decimal-maximum-digits",converter:ut})],OB.prototype,"decimalMaximumDigits",void 0),t([C],OB.prototype,"unitElements",void 0),t([C],OB.prototype,"unit",void 0)
|
|
12357
|
+
const RB=OB.compose({baseName:"table-column-number-text",template:fB,styles:YN})
|
|
12355
12358
|
_i.getOrCreate().withPrefix("nimble").register(RB())
|
|
12356
12359
|
const FB=class extends CL{updateText(){this.text="string"==typeof this.cellRecord?.value?this.cellRecord.value:""}}.compose({baseName:"table-column-text-cell-view",template:wL,styles:xL})
|
|
12357
12360
|
_i.getOrCreate().withPrefix("nimble").register(FB())
|
|
12358
12361
|
const NB=["invalidCustomSortWithGrouping"]
|
|
12359
|
-
class LB extends WN{constructor(){super(NB)}}class BB extends(hL(vL(gL))){constructor(){super(...arguments),this.defaultSortOperation=
|
|
12362
|
+
class LB extends WN{constructor(){super(NB)}}class BB extends(hL(vL(gL))){constructor(){super(...arguments),this.defaultSortOperation=OF}placeholderChanged(){this.columnInternals.columnConfig={placeholder:this.placeholder}}handleSortConfigurationChange(){this.updateColumnInternalsSortConfiguration()}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-text-cell-view",groupHeaderViewTag:cL,delegatedEvents:[],sortOperation:this.getResolvedSortOperation(this.defaultSortOperation),validator:new LB}}fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.updateColumnInternalsSortConfiguration()}updateColumnInternalsSortConfiguration(){this.columnInternals.operandDataRecordFieldName=this.getResolvedOperandDataRecordFieldName(this.fieldName),this.columnInternals.sortOperation=this.getResolvedSortOperation(this.defaultSortOperation)}}const PB=BB.compose({baseName:"table-column-text",template:XN,styles:YN})
|
|
12360
12363
|
_i.getOrCreate().withPrefix("nimble").register(PB())
|
|
12361
12364
|
const VB=Mt`
|
|
12362
12365
|
${zh}
|
|
@@ -13047,8 +13050,8 @@ const rP=Mt`
|
|
|
13047
13050
|
</${kg}>
|
|
13048
13051
|
`)}
|
|
13049
13052
|
`
|
|
13050
|
-
class lP extends
|
|
13051
|
-
const cP=lP.compose({baseName:"tooltip",baseClass:
|
|
13053
|
+
class lP extends Ts{constructor(){super(...arguments),this.iconVisible=!1}}t([ft],lP.prototype,"severity",void 0),t([ft({attribute:"icon-visible",mode:"boolean"})],lP.prototype,"iconVisible",void 0)
|
|
13054
|
+
const cP=lP.compose({baseName:"tooltip",baseClass:Ts,template:aP,styles:rP})
|
|
13052
13055
|
_i.getOrCreate().withPrefix("nimble").register(cP())
|
|
13053
13056
|
const dP="group-selected",hP="all",uP="leaves-only",pP="none"
|
|
13054
13057
|
class fP{constructor(t,e,n){this.ltr=t,this.rtl=e,this.source=n,this.attached=null}handleChange({target:t,token:e}){this.attach(e.getValueFor(t))}attach(t){this.attached!==this[t]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[t],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}const mP=Mt`
|
|
@@ -13301,7 +13304,7 @@ const bP=Mt`
|
|
|
13301
13304
|
</template>
|
|
13302
13305
|
`
|
|
13303
13306
|
class wP extends Fs{constructor(){super(...arguments),this.selectionMode=hP,this.selectedItems=[]}handleClick(t){if(t.defaultPrevented)return!1
|
|
13304
|
-
if(!(t.target instanceof Element&&
|
|
13307
|
+
if(!(t.target instanceof Element&&Os(t.target)))return!0
|
|
13305
13308
|
const e=t.target
|
|
13306
13309
|
return!e.disabled&&(this.canSelect(e)?e.selected=!0:this.itemHasChildren(e)&&(e.expanded=!e.expanded),!0)}canSelect(t){switch(this.selectionMode){case hP:return!0
|
|
13307
13310
|
case pP:return!1
|
|
@@ -13321,12 +13324,12 @@ const MP=new class extends SB{constructor(){super(IP.map((([t,e])=>new kB(t,SP.c
|
|
|
13321
13324
|
const DP=new class extends SB{constructor(){super($P.map((([t,e,n])=>new kB(t,CB.createFactory({style:"unit",unit:e,unitDisplay:n})))))}},EP=Mt`
|
|
13322
13325
|
${Ps("none")}
|
|
13323
13326
|
`
|
|
13324
|
-
class AP extends
|
|
13325
|
-
const
|
|
13326
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
13327
|
-
const
|
|
13328
|
-
const FP=new class extends SB{constructor(){super(
|
|
13329
|
-
const NP=class extends
|
|
13327
|
+
class AP extends TB{constructor(){super(),this.binary=!1,this.resolvedUnitScale=DP}binaryChanged(){this.resolvedUnitScale=this.binary?MP:DP}}t([ft({mode:"boolean"})],AP.prototype,"binary",void 0)
|
|
13328
|
+
const TP=AP.compose({baseName:"unit-byte",template:CP,styles:EP})
|
|
13329
|
+
_i.getOrCreate().withPrefix("nimble").register(TP())
|
|
13330
|
+
const OP=[[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"]],RP=new Map([["en",new kP("volt","volts","V")],["fr",new kP("volt","volts","V")],["de",new kP("Volt","Volt","V")],["ja",new kP("ボルト","ボルト","V")],["zh",new kP("伏特","伏特","V")]])
|
|
13331
|
+
const FP=new class extends SB{constructor(){super(OP.map((([t,e])=>new kB(t,SP.createFactory({unitTranslations:RP,scaledPrefixText:e})))))}}
|
|
13332
|
+
const NP=class extends TB{constructor(){super(),this.resolvedUnitScale=FP}}.compose({baseName:"unit-volt",template:CP,styles:EP})
|
|
13330
13333
|
_i.getOrCreate().withPrefix("nimble").register(NP())
|
|
13331
13334
|
var LP={value:()=>{}}
|
|
13332
13335
|
function BP(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t)
|
|
@@ -13358,7 +13361,7 @@ for(a=0;a<h;++a)(l=e[a])&&d.get(p[a])===l&&(s[a]=l)}function cV(t){return t.__da
|
|
|
13358
13361
|
null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function vV(t,e){return function(){var n=e.apply(this,arguments)
|
|
13359
13362
|
null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function bV(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function yV(t){return function(){this.style.removeProperty(t)}}function wV(t,e,n){return function(){this.style.setProperty(t,e,n)}}function xV(t,e,n){return function(){var i=e.apply(this,arguments)
|
|
13360
13363
|
null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function CV(t,e){return t.style.getPropertyValue(e)||bV(t).getComputedStyle(t,null).getPropertyValue(e)}function kV(t){return function(){delete this[t]}}function SV(t,e){return function(){this[t]=e}}function _V(t,e){return function(){var n=e.apply(this,arguments)
|
|
13361
|
-
null==n?delete this[t]:this[t]=n}}function IV(t){return t.trim().split(/^|\s+/)}function MV(t){return t.classList||new $V(t)}function $V(t){this._node=t,this._names=IV(t.getAttribute("class")||"")}function DV(t,e){for(var n=MV(t),i=-1,s=e.length;++i<s;)n.add(e[i])}function EV(t,e){for(var n=MV(t),i=-1,s=e.length;++i<s;)n.remove(e[i])}function AV(t){return function(){DV(this,t)}}function
|
|
13364
|
+
null==n?delete this[t]:this[t]=n}}function IV(t){return t.trim().split(/^|\s+/)}function MV(t){return t.classList||new $V(t)}function $V(t){this._node=t,this._names=IV(t.getAttribute("class")||"")}function DV(t,e){for(var n=MV(t),i=-1,s=e.length;++i<s;)n.add(e[i])}function EV(t,e){for(var n=MV(t),i=-1,s=e.length;++i<s;)n.remove(e[i])}function AV(t){return function(){DV(this,t)}}function TV(t){return function(){EV(this,t)}}function OV(t,e){return function(){(e.apply(this,arguments)?DV:EV)(this,t)}}function RV(){this.textContent=""}function FV(t){return function(){this.textContent=t}}function NV(t){return function(){var e=t.apply(this,arguments)
|
|
13362
13365
|
this.textContent=null==e?"":e}}function LV(){this.innerHTML=""}function BV(t){return function(){this.innerHTML=t}}function PV(t){return function(){var e=t.apply(this,arguments)
|
|
13363
13366
|
this.innerHTML=null==e?"":e}}function VV(){this.nextSibling&&this.parentNode.appendChild(this)}function zV(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function HV(){return null}function UV(){var t=this.parentNode
|
|
13364
13367
|
t&&t.removeChild(this)}function qV(){var t=this.cloneNode(!1),e=this.parentNode
|
|
@@ -13401,7 +13404,7 @@ return this},attr:function(t,e){var n=qP(t)
|
|
|
13401
13404
|
if(arguments.length<2){var i=this.node()
|
|
13402
13405
|
return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?pV:uV:"function"==typeof e?n.local?vV:gV:n.local?mV:fV)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?yV:"function"==typeof e?xV:wV)(t,e,null==n?"":n)):CV(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?kV:"function"==typeof e?_V:SV)(t,e)):this.node()[t]},classed:function(t,e){var n=IV(t+"")
|
|
13403
13406
|
if(arguments.length<2){for(var i=MV(this.node()),s=-1,o=n.length;++s<o;)if(!i.contains(n[s]))return!1
|
|
13404
|
-
return!0}return this.each(("function"==typeof e?
|
|
13407
|
+
return!0}return this.each(("function"==typeof e?OV:e?AV:TV)(n,e))},text:function(t){return arguments.length?this.each(null==t?RV:("function"==typeof t?NV:FV)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?LV:("function"==typeof t?PV:BV)(t)):this.node().innerHTML},raise:function(){return this.each(VV)},lower:function(){return this.each(zV)},append:function(t){var e="function"==typeof t?t:GP(t)
|
|
13405
13408
|
return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:GP(t),i=null==e?HV:"function"==typeof e?e:KP(e)
|
|
13406
13409
|
return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(UV)},clone:function(t){return this.select(t?jV:qV)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var i,s,o=function(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".")
|
|
13407
13410
|
return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}(t+""),r=o.length
|
|
@@ -13413,13 +13416,13 @@ function iz(t){t.preventDefault(),t.stopImmediatePropagation()}function sz(t,e,n
|
|
|
13413
13416
|
for(var i in e)n[i]=e[i]
|
|
13414
13417
|
return n}function rz(){}var az=.7,lz=1/az,cz="\\s*([+-]?\\d+)\\s*",dz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",hz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",uz=/^#([0-9a-f]{3,8})$/,pz=new RegExp(`^rgb\\(${cz},${cz},${cz}\\)$`),fz=new RegExp(`^rgb\\(${hz},${hz},${hz}\\)$`),mz=new RegExp(`^rgba\\(${cz},${cz},${cz},${dz}\\)$`),gz=new RegExp(`^rgba\\(${hz},${hz},${hz},${dz}\\)$`),vz=new RegExp(`^hsl\\(${dz},${hz},${hz}\\)$`),bz=new RegExp(`^hsla\\(${dz},${hz},${hz},${dz}\\)$`),yz={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}
|
|
13415
13418
|
function wz(){return this.rgb().formatHex()}function xz(){return this.rgb().formatRgb()}function Cz(t){var e,n
|
|
13416
|
-
return t=(t+"").trim().toLowerCase(),(e=uz.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?kz(e):3===n?new Iz(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Sz(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Sz(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=pz.exec(t))?new Iz(e[1],e[2],e[3],1):(e=fz.exec(t))?new Iz(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=mz.exec(t))?Sz(e[1],e[2],e[3],e[4]):(e=gz.exec(t))?Sz(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=vz.exec(t))?
|
|
13419
|
+
return t=(t+"").trim().toLowerCase(),(e=uz.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?kz(e):3===n?new Iz(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Sz(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Sz(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=pz.exec(t))?new Iz(e[1],e[2],e[3],1):(e=fz.exec(t))?new Iz(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=mz.exec(t))?Sz(e[1],e[2],e[3],e[4]):(e=gz.exec(t))?Sz(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=vz.exec(t))?Tz(e[1],e[2]/100,e[3]/100,1):(e=bz.exec(t))?Tz(e[1],e[2]/100,e[3]/100,e[4]):yz.hasOwnProperty(t)?kz(yz[t]):"transparent"===t?new Iz(NaN,NaN,NaN,0):null}function kz(t){return new Iz(t>>16&255,t>>8&255,255&t,1)}function Sz(t,e,n,i){return i<=0&&(t=e=n=NaN),new Iz(t,e,n,i)}function _z(t,e,n,i){return 1===arguments.length?((s=t)instanceof rz||(s=Cz(s)),s?new Iz((s=s.rgb()).r,s.g,s.b,s.opacity):new Iz):new Iz(t,e,n,null==i?1:i)
|
|
13417
13420
|
var s}function Iz(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function Mz(){return`#${Az(this.r)}${Az(this.g)}${Az(this.b)}`}function $z(){const t=Dz(this.opacity)
|
|
13418
|
-
return`${1===t?"rgb(":"rgba("}${Ez(this.r)}, ${Ez(this.g)}, ${Ez(this.b)}${1===t?")":`, ${t})`}`}function Dz(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ez(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Az(t){return((t=Ez(t))<16?"0":"")+t.toString(16)}function
|
|
13421
|
+
return`${1===t?"rgb(":"rgba("}${Ez(this.r)}, ${Ez(this.g)}, ${Ez(this.b)}${1===t?")":`, ${t})`}`}function Dz(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ez(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Az(t){return((t=Ez(t))<16?"0":"")+t.toString(16)}function Tz(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Rz(t,e,n,i)}function Oz(t){if(t instanceof Rz)return new Rz(t.h,t.s,t.l,t.opacity)
|
|
13419
13422
|
if(t instanceof rz||(t=Cz(t)),!t)return new Rz
|
|
13420
13423
|
if(t instanceof Rz)return t
|
|
13421
13424
|
var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,s=Math.min(e,n,i),o=Math.max(e,n,i),r=NaN,a=o-s,l=(o+s)/2
|
|
13422
|
-
return a?(r=e===o?(n-i)/a+6*(n<i):n===o?(i-e)/a+2:(e-n)/a+4,a/=l<.5?o+s:2-o-s,r*=60):a=l>0&&l<1?0:r,new Rz(r,a,l,t.opacity)}function Rz(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function Fz(t){return(t=(t||0)%360)<0?t+360:t}function Nz(t){return Math.max(0,Math.min(1,t||0))}function Lz(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}sz(rz,Cz,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:wz,formatHex:wz,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return
|
|
13425
|
+
return a?(r=e===o?(n-i)/a+6*(n<i):n===o?(i-e)/a+2:(e-n)/a+4,a/=l<.5?o+s:2-o-s,r*=60):a=l>0&&l<1?0:r,new Rz(r,a,l,t.opacity)}function Rz(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function Fz(t){return(t=(t||0)%360)<0?t+360:t}function Nz(t){return Math.max(0,Math.min(1,t||0))}function Lz(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}sz(rz,Cz,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:wz,formatHex:wz,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Oz(this).formatHsl()},formatRgb:xz,toString:xz}),sz(Iz,_z,oz(rz,{brighter(t){return t=null==t?lz:Math.pow(lz,t),new Iz(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?az:Math.pow(az,t),new Iz(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Iz(Ez(this.r),Ez(this.g),Ez(this.b),Dz(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:Mz,formatHex:Mz,formatHex8:function(){return`#${Az(this.r)}${Az(this.g)}${Az(this.b)}${Az(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:$z,toString:$z})),sz(Rz,(function(t,e,n,i){return 1===arguments.length?Oz(t):new Rz(t,e,n,null==i?1:i)}),oz(rz,{brighter(t){return t=null==t?lz:Math.pow(lz,t),new Rz(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?az:Math.pow(az,t),new Rz(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,s=2*n-i
|
|
13423
13426
|
return new Iz(Lz(t>=240?t-240:t+120,s,i),Lz(t,s,i),Lz(t<120?t+240:t-120,s,i),this.opacity)},clamp(){return new Rz(Fz(this.h),Nz(this.s),Nz(this.l),Dz(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 t=Dz(this.opacity)
|
|
13424
13427
|
return`${1===t?"hsl(":"hsla("}${Fz(this.h)}, ${100*Nz(this.s)}%, ${100*Nz(this.l)}%${1===t?")":`, ${t})`}`}}))
|
|
13425
13428
|
var Bz=t=>()=>t
|
|
@@ -13466,16 +13469,16 @@ aH=t,SH(i)}(),fH=0}}function kH(){var t=gH.now(),e=t-pH
|
|
|
13466
13469
|
e>uH&&(mH-=e,pH=t)}function SH(t){cH||(dH&&(dH=clearTimeout(dH)),t-fH>24?(t<1/0&&(dH=setTimeout(CH,t-gH.now()-mH)),hH&&(hH=clearInterval(hH))):(hH||(pH=gH.now(),hH=setInterval(kH,uH)),cH=1,vH(CH)))}function _H(t,e,n){var i=new wH
|
|
13467
13470
|
return e=null==e?0:+e,i.restart((n=>{i.stop(),t(n+e)}),e,n),i}wH.prototype=xH.prototype={constructor:wH,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function")
|
|
13468
13471
|
n=(null==n?bH():+n)+(null==e?0:+e),this._next||aH===this||(aH?aH._next=this:rH=this,aH=this),this._call=t,this._time=n,SH()},stop:function(){this._call&&(this._call=null,this._time=1/0,SH())}}
|
|
13469
|
-
var IH=BP("start","end","cancel","interrupt"),MH=[],$H=0,DH=1,EH=2,AH=3,
|
|
13472
|
+
var IH=BP("start","end","cancel","interrupt"),MH=[],$H=0,DH=1,EH=2,AH=3,TH=4,OH=5,RH=6
|
|
13470
13473
|
function FH(t,e,n,i,s,o){var r=t.__transition
|
|
13471
13474
|
if(r){if(n in r)return}else t.__transition={}
|
|
13472
13475
|
!function(t,e,n){var i,s=t.__transition
|
|
13473
13476
|
function o(t){n.state=DH,n.timer.restart(r,n.delay,n.time),n.delay<=t&&r(t-n.delay)}function r(o){var c,d,h,u
|
|
13474
13477
|
if(n.state!==DH)return l()
|
|
13475
13478
|
for(c in s)if((u=s[c]).name===n.name){if(u.state===AH)return _H(r)
|
|
13476
|
-
u.state===
|
|
13477
|
-
i.length=d+1}}function a(e){for(var s=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(l),n.state=
|
|
13478
|
-
n.state===
|
|
13479
|
+
u.state===TH?(u.state=RH,u.timer.stop(),u.on.call("interrupt",t,t.__data__,u.index,u.group),delete s[c]):+c<e&&(u.state=RH,u.timer.stop(),u.on.call("cancel",t,t.__data__,u.index,u.group),delete s[c])}if(_H((function(){n.state===AH&&(n.state=TH,n.timer.restart(a,n.delay,n.time),a(o))})),n.state=EH,n.on.call("start",t,t.__data__,n.index,n.group),n.state===EH){for(n.state=AH,i=new Array(h=n.tween.length),c=0,d=-1;c<h;++c)(u=n.tween[c].value.call(t,t.__data__,n.index,n.group))&&(i[++d]=u)
|
|
13480
|
+
i.length=d+1}}function a(e){for(var s=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(l),n.state=OH,1),o=-1,r=i.length;++o<r;)i[o].call(t,s)
|
|
13481
|
+
n.state===OH&&(n.on.call("end",t,t.__data__,n.index,n.group),l())}function l(){for(var i in n.state=RH,n.timer.stop(),delete s[e],s)return
|
|
13479
13482
|
delete t.__transition}s[e]=n,n.timer=xH(o,0,n.time)}(t,n,{name:e,index:i,group:s,on:IH,tween:MH,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:$H})}function NH(t,e){var n=BH(t,e)
|
|
13480
13483
|
if(n.state>$H)throw new Error("too late; already scheduled")
|
|
13481
13484
|
return n}function LH(t,e){var n=BH(t,e)
|
|
@@ -13483,7 +13486,7 @@ if(n.state>AH)throw new Error("too late; already running")
|
|
|
13483
13486
|
return n}function BH(t,e){var n=t.__transition
|
|
13484
13487
|
if(!n||!(n=n[e]))throw new Error("transition not found")
|
|
13485
13488
|
return n}function PH(t,e){var n,i,s,o=t.__transition,r=!0
|
|
13486
|
-
if(o){for(s in e=null==e?null:e+"",o)(n=o[s]).name===e?(i=n.state>EH&&n.state<
|
|
13489
|
+
if(o){for(s in e=null==e?null:e+"",o)(n=o[s]).name===e?(i=n.state>EH&&n.state<OH,n.state=RH,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[s]):r=!1
|
|
13487
13490
|
r&&delete t.__transition}}function VH(t,e){var n,i
|
|
13488
13491
|
return function(){var s=LH(this,t),o=s.tween
|
|
13489
13492
|
if(o!==n)for(var r=0,a=(i=n=o).length;r<a;++r)if(i[r].name===e){(i=i.slice()).splice(r,1)
|
|
@@ -13610,7 +13613,7 @@ return o(y(b(i,l),r,a),t,c)}),n,i)},v.translateBy=function(t,e,n,i){v.transform(
|
|
|
13610
13613
|
return o(pU.translate(a[0],a[1]).scale(r.k).translate("function"==typeof e?-e.apply(this,arguments):-e,"function"==typeof n?-n.apply(this,arguments):-n),t,c)}),i,r)},k.prototype={event:function(t){return t&&(this.sourceEvent=t),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(t,e){return this.mouse&&"mouse"!==t&&(this.mouse[1]=e.invert(this.mouse[0])),this.touch0&&"touch"!==t&&(this.touch0[1]=e.invert(this.touch0[0])),this.touch1&&"touch"!==t&&(this.touch1[1]=e.invert(this.touch1[0])),this.that.__zoom=e,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(t){var e=tz(this.that).datum()
|
|
13611
13614
|
u.call(t,this.that,new hU(t,{sourceEvent:this.sourceEvent,target:v,type:t,transform:this.that.__zoom,dispatch:u}),e)}},v.wheelDelta=function(t){return arguments.length?(r="function"==typeof t?t:dU(+t),v):r},v.filter=function(t){return arguments.length?(i="function"==typeof t?t:dU(!!t),v):i},v.touchable=function(t){return arguments.length?(a="function"==typeof t?t:dU(!!t),v):a},v.extent=function(t){return arguments.length?(s="function"==typeof t?t:dU([[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]]),v):s},v.scaleExtent=function(t){return arguments.length?(l[0]=+t[0],l[1]=+t[1],v):[l[0],l[1]]},v.translateExtent=function(t){return arguments.length?(c[0][0]=+t[0][0],c[1][0]=+t[1][0],c[0][1]=+t[0][1],c[1][1]=+t[1][1],v):[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},v.constrain=function(t){return arguments.length?(o=t,v):o},v.duration=function(t){return arguments.length?(d=+t,v):d},v.interpolate=function(t){return arguments.length?(h=t,v):h},v.on=function(){var t=u.on.apply(u,arguments)
|
|
13612
13615
|
return t===u?v:t},v.clickDistance=function(t){return arguments.length?(m=(t=+t)*t,v):Math.sqrt(m)},v.tapDistance=function(t){return arguments.length?(g=+t,v):g},v}uU.prototype
|
|
13613
|
-
const kU=new TextDecoder("utf-8"),SU=t=>kU.decode(t),_U=new TextEncoder,IU=t=>_U.encode(t),MU=t=>"function"==typeof t,$U=t=>null!=t&&Object(t)===t,DU=t=>$U(t)&&MU(t.then),EU=t=>$U(t)&&MU(t[Symbol.iterator]),AU=t=>$U(t)&&MU(t[Symbol.asyncIterator]),
|
|
13616
|
+
const kU=new TextDecoder("utf-8"),SU=t=>kU.decode(t),_U=new TextEncoder,IU=t=>_U.encode(t),MU=t=>"function"==typeof t,$U=t=>null!=t&&Object(t)===t,DU=t=>$U(t)&&MU(t.then),EU=t=>$U(t)&&MU(t[Symbol.iterator]),AU=t=>$U(t)&&MU(t[Symbol.asyncIterator]),TU=t=>$U(t)&&$U(t.schema),OU=t=>$U(t)&&"done"in t&&"value"in t,RU=t=>$U(t)&&MU(t.stat)&&(t=>"number"==typeof t)(t.fd),FU=t=>$U(t)&&LU(t.body),NU=t=>"_getDOMStream"in t&&"_getNodeStream"in t,LU=t=>$U(t)&&MU(t.cancel)&&MU(t.getReader)&&!NU(t),BU=t=>$U(t)&&MU(t.read)&&MU(t.pipe)&&(t=>"boolean"==typeof t)(t.readable)&&!NU(t),PU=t=>$U(t)&&MU(t.clear)&&MU(t.bytes)&&MU(t.position)&&MU(t.setPosition)&&MU(t.capacity)&&MU(t.getBufferIdentifier)&&MU(t.createLong),VU="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:ArrayBuffer
|
|
13614
13617
|
function zU(t,e,n=0,i=e.byteLength){const s=t.byteLength,o=new Uint8Array(t.buffer,t.byteOffset,s),r=new Uint8Array(e.buffer,e.byteOffset,Math.min(i,s))
|
|
13615
13618
|
return o.set(r,n),t}function HU(t,e){const n=function(t){const e=t[0]?[t[0]]:[]
|
|
13616
13619
|
let n,i,s,o
|
|
@@ -13619,7 +13622,7 @@ return e}(t),i=n.reduce(((t,e)=>t+e.byteLength),0)
|
|
|
13619
13622
|
let s,o,r,a=0,l=-1
|
|
13620
13623
|
const c=Math.min(e||Number.POSITIVE_INFINITY,i)
|
|
13621
13624
|
for(const t=n.length;++l<t;){if(s=n[l],o=s.subarray(0,Math.min(s.length,c-a)),c<=a+o.length){o.length<s.length?n[l]=s.subarray(o.length):o.length===s.length&&l++,r?zU(r,o,a):r=o
|
|
13622
|
-
break}zU(r||(r=new Uint8Array(c)),o,a),a+=o.length}return[r||new Uint8Array(0),n.slice(l),i-(r?r.byteLength:0)]}function UU(t,e){let n=
|
|
13625
|
+
break}zU(r||(r=new Uint8Array(c)),o,a),a+=o.length}return[r||new Uint8Array(0),n.slice(l),i-(r?r.byteLength:0)]}function UU(t,e){let n=OU(e)?e.value:e
|
|
13623
13626
|
return n instanceof t?t===Uint8Array?new t(n.buffer,n.byteOffset,n.byteLength):n:n?("string"==typeof n&&(n=IU(n)),n instanceof ArrayBuffer||n instanceof VU?new t(n):PU(n)?UU(t,n.bytes()):ArrayBuffer.isView(n)?n.byteLength<=0?new t(0):new t(n.buffer,n.byteOffset,n.byteLength/t.BYTES_PER_ELEMENT):t.from(n)):new t(0)}const qU=t=>UU(Int32Array,t),jU=t=>UU(BigInt64Array,t),WU=t=>UU(Uint8Array,t),GU=t=>(t.next(),t)
|
|
13624
13627
|
const ZU=t=>function*(t,e){const n=function*(t){yield t},i="string"==typeof e||ArrayBuffer.isView(e)||e instanceof ArrayBuffer||e instanceof VU?n(e):EU(e)?e:n(e)
|
|
13625
13628
|
return yield*GU(function*(e){let n=null
|
|
@@ -13739,10 +13742,10 @@ return t?this.bb.readInt32(this.bb_pos+t):0}scale(){const t=this.bb.__offset(thi
|
|
|
13739
13742
|
return t?this.bb.readInt32(this.bb_pos+t):0}bitWidth(){const t=this.bb.__offset(this.bb_pos,8)
|
|
13740
13743
|
return t?this.bb.readInt32(this.bb_pos+t):128}static startDecimal(t){t.startObject(3)}static addPrecision(t,e){t.addFieldInt32(0,e,0)}static addScale(t,e){t.addFieldInt32(1,e,0)}static addBitWidth(t,e){t.addFieldInt32(2,e,128)}static endDecimal(t){return t.endObject()}static createDecimal(e,n,i,s){return t.startDecimal(e),t.addPrecision(e,n),t.addScale(e,i),t.addBitWidth(e,s),t.endDecimal(e)}},Eq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsDuration(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDuration(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}unit(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13741
13744
|
return t?this.bb.readInt16(this.bb_pos+t):oq.MILLISECOND}static startDuration(t){t.startObject(1)}static addUnit(t,e){t.addFieldInt16(0,e,oq.MILLISECOND)}static endDuration(t){return t.endObject()}static createDuration(e,n){return t.startDuration(e),t.addUnit(e,n),t.endDuration(e)}},Aq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsFixedSizeBinary(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFixedSizeBinary(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}byteWidth(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13742
|
-
return t?this.bb.readInt32(this.bb_pos+t):0}static startFixedSizeBinary(t){t.startObject(1)}static addByteWidth(t,e){t.addFieldInt32(0,e,0)}static endFixedSizeBinary(t){return t.endObject()}static createFixedSizeBinary(e,n){return t.startFixedSizeBinary(e),t.addByteWidth(e,n),t.endFixedSizeBinary(e)}},
|
|
13745
|
+
return t?this.bb.readInt32(this.bb_pos+t):0}static startFixedSizeBinary(t){t.startObject(1)}static addByteWidth(t,e){t.addFieldInt32(0,e,0)}static endFixedSizeBinary(t){return t.endObject()}static createFixedSizeBinary(e,n){return t.startFixedSizeBinary(e),t.addByteWidth(e,n),t.endFixedSizeBinary(e)}},Tq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsFixedSizeList(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsFixedSizeList(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}listSize(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13743
13746
|
return t?this.bb.readInt32(this.bb_pos+t):0}static startFixedSizeList(t){t.startObject(1)}static addListSize(t,e){t.addFieldInt32(0,e,0)}static endFixedSizeList(t){return t.endObject()}static createFixedSizeList(e,n){return t.startFixedSizeList(e),t.addListSize(e,n),t.endFixedSizeList(e)}}
|
|
13744
|
-
class
|
|
13745
|
-
return t?this.bb.readInt16(this.bb_pos+t):iq.HALF}static startFloatingPoint(t){t.startObject(1)}static addPrecision(t,e){t.addFieldInt16(0,e,iq.HALF)}static endFloatingPoint(t){return t.endObject()}static createFloatingPoint(t,e){return
|
|
13747
|
+
class Oq{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsFloatingPoint(t,e){return(e||new Oq).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsFloatingPoint(t,e){return t.setPosition(t.position()+4),(e||new Oq).__init(t.readInt32(t.position())+t.position(),t)}precision(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13748
|
+
return t?this.bb.readInt16(this.bb_pos+t):iq.HALF}static startFloatingPoint(t){t.startObject(1)}static addPrecision(t,e){t.addFieldInt16(0,e,iq.HALF)}static endFloatingPoint(t){return t.endObject()}static createFloatingPoint(t,e){return Oq.startFloatingPoint(t),Oq.addPrecision(t,e),Oq.endFloatingPoint(t)}}class Rq{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsInterval(t,e){return(e||new Rq).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsInterval(t,e){return t.setPosition(t.position()+4),(e||new Rq).__init(t.readInt32(t.position())+t.position(),t)}unit(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13746
13749
|
return t?this.bb.readInt16(this.bb_pos+t):rq.YEAR_MONTH}static startInterval(t){t.startObject(1)}static addUnit(t,e){t.addFieldInt16(0,e,rq.YEAR_MONTH)}static endInterval(t){return t.endObject()}static createInterval(t,e){return Rq.startInterval(t),Rq.addUnit(t,e),Rq.endInterval(t)}}let Fq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsLargeBinary(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsLargeBinary(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static startLargeBinary(t){t.startObject(0)}static endLargeBinary(t){return t.endObject()}static createLargeBinary(e){return t.startLargeBinary(e),t.endLargeBinary(e)}},Nq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsLargeUtf8(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsLargeUtf8(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static startLargeUtf8(t){t.startObject(0)}static endLargeUtf8(t){return t.endObject()}static createLargeUtf8(e){return t.startLargeUtf8(e),t.endLargeUtf8(e)}},Lq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsList(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsList(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static startList(t){t.startObject(0)}static endList(t){return t.endObject()}static createList(e){return t.startList(e),t.endList(e)}},Bq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsMap(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMap(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}keysSorted(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13747
13750
|
return!!t&&!!this.bb.readInt8(this.bb_pos+t)}static startMap(t){t.startObject(1)}static addKeysSorted(t,e){t.addFieldInt8(0,+e,0)}static endMap(t){return t.endObject()}static createMap(e,n){return t.startMap(e),t.addKeysSorted(e,n),t.endMap(e)}},Pq=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsNull(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsNull(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static startNull(t){t.startObject(0)}static endNull(t){return t.endObject()}static createNull(e){return t.startNull(e),t.endNull(e)}}
|
|
13748
13751
|
class Vq{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsStruct_(t,e){return(e||new Vq).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsStruct_(t,e){return t.setPosition(t.position()+4),(e||new Vq).__init(t.readInt32(t.position())+t.position(),t)}static startStruct_(t){t.startObject(0)}static endStruct_(t){return t.endObject()}static createStruct_(t){return Vq.startStruct_(t),Vq.endStruct_(t)}}class zq{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsTime(t,e){return(e||new zq).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsTime(t,e){return t.setPosition(t.position()+4),(e||new zq).__init(t.readInt32(t.position())+t.position(),t)}unit(){const t=this.bb.__offset(this.bb_pos,4)
|
|
@@ -13816,42 +13819,42 @@ const r=i.length-1
|
|
|
13816
13819
|
do{for(n[0]=i[o=0];o<r;)i[o++]=n[1]=n[0]/10,n[0]=(n[0]-10*n[1]<<16)+i[o]
|
|
13817
13820
|
i[o]=n[1]=n[0]/10,n[0]=n[0]-10*n[1],e=`${n[0]}${e}`}while(s[0]||s[1]||s[2]||s[3])
|
|
13818
13821
|
return null!=e?e:"0"}class cj{static new(t,e){switch(e){case!0:return new nj(t)
|
|
13819
|
-
case!1:return new ij(t)}switch(t.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new nj(t)}return 16===t.byteLength?new sj(t):new ij(t)}static signed(t){return new nj(t)}static unsigned(t){return new ij(t)}static decimal(t){return new sj(t)}constructor(t,e){return cj.new(t,e)}}var dj,hj,uj,pj,fj,mj,gj,vj,bj,yj,wj,xj,Cj,kj,Sj,_j,Ij,Mj,$j,Dj,Ej,Aj,
|
|
13820
|
-
class
|
|
13821
|
-
class Rj extends
|
|
13822
|
-
class Fj extends
|
|
13822
|
+
case!1:return new ij(t)}switch(t.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new nj(t)}return 16===t.byteLength?new sj(t):new ij(t)}static signed(t){return new nj(t)}static unsigned(t){return new ij(t)}static decimal(t){return new sj(t)}constructor(t,e){return cj.new(t,e)}}var dj,hj,uj,pj,fj,mj,gj,vj,bj,yj,wj,xj,Cj,kj,Sj,_j,Ij,Mj,$j,Dj,Ej,Aj,Tj
|
|
13823
|
+
class Oj{static isNull(t){return(null==t?void 0:t.typeId)===Kq.Null}static isInt(t){return(null==t?void 0:t.typeId)===Kq.Int}static isFloat(t){return(null==t?void 0:t.typeId)===Kq.Float}static isBinary(t){return(null==t?void 0:t.typeId)===Kq.Binary}static isLargeBinary(t){return(null==t?void 0:t.typeId)===Kq.LargeBinary}static isUtf8(t){return(null==t?void 0:t.typeId)===Kq.Utf8}static isLargeUtf8(t){return(null==t?void 0:t.typeId)===Kq.LargeUtf8}static isBool(t){return(null==t?void 0:t.typeId)===Kq.Bool}static isDecimal(t){return(null==t?void 0:t.typeId)===Kq.Decimal}static isDate(t){return(null==t?void 0:t.typeId)===Kq.Date}static isTime(t){return(null==t?void 0:t.typeId)===Kq.Time}static isTimestamp(t){return(null==t?void 0:t.typeId)===Kq.Timestamp}static isInterval(t){return(null==t?void 0:t.typeId)===Kq.Interval}static isDuration(t){return(null==t?void 0:t.typeId)===Kq.Duration}static isList(t){return(null==t?void 0:t.typeId)===Kq.List}static isStruct(t){return(null==t?void 0:t.typeId)===Kq.Struct}static isUnion(t){return(null==t?void 0:t.typeId)===Kq.Union}static isFixedSizeBinary(t){return(null==t?void 0:t.typeId)===Kq.FixedSizeBinary}static isFixedSizeList(t){return(null==t?void 0:t.typeId)===Kq.FixedSizeList}static isMap(t){return(null==t?void 0:t.typeId)===Kq.Map}static isDictionary(t){return(null==t?void 0:t.typeId)===Kq.Dictionary}static isDenseUnion(t){return Oj.isUnion(t)&&t.mode===nq.Dense}static isSparseUnion(t){return Oj.isUnion(t)&&t.mode===nq.Sparse}constructor(t){this.typeId=t}}dj=Symbol.toStringTag,Oj[dj]=((Tj=Oj.prototype).children=null,Tj.ArrayType=Array,Tj.OffsetArrayType=Int32Array,Tj[Symbol.toStringTag]="DataType")
|
|
13824
|
+
class Rj extends Oj{constructor(){super(Kq.Null)}toString(){return"Null"}}hj=Symbol.toStringTag,Rj[hj]=(t=>t[Symbol.toStringTag]="Null")(Rj.prototype)
|
|
13825
|
+
class Fj extends Oj{constructor(t,e){super(Kq.Int),this.isSigned=t,this.bitWidth=e}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array
|
|
13823
13826
|
case 16:return this.isSigned?Int16Array:Uint16Array
|
|
13824
13827
|
case 32:return this.isSigned?Int32Array:Uint32Array
|
|
13825
13828
|
case 64:return this.isSigned?BigInt64Array:BigUint64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`${this.isSigned?"I":"Ui"}nt${this.bitWidth}`}}uj=Symbol.toStringTag,Fj[uj]=(t=>(t.isSigned=null,t.bitWidth=null,t[Symbol.toStringTag]="Int"))(Fj.prototype)
|
|
13826
13829
|
class Nj extends Fj{constructor(){super(!0,32)}get ArrayType(){return Int32Array}}Object.defineProperty(Nj.prototype,"ArrayType",{value:Int32Array})
|
|
13827
|
-
class Lj extends
|
|
13830
|
+
class Lj extends Oj{constructor(t){super(Kq.Float),this.precision=t}get ArrayType(){switch(this.precision){case iq.HALF:return Uint16Array
|
|
13828
13831
|
case iq.SINGLE:return Float32Array
|
|
13829
13832
|
case iq.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}pj=Symbol.toStringTag,Lj[pj]=(t=>(t.precision=null,t[Symbol.toStringTag]="Float"))(Lj.prototype)
|
|
13830
|
-
class Bj extends
|
|
13831
|
-
class Pj extends
|
|
13832
|
-
class Vj extends
|
|
13833
|
-
class zj extends
|
|
13834
|
-
class Hj extends
|
|
13835
|
-
class Uj extends
|
|
13836
|
-
class qj extends
|
|
13837
|
-
class jj extends
|
|
13833
|
+
class Bj extends Oj{constructor(){super(Kq.Binary)}toString(){return"Binary"}}fj=Symbol.toStringTag,Bj[fj]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Binary"))(Bj.prototype)
|
|
13834
|
+
class Pj extends Oj{constructor(){super(Kq.LargeBinary)}toString(){return"LargeBinary"}}mj=Symbol.toStringTag,Pj[mj]=(t=>(t.ArrayType=Uint8Array,t.OffsetArrayType=BigInt64Array,t[Symbol.toStringTag]="LargeBinary"))(Pj.prototype)
|
|
13835
|
+
class Vj extends Oj{constructor(){super(Kq.Utf8)}toString(){return"Utf8"}}gj=Symbol.toStringTag,Vj[gj]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Utf8"))(Vj.prototype)
|
|
13836
|
+
class zj extends Oj{constructor(){super(Kq.LargeUtf8)}toString(){return"LargeUtf8"}}vj=Symbol.toStringTag,zj[vj]=(t=>(t.ArrayType=Uint8Array,t.OffsetArrayType=BigInt64Array,t[Symbol.toStringTag]="LargeUtf8"))(zj.prototype)
|
|
13837
|
+
class Hj extends Oj{constructor(){super(Kq.Bool)}toString(){return"Bool"}}bj=Symbol.toStringTag,Hj[bj]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Bool"))(Hj.prototype)
|
|
13838
|
+
class Uj extends Oj{constructor(t,e,n=128){super(Kq.Decimal),this.scale=t,this.precision=e,this.bitWidth=n}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}}yj=Symbol.toStringTag,Uj[yj]=(t=>(t.scale=null,t.precision=null,t.ArrayType=Uint32Array,t[Symbol.toStringTag]="Decimal"))(Uj.prototype)
|
|
13839
|
+
class qj extends Oj{constructor(t){super(Kq.Date),this.unit=t}toString(){return`Date${32*(this.unit+1)}<${sq[this.unit]}>`}get ArrayType(){return this.unit===sq.DAY?Int32Array:BigInt64Array}}wj=Symbol.toStringTag,qj[wj]=(t=>(t.unit=null,t[Symbol.toStringTag]="Date"))(qj.prototype)
|
|
13840
|
+
class jj extends Oj{constructor(t,e){super(Kq.Time),this.unit=t,this.bitWidth=e}toString(){return`Time${this.bitWidth}<${oq[this.unit]}>`}get ArrayType(){switch(this.bitWidth){case 32:return Int32Array
|
|
13838
13841
|
case 64:return BigInt64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}}xj=Symbol.toStringTag,jj[xj]=(t=>(t.unit=null,t.bitWidth=null,t[Symbol.toStringTag]="Time"))(jj.prototype)
|
|
13839
|
-
class Wj extends
|
|
13840
|
-
class Gj extends
|
|
13841
|
-
class Zj extends
|
|
13842
|
-
class Kj extends
|
|
13843
|
-
class Yj extends
|
|
13844
|
-
class Xj extends
|
|
13845
|
-
class Jj extends
|
|
13846
|
-
class Qj extends
|
|
13847
|
-
class tW extends
|
|
13842
|
+
class Wj extends Oj{constructor(t,e){super(Kq.Timestamp),this.unit=t,this.timezone=e}toString(){return`Timestamp<${oq[this.unit]}${this.timezone?`, ${this.timezone}`:""}>`}}Cj=Symbol.toStringTag,Wj[Cj]=(t=>(t.unit=null,t.timezone=null,t.ArrayType=BigInt64Array,t[Symbol.toStringTag]="Timestamp"))(Wj.prototype)
|
|
13843
|
+
class Gj extends Oj{constructor(t){super(Kq.Interval),this.unit=t}toString(){return`Interval<${rq[this.unit]}>`}}kj=Symbol.toStringTag,Gj[kj]=(t=>(t.unit=null,t.ArrayType=Int32Array,t[Symbol.toStringTag]="Interval"))(Gj.prototype)
|
|
13844
|
+
class Zj extends Oj{constructor(t){super(Kq.Duration),this.unit=t}toString(){return`Duration<${oq[this.unit]}>`}}Sj=Symbol.toStringTag,Zj[Sj]=(t=>(t.unit=null,t.ArrayType=BigInt64Array,t[Symbol.toStringTag]="Duration"))(Zj.prototype)
|
|
13845
|
+
class Kj extends Oj{constructor(t){super(Kq.List),this.children=[t]}toString(){return`List<${this.valueType}>`}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}}_j=Symbol.toStringTag,Kj[_j]=(t=>(t.children=null,t[Symbol.toStringTag]="List"))(Kj.prototype)
|
|
13846
|
+
class Yj extends Oj{constructor(t){super(Kq.Struct),this.children=t}toString(){return`Struct<{${this.children.map((t=>`${t.name}:${t.type}`)).join(", ")}}>`}}Ij=Symbol.toStringTag,Yj[Ij]=(t=>(t.children=null,t[Symbol.toStringTag]="Struct"))(Yj.prototype)
|
|
13847
|
+
class Xj extends Oj{constructor(t,e,n){super(Kq.Union),this.mode=t,this.children=n,this.typeIds=e=Int32Array.from(e),this.typeIdToChildIndex=e.reduce(((t,e,n)=>(t[e]=n)&&t||t),Object.create(null))}toString(){return`${this[Symbol.toStringTag]}<${this.children.map((t=>`${t.type}`)).join(" | ")}>`}}Mj=Symbol.toStringTag,Xj[Mj]=(t=>(t.mode=null,t.typeIds=null,t.children=null,t.typeIdToChildIndex=null,t.ArrayType=Int8Array,t[Symbol.toStringTag]="Union"))(Xj.prototype)
|
|
13848
|
+
class Jj extends Oj{constructor(t){super(Kq.FixedSizeBinary),this.byteWidth=t}toString(){return`FixedSizeBinary[${this.byteWidth}]`}}$j=Symbol.toStringTag,Jj[$j]=(t=>(t.byteWidth=null,t.ArrayType=Uint8Array,t[Symbol.toStringTag]="FixedSizeBinary"))(Jj.prototype)
|
|
13849
|
+
class Qj extends Oj{constructor(t,e){super(Kq.FixedSizeList),this.listSize=t,this.children=[e]}get valueType(){return this.children[0].type}get valueField(){return this.children[0]}get ArrayType(){return this.valueType.ArrayType}toString(){return`FixedSizeList[${this.listSize}]<${this.valueType}>`}}Dj=Symbol.toStringTag,Qj[Dj]=(t=>(t.children=null,t.listSize=null,t[Symbol.toStringTag]="FixedSizeList"))(Qj.prototype)
|
|
13850
|
+
class tW extends Oj{constructor(t,e=!1){var n,i,s
|
|
13848
13851
|
if(super(Kq.Map),this.children=[t],this.keysSorted=e,t&&(t.name="entries",null===(n=null==t?void 0:t.type)||void 0===n?void 0:n.children)){const e=null===(i=null==t?void 0:t.type)||void 0===i?void 0:i.children[0]
|
|
13849
13852
|
e&&(e.name="key")
|
|
13850
13853
|
const n=null===(s=null==t?void 0:t.type)||void 0===s?void 0:s.children[1]
|
|
13851
13854
|
n&&(n.name="value")}}get keyType(){return this.children[0].type.children[0].type}get valueType(){return this.children[0].type.children[1].type}get childType(){return this.children[0].type}toString(){return`Map<{${this.children[0].type.children.map((t=>`${t.name}:${t.type}`)).join(", ")}}>`}}Ej=Symbol.toStringTag,tW[Ej]=(t=>(t.children=null,t.keysSorted=null,t[Symbol.toStringTag]="Map_"))(tW.prototype)
|
|
13852
13855
|
const eW=(nW=-1,()=>++nW)
|
|
13853
13856
|
var nW
|
|
13854
|
-
class iW extends
|
|
13857
|
+
class iW extends Oj{constructor(t,e,n,i){super(Kq.Dictionary),this.indices=e,this.dictionary=t,this.isOrdered=i||!1,this.id=null==n?eW():Jq(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}>`}}function sW(t){const e=t
|
|
13855
13858
|
switch(t.typeId){case Kq.Decimal:return t.bitWidth/32
|
|
13856
13859
|
case Kq.Interval:return 1+e.unit
|
|
13857
13860
|
case Kq.FixedSizeList:return e.listSize
|
|
@@ -13859,8 +13862,8 @@ case Kq.FixedSizeBinary:return e.byteWidth
|
|
|
13859
13862
|
default:return 1}}Aj=Symbol.toStringTag,iW[Aj]=(t=>(t.id=null,t.indices=null,t.isOrdered=null,t.dictionary=null,t[Symbol.toStringTag]="Dictionary"))(iW.prototype)
|
|
13860
13863
|
class oW{visitMany(t,...e){return t.map(((t,n)=>this.visit(t,...e.map((t=>t[n])))))}visit(...t){return this.getVisitFn(t[0],!1).apply(this,t)}getVisitFn(t,e=!0){return function(t,e,n=!0){if("number"==typeof e)return rW(t,e,n)
|
|
13861
13864
|
if("string"==typeof e&&e in Kq)return rW(t,Kq[e],n)
|
|
13862
|
-
if(e&&e instanceof
|
|
13863
|
-
if((null==e?void 0:e.type)&&e.type instanceof
|
|
13865
|
+
if(e&&e instanceof Oj)return rW(t,aW(e),n)
|
|
13866
|
+
if((null==e?void 0:e.type)&&e.type instanceof Oj)return rW(t,aW(e.type),n)
|
|
13864
13867
|
return rW(t,Kq.NONE,n)}(this,t,e)}getVisitFnByTypeId(t,e=!0){return rW(this,t,e)}visitNull(t,...e){return null}visitBool(t,...e){return null}visitInt(t,...e){return null}visitFloat(t,...e){return null}visitUtf8(t,...e){return null}visitLargeUtf8(t,...e){return null}visitBinary(t,...e){return null}visitLargeBinary(t,...e){return null}visitFixedSizeBinary(t,...e){return null}visitDate(t,...e){return null}visitTimestamp(t,...e){return null}visitTime(t,...e){return null}visitDecimal(t,...e){return null}visitList(t,...e){return null}visitStruct(t,...e){return null}visitUnion(t,...e){return null}visitDictionary(t,...e){return null}visitInterval(t,...e){return null}visitDuration(t,...e){return null}visitFixedSizeList(t,...e){return null}visitMap(t,...e){return null}}function rW(t,e,n=!0){let i=null
|
|
13865
13868
|
switch(e){case Kq.Null:i=t.visitNull
|
|
13866
13869
|
break
|
|
@@ -14010,7 +14013,7 @@ const e=(2147483648&cW[1])>>16&65535
|
|
|
14010
14013
|
let n=2146435072&cW[1],i=0
|
|
14011
14014
|
return n>=1089470464?cW[0]>0?n=31744:(n=(2080374784&n)>>16,i=(1048575&cW[1])>>10):n<=1056964608?(i=1048576+(1048575&cW[1]),i=1048576+(i<<(n>>20)-998)>>21,n=0):(n=n-1056964608>>10,i=512+(1048575&cW[1])>>10),e|n|65535&i}(n)},vW=({values:t},e,n)=>{((t,e,n)=>{t[e]=Math.floor(n/864e5)})(t,e,n.valueOf())},bW=({values:t},e,n)=>{t[e]=BigInt(n)},yW=({values:t,valueOffsets:e},n,i)=>pW(t,e,n,i),wW=({values:t,valueOffsets:e},n,i)=>pW(t,e,n,IU(i)),xW=({values:t},e,n)=>{t[e]=BigInt(n/1e3)},CW=({values:t},e,n)=>{t[e]=BigInt(n)},kW=({values:t},e,n)=>{t[e]=BigInt(1e3*n)},SW=({values:t},e,n)=>{t[e]=BigInt(1e6*n)},_W=({values:t},e,n)=>{t[e]=n},IW=({values:t},e,n)=>{t[e]=n},MW=({values:t},e,n)=>{t[e]=n},$W=({values:t},e,n)=>{t[e]=n},DW=(t,e,n)=>{const i=t.type.typeIdToChildIndex[t.typeIds[e]],s=t.children[i]
|
|
14012
14015
|
LW.visit(s,t.valueOffsets[e],n)},EW=(t,e,n)=>{const i=t.type.typeIdToChildIndex[t.typeIds[e]],s=t.children[i]
|
|
14013
|
-
LW.visit(s,e,n)},AW=({values:t},e,n)=>{t.set(n.subarray(0,2),2*e)},
|
|
14016
|
+
LW.visit(s,e,n)},AW=({values:t},e,n)=>{t.set(n.subarray(0,2),2*e)},TW=({values:t},e,n)=>{t[e]=12*n[0]+n[1]%12},OW=({values:t},e,n)=>{t[e]=n},RW=({values:t},e,n)=>{t[e]=n},FW=({values:t},e,n)=>{t[e]=n},NW=({values:t},e,n)=>{t[e]=n}
|
|
14014
14017
|
hW.prototype.visitBool=uW((({offset:t,values:e},n,i)=>{const s=t+n
|
|
14015
14018
|
i?e[s>>3]|=1<<s%8:e[s>>3]&=~(1<<s%8)})),hW.prototype.visitInt=uW(fW),hW.prototype.visitInt8=uW(fW),hW.prototype.visitInt16=uW(fW),hW.prototype.visitInt32=uW(fW),hW.prototype.visitInt64=uW(fW),hW.prototype.visitUint8=uW(fW),hW.prototype.visitUint16=uW(fW),hW.prototype.visitUint32=uW(fW),hW.prototype.visitUint64=uW(fW),hW.prototype.visitFloat=uW(((t,e,n)=>{switch(t.type.precision){case iq.HALF:return gW(t,e,n)
|
|
14016
14019
|
case iq.SINGLE:case iq.DOUBLE:return mW(t,e,n)}})),hW.prototype.visitFloat16=uW(gW),hW.prototype.visitFloat32=uW(mW),hW.prototype.visitFloat64=uW(mW),hW.prototype.visitUtf8=uW(wW),hW.prototype.visitLargeUtf8=uW(wW),hW.prototype.visitBinary=uW(yW),hW.prototype.visitLargeBinary=uW(yW),hW.prototype.visitFixedSizeBinary=uW((({stride:t,values:e},n,i)=>{e.set(i.subarray(0,t),t*n)})),hW.prototype.visitDate=uW(((t,e,n)=>{t.type.unit===sq.DAY?vW(t,e,n):bW(t,e,n)})),hW.prototype.visitDateDay=uW(vW),hW.prototype.visitDateMillisecond=uW(bW),hW.prototype.visitTimestamp=uW(((t,e,n)=>{switch(t.type.unit){case oq.SECOND:return xW(t,e,n)
|
|
@@ -14024,10 +14027,10 @@ if(Array.isArray(n))for(let t=-1,r=s[e],a=s[e+1];r<a;)o(i,r++,n[++t])
|
|
|
14024
14027
|
else for(let t=-1,r=s[e],a=s[e+1];r<a;)o(i,r++,n.get(++t))})),hW.prototype.visitStruct=uW(((t,e,n)=>{const i=t.type.children.map((t=>LW.getVisitFn(t.type))),s=n instanceof Map?(o=e,r=n,(t,e,n,i)=>e&&t(e,o,r.get(n.name))):n instanceof rZ?((t,e)=>(n,i,s,o)=>i&&n(i,t,e.get(o)))(e,n):Array.isArray(n)?((t,e)=>(n,i,s,o)=>i&&n(i,t,e[o]))(e,n):((t,e)=>(n,i,s,o)=>i&&n(i,t,e[s.name]))(e,n)
|
|
14025
14028
|
var o,r
|
|
14026
14029
|
t.type.children.forEach(((e,n)=>s(i[n],t.children[n],e,n)))})),hW.prototype.visitUnion=uW(((t,e,n)=>{t.type.mode===nq.Dense?DW(t,e,n):EW(t,e,n)})),hW.prototype.visitDenseUnion=uW(DW),hW.prototype.visitSparseUnion=uW(EW),hW.prototype.visitDictionary=uW(((t,e,n)=>{var i
|
|
14027
|
-
null===(i=t.dictionary)||void 0===i||i.set(t.values[e],n)})),hW.prototype.visitInterval=uW(((t,e,n)=>{t.type.unit===rq.DAY_TIME?AW(t,e,n):
|
|
14030
|
+
null===(i=t.dictionary)||void 0===i||i.set(t.values[e],n)})),hW.prototype.visitInterval=uW(((t,e,n)=>{t.type.unit===rq.DAY_TIME?AW(t,e,n):TW(t,e,n)})),hW.prototype.visitIntervalDayTime=uW(AW),hW.prototype.visitIntervalYearMonth=uW(TW),hW.prototype.visitDuration=uW(((t,e,n)=>{switch(t.type.unit){case oq.SECOND:return OW(t,e,n)
|
|
14028
14031
|
case oq.MILLISECOND:return RW(t,e,n)
|
|
14029
14032
|
case oq.MICROSECOND:return FW(t,e,n)
|
|
14030
|
-
case oq.NANOSECOND:return NW(t,e,n)}})),hW.prototype.visitDurationSecond=uW(
|
|
14033
|
+
case oq.NANOSECOND:return NW(t,e,n)}})),hW.prototype.visitDurationSecond=uW(OW),hW.prototype.visitDurationMillisecond=uW(RW),hW.prototype.visitDurationMicrosecond=uW(FW),hW.prototype.visitDurationNanosecond=uW(NW),hW.prototype.visitFixedSizeList=uW(((t,e,n)=>{const{stride:i}=t,s=t.children[0],o=LW.getVisitFn(s)
|
|
14031
14034
|
if(Array.isArray(n))for(let t=-1,r=e*i;++t<i;)o(s,r+t,n[t])
|
|
14032
14035
|
else for(let t=-1,r=e*i;++t<i;)o(s,r+t,n.get(t))})),hW.prototype.visitMap=uW(((t,e,n)=>{const i=t.children[0],{valueOffsets:s}=t,o=LW.getVisitFn(i)
|
|
14033
14036
|
let{[e]:r,[e+1]:a}=s
|
|
@@ -14110,13 +14113,13 @@ const a=t.length
|
|
|
14110
14113
|
let l=o.next(),c=i.next(),d=s.next()
|
|
14111
14114
|
for(;r<a&&!c.done&&!d.done&&!l.done&&(c.value===d.value&&t[r](l.value));++r,c=i.next(),d=s.next(),l=o.next());return!!(r===a&&c.done&&d.done&&l.done)||(i.return&&i.return(),s.return&&s.return(),o.return&&o.return(),!1)}function DG(t,e,n,i){return!!(n&1<<i)}function EG(t,e,n,i){return(n&1<<i)>>i}function AG(t,e,n){const i=n.byteLength+7&-8
|
|
14112
14115
|
if(t>0||n.byteLength<i){const s=new Uint8Array(i)
|
|
14113
|
-
return s.set(t%8==0?n.subarray(t>>3):
|
|
14116
|
+
return s.set(t%8==0?n.subarray(t>>3):TG(new OG(n,t,e,null,DG)).subarray(0,i)),s}return n}function TG(t){const e=[]
|
|
14114
14117
|
let n=0,i=0,s=0
|
|
14115
14118
|
for(const o of t)o&&(s|=1<<i),8==++i&&(e[n++]=s,s=i=0);(0===n||i>0)&&(e[n++]=s)
|
|
14116
14119
|
const o=new Uint8Array(e.length+7&-8)
|
|
14117
|
-
return o.set(e),o}class
|
|
14120
|
+
return o.set(e),o}class OG{constructor(t,e,n,i,s){this.bytes=t,this.length=n,this.context=i,this.get=s,this.bit=e%8,this.byteIndex=e>>3,this.byte=t[this.byteIndex++],this.index=0}next(){return this.index<this.length?(8===this.bit&&(this.bit=0,this.byte=this.bytes[this.byteIndex++]),{value:this.get(this.context,this.index++,this.byte,this.bit++)}):{done:!0,value:null}}[Symbol.iterator](){return this}}function RG(t,e,n){if(n-e<=0)return 0
|
|
14118
14121
|
if(n-e<8){let i=0
|
|
14119
|
-
for(const s of new
|
|
14122
|
+
for(const s of new OG(t,e,n-e,t,EG))i+=s
|
|
14120
14123
|
return i}const i=n>>3<<3,s=e+(e%8==0?0:8-e%8)
|
|
14121
14124
|
return RG(t,e,s)+RG(t,i,n)+function(t,e,n){let i=0,s=Math.trunc(e)
|
|
14122
14125
|
const o=new DataView(t.buffer,t.byteOffset,t.byteLength),r=void 0===n?t.byteLength:s+n
|
|
@@ -14125,17 +14128,17 @@ for(;r-s>=2;)i+=FG(o.getUint16(s)),s+=2
|
|
|
14125
14128
|
for(;r-s>=1;)i+=FG(o.getUint8(s)),s+=1
|
|
14126
14129
|
return i}(t,s>>3,i-s>>3)}function FG(t){let e=Math.trunc(t)
|
|
14127
14130
|
return e-=e>>>1&1431655765,e=(858993459&e)+(e>>>2&858993459),16843009*(e+(e>>>4)&252645135)>>>24}class NG{get typeId(){return this.type.typeId}get ArrayType(){return this.type.ArrayType}get buffers(){return[this.valueOffsets,this.values,this.nullBitmap,this.typeIds]}get nullable(){if(0!==this._nullCount){const{type:t}=this
|
|
14128
|
-
return
|
|
14131
|
+
return Oj.isSparseUnion(t)||Oj.isDenseUnion(t)?this.children.some((t=>t.nullable)):this.nullBitmap&&this.nullBitmap.byteLength>0}return!0}get byteLength(){let t=0
|
|
14129
14132
|
const{valueOffsets:e,values:n,nullBitmap:i,typeIds:s}=this
|
|
14130
|
-
return e&&(t+=e.byteLength),n&&(t+=n.byteLength),i&&(t+=i.byteLength),s&&(t+=s.byteLength),this.children.reduce(((t,e)=>t+e.byteLength),t)}get nullCount(){if(
|
|
14133
|
+
return e&&(t+=e.byteLength),n&&(t+=n.byteLength),i&&(t+=i.byteLength),s&&(t+=s.byteLength),this.children.reduce(((t,e)=>t+e.byteLength),t)}get nullCount(){if(Oj.isUnion(this.type))return this.children.reduce(((t,e)=>t+e.nullCount),0)
|
|
14131
14134
|
let t,e=this._nullCount
|
|
14132
14135
|
return e<=-1&&(t=this.nullBitmap)&&(this._nullCount=e=0===t.length?0:this.length-RG(t,this.offset,this.offset+this.length)),e}constructor(t,e,n,i,s,o=[],r){let a
|
|
14133
14136
|
this.type=t,this.children=o,this.dictionary=r,this.offset=Math.floor(Math.max(e||0,0)),this.length=Math.floor(Math.max(n||0,0)),this._nullCount=Math.floor(Math.max(i||0,-1)),s instanceof NG?(this.stride=s.stride,this.values=s.values,this.typeIds=s.typeIds,this.nullBitmap=s.nullBitmap,this.valueOffsets=s.valueOffsets):(this.stride=sW(t),s&&((a=s[0])&&(this.valueOffsets=a),(a=s[1])&&(this.values=a),(a=s[2])&&(this.nullBitmap=a),(a=s[3])&&(this.typeIds=a)))}getValid(t){const{type:e}=this
|
|
14134
|
-
if(
|
|
14137
|
+
if(Oj.isUnion(e)){const n=e,i=this.children[n.typeIdToChildIndex[this.typeIds[t]]],s=n.mode===nq.Dense?this.valueOffsets[t]:t
|
|
14135
14138
|
return i.getValid(s)}if(this.nullable&&this.nullCount>0){const e=this.offset+t
|
|
14136
14139
|
return!!(this.nullBitmap[e>>3]&1<<e%8)}return!0}setValid(t,e){let n
|
|
14137
14140
|
const{type:i}=this
|
|
14138
|
-
if(
|
|
14141
|
+
if(Oj.isUnion(i)){const s=i,o=this.children[s.typeIdToChildIndex[this.typeIds[t]]],r=s.mode===nq.Dense?this.valueOffsets[t]:t
|
|
14139
14142
|
n=o.getValid(r),o.setValid(r,e)}else{let{nullBitmap:i}=this
|
|
14140
14143
|
const{offset:s,length:o}=this,r=s+t,a=1<<r%8,l=r>>3;(!i||i.byteLength<=l)&&(i=new Uint8Array((s+o+63&-64)>>3).fill(255),this.nullCount>0?(i.set(AG(s,o,this.nullBitmap),0),Object.assign(this,{nullBitmap:i})):Object.assign(this,{nullBitmap:i,_nullCount:0}))
|
|
14141
14144
|
const c=i[l]
|
|
@@ -14163,7 +14166,7 @@ return new NG(e,n,o,r,[void 0,s,i])}visitDecimal(t){const{type:e,offset:n=0}=t,i
|
|
|
14163
14166
|
return new NG(e,n,o,r,[void 0,s,i])}visitList(t){const{type:e,offset:n=0,child:i}=t,s=WU(t.nullBitmap),o=qU(t.valueOffsets),{length:r=o.length-1,nullCount:a=(t.nullBitmap?-1:0)}=t
|
|
14164
14167
|
return new NG(e,n,r,a,[o,void 0,s],[i])}visitStruct(t){const{type:e,offset:n=0,children:i=[]}=t,s=WU(t.nullBitmap),{length:o=i.reduce(((t,{length:e})=>Math.max(t,e)),0),nullCount:r=(t.nullBitmap?-1:0)}=t
|
|
14165
14168
|
return new NG(e,n,o,r,[void 0,void 0,s],i)}visitUnion(t){const{type:e,offset:n=0,children:i=[]}=t,s=UU(e.ArrayType,t.typeIds),{length:o=s.length,nullCount:r=-1}=t
|
|
14166
|
-
if(
|
|
14169
|
+
if(Oj.isSparseUnion(e))return new NG(e,n,o,r,[void 0,void 0,void 0,s],i)
|
|
14167
14170
|
const a=qU(t.valueOffsets)
|
|
14168
14171
|
return new NG(e,n,o,r,[a,void 0,void 0,s],i)}visitDictionary(t){const{type:e,offset:n=0}=t,i=WU(t.nullBitmap),s=UU(e.indices.ArrayType,t.data),{dictionary:o=new rZ([(new LG).visit({type:e.dictionary})])}=t,{length:r=s.length,nullCount:a=(t.nullBitmap?-1:0)}=t
|
|
14169
14172
|
return new NG(e,n,r,a,[void 0,s,i],[],o)}visitInterval(t){const{type:e,offset:n=0}=t,i=WU(t.nullBitmap),s=UU(e.ArrayType,t.data),{length:o=s.length/sW(e),nullCount:r=(t.nullBitmap?-1:0)}=t
|
|
@@ -14195,14 +14198,14 @@ if(null===e)switch(t.typeId){case Kq.Union:case Kq.Dictionary:break
|
|
|
14195
14198
|
default:return function(t,e){const{nullBitmap:n}=t
|
|
14196
14199
|
if(!n||t.nullCount<=0)return-1
|
|
14197
14200
|
let i=0
|
|
14198
|
-
for(const s of new
|
|
14201
|
+
for(const s of new OG(n,t.offset+(e||0),t.length,n,DG)){if(!s)return i;++i}return-1}(t,n)}const i=fG.getVisitFn(t),s=IG(e)
|
|
14199
14202
|
for(let e=(n||0)-1,o=t.length;++e<o;)if(s(i(t,e)))return e
|
|
14200
14203
|
return-1}function XG(t,e,n){const i=fG.getVisitFn(t),s=IG(e)
|
|
14201
14204
|
for(let e=(n||0)-1,o=t.length;++e<o;)if(s(i(t,e)))return e
|
|
14202
14205
|
return-1}KG.prototype.visitNull=function(t,e){return null===e&&t.length>0?0:-1},KG.prototype.visitBool=YG,KG.prototype.visitInt=YG,KG.prototype.visitInt8=YG,KG.prototype.visitInt16=YG,KG.prototype.visitInt32=YG,KG.prototype.visitInt64=YG,KG.prototype.visitUint8=YG,KG.prototype.visitUint16=YG,KG.prototype.visitUint32=YG,KG.prototype.visitUint64=YG,KG.prototype.visitFloat=YG,KG.prototype.visitFloat16=YG,KG.prototype.visitFloat32=YG,KG.prototype.visitFloat64=YG,KG.prototype.visitUtf8=YG,KG.prototype.visitLargeUtf8=YG,KG.prototype.visitBinary=YG,KG.prototype.visitLargeBinary=YG,KG.prototype.visitFixedSizeBinary=YG,KG.prototype.visitDate=YG,KG.prototype.visitDateDay=YG,KG.prototype.visitDateMillisecond=YG,KG.prototype.visitTimestamp=YG,KG.prototype.visitTimestampSecond=YG,KG.prototype.visitTimestampMillisecond=YG,KG.prototype.visitTimestampMicrosecond=YG,KG.prototype.visitTimestampNanosecond=YG,KG.prototype.visitTime=YG,KG.prototype.visitTimeSecond=YG,KG.prototype.visitTimeMillisecond=YG,KG.prototype.visitTimeMicrosecond=YG,KG.prototype.visitTimeNanosecond=YG,KG.prototype.visitDecimal=YG,KG.prototype.visitList=YG,KG.prototype.visitStruct=YG,KG.prototype.visitUnion=YG,KG.prototype.visitDenseUnion=XG,KG.prototype.visitSparseUnion=XG,KG.prototype.visitDictionary=YG,KG.prototype.visitInterval=YG,KG.prototype.visitIntervalDayTime=YG,KG.prototype.visitIntervalYearMonth=YG,KG.prototype.visitDuration=YG,KG.prototype.visitDurationSecond=YG,KG.prototype.visitDurationMillisecond=YG,KG.prototype.visitDurationMicrosecond=YG,KG.prototype.visitDurationNanosecond=YG,KG.prototype.visitFixedSizeList=YG,KG.prototype.visitMap=YG
|
|
14203
14206
|
const JG=new KG
|
|
14204
14207
|
class QG extends oW{}function tZ(t){const{type:e}=t
|
|
14205
|
-
if(0===t.nullCount&&1===t.stride&&(
|
|
14208
|
+
if(0===t.nullCount&&1===t.stride&&(Oj.isInt(e)&&64!==e.bitWidth||Oj.isTime(e)&&64!==e.bitWidth||Oj.isFloat(e)&&e.precision!==iq.HALF))return new VG(t.data.length,(e=>{const n=t.data[e]
|
|
14206
14209
|
return n.values.subarray(0,n.length)[Symbol.iterator]()}))
|
|
14207
14210
|
let n=0
|
|
14208
14211
|
return new VG(t.data.length,(e=>{const i=t.data[e].length,s=t.slice(n,n+i)
|
|
@@ -14222,11 +14225,11 @@ break}default:Object.setPrototypeOf(this,oZ[o.typeId]),this._offsets=HG(s)}this.
|
|
|
14222
14225
|
switch(t.typeId){case Kq.Int:case Kq.Float:case Kq.Decimal:case Kq.Time:case Kq.Timestamp:switch(e.length){case 0:return new s
|
|
14223
14226
|
case 1:return e[0].values.subarray(0,n*i)
|
|
14224
14227
|
default:return e.reduce(((t,{values:e,length:n})=>(t.array.set(e.subarray(0,n*i),t.offset),t.offset+=n*i,t)),{array:new s(n*i),offset:0}).array}}return[...this]}toString(){return`[${[...this].join(",")}]`}getChild(t){var e
|
|
14225
|
-
return this.getChildAt(null===(e=this.type.children)||void 0===e?void 0:e.findIndex((e=>e.name===t)))}getChildAt(t){return t>-1&&t<this.numChildren?new rZ(this.data.map((({children:e})=>e[t]))):null}get isMemoized(){return!!
|
|
14228
|
+
return this.getChildAt(null===(e=this.type.children)||void 0===e?void 0:e.findIndex((e=>e.name===t)))}getChildAt(t){return t>-1&&t<this.numChildren?new rZ(this.data.map((({children:e})=>e[t]))):null}get isMemoized(){return!!Oj.isDictionary(this.type)&&this.data[0].dictionary.isMemoized}memoize(){if(Oj.isDictionary(this.type)){const t=new aZ(this.data[0].dictionary),e=this.data.map((e=>{const n=e.clone()
|
|
14226
14229
|
return n.dictionary=t,n}))
|
|
14227
|
-
return new rZ(e)}return new aZ(this)}unmemoize(){if(
|
|
14230
|
+
return new rZ(e)}return new aZ(this)}unmemoize(){if(Oj.isDictionary(this.type)&&this.isMemoized){const t=this.data[0].dictionary.unmemoize(),e=this.data.map((e=>{const n=e.clone()
|
|
14228
14231
|
return n.dictionary=t,n}))
|
|
14229
|
-
return new rZ(e)}return this}}iZ=Symbol.toStringTag,rZ[iZ]=(t=>{t.type=
|
|
14232
|
+
return new rZ(e)}return this}}iZ=Symbol.toStringTag,rZ[iZ]=(t=>{t.type=Oj.prototype,t.data=[],t.length=0,t.stride=1,t.numChildren=0,t._offsets=new Uint32Array([0]),t[Symbol.isConcatSpreadable]=!0
|
|
14230
14233
|
const e=Object.keys(Kq).map((t=>Kq[t])).filter((t=>"number"==typeof t&&t!==Kq.NONE))
|
|
14231
14234
|
for(const n of e){const e=fG.getVisitFnByTypeId(n),i=LW.getVisitFnByTypeId(n),s=JG.getVisitFnByTypeId(n)
|
|
14232
14235
|
sZ[n]={get:e,set:i,indexOf:s},oZ[n]=Object.create(t,{isValid:{value:WG(jG)},get:{value:WG(fG.getVisitFnByTypeId(n))},set:{value:GG(LW.getVisitFnByTypeId(n))},indexOf:{value:ZG(JG.getVisitFnByTypeId(n))}})}return"Vector"})(rZ.prototype)
|
|
@@ -14253,7 +14256,7 @@ return new dZ([...n,...s],i,new Map([...this.dictionaries,...o]))}}dZ.prototype.
|
|
|
14253
14256
|
class hZ{static new(...t){let[e,n,i,s]=t
|
|
14254
14257
|
return t[0]&&"object"==typeof t[0]&&(({name:e}=t[0]),void 0===n&&(n=t[0].type),void 0===i&&(i=t[0].nullable),void 0===s&&(s=t[0].metadata)),new hZ(`${e}`,n,i,s)}constructor(t,e,n=!1,i){this.name=t,this.type=e,this.nullable=n,this.metadata=i||new Map}get typeId(){return this.type.typeId}get[Symbol.toStringTag](){return"Field"}toString(){return`${this.name}: ${this.type}`}clone(...t){let[e,n,i,s]=t
|
|
14255
14258
|
return t[0]&&"object"==typeof t[0]?({name:e=this.name,type:n=this.type,nullable:i=this.nullable,metadata:s=this.metadata}=t[0]):[e=this.name,n=this.type,i=this.nullable,s=this.metadata]=t,hZ.new(e,n,i,s)}}function uZ(t,e){return new Map([...t||new Map,...e||new Map])}function pZ(t,e=new Map){for(let n=-1,i=t.length;++n<i;){const i=t[n].type
|
|
14256
|
-
if(
|
|
14259
|
+
if(Oj.isDictionary(i))if(e.has(i.id)){if(e.get(i.id)!==i.dictionary)throw new Error("Cannot create Schema containing two different dictionaries with the same Id")}else e.set(i.id,i.dictionary)
|
|
14257
14260
|
i.children&&i.children.length>0&&pZ(i.children,e)}return e}hZ.prototype.type=null,hZ.prototype.name=null,hZ.prototype.nullable=null,hZ.prototype.metadata=null
|
|
14258
14261
|
var fZ=pq,mZ=uq
|
|
14259
14262
|
class gZ{static decode(t){t=new mZ(WU(t))
|
|
@@ -14294,34 +14297,34 @@ const{_handle:e,size:i}=this
|
|
|
14294
14297
|
if(e&&t+n<i){const s=Math.min(i,t+n),o=new Uint8Array(s-t)
|
|
14295
14298
|
return(yield e.read(o,0,n,t)).buffer}return new Uint8Array(n)}))}close(){return e(this,void 0,void 0,(function*(){const t=this._handle
|
|
14296
14299
|
this._handle=null,t&&(yield t.close())}))}throw(t){return e(this,void 0,void 0,(function*(){return yield this.close(),{done:!0,value:t}}))}return(t){return e(this,void 0,void 0,(function*(){return yield this.close(),{done:!0,value:t}}))}}function EZ(t){return t<0&&(t=4294967295+t+1),`0x${t.toString(16)}`}const AZ=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8]
|
|
14297
|
-
class
|
|
14300
|
+
class TZ{constructor(t){this.buffer=t}high(){return this.buffer[1]}low(){return this.buffer[0]}_times(t){const e=new Uint32Array([this.buffer[1]>>>16,65535&this.buffer[1],this.buffer[0]>>>16,65535&this.buffer[0]]),n=new Uint32Array([t.buffer[1]>>>16,65535&t.buffer[1],t.buffer[0]>>>16,65535&t.buffer[0]])
|
|
14298
14301
|
let i=e[3]*n[3]
|
|
14299
14302
|
this.buffer[0]=65535&i
|
|
14300
14303
|
let s=i>>>16
|
|
14301
14304
|
return i=e[2]*n[3],s+=i,i=e[3]*n[2]>>>0,s+=i,this.buffer[0]+=s<<16,this.buffer[1]=s>>>0<i?65536:0,this.buffer[1]+=s>>>16,this.buffer[1]+=e[1]*n[3]+e[2]*n[2]+e[3]*n[1],this.buffer[1]+=e[0]*n[3]+e[1]*n[2]+e[2]*n[1]+e[3]*n[0]<<16,this}_plus(t){const e=this.buffer[0]+t.buffer[0]>>>0
|
|
14302
|
-
this.buffer[1]+=t.buffer[1],e<this.buffer[0]>>>0&&++this.buffer[1],this.buffer[0]=e}lessThan(t){return this.buffer[1]<t.buffer[1]||this.buffer[1]===t.buffer[1]&&this.buffer[0]<t.buffer[0]}equals(t){return this.buffer[1]===t.buffer[1]&&this.buffer[0]==t.buffer[0]}greaterThan(t){return t.lessThan(this)}hex(){return`${EZ(this.buffer[1])} ${EZ(this.buffer[0])}`}}class
|
|
14303
|
-
for(let e=0;e<n;){const s=8<n-e?8:n-e,o=new
|
|
14305
|
+
this.buffer[1]+=t.buffer[1],e<this.buffer[0]>>>0&&++this.buffer[1],this.buffer[0]=e}lessThan(t){return this.buffer[1]<t.buffer[1]||this.buffer[1]===t.buffer[1]&&this.buffer[0]<t.buffer[0]}equals(t){return this.buffer[1]===t.buffer[1]&&this.buffer[0]==t.buffer[0]}greaterThan(t){return t.lessThan(this)}hex(){return`${EZ(this.buffer[1])} ${EZ(this.buffer[0])}`}}class OZ extends TZ{times(t){return this._times(t),this}plus(t){return this._plus(t),this}static from(t,e=new Uint32Array(2)){return OZ.fromString("string"==typeof t?t:t.toString(),e)}static fromNumber(t,e=new Uint32Array(2)){return OZ.fromString(t.toString(),e)}static fromString(t,e=new Uint32Array(2)){const n=t.length,i=new OZ(e)
|
|
14306
|
+
for(let e=0;e<n;){const s=8<n-e?8:n-e,o=new OZ(new Uint32Array([Number.parseInt(t.slice(e,e+s),10),0])),r=new OZ(new Uint32Array([AZ[s],0]))
|
|
14304
14307
|
i.times(r),i.plus(o),e+=s}return i}static convertArray(t){const e=new Uint32Array(2*t.length)
|
|
14305
|
-
for(let n=-1,i=t.length;++n<i;)
|
|
14306
|
-
return e}static multiply(t,e){return new
|
|
14308
|
+
for(let n=-1,i=t.length;++n<i;)OZ.from(t[n],new Uint32Array(e.buffer,e.byteOffset+2*n*4,2))
|
|
14309
|
+
return e}static multiply(t,e){return new OZ(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new OZ(new Uint32Array(t.buffer)).plus(e)}}class RZ extends TZ{negate(){return this.buffer[0]=1+~this.buffer[0],this.buffer[1]=~this.buffer[1],0==this.buffer[0]&&++this.buffer[1],this}times(t){return this._times(t),this}plus(t){return this._plus(t),this}lessThan(t){const e=this.buffer[1]|0,n=t.buffer[1]|0
|
|
14307
14310
|
return e<n||e===n&&this.buffer[0]<t.buffer[0]}static from(t,e=new Uint32Array(2)){return RZ.fromString("string"==typeof t?t:t.toString(),e)}static fromNumber(t,e=new Uint32Array(2)){return RZ.fromString(t.toString(),e)}static fromString(t,e=new Uint32Array(2)){const n=t.startsWith("-"),i=t.length,s=new RZ(e)
|
|
14308
14311
|
for(let e=n?1:0;e<i;){const n=8<i-e?8:i-e,o=new RZ(new Uint32Array([Number.parseInt(t.slice(e,e+n),10),0])),r=new RZ(new Uint32Array([AZ[n],0]))
|
|
14309
14312
|
s.times(r),s.plus(o),e+=n}return n?s.negate():s}static convertArray(t){const e=new Uint32Array(2*t.length)
|
|
14310
14313
|
for(let n=-1,i=t.length;++n<i;)RZ.from(t[n],new Uint32Array(e.buffer,e.byteOffset+2*n*4,2))
|
|
14311
|
-
return e}static multiply(t,e){return new RZ(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new RZ(new Uint32Array(t.buffer)).plus(e)}}class FZ{constructor(t){this.buffer=t}high(){return new RZ(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset+8,2))}low(){return new RZ(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset,2))}negate(){return this.buffer[0]=1+~this.buffer[0],this.buffer[1]=~this.buffer[1],this.buffer[2]=~this.buffer[2],this.buffer[3]=~this.buffer[3],0==this.buffer[0]&&++this.buffer[1],0==this.buffer[1]&&++this.buffer[2],0==this.buffer[2]&&++this.buffer[3],this}times(t){const e=new
|
|
14312
|
-
let c=
|
|
14314
|
+
return e}static multiply(t,e){return new RZ(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new RZ(new Uint32Array(t.buffer)).plus(e)}}class FZ{constructor(t){this.buffer=t}high(){return new RZ(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset+8,2))}low(){return new RZ(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset,2))}negate(){return this.buffer[0]=1+~this.buffer[0],this.buffer[1]=~this.buffer[1],this.buffer[2]=~this.buffer[2],this.buffer[3]=~this.buffer[3],0==this.buffer[0]&&++this.buffer[1],0==this.buffer[1]&&++this.buffer[2],0==this.buffer[2]&&++this.buffer[3],this}times(t){const e=new OZ(new Uint32Array([this.buffer[3],0])),n=new OZ(new Uint32Array([this.buffer[2],0])),i=new OZ(new Uint32Array([this.buffer[1],0])),s=new OZ(new Uint32Array([this.buffer[0],0])),o=new OZ(new Uint32Array([t.buffer[3],0])),r=new OZ(new Uint32Array([t.buffer[2],0])),a=new OZ(new Uint32Array([t.buffer[1],0])),l=new OZ(new Uint32Array([t.buffer[0],0]))
|
|
14315
|
+
let c=OZ.multiply(s,l)
|
|
14313
14316
|
this.buffer[0]=c.low()
|
|
14314
|
-
const d=new
|
|
14315
|
-
c=
|
|
14316
|
-
return new
|
|
14317
|
+
const d=new OZ(new Uint32Array([c.high(),0]))
|
|
14318
|
+
c=OZ.multiply(i,l),d.plus(c),c=OZ.multiply(s,a),d.plus(c),this.buffer[1]=d.low(),this.buffer[3]=d.lessThan(c)?1:0,this.buffer[2]=d.high()
|
|
14319
|
+
return new OZ(new Uint32Array(this.buffer.buffer,this.buffer.byteOffset+8,2)).plus(OZ.multiply(n,l)).plus(OZ.multiply(i,a)).plus(OZ.multiply(s,r)),this.buffer[3]+=OZ.multiply(e,l).plus(OZ.multiply(n,a)).plus(OZ.multiply(i,r)).plus(OZ.multiply(s,o)).low(),this}plus(t){const e=new Uint32Array(4)
|
|
14317
14320
|
return e[3]=this.buffer[3]+t.buffer[3]>>>0,e[2]=this.buffer[2]+t.buffer[2]>>>0,e[1]=this.buffer[1]+t.buffer[1]>>>0,e[0]=this.buffer[0]+t.buffer[0]>>>0,e[0]<this.buffer[0]>>>0&&++e[1],e[1]<this.buffer[1]>>>0&&++e[2],e[2]<this.buffer[2]>>>0&&++e[3],this.buffer[3]=e[3],this.buffer[2]=e[2],this.buffer[1]=e[1],this.buffer[0]=e[0],this}hex(){return`${EZ(this.buffer[3])} ${EZ(this.buffer[2])} ${EZ(this.buffer[1])} ${EZ(this.buffer[0])}`}static multiply(t,e){return new FZ(new Uint32Array(t.buffer)).times(e)}static add(t,e){return new FZ(new Uint32Array(t.buffer)).plus(e)}static from(t,e=new Uint32Array(4)){return FZ.fromString("string"==typeof t?t:t.toString(),e)}static fromNumber(t,e=new Uint32Array(4)){return FZ.fromString(t.toString(),e)}static fromString(t,e=new Uint32Array(4)){const n=t.startsWith("-"),i=t.length,s=new FZ(e)
|
|
14318
14321
|
for(let e=n?1:0;e<i;){const n=8<i-e?8:i-e,o=new FZ(new Uint32Array([Number.parseInt(t.slice(e,e+n),10),0,0,0])),r=new FZ(new Uint32Array([AZ[n],0,0,0]))
|
|
14319
14322
|
s.times(r),s.plus(o),e+=n}return n?s.negate():s}static convertArray(t){const e=new Uint32Array(4*t.length)
|
|
14320
14323
|
for(let n=-1,i=t.length;++n<i;)FZ.from(t[n],new Uint32Array(e.buffer,e.byteOffset+16*n,4))
|
|
14321
|
-
return e}}class NZ extends oW{constructor(t,e,n,i,s=eq.V5){super(),this.nodesIndex=-1,this.buffersIndex=-1,this.bytes=t,this.nodes=e,this.buffers=n,this.dictionaries=i,this.metadataVersion=s}visit(t){return super.visit(t instanceof hZ?t.type:t)}visitNull(t,{length:e}=this.nextFieldNode()){return PG({type:t,length:e})}visitBool(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitInt(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitFloat(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitUtf8(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitLargeUtf8(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitBinary(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitLargeBinary(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitFixedSizeBinary(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitDate(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitTimestamp(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitTime(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitDecimal(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitList(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),child:this.visit(t.children[0])})}visitStruct(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),children:this.visitMany(t.children)})}visitUnion(t,{length:e,nullCount:n}=this.nextFieldNode()){return this.metadataVersion<eq.V5&&this.readNullBitmap(t,n),t.mode===nq.Sparse?this.visitSparseUnion(t,{length:e,nullCount:n}):this.visitDenseUnion(t,{length:e,nullCount:n})}visitDenseUnion(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,typeIds:this.readTypeIds(t),valueOffsets:this.readOffsets(t),children:this.visitMany(t.children)})}visitSparseUnion(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,typeIds:this.readTypeIds(t),children:this.visitMany(t.children)})}visitDictionary(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t.indices),dictionary:this.readDictionary(t)})}visitInterval(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitDuration(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitFixedSizeList(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),child:this.visit(t.children[0])})}visitMap(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),child:this.visit(t.children[0])})}nextFieldNode(){return this.nodes[++this.nodesIndex]}nextBufferRange(){return this.buffers[++this.buffersIndex]}readNullBitmap(t,e,n=this.nextBufferRange()){return e>0&&this.readData(t,n)||new Uint8Array(0)}readOffsets(t,e){return this.readData(t,e)}readTypeIds(t,e){return this.readData(t,e)}readData(t,{length:e,offset:n}=this.nextBufferRange()){return this.bytes.subarray(n,n+e)}readDictionary(t){return this.dictionaries.get(t.id)}}class LZ extends NZ{constructor(t,e,n,i,s){super(new Uint8Array(0),e,n,i,s),this.sources=t}readNullBitmap(t,e,{offset:n}=this.nextBufferRange()){return e<=0?new Uint8Array(0):
|
|
14322
|
-
return
|
|
14324
|
+
return e}}class NZ extends oW{constructor(t,e,n,i,s=eq.V5){super(),this.nodesIndex=-1,this.buffersIndex=-1,this.bytes=t,this.nodes=e,this.buffers=n,this.dictionaries=i,this.metadataVersion=s}visit(t){return super.visit(t instanceof hZ?t.type:t)}visitNull(t,{length:e}=this.nextFieldNode()){return PG({type:t,length:e})}visitBool(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitInt(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitFloat(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitUtf8(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitLargeUtf8(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitBinary(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitLargeBinary(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),data:this.readData(t)})}visitFixedSizeBinary(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitDate(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitTimestamp(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitTime(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitDecimal(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitList(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),child:this.visit(t.children[0])})}visitStruct(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),children:this.visitMany(t.children)})}visitUnion(t,{length:e,nullCount:n}=this.nextFieldNode()){return this.metadataVersion<eq.V5&&this.readNullBitmap(t,n),t.mode===nq.Sparse?this.visitSparseUnion(t,{length:e,nullCount:n}):this.visitDenseUnion(t,{length:e,nullCount:n})}visitDenseUnion(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,typeIds:this.readTypeIds(t),valueOffsets:this.readOffsets(t),children:this.visitMany(t.children)})}visitSparseUnion(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,typeIds:this.readTypeIds(t),children:this.visitMany(t.children)})}visitDictionary(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t.indices),dictionary:this.readDictionary(t)})}visitInterval(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitDuration(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),data:this.readData(t)})}visitFixedSizeList(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),child:this.visit(t.children[0])})}visitMap(t,{length:e,nullCount:n}=this.nextFieldNode()){return PG({type:t,length:e,nullCount:n,nullBitmap:this.readNullBitmap(t,n),valueOffsets:this.readOffsets(t),child:this.visit(t.children[0])})}nextFieldNode(){return this.nodes[++this.nodesIndex]}nextBufferRange(){return this.buffers[++this.buffersIndex]}readNullBitmap(t,e,n=this.nextBufferRange()){return e>0&&this.readData(t,n)||new Uint8Array(0)}readOffsets(t,e){return this.readData(t,e)}readTypeIds(t,e){return this.readData(t,e)}readData(t,{length:e,offset:n}=this.nextBufferRange()){return this.bytes.subarray(n,n+e)}readDictionary(t){return this.dictionaries.get(t.id)}}class LZ extends NZ{constructor(t,e,n,i,s){super(new Uint8Array(0),e,n,i,s),this.sources=t}readNullBitmap(t,e,{offset:n}=this.nextBufferRange()){return e<=0?new Uint8Array(0):TG(this.sources[n])}readOffsets(t,{offset:e}=this.nextBufferRange()){return UU(Uint8Array,UU(t.OffsetArrayType,this.sources[e]))}readTypeIds(t,{offset:e}=this.nextBufferRange()){return UU(Uint8Array,UU(t.ArrayType,this.sources[e]))}readData(t,{offset:e}=this.nextBufferRange()){const{sources:n}=this
|
|
14325
|
+
return Oj.isTimestamp(t)||(Oj.isInt(t)||Oj.isTime(t))&&64===t.bitWidth||Oj.isDuration(t)||Oj.isDate(t)&&t.unit===sq.MILLISECOND?UU(Uint8Array,RZ.convertArray(n[e])):Oj.isDecimal(t)?UU(Uint8Array,FZ.convertArray(n[e])):Oj.isBinary(t)||Oj.isLargeBinary(t)||Oj.isFixedSizeBinary(t)?function(t){const e=t.join(""),n=new Uint8Array(e.length/2)
|
|
14323
14326
|
for(let t=0;t<e.length;t+=2)n[t>>1]=Number.parseInt(e.slice(t,t+2),16)
|
|
14324
|
-
return n}(n[e]):
|
|
14327
|
+
return n}(n[e]):Oj.isBool(t)?TG(n[e]):Oj.isUtf8(t)||Oj.isLargeUtf8(t)?IU(n[e].join("")):UU(Uint8Array,UU(t.ArrayType,n[e].map((t=>+t))))}}class BZ extends oW{compareSchemas(t,e){return t===e||e instanceof t.constructor&&this.compareManyFields(t.fields,e.fields)}compareManyFields(t,e){return t===e||Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every(((t,n)=>this.compareFields(t,e[n])))}compareFields(t,e){return t===e||e instanceof t.constructor&&t.name===e.name&&t.nullable===e.nullable&&this.visit(t.type,e.type)}}function PZ(t,e){return e instanceof t.constructor}function VZ(t,e){return t===e||PZ(t,e)}function zZ(t,e){return t===e||PZ(t,e)&&t.bitWidth===e.bitWidth&&t.isSigned===e.isSigned}function HZ(t,e){return t===e||PZ(t,e)&&t.precision===e.precision}function UZ(t,e){return t===e||PZ(t,e)&&t.unit===e.unit}function qZ(t,e){return t===e||PZ(t,e)&&t.unit===e.unit&&t.timezone===e.timezone}function jZ(t,e){return t===e||PZ(t,e)&&t.unit===e.unit&&t.bitWidth===e.bitWidth}function WZ(t,e){return t===e||PZ(t,e)&&t.mode===e.mode&&t.typeIds.every(((t,n)=>t===e.typeIds[n]))&&KZ.compareManyFields(t.children,e.children)}function GZ(t,e){return t===e||PZ(t,e)&&t.unit===e.unit}function ZZ(t,e){return t===e||PZ(t,e)&&t.unit===e.unit}BZ.prototype.visitNull=VZ,BZ.prototype.visitBool=VZ,BZ.prototype.visitInt=zZ,BZ.prototype.visitInt8=zZ,BZ.prototype.visitInt16=zZ,BZ.prototype.visitInt32=zZ,BZ.prototype.visitInt64=zZ,BZ.prototype.visitUint8=zZ,BZ.prototype.visitUint16=zZ,BZ.prototype.visitUint32=zZ,BZ.prototype.visitUint64=zZ,BZ.prototype.visitFloat=HZ,BZ.prototype.visitFloat16=HZ,BZ.prototype.visitFloat32=HZ,BZ.prototype.visitFloat64=HZ,BZ.prototype.visitUtf8=VZ,BZ.prototype.visitLargeUtf8=VZ,BZ.prototype.visitBinary=VZ,BZ.prototype.visitLargeBinary=VZ,BZ.prototype.visitFixedSizeBinary=function(t,e){return t===e||PZ(t,e)&&t.byteWidth===e.byteWidth},BZ.prototype.visitDate=UZ,BZ.prototype.visitDateDay=UZ,BZ.prototype.visitDateMillisecond=UZ,BZ.prototype.visitTimestamp=qZ,BZ.prototype.visitTimestampSecond=qZ,BZ.prototype.visitTimestampMillisecond=qZ,BZ.prototype.visitTimestampMicrosecond=qZ,BZ.prototype.visitTimestampNanosecond=qZ,BZ.prototype.visitTime=jZ,BZ.prototype.visitTimeSecond=jZ,BZ.prototype.visitTimeMillisecond=jZ,BZ.prototype.visitTimeMicrosecond=jZ,BZ.prototype.visitTimeNanosecond=jZ,BZ.prototype.visitDecimal=VZ,BZ.prototype.visitList=function(t,e){return t===e||PZ(t,e)&&t.children.length===e.children.length&&KZ.compareManyFields(t.children,e.children)},BZ.prototype.visitStruct=function(t,e){return t===e||PZ(t,e)&&t.children.length===e.children.length&&KZ.compareManyFields(t.children,e.children)},BZ.prototype.visitUnion=WZ,BZ.prototype.visitDenseUnion=WZ,BZ.prototype.visitSparseUnion=WZ,BZ.prototype.visitDictionary=function(t,e){return t===e||PZ(t,e)&&t.id===e.id&&t.isOrdered===e.isOrdered&&KZ.visit(t.indices,e.indices)&&KZ.visit(t.dictionary,e.dictionary)},BZ.prototype.visitInterval=GZ,BZ.prototype.visitIntervalDayTime=GZ,BZ.prototype.visitIntervalYearMonth=GZ,BZ.prototype.visitDuration=ZZ,BZ.prototype.visitDurationSecond=ZZ,BZ.prototype.visitDurationMillisecond=ZZ,BZ.prototype.visitDurationMicrosecond=ZZ,BZ.prototype.visitDurationNanosecond=ZZ,BZ.prototype.visitFixedSizeList=function(t,e){return t===e||PZ(t,e)&&t.listSize===e.listSize&&t.children.length===e.children.length&&KZ.compareManyFields(t.children,e.children)},BZ.prototype.visitMap=function(t,e){return t===e||PZ(t,e)&&t.keysSorted===e.keysSorted&&t.children.length===e.children.length&&KZ.compareManyFields(t.children,e.children)}
|
|
14325
14328
|
const KZ=new BZ
|
|
14326
14329
|
function YZ(t,e){return KZ.compareSchemas(t,e)}function XZ(t,e){return function(t,e){const n=[...t.fields],i=[],s={numBatches:e.reduce(((t,e)=>Math.max(t,e.length)),0)}
|
|
14327
14330
|
let o=0,r=0,a=-1
|
|
@@ -14378,7 +14381,7 @@ for(const[a,l]of t.fields.entries()){const t=e[a]
|
|
|
14378
14381
|
t&&t.length===n||(s[a]=l.clone({nullable:!0}),o[a]=null!==(i=null==t?void 0:t._changeLengthAndBackfillNullBitmap(n))&&void 0!==i?i:PG({type:l.type,length:n,nullCount:n,nullBitmap:new Uint8Array(r)}))}return[t.assign(s),PG({type:new Yj(s),length:n,children:o})]}function sK(t,e,n=new Map){var i,s
|
|
14379
14382
|
if((null!==(i=null==t?void 0:t.length)&&void 0!==i?i:0)>0&&(null==t?void 0:t.length)===(null==e?void 0:e.length))for(let i=-1,o=t.length;++i<o;){const{type:o}=t[i],r=e[i]
|
|
14380
14383
|
for(const t of[r,...(null===(s=null==r?void 0:r.dictionary)||void 0===s?void 0:s.data)||[]])sK(o.children,null==t?void 0:t.children,n)
|
|
14381
|
-
if(
|
|
14384
|
+
if(Oj.isDictionary(o)){const{id:t}=o
|
|
14382
14385
|
if(n.has(t)){if(n.get(t)!==r.dictionary)throw new Error("Cannot create Schema containing two different dictionaries with the same Id")}else(null==r?void 0:r.dictionary)&&n.set(t,r.dictionary)}}return n}tK=Symbol.toStringTag,nK[tK]=(t=>(t._nullCount=-1,t[Symbol.isConcatSpreadable]=!0,"RecordBatch"))(nK.prototype)
|
|
14383
14386
|
class oK extends nK{constructor(t){const e=t.fields.map((t=>PG({type:t.type})))
|
|
14384
14387
|
super(t,PG({type:new Yj(t.fields),nullCount:0,children:e}))}}let rK=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsMessage(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsMessage(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}version(){const t=this.bb.__offset(this.bb_pos,4)
|
|
@@ -14390,11 +14393,11 @@ return n?(e||new _q).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos+n)+4
|
|
|
14390
14393
|
return t?this.bb.__vector_len(this.bb_pos+t):0}static startMessage(t){t.startObject(5)}static addVersion(t,e){t.addFieldInt16(0,e,eq.V1)}static addHeaderType(t,e){t.addFieldInt8(1,e,Zq.NONE)}static addHeader(t,e){t.addFieldOffset(2,e,0)}static addBodyLength(t,e){t.addFieldInt64(3,e,BigInt("0"))}static addCustomMetadata(t,e){t.addFieldOffset(4,e,0)}static createCustomMetadataVector(t,e){t.startVector(4,e.length,4)
|
|
14391
14394
|
for(let n=e.length-1;n>=0;n--)t.addOffset(e[n])
|
|
14392
14395
|
return t.endVector()}static startCustomMetadataVector(t,e){t.startVector(4,e,4)}static endMessage(t){return t.endObject()}static finishMessageBuffer(t,e){t.finish(e)}static finishSizePrefixedMessageBuffer(t,e){t.finish(e,void 0,!0)}static createMessage(e,n,i,s,o,r){return t.startMessage(e),t.addVersion(e,n),t.addHeaderType(e,i),t.addHeader(e,s),t.addBodyLength(e,o),t.addCustomMetadata(e,r),t.endMessage(e)}}
|
|
14393
|
-
const aK=new class extends oW{visit(t,e){return null==t||null==e?void 0:super.visit(t,e)}visitNull(t,e){return Pq.startNull(e),Pq.endNull(e)}visitInt(t,e){return kq.startInt(e),kq.addBitWidth(e,t.bitWidth),kq.addIsSigned(e,t.isSigned),kq.endInt(e)}visitFloat(t,e){return
|
|
14396
|
+
const aK=new class extends oW{visit(t,e){return null==t||null==e?void 0:super.visit(t,e)}visitNull(t,e){return Pq.startNull(e),Pq.endNull(e)}visitInt(t,e){return kq.startInt(e),kq.addBitWidth(e,t.bitWidth),kq.addIsSigned(e,t.isSigned),kq.endInt(e)}visitFloat(t,e){return Oq.startFloatingPoint(e),Oq.addPrecision(e,t.precision),Oq.endFloatingPoint(e)}visitBinary(t,e){return Iq.startBinary(e),Iq.endBinary(e)}visitLargeBinary(t,e){return Fq.startLargeBinary(e),Fq.endLargeBinary(e)}visitBool(t,e){return Mq.startBool(e),Mq.endBool(e)}visitUtf8(t,e){return qq.startUtf8(e),qq.endUtf8(e)}visitLargeUtf8(t,e){return Nq.startLargeUtf8(e),Nq.endLargeUtf8(e)}visitDecimal(t,e){return Dq.startDecimal(e),Dq.addScale(e,t.scale),Dq.addPrecision(e,t.precision),Dq.addBitWidth(e,t.bitWidth),Dq.endDecimal(e)}visitDate(t,e){return $q.startDate(e),$q.addUnit(e,t.unit),$q.endDate(e)}visitTime(t,e){return zq.startTime(e),zq.addUnit(e,t.unit),zq.addBitWidth(e,t.bitWidth),zq.endTime(e)}visitTimestamp(t,e){const n=t.timezone&&e.createString(t.timezone)||void 0
|
|
14394
14397
|
return Hq.startTimestamp(e),Hq.addUnit(e,t.unit),void 0!==n&&Hq.addTimezone(e,n),Hq.endTimestamp(e)}visitInterval(t,e){return Rq.startInterval(e),Rq.addUnit(e,t.unit),Rq.endInterval(e)}visitDuration(t,e){return Eq.startDuration(e),Eq.addUnit(e,t.unit),Eq.endDuration(e)}visitList(t,e){return Lq.startList(e),Lq.endList(e)}visitStruct(t,e){return Vq.startStruct_(e),Vq.endStruct_(e)}visitUnion(t,e){Uq.startTypeIdsVector(e,t.typeIds.length)
|
|
14395
14398
|
const n=Uq.createTypeIdsVector(e,t.typeIds)
|
|
14396
14399
|
return Uq.startUnion(e),Uq.addMode(e,t.mode),Uq.addTypeIds(e,n),Uq.endUnion(e)}visitDictionary(t,e){const n=this.visit(t.indices,e)
|
|
14397
|
-
return Sq.startDictionaryEncoding(e),Sq.addId(e,BigInt(t.id)),Sq.addIsOrdered(e,t.isOrdered),void 0!==n&&Sq.addIndexType(e,n),Sq.endDictionaryEncoding(e)}visitFixedSizeBinary(t,e){return Aq.startFixedSizeBinary(e),Aq.addByteWidth(e,t.byteWidth),Aq.endFixedSizeBinary(e)}visitFixedSizeList(t,e){return
|
|
14400
|
+
return Sq.startDictionaryEncoding(e),Sq.addId(e,BigInt(t.id)),Sq.addIsOrdered(e,t.isOrdered),void 0!==n&&Sq.addIndexType(e,n),Sq.endDictionaryEncoding(e)}visitFixedSizeBinary(t,e){return Aq.startFixedSizeBinary(e),Aq.addByteWidth(e,t.byteWidth),Aq.endFixedSizeBinary(e)}visitFixedSizeList(t,e){return Tq.startFixedSizeList(e),Tq.addListSize(e,t.listSize),Tq.endFixedSizeList(e)}visitMap(t,e){return Bq.startMap(e),Bq.addKeysSorted(e,t.keysSorted),Bq.endMap(e)}}
|
|
14398
14401
|
function lK(t){return new bK(t.count,dK(t.columns),hK(t.columns))}function cK(t,e){return(t.children||[]).filter(Boolean).map((t=>hZ.fromJSON(t,e)))}function dK(t){return(t||[]).reduce(((t,e)=>{return[...t,new xK(e.count,(n=e.VALIDITY,(n||[]).reduce(((t,e)=>t+ +(0===e)),0))),...dK(e.children)]
|
|
14399
14402
|
var n}),[])}function hK(t,e=[]){for(let n=-1,i=(t||[]).length;++n<i;){const i=t[n]
|
|
14400
14403
|
i.VALIDITY&&e.push(new wK(e.length,i.VALIDITY.length)),i.TYPE_ID&&e.push(new wK(e.length,i.TYPE_ID.length)),i.OFFSET&&e.push(new wK(e.length,i.OFFSET.length)),i.DATA&&e.push(new wK(e.length,i.DATA.length)),e=hK(i.children,e)}return e}function uK(t=[]){return new Map(t.map((({key:t,value:e})=>[t,e])))}function pK(t){return new Fj(t.isSigned,t.bitWidth)}function fK(t,e){const n=t.type.name
|
|
@@ -14443,7 +14446,7 @@ case jq.LargeUtf8:return new zj
|
|
|
14443
14446
|
case jq.Bool:return new Hj
|
|
14444
14447
|
case jq.List:return new Kj((e||[])[0])
|
|
14445
14448
|
case jq.Struct_:return new Yj(e||[])}switch(n){case jq.Int:{const e=t.type(new kq)
|
|
14446
|
-
return new Fj(e.isSigned(),e.bitWidth())}case jq.FloatingPoint:{const e=t.type(new
|
|
14449
|
+
return new Fj(e.isSigned(),e.bitWidth())}case jq.FloatingPoint:{const e=t.type(new Oq)
|
|
14447
14450
|
return new Lj(e.precision())}case jq.Decimal:{const e=t.type(new Dq)
|
|
14448
14451
|
return new Uj(e.scale(),e.precision(),e.bitWidth())}case jq.Date:{const e=t.type(new $q)
|
|
14449
14452
|
return new qj(e.unit())}case jq.Time:{const e=t.type(new zq)
|
|
@@ -14452,12 +14455,12 @@ return new Wj(e.unit(),e.timezone())}case jq.Interval:{const e=t.type(new Rq)
|
|
|
14452
14455
|
return new Gj(e.unit())}case jq.Duration:{const e=t.type(new Eq)
|
|
14453
14456
|
return new Zj(e.unit())}case jq.Union:{const n=t.type(new Uq)
|
|
14454
14457
|
return new Xj(n.mode(),n.typeIdsArray()||[],e||[])}case jq.FixedSizeBinary:{const e=t.type(new Aq)
|
|
14455
|
-
return new Jj(e.byteWidth())}case jq.FixedSizeList:{const n=t.type(new
|
|
14458
|
+
return new Jj(e.byteWidth())}case jq.FixedSizeList:{const n=t.type(new Tq)
|
|
14456
14459
|
return new Qj(n.listSize(),(e||[])[0])}case jq.Map:{const n=t.type(new Bq)
|
|
14457
14460
|
return new tW((e||[])[0],n.keysSorted())}}throw new Error(`Unrecognized type: "${jq[n]}" (${n})`)}hZ.encode=function(t,e){let n=-1,i=-1,s=-1
|
|
14458
14461
|
const o=e.type
|
|
14459
14462
|
let r=e.typeId
|
|
14460
|
-
|
|
14463
|
+
Oj.isDictionary(o)?(r=o.dictionary.typeId,s=aK.visit(o,t),i=aK.visit(o.dictionary,t)):i=aK.visit(o,t)
|
|
14461
14464
|
const a=(o.children||[]).map((e=>hZ.encode(t,e))),l=Wq.createChildrenVector(t,a),c=e.metadata&&e.metadata.size>0?Wq.createCustomMetadataVector(t,[...e.metadata].map((([e,n])=>{const i=t.createString(`${e}`),s=t.createString(`${n}`)
|
|
14462
14465
|
return _q.startKeyValue(t),_q.addKey(t,i),_q.addValue(t,s),_q.endKeyValue(t)}))):-1
|
|
14463
14466
|
e.name&&(n=t.createString(e.name))
|
|
@@ -14502,7 +14505,7 @@ return i}readMetadataLength(){const t=this.source.read(RK),e=t&&new uq(t),n=(nul
|
|
|
14502
14505
|
return{done:0===n,value:n}}readMetadata(t){const e=this.source.read(t)
|
|
14503
14506
|
if(!e)return yZ
|
|
14504
14507
|
if(e.byteLength<t)throw new Error(DK(t,e.byteLength))
|
|
14505
|
-
return{done:!1,value:vK.decode(e)}}}class
|
|
14508
|
+
return{done:!1,value:vK.decode(e)}}}class TK{constructor(t,e){this.source=t instanceof _Z?t:RU(t)?new DZ(t,e):new _Z(t)}[Symbol.asyncIterator](){return this}next(){return e(this,void 0,void 0,(function*(){let t
|
|
14506
14509
|
return(t=yield this.readMetadataLength()).done||-1===t.value&&(t=yield this.readMetadataLength()).done||(t=yield this.readMetadata(t.value)).done?yZ:t}))}throw(t){return e(this,void 0,void 0,(function*(){return yield this.source.throw(t)}))}return(t){return e(this,void 0,void 0,(function*(){return yield this.source.return(t)}))}readMessage(t){return e(this,void 0,void 0,(function*(){let e
|
|
14507
14510
|
if((e=yield this.next()).done)return null
|
|
14508
14511
|
if(null!=t&&e.value.headerType!==t)throw new Error(MK(t))
|
|
@@ -14515,7 +14518,7 @@ return i}))}readMetadataLength(){return e(this,void 0,void 0,(function*(){const
|
|
|
14515
14518
|
return{done:0===n,value:n}}))}readMetadata(t){return e(this,void 0,void 0,(function*(){const e=yield this.source.read(t)
|
|
14516
14519
|
if(!e)return yZ
|
|
14517
14520
|
if(e.byteLength<t)throw new Error(DK(t,e.byteLength))
|
|
14518
|
-
return{done:!1,value:vK.decode(e)}}))}}class
|
|
14521
|
+
return{done:!1,value:vK.decode(e)}}))}}class OK extends AK{constructor(t){super(new Uint8Array(0)),this._schema=!1,this._body=[],this._batchIndex=0,this._dictionaryIndex=0,this._json=t instanceof wZ?t:new wZ(t)}next(){const{_json:t}=this
|
|
14519
14522
|
if(!this._schema){this._schema=!0
|
|
14520
14523
|
return{done:!1,value:vK.fromJSON(t.schema,Zq.Schema)}}if(this._dictionaryIndex<t.dictionaries.length){const e=t.dictionaries[this._dictionaryIndex++]
|
|
14521
14524
|
this._body=e.data.columns
|
|
@@ -14531,16 +14534,16 @@ for(let t=0;t<6;t+=1)NK[t]=FK.codePointAt(t)
|
|
|
14531
14534
|
function LK(t,e=0){for(let n=-1,i=NK.length;++n<i;)if(NK[n]!==t[e+n])return!1
|
|
14532
14535
|
return!0}const BK=NK.length,PK=BK+RK,VK=2*BK+RK
|
|
14533
14536
|
class zK extends xZ{constructor(t){super(),this._impl=t}get closed(){return this._impl.closed}get schema(){return this._impl.schema}get autoDestroy(){return this._impl.autoDestroy}get dictionaries(){return this._impl.dictionaries}get numDictionaries(){return this._impl.numDictionaries}get numRecordBatches(){return this._impl.numRecordBatches}get footer(){return this._impl.isFile()?this._impl.footer:null}isSync(){return this._impl.isSync()}isAsync(){return this._impl.isAsync()}isFile(){return this._impl.isFile()}isStream(){return this._impl.isStream()}next(){return this._impl.next()}throw(t){return this._impl.throw(t)}return(t){return this._impl.return(t)}cancel(){return this._impl.cancel()}reset(t){return this._impl.reset(t),this._DOMStream=void 0,this._nodeStream=void 0,this}open(t){const e=this._impl.open(t)
|
|
14534
|
-
return DU(e)?e.then((()=>this)):this}readRecordBatch(t){return this._impl.isFile()?this._impl.readRecordBatch(t):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return XU.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return XU.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(t){throw new Error('"throughNode" not available in this environment')}static throughDOM(t,e){throw new Error('"throughDOM" not available in this environment')}static from(t){return t instanceof zK?t:
|
|
14537
|
+
return DU(e)?e.then((()=>this)):this}readRecordBatch(t){return this._impl.isFile()?this._impl.readRecordBatch(t):null}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}toDOMStream(){return XU.toDOMStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this})}toNodeStream(){return XU.toNodeStream(this.isSync()?{[Symbol.iterator]:()=>this}:{[Symbol.asyncIterator]:()=>this},{objectMode:!0})}static throughNode(t){throw new Error('"throughNode" not available in this environment')}static throughDOM(t,e){throw new Error('"throughDOM" not available in this environment')}static from(t){return t instanceof zK?t:TU(t)?function(t){return new HK(new XK(t))}(t):RU(t)?function(t){return e(this,void 0,void 0,(function*(){const{size:e}=yield t.stat(),n=new DZ(t,e)
|
|
14535
14538
|
return e>=VK&&LK(yield n.readAt(0,BK+7&-8))?new jK(new YK(n)):new UK(new ZK(n))}))}(t):DU(t)?(()=>e(this,void 0,void 0,(function*(){return yield zK.from(yield t)})))():FU(t)||LU(t)||BU(t)||AU(t)?function(t){return e(this,void 0,void 0,(function*(){const e=yield t.peek(BK+7&-8)
|
|
14536
14539
|
return e&&e.byteLength>=4?LK(e)?new qK(new KK(yield t.read())):new UK(new ZK(t)):new UK(new ZK(function(){return s(this,arguments,(function*(){}))}()))}))}(new _Z(t)):function(t){const e=t.peek(BK+7&-8)
|
|
14537
|
-
return e&&e.byteLength>=4?LK(e)?new qK(new KK(t.read())):new HK(new GK(t)):new HK(new GK(function*(){}()))}(new SZ(t))}static readAll(t){return t instanceof zK?t.isSync()?QK(t):tY(t):
|
|
14540
|
+
return e&&e.byteLength>=4?LK(e)?new qK(new KK(t.read())):new HK(new GK(t)):new HK(new GK(function*(){}()))}(new SZ(t))}static readAll(t){return t instanceof zK?t.isSync()?QK(t):tY(t):TU(t)||ArrayBuffer.isView(t)||EU(t)||OU(t)?QK(t):tY(t)}}class HK extends zK{constructor(t){super(t),this._impl=t}readAll(){return[...this]}[Symbol.iterator](){return this._impl[Symbol.iterator]()}[Symbol.asyncIterator](){return s(this,arguments,(function*(){yield i(yield*o(r(this[Symbol.iterator]())))}))}}class UK extends zK{constructor(t){super(t),this._impl=t}readAll(){return e(this,void 0,void 0,(function*(){var t,e,n,i
|
|
14538
14541
|
const s=new Array
|
|
14539
14542
|
try{for(var o,a=!0,l=r(this);!(t=(o=yield l.next()).done);a=!0){i=o.value,a=!1
|
|
14540
14543
|
const t=i
|
|
14541
14544
|
s.push(t)}}catch(t){e={error:t}}finally{try{a||t||!(n=l.return)||(yield n.call(l))}finally{if(e)throw e.error}}return s}))}[Symbol.iterator](){throw new Error("AsyncRecordBatchStreamReader is not Iterable")}[Symbol.asyncIterator](){return this._impl[Symbol.asyncIterator]()}}class qK extends HK{constructor(t){super(t),this._impl=t}}class jK extends UK{constructor(t){super(t),this._impl=t}}class WK{get numDictionaries(){return this._dictionaryIndex}get numRecordBatches(){return this._recordBatchIndex}constructor(t=new Map){this.closed=!1,this.autoDestroy=!0,this._dictionaryIndex=0,this._recordBatchIndex=0,this.dictionaries=t}isSync(){return!1}isAsync(){return!1}isFile(){return!1}isStream(){return!1}reset(t){return this._dictionaryIndex=0,this._recordBatchIndex=0,this.schema=t,this.dictionaries=new Map,this}_loadRecordBatch(t,e){const n=this._loadVectors(t,e,this.schema.fields),i=PG({type:new Yj(this.schema.fields),length:t.length,children:n})
|
|
14542
14545
|
return new nK(this.schema,i)}_loadDictionaryBatch(t,e){const{id:n,isDelta:i}=t,{dictionaries:s,schema:o}=this,r=s.get(n),a=o.dictionaries.get(n),l=this._loadVectors(t.data,e,[a])
|
|
14543
|
-
return(r&&i?r.concat(new rZ(l)):new rZ(l)).memoize()}_loadVectors(t,e,n){return new NZ(e,t.nodes,t.buffers,this.dictionaries,this.schema.metadataVersion).visitMany(n)}}class GK extends WK{constructor(t,e){super(e),this._reader=
|
|
14546
|
+
return(r&&i?r.concat(new rZ(l)):new rZ(l)).memoize()}_loadVectors(t,e,n){return new NZ(e,t.nodes,t.buffers,this.dictionaries,this.schema.metadataVersion).visitMany(n)}}class GK extends WK{constructor(t,e){super(e),this._reader=TU(t)?new OK(this._handle=t):new AK(this._handle=t)}isSync(){return!0}isStream(){return!0}[Symbol.iterator](){return this}cancel(){!this.closed&&(this.closed=!0)&&(this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}open(t){return this.closed||(this.autoDestroy=JK(this,t),this.schema||(this.schema=this._reader.readSchema())||this.cancel()),this}throw(t){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.throw(t):yZ}return(t){return!this.closed&&this.autoDestroy&&(this.closed=!0)?this.reset()._reader.return(t):yZ}next(){if(this.closed)return yZ
|
|
14544
14547
|
let t
|
|
14545
14548
|
const{_reader:e}=this
|
|
14546
14549
|
for(;t=this._readNextMessageAndValidate();)if(t.isSchema())this.reset(t.header())
|
|
@@ -14548,7 +14551,7 @@ else{if(t.isRecordBatch()){this._recordBatchIndex++
|
|
|
14548
14551
|
const n=t.header(),i=e.readMessageBody(t.bodyLength)
|
|
14549
14552
|
return{done:!1,value:this._loadRecordBatch(n,i)}}if(t.isDictionaryBatch()){this._dictionaryIndex++
|
|
14550
14553
|
const n=t.header(),i=e.readMessageBody(t.bodyLength),s=this._loadDictionaryBatch(n,i)
|
|
14551
|
-
this.dictionaries.set(n.id,s)}}return this.schema&&0===this._recordBatchIndex?(this._recordBatchIndex++,{done:!1,value:new oK(this.schema)}):this.return()}_readNextMessageAndValidate(t){return this._reader.readMessage(t)}}class ZK extends WK{constructor(t,e){super(e),this._reader=new
|
|
14554
|
+
this.dictionaries.set(n.id,s)}}return this.schema&&0===this._recordBatchIndex?(this._recordBatchIndex++,{done:!1,value:new oK(this.schema)}):this.return()}_readNextMessageAndValidate(t){return this._reader.readMessage(t)}}class ZK extends WK{constructor(t,e){super(e),this._reader=new TK(this._handle=t)}isAsync(){return!0}isStream(){return!0}[Symbol.asyncIterator](){return this}cancel(){return e(this,void 0,void 0,(function*(){!this.closed&&(this.closed=!0)&&(yield this.reset()._reader.return(),this._reader=null,this.dictionaries=null)}))}open(t){return e(this,void 0,void 0,(function*(){return this.closed||(this.autoDestroy=JK(this,t),this.schema||(this.schema=yield this._reader.readSchema())||(yield this.cancel())),this}))}throw(t){return e(this,void 0,void 0,(function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.throw(t):yZ}))}return(t){return e(this,void 0,void 0,(function*(){return!this.closed&&this.autoDestroy&&(this.closed=!0)?yield this.reset()._reader.return(t):yZ}))}next(){return e(this,void 0,void 0,(function*(){if(this.closed)return yZ
|
|
14552
14555
|
let t
|
|
14553
14556
|
const{_reader:e}=this
|
|
14554
14557
|
for(;t=yield this._readNextMessageAndValidate();)if(t.isSchema())yield this.reset(t.header())
|
|
@@ -14754,8 +14757,8 @@ return o[n](s[n](e))}}function DY(){var t,e,n,i,s,o,r=SY,a=SY,l=Yz,c=_Y
|
|
|
14754
14757
|
function d(){var t,e,n,l=Math.min(r.length,a.length)
|
|
14755
14758
|
return c!==_Y&&(t=r[0],e=r[l-1],t>e&&(n=t,t=e,e=n),c=function(n){return Math.max(t,Math.min(e,n))}),i=l>2?$Y:MY,s=o=null,h}function h(e){return null==e||isNaN(e=+e)?n:(s||(s=i(r.map(t),a,l)))(t(c(e)))}return h.invert=function(n){return c(e((o||(o=i(a,r.map(t),jz)))(n)))},h.domain=function(t){return arguments.length?(r=Array.from(t,kY),d()):r.slice()},h.range=function(t){return arguments.length?(a=Array.from(t),d()):a.slice()},h.rangeRound=function(t){return a=Array.from(t),l=Xz,d()},h.clamp=function(t){return arguments.length?(c=!!t||_Y,d()):c!==_Y},h.interpolate=function(t){return arguments.length?(l=t,d()):l},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,i){return t=n,e=i,d()}}function EY(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null
|
|
14756
14759
|
var n,i=t.slice(0,n)
|
|
14757
|
-
return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function AY(t){return(t=EY(Math.abs(t)))?t[1]:NaN}var OY
|
|
14758
|
-
function RY(t){if(!(e=
|
|
14760
|
+
return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function AY(t){return(t=EY(Math.abs(t)))?t[1]:NaN}var TY,OY=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i
|
|
14761
|
+
function RY(t){if(!(e=OY.exec(t)))throw new Error("invalid format: "+t)
|
|
14759
14762
|
var e
|
|
14760
14763
|
return new FY({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function FY(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function NY(t,e){var n=EY(t,e)
|
|
14761
14764
|
if(!n)return t+""
|
|
@@ -14763,7 +14766,7 @@ var i=n[0],s=n[1]
|
|
|
14763
14766
|
return s<0?"0."+new Array(-s).join("0")+i:i.length>s+1?i.slice(0,s+1)+"."+i.slice(s+1):i+new Array(s-i.length+2).join("0")}RY.prototype=FY.prototype,FY.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}
|
|
14764
14767
|
var LY={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>NY(100*t,e),r:NY,s:function(t,e){var n=EY(t,e)
|
|
14765
14768
|
if(!n)return t+""
|
|
14766
|
-
var i=n[0],s=n[1],o=s-(
|
|
14769
|
+
var i=n[0],s=n[1],o=s-(TY=3*Math.max(-8,Math.min(8,Math.floor(s/3))))+1,r=i.length
|
|
14767
14770
|
return o===r?i:o>r?i+new Array(o-r+1).join("0"):o>0?i.slice(0,o)+"."+i.slice(o):"0."+new Array(1-o).join("0")+EY(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)}
|
|
14768
14771
|
function BY(t){return t}var PY,VY,zY,HY=Array.prototype.map,UY=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"]
|
|
14769
14772
|
function qY(t){var e,n,i=void 0===t.grouping||void 0===t.thousands?BY:(e=HY.call(t.grouping,Number),n=t.thousands+"",function(t,i){for(var s=t.length,o=[],r=0,a=e[0],l=0;s>0&&a>0&&(l+a+1>i&&(a=Math.max(1,i-l)),o.push(t.substring(s-=a,s+a)),!((l+=a+1)>i));)a=e[r=(r+1)%e.length]
|
|
@@ -14779,7 +14782,7 @@ break
|
|
|
14779
14782
|
case"0":0===s&&(s=i),e=i
|
|
14780
14783
|
break
|
|
14781
14784
|
default:if(!+t[i])break t
|
|
14782
|
-
s>0&&(s=0)}return s>0?t.slice(0,s)+t.slice(e+1):t}(t)),S&&0==+t&&"+"!==h&&(S=!1),u=(S?"("===h?h:c:"-"===h||"("===h?"":h)+u,k=("s"===b?UY[8+
|
|
14785
|
+
s>0&&(s=0)}return s>0?t.slice(0,s)+t.slice(e+1):t}(t)),S&&0==+t&&"+"!==h&&(S=!1),u=(S?"("===h?h:c:"-"===h||"("===h?"":h)+u,k=("s"===b?UY[8+TY/3]:"")+k+(S&&"("===h?")":""),C)for(s=-1,o=t.length;++s<o;)if(48>(l=t.charCodeAt(s))||l>57){k=(46===l?r+t.slice(s+1):t.slice(s))+k,t=t.slice(0,s)
|
|
14783
14786
|
break}}m&&!p&&(t=i(t,1/0))
|
|
14784
14787
|
var _=u.length+t.length+k.length,I=_<f?new Array(f-_+1).join(e):""
|
|
14785
14788
|
switch(m&&p&&(t=i(I+t,I.length?f-k.length:1/0),I=""),n){case"<":t=u+t+k+I
|
|
@@ -14863,9 +14866,9 @@ i.font=`${n.toString()}px sans-serif`,i.fillStyle="#ffffff",i.textAlign="center"
|
|
|
14863
14866
|
const s=i.measureText("M"),o=this.wafermap.transform.invert([0,0]),r=this.wafermap.transform.invert([this.wafermap.canvas.width,this.wafermap.canvas.height])
|
|
14864
14867
|
o[0]-=t,o[1]-=e
|
|
14865
14868
|
for(const n of this.dies)this.isDieVisible(n,o,r)&&i.fillText(n.text,n.x+t/2,n.y+e/2+s.width/2,t-t/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(t,e,n){return t.x>=e[0]&&t.x<n[0]&&t.y>=e[1]&&t.y<n[1]}}const aX=["highlightedTags","canvasWidth","canvasHeight","originLocation","gridMinX","gridMaxX","gridMinY","gridMaxY","dies","maxCharacters","colorScale","colorScaleMode","dieLabelsHidden","dieLabelsSuffix","transform","hoverDie"]
|
|
14866
|
-
class lX extends
|
|
14869
|
+
class lX extends TE{constructor(t){super(aX),this.wafermap=t,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?b.queueUpdate((()=>{this.wafermap.update(),this.untrackAll(),this.updateQueued=!1})):(async()=>{await this.wafermap.currentTask,b.queueUpdate((()=>{this.wafermap.update(),this.untrackAll(),this.updateQueued=!1,this.wafermap.currentTask=void 0}))})())}}class cX{constructor(t){this.wafermap=t,this.invalidGridDimensions=!1,this.invalidDiesTableSchema=!1}getValidity(){return{invalidGridDimensions:this.invalidGridDimensions,invalidDiesTableSchema:this.invalidDiesTableSchema}}isValid(){return Object.values(this.getValidity()).every((t=>!1===t))}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
|
|
14867
14870
|
else{const t=this.wafermap.diesTable.schema.fields,e=t.find((t=>"colIndex"===t.name)),n=t.find((t=>"rowIndex"===t.name)),i=t.find((t=>"value"===t.name))
|
|
14868
|
-
e&&n&&i&&
|
|
14871
|
+
e&&n&&i&&Oj.isInt(e.type)&&32===e.type.bitWidth&&Oj.isInt(n.type)&&32===n.type.bitWidth&&Oj.isFloat(i.type)&&i.type.precision===iq.DOUBLE||(this.invalidDiesTableSchema=!0)}return!this.invalidDiesTableSchema}}
|
|
14869
14872
|
/**
|
|
14870
14873
|
* @license
|
|
14871
14874
|
* Copyright 2019 Google LLC
|
|
@@ -14922,7 +14925,7 @@ function MX(t,e){return IX.set(t,e),t}function $X(t){for(const[e,n]of gX)if(n.ca
|
|
|
14922
14925
|
return[{type:"HANDLER",name:e,value:i},s]}return[{type:"RAW",value:t},IX.get(t)||[]]}function DX(t){switch(t.type){case"HANDLER":return gX.get(t.name).deserialize(t.value)
|
|
14923
14926
|
case"RAW":return t.value}}function EX(t,e,n,i){return new Promise((s=>{const o=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-")
|
|
14924
14927
|
e.set(o,s),t.start&&t.start(),t.postMessage(Object.assign({id:o},n),i)}))}let AX
|
|
14925
|
-
class OX{constructor(t){this.wafermap=t,this.minDieDim=100}async setupWafer(t){if(void 0===this.matrixRenderer){const{matrixRenderer:t}=await(async()=>{if(void 0===AX){const t=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 const pendingListeners = new Map();\n ep.addEventListener("message", function handleMessage(ev) {\n const { data } = ev;\n if (!data || !data.id) {\n return;\n }\n const resolver = pendingListeners.get(data.id);\n if (!resolver) {\n return;\n }\n try {\n resolver(data);\n }\n finally {\n pendingListeners.delete(data.id);\n }\n });\n return createProxy(ep, pendingListeners, [], 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, new Map(), {\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, pendingListeners, 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 pendingListeners.clear();\n isProxyReleased = true;\n };\n }\n if (prop === "then") {\n if (path.length === 0) {\n return { then: () => proxy };\n }\n const r = requestResponseMessage(ep, pendingListeners, {\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, pendingListeners, [...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, pendingListeners, {\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, pendingListeners, {\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, pendingListeners, path.slice(0, -1));\n }\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(ep, pendingListeners, {\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, pendingListeners, {\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, pendingListeners, msg, transfers) {\n return new Promise((resolve) => {\n const id = generateUUID();\n pendingListeners.set(id, resolve);\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"})
|
|
14928
|
+
class TX{constructor(t){this.wafermap=t,this.minDieDim=100}async setupWafer(t){if(void 0===this.matrixRenderer){const{matrixRenderer:t}=await(async()=>{if(void 0===AX){const t=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 const pendingListeners = new Map();\n ep.addEventListener("message", function handleMessage(ev) {\n const { data } = ev;\n if (!data || !data.id) {\n return;\n }\n const resolver = pendingListeners.get(data.id);\n if (!resolver) {\n return;\n }\n try {\n resolver(data);\n }\n finally {\n pendingListeners.delete(data.id);\n }\n });\n return createProxy(ep, pendingListeners, [], 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, new Map(), {\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, pendingListeners, 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 pendingListeners.clear();\n isProxyReleased = true;\n };\n }\n if (prop === "then") {\n if (path.length === 0) {\n return { then: () => proxy };\n }\n const r = requestResponseMessage(ep, pendingListeners, {\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, pendingListeners, [...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, pendingListeners, {\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, pendingListeners, {\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, pendingListeners, path.slice(0, -1));\n }\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(ep, pendingListeners, {\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, pendingListeners, {\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, pendingListeners, msg, transfers) {\n return new Promise((resolve) => {\n const id = generateUUID();\n pendingListeners.set(id, resolve);\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"})
|
|
14926
14929
|
AX=URL.createObjectURL(t)}const t=new Worker(AX),e=yX(t)
|
|
14927
14930
|
return{matrixRenderer:await new e,terminate:()=>t.terminate()}})()
|
|
14928
14931
|
this.matrixRenderer=t
|
|
@@ -14933,7 +14936,7 @@ if(void 0===t)return""
|
|
|
14933
14936
|
const e=this.wafermap.computations.verticalScale(this.wafermap.hoverDie.y)
|
|
14934
14937
|
if(void 0===e)return""
|
|
14935
14938
|
const n=this.wafermap.transform.apply([t+this.wafermap.computations.margin.left,e+this.wafermap.computations.margin.top])
|
|
14936
|
-
return`translate(${n[0]}, ${n[1]})`}return""}}let
|
|
14939
|
+
return`translate(${n[0]}, ${n[1]})`}return""}}let OX=class{constructor(t){this.wafermap=t,this.onMouseMove=t=>{if(this.wafermap.isExperimentalUpdate())return
|
|
14937
14940
|
const e={x:t.offsetX,y:t.offsetY}
|
|
14938
14941
|
if(!this.hoversOverDie(e))return void(this.wafermap.hoverDie=void 0)
|
|
14939
14942
|
const n=this.wafermap.transform.invert([e.x,e.y]),i=this.calculateDieCoordinates({x:n[0],y:n[1]})
|
|
@@ -14961,7 +14964,7 @@ return t===KY||t===XY?n.domain([this._gridMinX,this._gridMaxX+1]).range([0,e]):n
|
|
|
14961
14964
|
return t===KY||t===YY?n.domain([this._gridMinY-1,this._gridMaxY]).range([e,0]):n.domain([this._gridMinY,this._gridMaxY+1]).range([0,e])}calculateMarginAddition(t,e){return{top:t.top+e.top,right:t.right+e.right,bottom:t.bottom+e.bottom,left:t.left+e.left}}calculateColorScale(){if(this.wafermap.colorScaleMode===eX){const t=this.wafermap.colorScale.values.map((t=>+t)),e=GY().domain(t).range(this.wafermap.colorScale.colors)
|
|
14962
14965
|
let n=t[0],i=t[0]
|
|
14963
14966
|
t.forEach((t=>{t<n&&(n=t),t>i&&(i=t)}))
|
|
14964
|
-
return bY(n,i,(i-n)/(t.length*this.colorScaleResolution)).concat(i).map((t=>({color:e(t),value:t})))}return this.wafermap.colorScale.colors.map(((t,e)=>({color:t,value:+this.wafermap.colorScale.values[e]}))).sort(((t,e)=>t.value-e.value))}calculateLabelsFontSize(t,e){return Math.min(t.height,t.width/(.5*Math.max(2,e))*this.fontSizeFactor)}}class LX extends We{constructor(){super(...arguments),this.waferMapUpdateTracker=new lX(this.asRequiredFieldsWaferMap),this.originLocation=KY,this.gridMinX=void 0,this.gridMaxX=void 0,this.gridMinY=void 0,this.gridMaxY=void 0,this.orientation=JY,this.maxCharacters=4,this.dieLabelsHidden=!1,this.dieLabelsSuffix="",this.colorScaleMode=eX,this.computations=new NX(this.asRequiredFieldsWaferMap),this.dataManager=new oX(this.asRequiredFieldsWaferMap),this.workerRenderer=new
|
|
14967
|
+
return bY(n,i,(i-n)/(t.length*this.colorScaleResolution)).concat(i).map((t=>({color:e(t),value:t})))}return this.wafermap.colorScale.colors.map(((t,e)=>({color:t,value:+this.wafermap.colorScale.values[e]}))).sort(((t,e)=>t.value-e.value))}calculateLabelsFontSize(t,e){return Math.min(t.height,t.width/(.5*Math.max(2,e))*this.fontSizeFactor)}}class LX extends We{constructor(){super(...arguments),this.waferMapUpdateTracker=new lX(this.asRequiredFieldsWaferMap),this.originLocation=KY,this.gridMinX=void 0,this.gridMaxX=void 0,this.gridMinY=void 0,this.gridMaxY=void 0,this.orientation=JY,this.maxCharacters=4,this.dieLabelsHidden=!1,this.dieLabelsSuffix="",this.colorScaleMode=eX,this.computations=new NX(this.asRequiredFieldsWaferMap),this.dataManager=new oX(this.asRequiredFieldsWaferMap),this.workerRenderer=new TX(this.asRequiredFieldsWaferMap),this.renderer=new rX(this.asRequiredFieldsWaferMap),this.renderQueued=!1,this.transform=pU,this.hoverTransform="",this.hoverOpacity=tX,this.hoverWidth=0,this.hoverHeight=0,this.highlightedTags=[],this.dies=[],this.colorScale={colors:[],values:[]},this.hoverHandler=new OX(this.asRequiredFieldsWaferMap),this.experimentalHoverHandler=new RX(this.asRequiredFieldsWaferMap),this.zoomHandler=new FX(this.asRequiredFieldsWaferMap),this.resizeObserver=this.createResizeObserver(),this.waferMapValidator=new cX(this.asRequiredFieldsWaferMap)}get validity(){return this.waferMapValidator.getValidity()}connectedCallback(){super.connectedCallback(),this.canvasContext=this.canvas.getContext("2d",{willReadFrequently:!0}),this.hoverHandler.connect(),this.experimentalHoverHandler.connect(),this.zoomHandler.connect(),this.resizeObserver.observe(this),this.waferMapUpdateTracker.trackAll()}disconnectedCallback(){super.disconnectedCallback(),this.hoverHandler.disconnect(),this.experimentalHoverHandler.disconnect(),this.zoomHandler.disconnect(),this.resizeObserver.unobserve(this)}async experimentalUpdate(){if(!this.validity.invalidDiesTableSchema){if(this.waferMapUpdateTracker.requiresEventsUpdate){this.waferMapUpdateTracker.requiresComponentResizeUpdate?this.computations.componentResizeUpdate():this.waferMapUpdateTracker.requiresInputDataUpdate?this.computations.inputDataUpdate():this.waferMapUpdateTracker.requiresColorAndTextUpdate&&this.computations.colorAndTextUpdate()
|
|
14965
14968
|
const t=this.createSnapshot()
|
|
14966
14969
|
this.waferMapUpdateTracker.requiresWorkerWaferSetup&&await this.workerRenderer.setupWafer(t),await this.workerRenderer.drawWafer(t)}this.workerRenderer.renderHover()}}update(){this.validate(),this.isExperimentalUpdate()?this.currentTask=this.experimentalUpdate():this.waferMapUpdateTracker.requiresEventsUpdate?this.waferMapUpdateTracker.requiresContainerDimensionsUpdate?(this.dataManager.updateContainerDimensions(),this.renderer.updateSortedDiesAndDrawWafer()):this.waferMapUpdateTracker.requiresScalesUpdate?(this.dataManager.updateScales(),this.renderer.updateSortedDiesAndDrawWafer()):this.waferMapUpdateTracker.requiresLabelsFontSizeUpdate?(this.dataManager.updateLabelsFontSize(),this.renderer.updateSortedDiesAndDrawWafer()):this.waferMapUpdateTracker.requiresDiesRenderInfoUpdate?(this.dataManager.updateDiesRenderInfo(),this.renderer.updateSortedDiesAndDrawWafer()):this.waferMapUpdateTracker.requiresDrawnWaferUpdate&&this.renderer.drawWafer():this.waferMapUpdateTracker.requiresRenderHoverUpdate&&this.renderer.renderHover()}isExperimentalUpdate(){return void 0!==this.diesTable}async setData(t){Array.isArray(t)?this.dies=t:this.diesTable=t,await b.nextUpdate(),void 0!==this.currentTask&&await this.currentTask}createSnapshot(){const t={width:this.canvasWidth??0,height:this.canvasHeight??0},e={dieDimensions:this.computations.dieDimensions,margin:this.computations.margin,verticalCoefficient:this.computations.verticalCoefficient,horizontalCoefficient:this.computations.horizontalCoefficient,horizontalConstant:this.computations.horizontalConstant,verticalConstant:this.computations.verticalConstant,gridMinX:this.computations.gridMinX,gridMaxX:this.computations.gridMaxX,gridMinY:this.computations.gridMinY,gridMaxY:this.computations.gridMaxY,labelsFontSize:this.computations.labelsFontSize,colorScale:this.computations.colorScale,dieLabelsSuffix:this.dieLabelsSuffix,maxCharacters:this.maxCharacters},n=this.computations.dieDimensions,i=this.transform,s=this.dieLabelsHidden
|
|
14967
14970
|
if(void 0===this.diesTable)return{canvasDimensions:t,renderConfig:e,dieDimensions:n,transform:i,dieLabelsHidden:s,columnIndices:Int32Array.from([]),rowIndices:Int32Array.from([]),values:Float64Array.from([])}
|