@ni/nimble-components 32.2.6 → 32.2.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.
- package/dist/all-components-bundle.js +125 -22
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +422 -402
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/number-field/styles.js +11 -0
- package/dist/esm/number-field/styles.js.map +1 -1
- package/package.json +7 -7
|
@@ -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
|
|
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,7 +84,7 @@ 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 z extends ${constructor(t){super(),this.binding=t,this.bind=
|
|
87
|
+
for(const t in e)e[t]===i&&n.classList.remove(t)}}class z 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
|
|
@@ -267,17 +267,17 @@ if(r instanceof _t){const t=r.createBehavior()
|
|
|
267
267
|
r=r.createCSS(),t&&s.push(t)}r instanceof tt||r instanceof CSSStyleSheet?(""!==i.trim()&&(n.push(i),i=""),n.push(r)):i+=r}return i+=t[t.length-1],""!==i.trim()&&n.push(i),{styles:n,behaviors:s}}function Mt(t,...e){const{styles:n,behaviors:i}=It(t,e),s=tt.create(n)
|
|
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
|
-
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
|
|
271
|
-
return new $t(n,i)}function
|
|
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,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
|
|
275
275
|
return n}(t,i,l)),n===t.length&&o===i.length&&(a=function(t,e,n){let i=t.length,s=e.length,o=0
|
|
276
276
|
for(;o<n&&t[--i]===e[--s];)o++
|
|
277
277
|
return o}(t,i,l-r)),s+=r,o-=a,(n-=a)-(e+=r)==0&&o-s==0)return d
|
|
278
|
-
if(e===n){const t=
|
|
278
|
+
if(e===n){const t=Et(e,[],0)
|
|
279
279
|
for(;s<o;)t.removed.push(i[s++])
|
|
280
|
-
return[t]}if(s===o)return[
|
|
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
283
|
for(;e>0||n>0;){if(0===e){s.push(Ot),n--
|
|
@@ -293,12 +293,12 @@ 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 Tt:void 0===u&&(u=
|
|
296
|
+
case Tt:void 0===u&&(u=Et(p,[],0)),u.addedCount++,p++,u.removed.push(i[f]),f++
|
|
297
297
|
break
|
|
298
|
-
case Ot:void 0===u&&(u=
|
|
298
|
+
case Ot:void 0===u&&(u=Et(p,[],0)),u.addedCount++,p++
|
|
299
299
|
break
|
|
300
|
-
case Rt:void 0===u&&(u=
|
|
301
|
-
function Lt(t,e,n,i){const s=
|
|
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
|
+
function Lt(t,e,n,i){const s=Et(e,n,i)
|
|
302
302
|
let o=!1,r=0
|
|
303
303
|
for(let e=0;e<t.length;e++){const n=t[e]
|
|
304
304
|
if(n.index+=r,o)continue
|
|
@@ -323,7 +323,7 @@ return n>i?n=i-t.addedCount:n<0&&(n=i+t.removed.length+n-t.addedCount),n<0&&(n=0
|
|
|
323
323
|
if(void 0===t&&void 0===e)return
|
|
324
324
|
this.needsQueue=!0,this.splices=void 0,this.oldCollection=void 0
|
|
325
325
|
const n=void 0===e?Bt(this.source,t):Ft(this.source,0,this.source.length,e,0,e.length)
|
|
326
|
-
this.notify(n)}}class Ht{constructor(t,e){this.target=t,this.propertyName=e}bind(t){t[this.propertyName]=this.target}unbind(){}}function Ut(t){return new
|
|
326
|
+
this.notify(n)}}class Ht{constructor(t,e){this.target=t,this.propertyName=e}bind(t){t[this.propertyName]=this.target}unbind(){}}function Ut(t){return new D("fast-ref",Ht,t)}const qt=t=>"function"==typeof t,jt=()=>null
|
|
327
327
|
function Wt(t){return void 0===t?jt:qt(t)?t:()=>t}function Gt(t,e,n){const i=qt(t)?t:()=>t,s=Wt(e),o=Wt(n)
|
|
328
328
|
return(t,e)=>i(t,e)?s(t,e):o(t,e)}const Zt=Object.freeze({positioning:!1,recycle:!0})
|
|
329
329
|
function Kt(t,e,n,i){t.bind(e[n],i)}function Yt(t,e,n,i){const s=Object.create(i)
|
|
@@ -353,21 +353,21 @@ if(t.$fastPatch)return
|
|
|
353
353
|
Reflect.defineProperty(t,"$fastPatch",{value:1,enumerable:!1})
|
|
354
354
|
const e=t.pop,n=t.push,i=t.reverse,s=t.shift,o=t.sort,r=t.splice,a=t.unshift
|
|
355
355
|
t.pop=function(){const t=this.length>0,n=e.apply(this,arguments),i=this.$fastController
|
|
356
|
-
return void 0!==i&&t&&i.addSplice(
|
|
357
|
-
return void 0!==e&&e.addSplice(zt(
|
|
356
|
+
return void 0!==i&&t&&i.addSplice(Et(this.length,[n],0)),n},t.push=function(){const t=n.apply(this,arguments),e=this.$fastController
|
|
357
|
+
return void 0!==e&&e.addSplice(zt(Et(this.length-arguments.length,[],arguments.length),this)),t},t.reverse=function(){let t
|
|
358
358
|
const e=this.$fastController
|
|
359
359
|
void 0!==e&&(e.flush(),t=this.slice())
|
|
360
360
|
const n=i.apply(this,arguments)
|
|
361
361
|
return void 0!==e&&e.reset(t),n},t.shift=function(){const t=this.length>0,e=s.apply(this,arguments),n=this.$fastController
|
|
362
|
-
return void 0!==n&&t&&n.addSplice(
|
|
362
|
+
return void 0!==n&&t&&n.addSplice(Et(0,[e],0)),e},t.sort=function(){let t
|
|
363
363
|
const e=this.$fastController
|
|
364
364
|
void 0!==e&&(e.flush(),t=this.slice())
|
|
365
365
|
const n=o.apply(this,arguments)
|
|
366
366
|
return void 0!==e&&e.reset(t),n},t.splice=function(){const t=r.apply(this,arguments),e=this.$fastController
|
|
367
|
-
return void 0!==e&&e.addSplice(zt(
|
|
368
|
-
return void 0!==e&&e.addSplice(zt(
|
|
367
|
+
return void 0!==e&&e.addSplice(zt(Et(+arguments[0],t,arguments.length>2?arguments.length-2:0),this)),t},t.unshift=function(){const t=a.apply(this,arguments),e=this.$fastController
|
|
368
|
+
return void 0!==e&&e.addSplice(zt(Et(0,[],arguments.length),this)),t}}(),this.isItemsBindingVolatile=x.isVolatileBinding(t),this.isTemplateBindingVolatile=x.isVolatileBinding(e)}createBehavior(t){return new Xt(t,this.itemsBinding,this.isItemsBindingVolatile,this.templateBinding,this.isTemplateBindingVolatile,this.options)}}function Qt(t,e,n=Zt){return new Jt(t,"function"==typeof e?e:()=>e,Object.assign(Object.assign({},Zt),n))}function te(t){return t?function(e,n,i){return 1===e.nodeType&&e.matches(t)}:function(t,e,n){return 1===t.nodeType}}class ee{constructor(t,e){this.target=t,this.options=e,this.source=null}bind(t){const e=this.options.property
|
|
369
369
|
this.shouldUpdate=x.getAccessors(t).some((t=>t.name===e)),this.source=t,this.updateTarget(this.computeNodes()),this.shouldUpdate&&this.observe()}unbind(){this.updateTarget(d),this.source=null,this.shouldUpdate&&this.disconnect()}handleEvent(){this.updateTarget(this.computeNodes())}computeNodes(){let t=this.getNodes()
|
|
370
|
-
return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateTarget(t){this.source[this.options.property]=t}}class ne extends ee{constructor(t,e){super(t,e)}observe(){this.target.addEventListener("slotchange",this)}disconnect(){this.target.removeEventListener("slotchange",this)}getNodes(){return this.target.assignedNodes(this.options)}}function ie(t){return"string"==typeof t&&(t={property:t}),new
|
|
370
|
+
return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateTarget(t){this.source[this.options.property]=t}}class ne extends ee{constructor(t,e){super(t,e)}observe(){this.target.addEventListener("slotchange",this)}disconnect(){this.target.removeEventListener("slotchange",this)}getNodes(){return this.target.assignedNodes(this.options)}}function ie(t){return"string"==typeof t&&(t={property:t}),new D("fast-slotted",ne,t)}class se extends ee{constructor(t,e){super(t,e),this.observer=null,e.childList=!0}observe(){null===this.observer&&(this.observer=new MutationObserver(this.handleEvent.bind(this))),this.observer.observe(this.target,this.options)}disconnect(){this.observer.disconnect()}getNodes(){return"subtree"in this.options?Array.from(this.target.querySelectorAll(this.options.selector)):Array.from(this.target.childNodes)}}function oe(t){return"string"==typeof t&&(t={property:t}),new D("fast-children",se,t)}class re{handleStartContentChange(){this.startContainer.classList.toggle("start",this.start.assignedNodes().length>0)}handleEndContentChange(){this.endContainer.classList.toggle("end",this.end.assignedNodes().length>0)}}const ae=(t,e)=>Q`
|
|
371
371
|
<span
|
|
372
372
|
part="end"
|
|
373
373
|
${Ut("endContainer")}
|
|
@@ -438,7 +438,7 @@ for(let o=0;o<i;++o)s=n[o],Ve(s)||(e[s]=t[s])
|
|
|
438
438
|
return e}const pe=Object.freeze({none(t){throw Error(`${t.toString()} not registered, did you forget to add @singleton()?`)},singleton:t=>new xe(t,1,t),transient:t=>new xe(t,2,t)}),fe=Object.freeze({default:Object.freeze({parentLocator:()=>null,responsibleForOwnerRequests:!1,defaultResolver:pe.singleton})}),me=new Map
|
|
439
439
|
function ge(t){return e=>Reflect.getOwnMetadata(t,e)}let ve=null
|
|
440
440
|
const be=Object.freeze({createContainer:t=>new Ae(null,Object.assign({},fe.default,t)),findResponsibleContainer(t){const e=t.$$container$$
|
|
441
|
-
return e&&e.responsibleForOwnerRequests?e:be.findParentContainer(t)},findParentContainer(t){const e=new CustomEvent(
|
|
441
|
+
return e&&e.responsibleForOwnerRequests?e:be.findParentContainer(t)},findParentContainer(t){const e=new CustomEvent(De,{bubbles:!0,composed:!0,cancelable:!0,detail:{container:void 0}})
|
|
442
442
|
return t.dispatchEvent(e),e.detail.container||be.getOrCreateDOMContainer()},getOrCreateDOMContainer:(t,e)=>t?t.$$container$$||new Ae(t,Object.assign({},fe.default,e,{parentLocator:be.findParentContainer})):ve||(ve=new Ae(null,Object.assign({},fe.default,e,{parentLocator:()=>null}))),getDesignParamtypes:ge("design:paramtypes"),getAnnotationParamtypes:ge("di:paramtypes"),getOrCreateAnnotationParamTypes(t){let e=this.getAnnotationParamtypes(t)
|
|
443
443
|
return void 0===e&&Reflect.defineMetadata("di:paramtypes",e=[],t),e},getDependencies(t){let e=me.get(t)
|
|
444
444
|
if(void 0===e){const n=t.inject
|
|
@@ -480,8 +480,8 @@ switch(this.strategy){case 1:case 2:return t.getFactory(this.state)
|
|
|
480
480
|
case 5:return null!==(i=null===(n=null===(e=t.getResolver(this.state))||void 0===e?void 0:e.getFactory)||void 0===n?void 0:n.call(e,t))&&void 0!==i?i:null
|
|
481
481
|
default:return null}}}function Ce(t){return this.get(t)}function ke(t,e){return e(t)}class Se{constructor(t,e){this.Type=t,this.dependencies=e,this.transformers=null}construct(t,e){let n
|
|
482
482
|
return n=void 0===e?new this.Type(...this.dependencies.map(Ce,t)):new this.Type(...this.dependencies.map(Ce,t),...e),null==this.transformers?n:this.transformers.reduce(ke,n)}registerTransformer(t){(this.transformers||(this.transformers=[])).push(t)}}const _e={$isResolver:!0,resolve:(t,e)=>e}
|
|
483
|
-
function Ie(t){return"function"==typeof t.register}function Me(t){return function(t){return Ie(t)&&"boolean"==typeof t.registerInRequestor}(t)&&t.registerInRequestor}const $e=new Set(["Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","RangeError","ReferenceError","RegExp","Set","SharedArrayBuffer","String","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet"]),
|
|
484
|
-
class Ae{constructor(t,e){this.owner=t,this.config=e,this._parent=void 0,this.registerDepth=0,this.context=null,null!==t&&(t.$$container$$=this),this.resolvers=new Map,this.resolvers.set(ye,_e),t instanceof Node&&t.addEventListener(
|
|
483
|
+
function Ie(t){return"function"==typeof t.register}function Me(t){return function(t){return Ie(t)&&"boolean"==typeof t.registerInRequestor}(t)&&t.registerInRequestor}const $e=new Set(["Array","ArrayBuffer","Boolean","DataView","Date","Error","EvalError","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Number","Object","Promise","RangeError","ReferenceError","RegExp","Set","SharedArrayBuffer","String","SyntaxError","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","URIError","WeakMap","WeakSet"]),De="__DI_LOCATE_PARENT__",Ee=new Map
|
|
484
|
+
class Ae{constructor(t,e){this.owner=t,this.config=e,this._parent=void 0,this.registerDepth=0,this.context=null,null!==t&&(t.$$container$$=this),this.resolvers=new Map,this.resolvers.set(ye,_e),t instanceof Node&&t.addEventListener(De,(t=>{t.composedPath()[0]!==this.owner&&(t.detail.container=this,t.stopImmediatePropagation())}))}get parent(){return void 0===this._parent&&(this._parent=this.config.parentLocator(this.owner)),this._parent}get depth(){return null===this.parent?0:this.parent.depth+1}get responsibleForOwnerRequests(){return this.config.responsibleForOwnerRequests}registerWithContext(t,...e){return this.context=t,this.register(...e),this.context=null,this}register(...t){if(100==++this.registerDepth)throw new Error("Unable to autoregister dependency")
|
|
485
485
|
let e,n,i,s,o
|
|
486
486
|
const r=this.context
|
|
487
487
|
for(let a=0,l=t.length;a<l;++a)if(e=t[a],Be(e))if(Ie(e))e.register(this,r)
|
|
@@ -506,9 +506,9 @@ let i,s=n
|
|
|
506
506
|
if(e){let e=d
|
|
507
507
|
for(;null!=s;)i=s.resolvers.get(t),null!=i&&(e=e.concat(Ne(i,s,n))),s=s.parent
|
|
508
508
|
return e}for(;null!=s;){if(i=s.resolvers.get(t),null!=i)return Ne(i,s,n)
|
|
509
|
-
if(s=s.parent,null==s)return d}return d}getFactory(t){let e=
|
|
509
|
+
if(s=s.parent,null==s)return d}return d}getFactory(t){let e=Ee.get(t)
|
|
510
510
|
if(void 0===e){if(Pe(t))throw new Error(`${t.name} is a native function and therefore cannot be safely constructed by DI. If this is intentional, please use a callback or cachedCallback resolver.`)
|
|
511
|
-
|
|
511
|
+
Ee.set(t,e=new Se(t,be.getDependencies(t)))}return e}registerFactory(t,e){Ee.set(t,e)}createChild(t){return new Ae(null,Object.assign({},this.config,t,{parentLocator:()=>this}))}jitRegister(t,e){if("function"!=typeof t)throw new Error(`Attempted to jitRegister something that is not a constructor: '${t}'. Did you forget to register this dependency?`)
|
|
512
512
|
if($e.has(t.name))throw new Error(`Attempted to jitRegister an intrinsic type: ${t.name}. Did you forget to add @inject(Key)`)
|
|
513
513
|
if(Ie(t)){const n=t.register(e)
|
|
514
514
|
if(!(n instanceof Object)||null==n.resolve){const n=e.resolvers.get(t)
|
|
@@ -629,12 +629,12 @@ this.setItemSeparator(e,n),this.setAriaCurrent(e,n)}))}}setItemSeparator(t,e){t
|
|
|
629
629
|
return t.childElementCount>0?t.querySelector("a[href]"):(null===(e=t.shadowRoot)||void 0===e?void 0:e.childElementCount)?null===(n=t.shadowRoot)||void 0===n?void 0:n.querySelector("a[href]"):null}setAriaCurrent(t,e){const n=this.findChildWithHref(t)
|
|
630
630
|
null===n&&t.hasAttribute("href")&&t instanceof _n?e?t.setAttribute("aria-current","page"):t.removeAttribute("aria-current"):null!==n&&(e?n.setAttribute("aria-current","page"):n.removeAttribute("aria-current"))}}
|
|
631
631
|
ce([C],In.prototype,"slottedBreadcrumbItems",void 0)
|
|
632
|
-
const Mn="form-associated-proxy",$n="ElementInternals",
|
|
633
|
-
function An(t){const e=class extends t{constructor(...t){super(...t),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return
|
|
632
|
+
const Mn="form-associated-proxy",$n="ElementInternals",Dn=$n in window&&"setFormValue"in window[$n].prototype,En=new WeakMap
|
|
633
|
+
function An(t){const e=class extends t{constructor(...t){super(...t),this.dirtyValue=!1,this.disabled=!1,this.proxyEventsToBlock=["change","click"],this.proxyInitialized=!1,this.required=!1,this.initialValue=this.initialValue||"",this.elementInternals||(this.formResetCallback=this.formResetCallback.bind(this))}static get formAssociated(){return Dn}get validity(){return this.elementInternals?this.elementInternals.validity:this.proxy.validity}get form(){return this.elementInternals?this.elementInternals.form:this.proxy.form}get validationMessage(){return this.elementInternals?this.elementInternals.validationMessage:this.proxy.validationMessage}get willValidate(){return this.elementInternals?this.elementInternals.willValidate:this.proxy.willValidate}get labels(){if(this.elementInternals)return Object.freeze(Array.from(this.elementInternals.labels))
|
|
634
634
|
if(this.proxy instanceof HTMLElement&&this.proxy.ownerDocument&&this.id){const t=this.proxy.labels,e=Array.from(this.proxy.getRootNode().querySelectorAll(`[for='${this.id}']`)),n=t?e.concat(Array.from(t)):e
|
|
635
|
-
return Object.freeze(n)}return d}valueChanged(t,e){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),b.queueUpdate((()=>this.classList.toggle("disabled",this.disabled)))}nameChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),b.queueUpdate((()=>this.classList.toggle("required",this.required))),this.validate()}get elementInternals(){if(!
|
|
636
|
-
let t=
|
|
637
|
-
return t||(t=this.attachInternals(),
|
|
635
|
+
return Object.freeze(n)}return d}valueChanged(t,e){this.dirtyValue=!0,this.proxy instanceof HTMLElement&&(this.proxy.value=this.value),this.currentValue=this.value,this.setFormValue(this.value),this.validate()}currentValueChanged(){this.value=this.currentValue}initialValueChanged(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}disabledChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.disabled=this.disabled),b.queueUpdate((()=>this.classList.toggle("disabled",this.disabled)))}nameChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.name=this.name)}requiredChanged(t,e){this.proxy instanceof HTMLElement&&(this.proxy.required=this.required),b.queueUpdate((()=>this.classList.toggle("required",this.required))),this.validate()}get elementInternals(){if(!Dn)return null
|
|
636
|
+
let t=En.get(this)
|
|
637
|
+
return t||(t=this.attachInternals(),En.set(this,t)),t}connectedCallback(){super.connectedCallback(),this.addEventListener("keypress",this._keypressHandler),this.value||(this.value=this.initialValue,this.dirtyValue=!1),this.elementInternals||(this.attachProxy(),this.form&&this.form.addEventListener("reset",this.formResetCallback))}disconnectedCallback(){super.disconnectedCallback(),this.proxyEventsToBlock.forEach((t=>this.proxy.removeEventListener(t,this.stopPropagation))),!this.elementInternals&&this.form&&this.form.removeEventListener("reset",this.formResetCallback)}checkValidity(){return this.elementInternals?this.elementInternals.checkValidity():this.proxy.checkValidity()}reportValidity(){return this.elementInternals?this.elementInternals.reportValidity():this.proxy.reportValidity()}setValidity(t,e,n){this.elementInternals?this.elementInternals.setValidity(t,e,n):"string"==typeof e&&this.proxy.setCustomValidity(e)}formDisabledCallback(t){this.disabled=t}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var t
|
|
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()}}
|
|
@@ -824,17 +824,17 @@ return this}}class Mi{constructor(t,e,n,i,s,o){this.container=t,this.name=e,this
|
|
|
824
824
|
/*!
|
|
825
825
|
* tabbable 5.3.3
|
|
826
826
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
827
|
-
*/var $i="undefined"==typeof Element,
|
|
827
|
+
*/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
|
|
828
828
|
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
|
|
829
829
|
if("hidden"===getComputedStyle(t).visibility)return!0
|
|
830
|
-
var s=
|
|
831
|
-
if(
|
|
832
|
-
var o=
|
|
833
|
-
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=
|
|
830
|
+
var s=Di.call(t,"details>summary:first-of-type")?t.parentElement:t
|
|
831
|
+
if(Di.call(s,"details:not([open]) *"))return!0
|
|
832
|
+
var o=Ei(t).host,r=(null==o?void 0:o.ownerDocument.contains(o))||t.ownerDocument.contains(t)
|
|
833
|
+
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)
|
|
834
834
|
if(l&&!l.shadowRoot&&!0===i(l))return Ai(t)
|
|
835
835
|
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)
|
|
836
|
-
if("LEGEND"===i.tagName)return!!
|
|
837
|
-
return!1!==
|
|
836
|
+
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")
|
|
837
|
+
return!1!==Di.call(t,Oi)&&Ti(e,t)}
|
|
838
838
|
class Fi extends qn{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var t
|
|
839
839
|
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
|
|
840
840
|
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
|
|
@@ -1016,7 +1016,7 @@ const a="radio"===n.getAttribute("role"),l=null===(s=null===(i=n.$fastController
|
|
|
1016
1016
|
return n.hasAttribute("disabled")||n.hasAttribute("hidden")||!(Ri(n)||a||l||c)?n.childElementCount?e.concat(Array.from(n.children).reduce(t.reduceFocusableItems,[])):e:(e.push(n),e)}setFocusableElements(){this.$fastController.isConnected&&this.focusableElements.length>0&&this.focusableElements.forEach(((t,e)=>{t.tabIndex=this.activeIndex===e?0:-1}))}}
|
|
1017
1017
|
ce([C],vs.prototype,"direction",void 0),ce([ft],vs.prototype,"orientation",void 0),ce([C],vs.prototype,"slottedItems",void 0),ce([C],vs.prototype,"slottedLabel",void 0),ce([C],vs.prototype,"childItems",void 0)
|
|
1018
1018
|
class bs{}ce([ft({attribute:"aria-labelledby"})],bs.prototype,"ariaLabelledby",void 0),ce([ft({attribute:"aria-label"})],bs.prototype,"ariaLabel",void 0),Ke(bs,wn),Ke(vs,re,bs)
|
|
1019
|
-
const ys="top",ws="right",xs="bottom",Cs="left",ks="start",Ss="end",_s="top-left",Is="top-right",Ms="bottom-left",$s="bottom-right",
|
|
1019
|
+
const ys="top",ws="right",xs="bottom",Cs="left",ks="start",Ss="end",_s="top-left",Is="top-right",Ms="bottom-left",$s="bottom-right",Ds="top-start",Es="top-end",As="bottom-start",Ts="bottom-end"
|
|
1020
1020
|
let Os=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()
|
|
1021
1021
|
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()
|
|
1022
1022
|
else{if(!0===this.visible)return void this.showTooltip()
|
|
@@ -1035,9 +1035,9 @@ case Ms:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="le
|
|
|
1035
1035
|
break
|
|
1036
1036
|
case $s:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="right"
|
|
1037
1037
|
break
|
|
1038
|
-
case
|
|
1038
|
+
case Ds:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="start"
|
|
1039
1039
|
break
|
|
1040
|
-
case
|
|
1040
|
+
case Es:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="end"
|
|
1041
1041
|
break
|
|
1042
1042
|
case As:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="start"
|
|
1043
1043
|
break
|
|
@@ -1103,7 +1103,7 @@ return new js(Hs(Number(n[0]),0,255),Hs(Number(n[1]),0,255),Hs(Number(n[2]),0,25
|
|
|
1103
1103
|
if(null===e)return null
|
|
1104
1104
|
const n=e[1].split(",")
|
|
1105
1105
|
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()]
|
|
1106
|
-
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="#434445",Io="#e54c8a",Mo="#8e78b7",$o="Source Sans Pro",
|
|
1106
|
+
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="#434445",Io="#e54c8a",Mo="#8e78b7",$o="Source Sans Pro",Do="Source Sans Pro",Eo="400",Ao="14px",To="14px",Oo="18px",Ro="18px",Fo="14px",No={light:"light",dark:"dark",color:"color"},Lo="action-rgb-partial-color",Bo="application-background-color",Po="divider-background-color",zo="header-background-color",Vo="section-background-color",Ho="button-fill-primary-color",Uo="button-primary-font-color",qo="button-fill-accent-color",jo="button-accent-block-font-color",Wo="button-accent-outline-font-color",Go="button-border-accent-outline-color",Zo="fill-selected-color",Ko="fill-selected-rgb-partial-color",Yo="fill-hover-selected-color",Xo="fill-hover-color",Jo="fill-hover-rgb-partial-color",Qo="fill-down-color",tr="border-color",er="border-rgb-partial-color",nr="fail-color",ir="warning-color",sr="pass-color",or="information-color",rr="border-hover-color",ar="icon-color",lr="modal-backdrop-color",cr="popup-border-color",dr="card-border-color",hr="tag-fill-color",ur="control-height",pr="control-slim-height",fr="small-padding",mr="medium-padding",gr="standard-padding",vr="large-padding",br="label-height",yr="border-width",wr="icon-size",xr="group-header-text-transform",Cr="drawer-width",kr="dialog-small-width",Sr="dialog-small-height",_r="dialog-small-max-height",Ir="dialog-large-width",Mr="dialog-large-height",$r="dialog-large-max-height",Dr="menu-min-width",Er="banner-gap-size",Ar="spinner-small-height",Tr="spinner-medium-height",Or="spinner-large-height",Rr="table-fit-rows-height",Fr="small-delay",Nr="medium-delay",Lr="large-delay",Br="headline-plus-1-font",Pr="headline-font",zr="table-header-font",Vr="title-plus-2-font",Hr="title-plus-1-font",Ur="title-font",qr="subtitle-plus-1-font",jr="subtitle-font",Wr="link-font",Gr="link-active-font",Zr="link-prominent-font",Kr="link-active-prominent-font",Yr="placeholder-font",Xr="body-font",Jr="body-emphasized-font",Qr="body-plus-1-font",ta="body-plus-1-emphasized-font",ea="group-header-font",na="control-label-font",ia="button-label-font",sa="tooltip-caption-font",oa="tooltip-background-color",ra="error-text-font",aa="table-row-border-color",la="elevation-1-box-shadow",ca="elevation-2-box-shadow",da="elevation-3-box-shadow",ha="graph-gridline-color",ua="graph-trace-1-color",pa="graph-trace-2-color",fa="graph-trace-3-color",ma="graph-trace-4-color",ga="graph-trace-5-color",va="graph-trace-6-color",ba="graph-trace-7-color",ya="graph-trace-8-color",wa="mention-font",xa="calendar-event-background-static-color",Ca="calendar-event-background-dynamic-color",ka="calendar-event-background-transient-color",Sa="calendar-event-border-static-color",_a="calendar-event-border-transient-color",Ia="calendar-event-static-font-color",Ma="calendar-event-dynamic-font-color",$a="calendar-event-transient-font-color",Da="calendar-event-background-hover-static-color",Ea="calendar-event-background-hover-dynamic-color",Aa="calendar-event-background-hover-transient-color",Ta="calendar-row-background-selected-color",Oa="calendar-event-fill-blocked-color",Ra="calendar-grab-handle-background-color",Fa="calendar-grid-border-color",Na="calendar-group-header-background-color",La=t=>`ni-nimble-${t}`
|
|
1107
1107
|
function Ba(...t){return t.every((t=>t instanceof HTMLElement))}const Pa="animationend",za="change",Va="ArrowDown",Ha="ArrowLeft",Ua="ArrowRight",qa="ArrowUp",ja="End",Wa="Enter",Ga="Escape",Za="Home",Ka="PageDown",Ya="PageUp",Xa=" ",Ja="Tab"
|
|
1108
1108
|
var Qa
|
|
1109
1109
|
!function(t){t.ltr="ltr",t.rtl="rtl"}(Qa||(Qa={}))
|
|
@@ -1127,18 +1127,18 @@ const gl=yi.create(La(Zo)).withDefault((t=>pl(mh(t),.2))),vl=yi.create(La(Ko)).w
|
|
|
1127
1127
|
yi.create(La(Jo)).withDefault((t=>ch(gh(t)))),yi.create(La(Qo)).withDefault((t=>pl(function(t){return hh(t,fo,ao,co)}(t),.15)))
|
|
1128
1128
|
const wl=yi.create(La(tr)).withDefault((t=>ph(t))),xl=yi.create(La(er)).withDefault((t=>ch(ph(t)))),Cl=yi.create(La(nr)).withDefault((t=>uh(t))),kl=yi.create(La(ir)).withDefault((t=>function(t){return hh(t,bo,no,co)}(t))),Sl=yi.create(La(sr)).withDefault((t=>function(t){return hh(t,io,so,co)}(t))),_l=yi.create(La(or)).withDefault((t=>function(t){return hh(t,eo,to,co)}(t))),Il=yi.create(La(rr)).withDefault((t=>hh(t,go,Co,co))),Ml=yi.create(La(ar)).withDefault((t=>hh(t,fo,ao,co))),$l=yi.create(La(lr)).withDefault((t=>function(t){switch(cl.getValueFor(t)){case No.light:return pl(po,.3)
|
|
1129
1129
|
case No.dark:case No.color:return pl(po,.6)
|
|
1130
|
-
default:return pl(po,.3)}}(t))),
|
|
1130
|
+
default:return pl(po,.3)}}(t))),Dl=yi.create(La(cr)).withDefault((t=>pl(hh(t,fo,ao,co),.3))),El=yi.create(La(dr)).withDefault((t=>pl(hh(t,fo,ao,co),.1)))
|
|
1131
1131
|
yi.create(La(ha)).withDefault((t=>pl(hh(t,fo,ao,co),.2))),yi.create(La(ua)).withDefault((t=>hh(t,"#312e7f","#3cb4e7",co))),yi.create(La(pa)).withDefault((t=>hh(t,"#cd1722","#ef463f",pl(co,.7)))),yi.create(La(fa)).withDefault((t=>hh(t,"#499146","#76bc43",pl(co,.4)))),yi.create(La(ma)).withDefault((t=>hh(t,"#8c459a","#a5d8c8",pl(co,.25)))),yi.create(La(ga)).withDefault((t=>hh(t,"#00685f","#00aba5",pl(co,.55)))),yi.create(La(va)).withDefault((t=>hh(t,Io,Io,pl(co,.85)))),yi.create(La(ba)).withDefault((t=>hh(t,"#371615","#ffe76b",pl(co,.325)))),yi.create(La(ya)).withDefault((t=>hh(t,Mo,Mo,pl(co,.625)))),yi.create(La(oa)).withDefault((t=>hh(t,ao,ho,mo)))
|
|
1132
1132
|
const Al=yi.create(La(aa)).withDefault((t=>hh(t,ao,uo,mo)))
|
|
1133
1133
|
yi.create(La(hr)).withDefault((t=>pl(hh(t,fo,ao,co),.1)))
|
|
1134
1134
|
const Tl=yi.create(La(Ho)).withDefault((t=>hh(t,pl(fo,.75),pl(ao,.3),pl(co,.3)))),Ol=yi.create(La(Uo)).withDefault((t=>hh(t,ao,ao,co))),Rl=yi.create(La(qo)).withDefault((t=>hh(t,yo,go,pl(co,.1)))),Fl=yi.create(La(jo)).withDefault((t=>hh(t,co,ao,co))),Nl=yi.create(La(Wo)).withDefault((t=>hh(t,wo,Co,co))),Ll=yi.create(La(Go)).withDefault((t=>hh(t,go,Co,pl(co,.3))))
|
|
1135
|
-
yi.create(La(xa)).withDefault((t=>hh(t,"#e6f5f0",ko,ko))),yi.create(La(Ca)).withDefault((t=>hh(t,wo,yo,yo))),yi.create(La(ka)).withDefault((t=>hh(t,wo,yo,yo))),yi.create(La(Sa)).withDefault((t=>hh(t,go,go,go))),yi.create(La(_a)).withDefault((t=>hh(t,go,pl(Co,.85),pl(Co,.85)))),yi.create(La(Ia)).withDefault((t=>hh(t,xo,co,co))),yi.create(La(Ma)).withDefault((t=>hh(t,co,co,co))),yi.create(La($a)).withDefault((t=>hh(t,co,co,co))),yi.create(La(
|
|
1135
|
+
yi.create(La(xa)).withDefault((t=>hh(t,"#e6f5f0",ko,ko))),yi.create(La(Ca)).withDefault((t=>hh(t,wo,yo,yo))),yi.create(La(ka)).withDefault((t=>hh(t,wo,yo,yo))),yi.create(La(Sa)).withDefault((t=>hh(t,go,go,go))),yi.create(La(_a)).withDefault((t=>hh(t,go,pl(Co,.85),pl(Co,.85)))),yi.create(La(Ia)).withDefault((t=>hh(t,xo,co,co))),yi.create(La(Ma)).withDefault((t=>hh(t,co,co,co))),yi.create(La($a)).withDefault((t=>hh(t,co,co,co))),yi.create(La(Da)).withDefault((t=>hh(t,"#b3e1d1",So,So))),yi.create(La(Ea)).withDefault((t=>hh(t,xo,wo,wo))),yi.create(La(Aa)).withDefault((t=>hh(t,xo,wo,wo))),yi.create(La(Ta)).withDefault((t=>hh(t,pl(go,.2),pl(Co,.2),pl(Co,.2)))),yi.create(La(Oa)).withDefault((t=>hh(t,pl(fo,.07),_o,_o))),yi.create(La(Ra)).withDefault((t=>hh(t,go,Co,Co))),yi.create(La(Fa)).withDefault((t=>hh(t,"#e6e6e6",uo,uo))),yi.create(La(Na)).withDefault((t=>hh(t,lo,pl(fo,.1),pl(fo,.1))))
|
|
1136
1136
|
const Bl=yi.create(La(ur)).withDefault("32px"),Pl=yi.create(La(pr)).withDefault("24px"),zl=yi.create(La(fr)).withDefault("4px"),Vl=yi.create(La(mr)).withDefault("8px"),Hl=yi.create(La(gr)).withDefault("16px"),Ul=yi.create(La(vr)).withDefault("24px")
|
|
1137
1137
|
yi.create(La(br)).withDefault("16px")
|
|
1138
1138
|
const ql=yi.create(La(yr)).withDefault("1px"),jl=yi.create(La(wr)).withDefault("16px"),Wl=yi.create(La(Cr)).withDefault("784px"),Gl=yi.create(La(kr)).withDefault("400px"),Zl=yi.create(La(Sr)).withDefault("fit-content"),Kl=yi.create(La(_r)).withDefault("600px")
|
|
1139
1139
|
yi.create(La(Ir)).withDefault("1024px"),yi.create(La(Mr)).withDefault("680px"),yi.create(La($r)).withDefault("680px")
|
|
1140
|
-
const Yl=yi.create(La(
|
|
1141
|
-
yi.create(La(
|
|
1140
|
+
const Yl=yi.create(La(Dr)).withDefault("176px")
|
|
1141
|
+
yi.create(La(Er)).withDefault("1px")
|
|
1142
1142
|
const Xl=yi.create(La(Ar)).withDefault("16px")
|
|
1143
1143
|
yi.create(La(Tr)).withDefault("32px"),yi.create(La(Or)).withDefault("64px")
|
|
1144
1144
|
const Jl=yi.create(La(Rr)).withDefault("480px")
|
|
@@ -1147,9 +1147,9 @@ const Ql=yi.create(La(ca)).withDefault((t=>`0px 2px 4px ${pl(hh(t,po,po,po),.16)
|
|
|
1147
1147
|
dh(Pr,(t=>fh(t)),(t=>pl(fh(t),.3)),"Noto Serif","400","25px","32px"),dh(Br,(t=>fh(t)),(t=>pl(fh(t),.3)),"Noto Serif","400","29.1px","40px"),dh(Vr,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","400","25px","32px")
|
|
1148
1148
|
const[ec,nc,ic,sc,oc,rc,ac]=dh(Hr,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","400","22px","28px")
|
|
1149
1149
|
dh(Ur,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","400","19px","24px")
|
|
1150
|
-
const[lc,cc,dc,hc,uc,pc,fc]=dh(qr,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","300","16px","20px"),[mc,gc,vc,bc,yc,wc,xc]=dh(jr,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","300","12.8px","16px"),[Cc,kc,Sc,_c,Ic,Mc,$c]=dh(Wr,(t=>fh(t)),(t=>pl(fh(t),.3)),Eo,
|
|
1150
|
+
const[lc,cc,dc,hc,uc,pc,fc]=dh(qr,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","300","16px","20px"),[mc,gc,vc,bc,yc,wc,xc]=dh(jr,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","300","12.8px","16px"),[Cc,kc,Sc,_c,Ic,Mc,$c]=dh(Wr,(t=>fh(t)),(t=>pl(fh(t),.3)),Do,Eo,To,Ro),[Dc,Ec,Ac,Tc,Oc,Rc,Fc]=dh(Gr,(t=>hh(t,go,go,pl(co,.75))),(t=>pl(fh(t),.3)),Do,Eo,To,Ro),[Nc,Lc,Bc,Pc,zc,Vc,Hc]=dh(Zr,(t=>hh(t,wo,Co,co)),(t=>pl(fh(t),.3)),Do,Eo,To,Ro),[Uc,qc,jc,Wc,Gc,Zc,Kc]=dh(Kr,(t=>hh(t,go,go,pl(co,.75))),(t=>pl(fh(t),.3)),Do,Eo,To,Ro),[Yc,Xc,Jc,Qc,td,ed,nd]=dh(Yr,(t=>pl(fh(t),.6)),(t=>pl(fh(t),.3)),"Source Sans Pro","400","14px","18px"),[id,sd,od,rd,ad,ld,cd]=dh(Xr,(t=>fh(t)),(t=>pl(fh(t),.3)),$o,"400",Ao,Oo),[dd,hd,ud,pd,fd,md,gd]=dh(Jr,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","600","14px","18px")
|
|
1151
1151
|
dh(Qr,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","400","16px","16px"),dh(ta,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","600","16px","16px")
|
|
1152
|
-
const[vd,bd,yd,wd,xd,Cd,kd]=dh(ea,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","600","11px","16px"),[Sd,_d,Id,Md,$d,Ed
|
|
1152
|
+
const[vd,bd,yd,wd,xd,Cd,kd]=dh(ea,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","600","11px","16px"),[Sd,_d,Id,Md,$d,Dd,Ed]=dh(na,(t=>pl(fh(t),.6)),(t=>pl(fh(t),.3)),"Source Sans Pro","600","11px","16px"),[Ad,Td,Od,Rd,Fd,Nd,Ld]=dh(ia,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","600","14px","16px"),[Bd,Pd,zd,Vd,Hd,Ud,qd]=dh(sa,(t=>fh(t)),(t=>pl(fh(t),.3)),"Source Sans Pro","400","11px",Fo),[jd,Wd,Gd,Zd,Kd,Yd,Xd]=dh(ra,(t=>uh(t)),(t=>pl(uh(t),.3)),"Source Sans Pro","400","11px",Fo),[Jd,Qd,th,eh,nh,ih,sh]=dh(zr,(t=>pl(fh(t),.6)),(t=>pl(fh(t),.3)),"Source Sans Pro","600","12.8px",Fo)
|
|
1153
1153
|
dh(wa,(t=>hh(t,yo,Co,Co)),(t=>pl(fh(t),.3)),$o,"600",Ao,Oo)
|
|
1154
1154
|
const oh=yi.create(La(xr)).withDefault("uppercase"),rh=yi.create(La(Fr)).withDefault("0.075s"),ah=yi.create(La(Nr)).withDefault("0.15s"),lh=yi.create(La(Lr)).withDefault("0.25s")
|
|
1155
1155
|
function ch(t){const{r:e,g:n,b:i}=Js(t)
|
|
@@ -1216,7 +1216,7 @@ default:return e}}function uh(t){return hh(t,oo,"#ff4646",co)}function ph(t){ret
|
|
|
1216
1216
|
|
|
1217
1217
|
@layer active {
|
|
1218
1218
|
.control:active {
|
|
1219
|
-
color: ${
|
|
1219
|
+
color: ${Ec};
|
|
1220
1220
|
text-decoration: underline;
|
|
1221
1221
|
box-shadow: none;
|
|
1222
1222
|
}
|
|
@@ -1304,7 +1304,7 @@ const yh=bh.compose({baseName:"anchor",baseClass:xn,template:(t,e)=>Q`${""}<div
|
|
|
1304
1304
|
></span></a></div>`,styles:vh,shadowOptions:{delegatesFocus:!0}})
|
|
1305
1305
|
_i.getOrCreate().withPrefix("nimble").register(yh())
|
|
1306
1306
|
const wh="nimble-anchor",xh="outline",Ch="ghost",kh="block",Sh="primary"
|
|
1307
|
-
class _h{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(t){x.getNotifier(t).subscribe(this,this.propertyName),this.handleChange(t,this.propertyName)}unbind(t){x.getNotifier(t).unsubscribe(this,this.propertyName),t.$fastController.removeStyles(this.styles)}handleChange(t,e){const n=t[e];(Array.isArray(this.value)?this.value.includes(n):this.value===n)?t.$fastController.addStyles(this.styles):t.$fastController.removeStyles(this.styles)}}function Ih(t,e){return new _h("appearance",t,e)}const Mh=
|
|
1307
|
+
class _h{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(t){x.getNotifier(t).subscribe(this,this.propertyName),this.handleChange(t,this.propertyName)}unbind(t){x.getNotifier(t).unsubscribe(this,this.propertyName),t.$fastController.removeStyles(this.styles)}handleChange(t,e){const n=t[e];(Array.isArray(this.value)?this.value.includes(n):this.value===n)?t.$fastController.addStyles(this.styles):t.$fastController.removeStyles(this.styles)}}function Ih(t,e){return new _h("appearance",t,e)}const Mh=Dt`
|
|
1308
1308
|
display: inline-block;
|
|
1309
1309
|
height: 1px;
|
|
1310
1310
|
width: 1px;
|
|
@@ -1529,7 +1529,7 @@ class _h{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1529
1529
|
border-color: rgba(${xl}, 0.1);
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
|
-
`)),
|
|
1532
|
+
`)),Dh=Mt``.withBehaviors(Ih(xh,Mt`
|
|
1533
1533
|
@layer base {
|
|
1534
1534
|
:host([appearance-variant='primary']) .control {
|
|
1535
1535
|
border-color: ${fl};
|
|
@@ -1590,9 +1590,9 @@ class _h{constructor(t,e,n){this.propertyName=t,this.value=e,this.styles=n}bind(
|
|
|
1590
1590
|
${Ml.cssCustomProperty}: ${Ol};
|
|
1591
1591
|
}
|
|
1592
1592
|
}
|
|
1593
|
-
`)),
|
|
1593
|
+
`)),Eh=Mt`
|
|
1594
1594
|
${$h}
|
|
1595
|
-
${
|
|
1595
|
+
${Dh}
|
|
1596
1596
|
|
|
1597
1597
|
.control {
|
|
1598
1598
|
text-decoration: none;
|
|
@@ -1651,7 +1651,7 @@ const Th=Ah.compose({baseName:"anchor-button",template:(t,e)=>Q`
|
|
|
1651
1651
|
</span>
|
|
1652
1652
|
${ae(0,e)}
|
|
1653
1653
|
</a>
|
|
1654
|
-
`,styles:
|
|
1654
|
+
`,styles:Eh,shadowOptions:{delegatesFocus:!0}})
|
|
1655
1655
|
_i.getOrCreate().withPrefix("nimble").register(Th())
|
|
1656
1656
|
const Oh=Mt`
|
|
1657
1657
|
${Ps("grid")}
|
|
@@ -1957,7 +1957,7 @@ const Vh=zh.compose({baseName:"anchor-tabs",template:(t,e)=>Q`
|
|
|
1957
1957
|
${ae(0,e)}
|
|
1958
1958
|
`,styles:Ph,shadowOptions:{delegatesFocus:!1}})
|
|
1959
1959
|
_i.getOrCreate().withPrefix("nimble").register(Vh())
|
|
1960
|
-
const Hh=
|
|
1960
|
+
const Hh=Dt`
|
|
1961
1961
|
user-select: none;
|
|
1962
1962
|
-webkit-user-select: none;
|
|
1963
1963
|
`,Uh=Mt`
|
|
@@ -2245,7 +2245,7 @@ e&&cl.unsubscribe(e)}}const Qh=(t,e)=>new Jh(t,e),tu=Mt`
|
|
|
2245
2245
|
}
|
|
2246
2246
|
`)),eu=Mt`
|
|
2247
2247
|
${$h}
|
|
2248
|
-
${
|
|
2248
|
+
${Dh}
|
|
2249
2249
|
`
|
|
2250
2250
|
class nu extends Fn{constructor(){super(...arguments),this.appearance=xh,this.contentHidden=!1}}t([ft],nu.prototype,"appearance",void 0),t([ft({attribute:"appearance-variant"})],nu.prototype,"appearanceVariant",void 0),t([ft({attribute:"content-hidden",mode:"boolean"})],nu.prototype,"contentHidden",void 0),t([ft({attribute:"tabindex",converter:ut})],nu.prototype,"tabIndex",void 0)
|
|
2251
2251
|
const iu=nu.compose({baseName:"button",baseClass:Fn,template:(t,e)=>Q`
|
|
@@ -2295,7 +2295,7 @@ const iu=nu.compose({baseName:"button",baseClass:Fn,template:(t,e)=>Q`
|
|
|
2295
2295
|
</button>
|
|
2296
2296
|
`,styles:eu,shadowOptions:{delegatesFocus:!0}})
|
|
2297
2297
|
_i.getOrCreate().withPrefix("nimble").register(iu())
|
|
2298
|
-
const su="nimble-button",ou={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>'},ru={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>'},au={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>'},lu={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>'},cu={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>'},du={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>'},hu={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>'},uu={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>'},pu={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>'},fu={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>'},mu={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>'},gu={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>'},vu={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>'},bu={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>'},yu={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>'},wu={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>'},xu={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>'},ku={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>'},Su={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>'},_u={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>'},Iu={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>'},Mu={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>'},$u={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>'},Eu={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>'},Du={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>'},Au={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>'},Tu={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>'},Ou={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 14a2.05 2.05 0 0 1-2-2h4a2.05 2.05 0 0 1-2 2m-5.25-3s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.297.098 2.145.587 2.25 1.43v.483c0 .32.108.426.183.463H11s.25 0 .25.483v.02s.5 4.92 1.5 4.92c.5 0 .5.745.5.745Z" class="cls-1"/></svg>'},Ru={name:"bell_and_comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.836 4.75H9.57a.71.71 0 0 0-.71.71v2.032a.71.71 0 0 0 .71.711h.356L9.57 9.625l2.488-1.422h1.778a.71.71 0 0 0 .71-.71V5.46a.71.71 0 0 0-.71-.711M8.196 11H2.75s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.224.092 2.04.537 2.217 1.294H9.57a1.713 1.713 0 0 0-1.71 1.71v2.032a1.71 1.71 0 0 0 .844 1.475ZM6 12h4a2.05 2.05 0 0 1-2 2 2.05 2.05 0 0 1-2-2m7.25-1H9.18l2.868-1.64c.198.527.431.894.702.894.5 0 .5.746.5.746" class="cls-1"/></svg>'},Fu={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>'},Nu={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>'},Lu={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>'},Bu={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>'},Pu={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>'},zu={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>'},Vu={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>'},Hu={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>'},Uu={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>'},qu={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>'},ju={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>'},Wu={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>'},Gu={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>'},Zu={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>'},Ku={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>'},Yu={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>'},Xu={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>'},Ju={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>'},Qu={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>'},tp={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>'},ep={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>'},np={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>'},ip={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>'},sp={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>'},op={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>'},rp={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>'},ap={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>'},lp={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>'},cp={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>'},dp={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>'},hp={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>'},up={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>'},pp={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>'},fp={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>'},mp={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>'},gp={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>'},vp={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>'},bp={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>'},yp={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>'},wp={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>'},xp={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>'},Cp={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>'},kp={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>'},Sp={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>'},_p={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>'},Ip={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>'},$p={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>'},Ep={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>'},Dp={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>'},Ap={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>'},Tp={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>'},Op={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>'},Rp={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>'},Fp={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>'},Np={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>'},Lp={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>'},Bp={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>'},Pp={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>'},zp={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>'},Vp={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>'},Hp={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>'},Up={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>'},qp={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>'},jp={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>'},Wp={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>'},Gp={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>'},Zp={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>'},Kp={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>'},Yp={name:"floppy_disk_pen_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.17 11.108 7.299 11H7V9H5v2H4V8h6v.696l1.626-1.386c.107-.09.228-.155.355-.206L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497 3.136.001zM3 7V4h8v3z" class="cls-2"/><path d="M12.275 8.07c.218-.185.693-.008 1.205.552s.635 1.038.418 1.223l-.92.784-1.621-1.775zm-4.92 6.113 1.98-.899-.985.164.043-.94-.32.161.104-.652-1.17 1.786zm2.212-.645L6 15l1.945-3.236 2.1-1.791 1.622 1.774zm2.862-2.49-1.622-1.774c-.118-.13.148-.349.262-.224l1.623 1.775c.117.128-.15.348-.263.224m-.522.452-1.622-1.775c-.118-.129.148-.349.262-.223l1.623 1.774c.117.128-.15.348-.263.224" class="cls-1"/></svg>'},Xp={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>'},Jp={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>'},Qp={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>'},tf={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>'},ef={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>'},nf={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>'},sf={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>'},of={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>'},rf={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>'},af={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>'},lf={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>'},cf={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>'},df={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>'},hf={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>'},uf={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>'},pf={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>'},ff={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>'},mf={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>'},gf={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>'},vf={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>'},bf={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>'},yf={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>'},wf={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>'},xf={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>'},Cf={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>'},kf={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>'},Sf={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>'},_f={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>'},If={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>'},Mf={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>'},$f={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>'},Ef={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>'},Df={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>'},Af={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>'},Tf={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>'},Of={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>'},Rf={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>'},Ff={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>'},Nf={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>'},Lf={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>'},Bf={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>'},Pf={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>'},zf={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>'},Vf={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.413 2.674c.326-.288 1.04-.013 1.807.857.768.869.952 1.61.626 1.898l-1.378 1.218-2.433-2.757Zm-7.381 9.493 2.97-1.396-1.477.254.064-1.459-.48.25.156-1.013-1.754 2.774Zm3.319-1.002L2 13.435 4.917 8.41l3.15-2.78L10.5 8.383Zm4.293-3.866L9.21 4.544c-.177-.202.222-.543.394-.349l2.434 2.756c.175.2-.224.54-.394.348m-.783.7L8.428 5.244c-.178-.201.22-.542.393-.347l2.433 2.755c.176.199-.223.54-.393.347" class="cls-1"/></svg>'},Hf={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>'},Uf={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>'},qf={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>'},jf={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>'},Wf={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>'},Gf={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>'},Zf={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>'},Kf={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>'},Yf={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>'},Xf={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>'},Jf={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>'},Qf={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>'},tm={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>'},em={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>'},nm={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>'},im={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>'},sm={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>'},om={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>'},rm={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>'},am={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>'},lm={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>'},cm={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>'},dm={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>'},hm={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>'},um={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>'},pm={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>'},fm={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>'},mm={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>'},gm={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>'},vm={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>'},bm={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>'},ym={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>'},wm={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>'},xm={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>'},Cm={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>'},km={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>'},Sm={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>'},_m={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>'},Im={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>'},Mm={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>'},$m={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>'},Em={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>'},Dm={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>'},Am={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>'},Tm={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>'},Om={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>'},Rm={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>'},Fm={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>'},Nm={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>'},Lm={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>'},Bm={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>'},Pm={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>'},zm={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>'},Vm={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>'},Hm={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>'},Um=Q`<div
|
|
2298
|
+
const su="nimble-button",ou={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>'},ru={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>'},au={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>'},lu={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>'},cu={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>'},du={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>'},hu={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>'},uu={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>'},pu={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>'},fu={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>'},mu={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>'},gu={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>'},vu={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>'},bu={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>'},yu={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>'},wu={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>'},xu={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>'},ku={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>'},Su={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>'},_u={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>'},Iu={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>'},Mu={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>'},$u={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>'},Du={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>'},Eu={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>'},Au={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>'},Tu={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>'},Ou={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 14a2.05 2.05 0 0 1-2-2h4a2.05 2.05 0 0 1-2 2m-5.25-3s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.297.098 2.145.587 2.25 1.43v.483c0 .32.108.426.183.463H11s.25 0 .25.483v.02s.5 4.92 1.5 4.92c.5 0 .5.745.5.745Z" class="cls-1"/></svg>'},Ru={name:"bell_and_comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M13.836 4.75H9.57a.71.71 0 0 0-.71.71v2.032a.71.71 0 0 0 .71.711h.356L9.57 9.625l2.488-1.422h1.778a.71.71 0 0 0 .71-.71V5.46a.71.71 0 0 0-.71-.711M8.196 11H2.75s0-.746.5-.746h.065c.935 0 1.435-4.918 1.435-4.918 0-.504.25-.504.25-.504h.067c.075-.037.183-.143.183-.463v-.484c.105-.842.953-1.331 2.25-1.43v-.262c0-.081.09-.15.219-.193h.562c.129.043.219.112.219.193v.263c1.224.092 2.04.537 2.217 1.294H9.57a1.713 1.713 0 0 0-1.71 1.71v2.032a1.71 1.71 0 0 0 .844 1.475ZM6 12h4a2.05 2.05 0 0 1-2 2 2.05 2.05 0 0 1-2-2m7.25-1H9.18l2.868-1.64c.198.527.431.894.702.894.5 0 .5.746.5.746" class="cls-1"/></svg>'},Fu={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>'},Nu={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>'},Lu={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>'},Bu={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>'},Pu={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>'},zu={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>'},Vu={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>'},Hu={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>'},Uu={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>'},qu={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>'},ju={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>'},Wu={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>'},Gu={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>'},Zu={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>'},Ku={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>'},Yu={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>'},Xu={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>'},Ju={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>'},Qu={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>'},tp={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>'},ep={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>'},np={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>'},ip={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>'},sp={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>'},op={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>'},rp={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>'},ap={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>'},lp={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>'},cp={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>'},dp={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>'},hp={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>'},up={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>'},pp={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>'},fp={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>'},mp={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>'},gp={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>'},vp={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>'},bp={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>'},yp={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>'},wp={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>'},xp={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>'},Cp={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>'},kp={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>'},Sp={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>'},_p={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>'},Ip={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>'},$p={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>'},Dp={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>'},Ep={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>'},Ap={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>'},Tp={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>'},Op={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>'},Rp={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>'},Fp={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>'},Np={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>'},Lp={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>'},Bp={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>'},Pp={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>'},zp={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>'},Vp={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>'},Hp={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>'},Up={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>'},qp={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>'},jp={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>'},Wp={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>'},Gp={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>'},Zp={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>'},Kp={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>'},Yp={name:"floppy_disk_pen_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M7.17 11.108 7.299 11H7V9H5v2H4V8h6v.696l1.626-1.386c.107-.09.228-.155.355-.206L12 3.546c0-.33-.215-.546-.545-.546H2.583A.585.585 0 0 0 2 3.598V10.5l1.5 1.497 3.136.001zM3 7V4h8v3z" class="cls-2"/><path d="M12.275 8.07c.218-.185.693-.008 1.205.552s.635 1.038.418 1.223l-.92.784-1.621-1.775zm-4.92 6.113 1.98-.899-.985.164.043-.94-.32.161.104-.652-1.17 1.786zm2.212-.645L6 15l1.945-3.236 2.1-1.791 1.622 1.774zm2.862-2.49-1.622-1.774c-.118-.13.148-.349.262-.224l1.623 1.775c.117.128-.15.348-.263.224m-.522.452-1.622-1.775c-.118-.129.148-.349.262-.223l1.623 1.774c.117.128-.15.348-.263.224" class="cls-1"/></svg>'},Xp={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>'},Jp={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>'},Qp={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>'},tf={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>'},ef={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>'},nf={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>'},sf={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>'},of={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>'},rf={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>'},af={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>'},lf={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>'},cf={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>'},df={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>'},hf={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>'},uf={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>'},pf={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>'},ff={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>'},mf={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>'},gf={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>'},vf={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>'},bf={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>'},yf={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>'},wf={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>'},xf={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>'},Cf={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>'},kf={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>'},Sf={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>'},_f={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>'},If={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>'},Mf={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>'},$f={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>'},Df={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>'},Ef={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>'},Af={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>'},Tf={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>'},Of={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>'},Rf={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>'},Ff={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>'},Nf={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>'},Lf={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>'},Bf={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>'},Pf={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>'},zf={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>'},Vf={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M11.413 2.674c.326-.288 1.04-.013 1.807.857.768.869.952 1.61.626 1.898l-1.378 1.218-2.433-2.757Zm-7.381 9.493 2.97-1.396-1.477.254.064-1.459-.48.25.156-1.013-1.754 2.774Zm3.319-1.002L2 13.435 4.917 8.41l3.15-2.78L10.5 8.383Zm4.293-3.866L9.21 4.544c-.177-.202.222-.543.394-.349l2.434 2.756c.175.2-.224.54-.394.348m-.783.7L8.428 5.244c-.178-.201.22-.542.393-.347l2.433 2.755c.176.199-.223.54-.393.347" class="cls-1"/></svg>'},Hf={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>'},Uf={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>'},qf={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>'},jf={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>'},Wf={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>'},Gf={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>'},Zf={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>'},Kf={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>'},Yf={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>'},Xf={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>'},Jf={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>'},Qf={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>'},tm={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>'},em={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>'},nm={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>'},im={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>'},sm={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>'},om={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>'},rm={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>'},am={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>'},lm={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>'},cm={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>'},dm={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>'},hm={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>'},um={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>'},pm={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>'},fm={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>'},mm={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>'},gm={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>'},vm={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>'},bm={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>'},ym={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>'},wm={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>'},xm={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>'},Cm={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>'},km={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>'},Sm={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>'},_m={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>'},Im={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>'},Mm={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>'},$m={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>'},Dm={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>'},Em={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>'},Am={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>'},Tm={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>'},Om={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>'},Rm={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>'},Fm={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>'},Nm={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>'},Lm={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>'},Bm={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>'},Pm={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>'},zm={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>'},Vm={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>'},Hm={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>'},Um=Q`<div
|
|
2299
2299
|
class="icon"
|
|
2300
2300
|
aria-hidden="true"
|
|
2301
2301
|
:innerHTML=${t=>t.icon.data}
|
|
@@ -2505,7 +2505,7 @@ const Cg=Mt`
|
|
|
2505
2505
|
|
|
2506
2506
|
@layer active {
|
|
2507
2507
|
.control:active {
|
|
2508
|
-
color: ${
|
|
2508
|
+
color: ${Ec};
|
|
2509
2509
|
text-decoration: underline;
|
|
2510
2510
|
box-shadow: none;
|
|
2511
2511
|
}
|
|
@@ -2582,7 +2582,7 @@ const Sg=Mt`
|
|
|
2582
2582
|
flex-direction: column;
|
|
2583
2583
|
gap: ${Ul};
|
|
2584
2584
|
padding: ${Ul};
|
|
2585
|
-
border: 2px solid ${
|
|
2585
|
+
border: 2px solid ${El};
|
|
2586
2586
|
border-radius: 8px;
|
|
2587
2587
|
font: ${id};
|
|
2588
2588
|
color: ${sd};
|
|
@@ -2734,7 +2734,7 @@ const Mg=Mt`
|
|
|
2734
2734
|
}
|
|
2735
2735
|
`))
|
|
2736
2736
|
class $g extends Fn{constructor(){super(...arguments),this.selected=!1}}t([ft({mode:"boolean"})],$g.prototype,"selected",void 0)
|
|
2737
|
-
const
|
|
2737
|
+
const Dg=$g.compose({baseName:"card-button",template:(t,e)=>Q`
|
|
2738
2738
|
<button
|
|
2739
2739
|
class="control"
|
|
2740
2740
|
part="control"
|
|
@@ -2779,8 +2779,8 @@ const Eg=$g.compose({baseName:"card-button",template:(t,e)=>Q`
|
|
|
2779
2779
|
${ae(0,e)}
|
|
2780
2780
|
</button>
|
|
2781
2781
|
`,styles:Mg,shadowOptions:{delegatesFocus:!0}})
|
|
2782
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
2783
|
-
const
|
|
2782
|
+
_i.getOrCreate().withPrefix("nimble").register(Dg())
|
|
2783
|
+
const Eg=Mt`
|
|
2784
2784
|
${Ps("inline-flex")}
|
|
2785
2785
|
|
|
2786
2786
|
:host {
|
|
@@ -2912,11 +2912,11 @@ const Tg=Ag.compose({baseName:"checkbox",baseClass:zn,template:(t,e)=>Q`
|
|
|
2912
2912
|
<slot ${ie("defaultSlottedNodes")}></slot>
|
|
2913
2913
|
</label>
|
|
2914
2914
|
</template>
|
|
2915
|
-
`,styles:
|
|
2915
|
+
`,styles:Eg,checkedIndicator:Ju.data,indeterminateIndicator:Af.data})
|
|
2916
2916
|
_i.getOrCreate().withPrefix("nimble").register(Tg())
|
|
2917
2917
|
const Og="nimble-checkbox",Rg=Mt`
|
|
2918
2918
|
${$h}
|
|
2919
|
-
${
|
|
2919
|
+
${Dh}
|
|
2920
2920
|
|
|
2921
2921
|
@layer checked {
|
|
2922
2922
|
.control[aria-pressed='true'] {
|
|
@@ -3197,7 +3197,7 @@ const Pg="nimble-icon-arrow-expander-down",zg="above",Vg="underline",Hg="outline
|
|
|
3197
3197
|
)
|
|
3198
3198
|
);
|
|
3199
3199
|
box-shadow: ${Ql};
|
|
3200
|
-
border: ${ql} solid ${
|
|
3200
|
+
border: ${ql} solid ${Dl};
|
|
3201
3201
|
background-color: ${ml};
|
|
3202
3202
|
}
|
|
3203
3203
|
|
|
@@ -3388,7 +3388,7 @@ const Pg="nimble-icon-arrow-expander-down",zg="above",Vg="underline",Hg="outline
|
|
|
3388
3388
|
}
|
|
3389
3389
|
`))
|
|
3390
3390
|
class Zg{constructor(t,e){this.target=t,this.propertyName=e}bind(t){this.source=t,this.setSourceValue(!1),this.mouseOverHandler=()=>{const t=this.target.offsetWidth<this.target.scrollWidth
|
|
3391
|
-
this.setSourceValue(t)},this.mouseOutHandler=()=>{this.setSourceValue(!1)},this.target.addEventListener("mouseover",this.mouseOverHandler),this.target.addEventListener("mouseout",this.mouseOutHandler)}unbind(){this.source=void 0,this.target.removeEventListener("mouseover",this.mouseOverHandler),this.target.removeEventListener("mouseout",this.mouseOutHandler)}setSourceValue(t){this.source[this.propertyName]=t}}function Kg(t){return new
|
|
3391
|
+
this.setSourceValue(t)},this.mouseOutHandler=()=>{this.setSourceValue(!1)},this.target.addEventListener("mouseover",this.mouseOverHandler),this.target.addEventListener("mouseout",this.mouseOutHandler)}unbind(){this.source=void 0,this.target.removeEventListener("mouseover",this.mouseOverHandler),this.target.removeEventListener("mouseout",this.mouseOutHandler)}setSourceValue(t){this.source[this.propertyName]=t}}function Kg(t){return new D("nimble-overflow",Zg,t)}let Yg=class extends Fi{}
|
|
3392
3392
|
class Xg extends(An(Yg)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Jg extends Xg{constructor(){super(...arguments),this.appearance=Vg,this.errorVisible=!1,this.open=!1,this.filteredOptions=[],this.hasOverflow=!1,this.listboxId=el("listbox-"),this.availableViewportHeight=0,this.valueUpdatedByInput=!1,this._value="",this.filter="",this.forcedPosition=!1}get value(){return x.track(this,"value"),this._value}set value(t){const e=this._value
|
|
3393
3393
|
let n=t
|
|
3394
3394
|
if(this.$fastController.isConnected&&this.options){const e=this.findIndexOfValidOption(t),i=this.options[this.selectedIndex]?.text,s=this.options[e]?.text
|
|
@@ -3835,8 +3835,8 @@ Wm("icon-arrow-up-left-and-arrow-down-right",class extends jm{constructor(){supe
|
|
|
3835
3835
|
Wm("icon-arrow-up-rectangle",class extends jm{constructor(){super(Iu)}})
|
|
3836
3836
|
Wm("icon-arrow-up-right-and-arrow-down-left",class extends jm{constructor(){super(Mu)}})
|
|
3837
3837
|
Wm("icon-arrow-up-right-from-square",class extends jm{constructor(){super($u)}})
|
|
3838
|
-
Wm("icon-arrows-maximize",class extends jm{constructor(){super(
|
|
3839
|
-
Wm("icon-arrows-repeat",class extends jm{constructor(){super(
|
|
3838
|
+
Wm("icon-arrows-maximize",class extends jm{constructor(){super(Du)}})
|
|
3839
|
+
Wm("icon-arrows-repeat",class extends jm{constructor(){super(Eu)}})
|
|
3840
3840
|
Wm("icon-at",class extends jm{constructor(){super(Au)}})
|
|
3841
3841
|
Wm("icon-bars",class extends jm{constructor(){super(Tu)}})
|
|
3842
3842
|
Wm("icon-bell",class extends jm{constructor(){super(Ou)}})
|
|
@@ -3890,8 +3890,8 @@ Wm("icon-dashboard-builder",class extends jm{constructor(){super(_p)}})
|
|
|
3890
3890
|
Wm("icon-dashboard-builder-legend",class extends jm{constructor(){super(Ip)}})
|
|
3891
3891
|
Wm("icon-dashboard-builder-templates",class extends jm{constructor(){super(Mp)}})
|
|
3892
3892
|
Wm("icon-dashboard-builder-tile",class extends jm{constructor(){super($p)}})
|
|
3893
|
-
Wm("icon-database",class extends jm{constructor(){super(
|
|
3894
|
-
Wm("icon-database-check",class extends jm{constructor(){super(
|
|
3893
|
+
Wm("icon-database",class extends jm{constructor(){super(Dp)}})
|
|
3894
|
+
Wm("icon-database-check",class extends jm{constructor(){super(Ep)}})
|
|
3895
3895
|
Wm("icon-debug",class extends jm{constructor(){super(Ap)}})
|
|
3896
3896
|
Wm("icon-desktop",class extends jm{constructor(){super(Tp)}})
|
|
3897
3897
|
Wm("icon-donut-chart",class extends jm{constructor(){super(Op)}})
|
|
@@ -3943,9 +3943,9 @@ const gv="nimble-icon-list"
|
|
|
3943
3943
|
Wm("icon-list-tree",class extends jm{constructor(){super(If)}})
|
|
3944
3944
|
Wm("icon-list-tree-database",class extends jm{constructor(){super(Mf)}})
|
|
3945
3945
|
Wm("icon-lock",class extends jm{constructor(){super($f)}})
|
|
3946
|
-
Wm("icon-magnifying-glass",class extends jm{constructor(){super(
|
|
3946
|
+
Wm("icon-magnifying-glass",class extends jm{constructor(){super(Df)}})
|
|
3947
3947
|
const vv="nimble-icon-magnifying-glass"
|
|
3948
|
-
Wm("icon-markdown",class extends jm{constructor(){super(
|
|
3948
|
+
Wm("icon-markdown",class extends jm{constructor(){super(Ef)}})
|
|
3949
3949
|
Wm("icon-minus",class extends jm{constructor(){super(Af)}})
|
|
3950
3950
|
Wm("icon-minus-wide",class extends jm{constructor(){super(Tf)}})
|
|
3951
3951
|
const bv="nimble-icon-minus-wide"
|
|
@@ -4001,8 +4001,8 @@ Wm("icon-true-false-rectangle",class extends jm{constructor(){super(Im)}})
|
|
|
4001
4001
|
Wm("icon-two-squares-in-brackets",class extends jm{constructor(){super(Mm)}})
|
|
4002
4002
|
const Cv="nimble-icon-two-squares-in-brackets"
|
|
4003
4003
|
Wm("icon-two-triangles-between-lines",class extends jm{constructor(){super($m)}})
|
|
4004
|
-
Wm("icon-unlink",class extends jm{constructor(){super(
|
|
4005
|
-
Wm("icon-unlock",class extends jm{constructor(){super(
|
|
4004
|
+
Wm("icon-unlink",class extends jm{constructor(){super(Dm)}})
|
|
4005
|
+
Wm("icon-unlock",class extends jm{constructor(){super(Em)}})
|
|
4006
4006
|
Wm("icon-up-right-from-square",class extends jm{constructor(){super(Am)}})
|
|
4007
4007
|
Wm("icon-upload",class extends jm{constructor(){super(Tm)}})
|
|
4008
4008
|
Wm("icon-user",class extends jm{constructor(){super(Om)}})
|
|
@@ -4024,7 +4024,7 @@ null==n?e.deleteValueFor(this.themeProvider):e.setValueFor(this.themeProvider,n)
|
|
|
4024
4024
|
class Iv extends kv{constructor(){super(...arguments),this.supportedLabels=_v}}t([ft({attribute:"popup-dismiss"})],Iv.prototype,"popupDismiss",void 0),t([ft({attribute:"numeric-decrement"})],Iv.prototype,"numericDecrement",void 0),t([ft({attribute:"numeric-increment"})],Iv.prototype,"numericIncrement",void 0),t([ft({attribute:"popup-icon-error"})],Iv.prototype,"popupIconError",void 0),t([ft({attribute:"popup-icon-warning"})],Iv.prototype,"popupIconWarning",void 0),t([ft({attribute:"popup-icon-information"})],Iv.prototype,"popupIconInformation",void 0),t([ft({attribute:"filter-search"})],Iv.prototype,"filterSearch",void 0),t([ft({attribute:"filter-no-results"})],Iv.prototype,"filterNoResults",void 0),t([ft({attribute:"loading"})],Iv.prototype,"loading",void 0)
|
|
4025
4025
|
const Mv=Iv.compose({baseName:"label-provider-core",styles:Sv})
|
|
4026
4026
|
_i.getOrCreate().withPrefix("nimble").register(Mv())
|
|
4027
|
-
const $v="Collapse group",
|
|
4027
|
+
const $v="Collapse group",Dv="Expand group",Ev="Collapse row",Av="Expand row",Tv="Collapse all",Ov="Options",Rv="Grouped",Fv="Sorted ascending",Nv="Sorted descending",Lv="Select all rows",Bv="Select all rows in group",Pv="Select row",zv="Row operations",Vv="Loading",Hv="No value",Uv="Empty",qv=yi.create({name:"table-group-collapse-label",cssCustomPropertyName:null}).withDefault($v),jv=yi.create({name:"table-group-expand-label",cssCustomPropertyName:null}).withDefault(Dv),Wv=yi.create({name:"table-row-collapse-label",cssCustomPropertyName:null}).withDefault(Ev),Gv=yi.create({name:"table-row-expand-label",cssCustomPropertyName:null}).withDefault(Av),Zv=yi.create({name:"table-collapse-all-label",cssCustomPropertyName:null}).withDefault(Tv),Kv=yi.create({name:"table-cell-action-menu-label",cssCustomPropertyName:null}).withDefault(Ov),Yv=yi.create({name:"table-column-header-grouped-label",cssCustomPropertyName:null}).withDefault(Rv),Xv=yi.create({name:"table-column-header-sorted-ascending-label",cssCustomPropertyName:null}).withDefault(Fv),Jv=yi.create({name:"table-column-header-sorted-descending-label",cssCustomPropertyName:null}).withDefault(Nv),Qv=yi.create({name:"table-select-all-label",cssCustomPropertyName:null}).withDefault(Lv),tb=yi.create({name:"table-group-select-all-label",cssCustomPropertyName:null}).withDefault(Bv),eb=yi.create({name:"table-row-select-label",cssCustomPropertyName:null}).withDefault(Pv),nb=yi.create({name:"table-row-operation-column-label",cssCustomPropertyName:null}).withDefault(zv),ib=yi.create({name:"table-row-loading-label",cssCustomPropertyName:null}).withDefault(Vv),sb=yi.create({name:"table-group-row-placeholder-no-value-label",cssCustomPropertyName:null}).withDefault(Hv),ob=yi.create({name:"table-group-row-placeholder-empty-label",cssCustomPropertyName:null}).withDefault(Uv),rb={groupCollapse:qv,groupExpand:jv,rowCollapse:Wv,rowExpand:Gv,collapseAll:Zv,cellActionMenu:Kv,columnHeaderGrouped:Yv,columnHeaderSortedAscending:Xv,columnHeaderSortedDescending:Jv,selectAll:Qv,groupSelectAll:tb,rowSelect:eb,rowOperationColumn:nb,rowLoading:ib,groupRowPlaceholderNoValue:sb,groupRowPlaceholderEmpty:ob}
|
|
4028
4028
|
class ab extends kv{constructor(){super(...arguments),this.supportedLabels=rb}}t([ft({attribute:"group-collapse"})],ab.prototype,"groupCollapse",void 0),t([ft({attribute:"group-expand"})],ab.prototype,"groupExpand",void 0),t([ft({attribute:"row-collapse"})],ab.prototype,"rowCollapse",void 0),t([ft({attribute:"row-expand"})],ab.prototype,"rowExpand",void 0),t([ft({attribute:"collapse-all"})],ab.prototype,"collapseAll",void 0),t([ft({attribute:"cell-action-menu"})],ab.prototype,"cellActionMenu",void 0),t([ft({attribute:"column-header-grouped"})],ab.prototype,"columnHeaderGrouped",void 0),t([ft({attribute:"column-header-sorted-ascending"})],ab.prototype,"columnHeaderSortedAscending",void 0),t([ft({attribute:"column-header-sorted-descending"})],ab.prototype,"columnHeaderSortedDescending",void 0),t([ft({attribute:"select-all"})],ab.prototype,"selectAll",void 0),t([ft({attribute:"group-select-all"})],ab.prototype,"groupSelectAll",void 0),t([ft({attribute:"row-select"})],ab.prototype,"rowSelect",void 0),t([ft({attribute:"row-operation-column"})],ab.prototype,"rowOperationColumn",void 0),t([ft({attribute:"row-loading"})],ab.prototype,"rowLoading",void 0),t([ft({attribute:"group-row-placeholder-no-value"})],ab.prototype,"groupRowPlaceholderNoValue",void 0),t([ft({attribute:"group-row-placeholder-empty"})],ab.prototype,"groupRowPlaceholderEmpty",void 0)
|
|
4029
4029
|
const lb=ab.compose({baseName:"label-provider-table",styles:Sv})
|
|
4030
4030
|
_i.getOrCreate().withPrefix("nimble").register(lb())
|
|
@@ -4236,9 +4236,9 @@ class Ib extends bb{constructor(){super(...arguments),this.textHidden=!1}}t([ft(
|
|
|
4236
4236
|
const Mb=Ib.compose({baseName:"mapping-spinner",template:yb,styles:wb})
|
|
4237
4237
|
_i.getOrCreate().withPrefix("nimble").register(Mb())
|
|
4238
4238
|
class $b extends bb{}t([ft()],$b.prototype,"text",void 0)
|
|
4239
|
-
const
|
|
4240
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
4241
|
-
let
|
|
4239
|
+
const Db=$b.compose({baseName:"mapping-text",template:yb,styles:wb})
|
|
4240
|
+
_i.getOrCreate().withPrefix("nimble").register(Db())
|
|
4241
|
+
let Eb=class t extends We{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&Ba(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=t=>{if(!this.contains(t.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem()
|
|
4242
4242
|
const t=this.menuItems.findIndex(this.isFocusableElement)
|
|
4243
4243
|
this.menuItems[this.focusIndex]?.setAttribute("tabindex","-1"),this.menuItems[t]?.setAttribute("tabindex","0"),this.focusIndex=t}},this.handleItemFocus=t=>{const e=t.target
|
|
4244
4244
|
void 0!==this.menuItems&&e!==this.menuItems[this.focusIndex]&&(this.menuItems[this.focusIndex]?.setAttribute("tabindex","-1"),this.focusIndex=this.menuItems.indexOf(e),e.setAttribute("tabindex","0"))},this.handleExpandedChanged=t=>{if(t.defaultPrevented||null===t.target||void 0===this.menuItems||!this.menuItems.includes(t.target))return
|
|
@@ -4266,13 +4266,13 @@ let n=t
|
|
|
4266
4266
|
for(;n>=0&&n<this.menuItems.length;){const t=this.menuItems[n]
|
|
4267
4267
|
if(this.isFocusableElement(t)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex]?.setAttribute("tabindex","-1"),this.focusIndex=n,t.setAttribute("tabindex","0"),t.focus()
|
|
4268
4268
|
break}n+=e}}}
|
|
4269
|
-
|
|
4269
|
+
Eb.focusableElementRoles=Pi,t([C],Eb.prototype,"items",void 0),t([C],Eb.prototype,"itemIcons",void 0)
|
|
4270
4270
|
const Ab=Mt`
|
|
4271
4271
|
${Ps("grid")}
|
|
4272
4272
|
|
|
4273
4273
|
:host {
|
|
4274
4274
|
background: ${ml};
|
|
4275
|
-
border: ${ql} solid ${
|
|
4275
|
+
border: ${ql} solid ${Dl};
|
|
4276
4276
|
margin: 0;
|
|
4277
4277
|
min-width: ${Yl};
|
|
4278
4278
|
width: max-content;
|
|
@@ -4320,7 +4320,7 @@ const Ab=Mt`
|
|
|
4320
4320
|
background: ${pl(co,.15)};
|
|
4321
4321
|
}
|
|
4322
4322
|
`))
|
|
4323
|
-
const Tb=class extends
|
|
4323
|
+
const Tb=class extends Eb{}.compose({baseName:"menu",baseClass:Eb,template:()=>Q`
|
|
4324
4324
|
<template
|
|
4325
4325
|
slot="${t=>t.slot?t.slot:t.isNestedMenu()?"submenu":void 0}"
|
|
4326
4326
|
role="menu"
|
|
@@ -4601,6 +4601,7 @@ const Vb="underline",Hb="outline",Ub="block",qb=Mt`
|
|
|
4601
4601
|
border-bottom-color: ${Il};
|
|
4602
4602
|
}
|
|
4603
4603
|
|
|
4604
|
+
:host([readonly]) .root,
|
|
4604
4605
|
:host([disabled]) .root {
|
|
4605
4606
|
border-color: rgba(${xl}, 0.1);
|
|
4606
4607
|
}
|
|
@@ -4642,6 +4643,7 @@ const Vb="underline",Hb="outline",Ub="block",qb=Mt`
|
|
|
4642
4643
|
width: 100%;
|
|
4643
4644
|
}
|
|
4644
4645
|
|
|
4646
|
+
:host([readonly]:hover) .root::after,
|
|
4645
4647
|
:host([disabled]:hover) .root::after {
|
|
4646
4648
|
width: 0px;
|
|
4647
4649
|
}
|
|
@@ -4720,11 +4722,20 @@ const Vb="underline",Hb="outline",Ub="block",qb=Mt`
|
|
|
4720
4722
|
}
|
|
4721
4723
|
|
|
4722
4724
|
:host(:hover) .root {
|
|
4725
|
+
border-bottom-width: ${ql};
|
|
4723
4726
|
padding-bottom: 0;
|
|
4724
4727
|
}
|
|
4725
4728
|
|
|
4729
|
+
:host([readonly]) .root,
|
|
4726
4730
|
:host([disabled]) .root {
|
|
4727
4731
|
background-color: rgba(${xl}, 0.07);
|
|
4732
|
+
border-color: transparent;
|
|
4733
|
+
}
|
|
4734
|
+
|
|
4735
|
+
:host([error-visible][readonly]) .root,
|
|
4736
|
+
:host([error-visible][disabled]) .root {
|
|
4737
|
+
padding-bottom: 0;
|
|
4738
|
+
border-bottom-color: ${Cl};
|
|
4728
4739
|
}
|
|
4729
4740
|
`),Ih(Hb,Mt`
|
|
4730
4741
|
.root {
|
|
@@ -5193,7 +5204,7 @@ this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebu
|
|
|
5193
5204
|
return t.text=this.text,t}}function Iy(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")"
|
|
5194
5205
|
return e}class My{constructor(t){this.validEnd=t,this.next=[],this.wrapCache=[]}static parse(t,e){let n=new $y(t,e)
|
|
5195
5206
|
if(null==n.next)return My.empty
|
|
5196
|
-
let i=
|
|
5207
|
+
let i=Dy(n)
|
|
5197
5208
|
n.next&&n.err("Unexpected trailing text")
|
|
5198
5209
|
let s=function(t){let e=Object.create(null)
|
|
5199
5210
|
return n(Fy(t,0))
|
|
@@ -5245,11 +5256,11 @@ return function e(n){t.push(n)
|
|
|
5245
5256
|
for(let i=0;i<n.next.length;i++)-1==t.indexOf(n.next[i].next)&&e(n.next[i].next)}(this),t.map(((e,n)=>{let i=n+(e.validEnd?"*":" ")+" "
|
|
5246
5257
|
for(let n=0;n<e.next.length;n++)i+=(n?", ":"")+e.next[n].type.name+"->"+t.indexOf(e.next[n].next)
|
|
5247
5258
|
return i})).join("\n")}}My.empty=new My(!0)
|
|
5248
|
-
class $y{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function
|
|
5249
|
-
do{e.push(
|
|
5250
|
-
return 1==e.length?e[0]:{type:"choice",exprs:e}}function
|
|
5259
|
+
class $y{constructor(t,e){this.string=t,this.nodeTypes=e,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function Dy(t){let e=[]
|
|
5260
|
+
do{e.push(Ey(t))}while(t.eat("|"))
|
|
5261
|
+
return 1==e.length?e[0]:{type:"choice",exprs:e}}function Ey(t){let e=[]
|
|
5251
5262
|
do{e.push(Ay(t))}while(t.next&&")"!=t.next&&"|"!=t.next)
|
|
5252
|
-
return 1==e.length?e[0]:{type:"seq",exprs:e}}function Ay(t){let e=function(t){if(t.eat("(")){let e=
|
|
5263
|
+
return 1==e.length?e[0]:{type:"seq",exprs:e}}function Ay(t){let e=function(t){if(t.eat("(")){let e=Dy(t)
|
|
5253
5264
|
return t.eat(")")||t.err("Missing closing paren"),e}if(!/\W/.test(t.next)){let e=function(t,e){let n=t.nodeTypes,i=n[e]
|
|
5254
5265
|
if(i)return[i]
|
|
5255
5266
|
let s=[]
|
|
@@ -5569,10 +5580,10 @@ let r=n.content.cutByIndex(o,n.childCount),a=i&&i[e+1]
|
|
|
5569
5580
|
a&&(r=r.replaceChild(0,a.type.create(a.attrs)))
|
|
5570
5581
|
let l=i&&i[e]||n
|
|
5571
5582
|
if(!n.canReplace(o+1,n.childCount)||!l.type.validContent(r))return!1}let a=s.indexAfter(o),l=i&&i[0]
|
|
5572
|
-
return s.node(o).canReplaceWith(a,a,l?l.type:s.node(o+1).type)}function
|
|
5573
|
-
return
|
|
5583
|
+
return s.node(o).canReplaceWith(a,a,l?l.type:s.node(o+1).type)}function Dw(t,e){let n=t.resolve(e),i=n.index()
|
|
5584
|
+
return Ew(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(i,i+1)}function Ew(t,e){return!(!t||!e||t.isLeaf||!t.canAppend(e))}function Aw(t,e,n=-1){let i=t.resolve(e)
|
|
5574
5585
|
for(let t=i.depth;;t--){let s,o,r=i.index(t)
|
|
5575
|
-
if(t==i.depth?(s=i.nodeBefore,o=i.nodeAfter):n>0?(s=i.node(t+1),r++,o=i.node(t).maybeChild(r)):(s=i.node(t).maybeChild(r-1),o=i.node(t+1)),s&&!s.isTextblock&&
|
|
5586
|
+
if(t==i.depth?(s=i.nodeBefore,o=i.nodeAfter):n>0?(s=i.node(t+1),r++,o=i.node(t).maybeChild(r)):(s=i.node(t).maybeChild(r-1),o=i.node(t+1)),s&&!s.isTextblock&&Ew(s,o)&&i.node(t).canReplace(r,r+1))return e
|
|
5576
5587
|
if(0==t)break
|
|
5577
5588
|
e=n<0?i.before(t):i.after(t)}}function Tw(t,e,n=e,i=ry.empty){if(e==n&&!i.size)return null
|
|
5578
5589
|
let s=t.resolve(e),o=t.resolve(n)
|
|
@@ -5825,9 +5836,9 @@ if("false"==(t=t.childNodes[e+(s<0?-1:0)]).contentEditable)return!1
|
|
|
5825
5836
|
e=s<0?kx(t):0}}}function kx(t){return 3==t.nodeType?t.nodeValue.length:t.childNodes.length}function Sx(t){let e
|
|
5826
5837
|
for(let n=t;n&&!(e=n.pmViewDesc);n=n.parentNode);return e&&e.node&&e.node.isBlock&&(e.dom==t||e.contentDOM==t)}const _x=function(t){return t.focusNode&&wx(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)}
|
|
5827
5838
|
function Ix(t,e){let n=document.createEvent("Event")
|
|
5828
|
-
return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}const Mx="undefined"!=typeof navigator?navigator:null,$x="undefined"!=typeof document?document:null,
|
|
5829
|
-
Fx&&(/Firefox\/(\d+)/.exec(
|
|
5830
|
-
const Nx=!Ox&&/Chrome\/(\d+)/.exec(
|
|
5839
|
+
return n.initEvent("keydown",!0,!0),n.keyCode=t,n.key=n.code=e,n}const Mx="undefined"!=typeof navigator?navigator:null,$x="undefined"!=typeof document?document:null,Dx=Mx&&Mx.userAgent||"",Ex=/Edge\/(\d+)/.exec(Dx),Ax=/MSIE \d/.exec(Dx),Tx=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Dx),Ox=!!(Ax||Tx||Ex),Rx=Ax?document.documentMode:Tx?+Tx[1]:Ex?+Ex[1]:0,Fx=!Ox&&/gecko\/(\d+)/i.test(Dx)
|
|
5840
|
+
Fx&&(/Firefox\/(\d+)/.exec(Dx)||[0,0])[1]
|
|
5841
|
+
const Nx=!Ox&&/Chrome\/(\d+)/.exec(Dx),Lx=!!Nx,Bx=Nx?+Nx[1]:0,Px=!Ox&&!!Mx&&/Apple Computer/.test(Mx.vendor),zx=Px&&(/Mobile\/\w+/.test(Dx)||!!Mx&&Mx.maxTouchPoints>2),Vx=zx||!!Mx&&/Mac/.test(Mx.platform),Hx=!!Mx&&/Win/.test(Mx.platform),Ux=/Android \d/.test(Dx),qx=!!$x&&"webkitFontSmoothing"in $x.documentElement.style,jx=qx?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0
|
|
5831
5842
|
function Wx(t){let e=t.defaultView&&t.defaultView.visualViewport
|
|
5832
5843
|
return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function Gx(t,e){return"number"==typeof t?t:t[e]}function Zx(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,i=e.height/t.offsetHeight||1
|
|
5833
5844
|
return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*i}}function Kx(t,e,n){let i=t.someProp("scrollThreshold")||0,s=t.someProp("scrollMargin")||5,o=t.dom.ownerDocument
|
|
@@ -5993,7 +6004,7 @@ return i.children=s,i}}class yC extends mC{constructor(t,e,n,i,s,o,r,a,l){super(
|
|
|
5993
6004
|
if(e.isText)if(c){if(3!=c.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else c=document.createTextNode(e.text)
|
|
5994
6005
|
else if(!c){let t=ew.renderSpec(document,e.type.spec.toDOM(e),null,e.attrs);({dom:c,contentDOM:d}=t)}d||e.isText||"BR"==c.nodeName||(c.hasAttribute("contenteditable")||(c.contentEditable="false"),e.type.spec.draggable&&(c.draggable=!0))
|
|
5995
6006
|
let h=c
|
|
5996
|
-
return c=
|
|
6007
|
+
return c=EC(c,n,e),l?r=new kC(t,e,n,i,c,d||null,h,l,s,o+1):e.isText?new xC(t,e,n,i,c,h,s):new yC(t,e,n,i,c,d||null,h,s,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null
|
|
5997
6008
|
let t={node:this.node.type.name,attrs:this.node.attrs}
|
|
5998
6009
|
if("pre"==this.node.type.whitespace&&(t.preserveWhitespace="full"),this.contentDOM)if(this.contentLost){for(let e=this.children.length-1;e>=0;e--){let n=this.children[e]
|
|
5999
6010
|
if(this.dom.contains(n.dom.parentNode)){t.contentElement=n.dom.parentNode
|
|
@@ -6038,7 +6049,7 @@ for(;s.nextSibling;)s.parentNode.removeChild(s.nextSibling)
|
|
|
6038
6049
|
s.pmViewDesc&&(s.pmViewDesc=void 0)}let o=new vC(this,s,e,i)
|
|
6039
6050
|
t.input.compositionNodes.push(o),this.children=FC(this.children,n,n+i.length,t,o)}update(t,e,n,i){return!(3==this.dirty||!t.sameMarkup(this.node))&&(this.updateInner(t,e,n,i),!0)}updateInner(t,e,n,i){this.updateOuterDeco(e),this.node=t,this.innerDeco=n,this.contentDOM&&this.updateChildren(i,this.posAtStart),this.dirty=0}updateOuterDeco(t){if(AC(t,this.outerDeco))return
|
|
6040
6051
|
let e=1!=this.nodeDOM.nodeType,n=this.dom
|
|
6041
|
-
this.dom=$C(this.dom,this.nodeDOM,MC(this.outerDeco,this.node,e),MC(t,this.node,e)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function wC(t,e,n,i,s){
|
|
6052
|
+
this.dom=$C(this.dom,this.nodeDOM,MC(this.outerDeco,this.node,e),MC(t,this.node,e)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=t}selectNode(){1==this.nodeDOM.nodeType&&this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)}deselectNode(){1==this.nodeDOM.nodeType&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function wC(t,e,n,i,s){EC(i,e,t)
|
|
6042
6053
|
let o=new yC(void 0,t,e,n,i,i,i,s,0)
|
|
6043
6054
|
return o.contentDOM&&o.updateChildren(s,0),o}class xC extends yC{constructor(t,e,n,i,s,o,r){super(t,e,n,i,s,null,o,r,0)}parseRule(){let t=this.nodeDOM.parentNode
|
|
6044
6055
|
for(;t&&t!=this.dom&&!t.pmIsDeco;)t=t.parentNode
|
|
@@ -6065,13 +6076,13 @@ null!=o&&(n&&1==s.length&&s.push(i=new _C(e.isInline?"span":"div")),"class"==t?i
|
|
|
6065
6076
|
let s=e
|
|
6066
6077
|
for(let e=0;e<i.length;e++){let o=i[e],r=n[e]
|
|
6067
6078
|
if(e){let e
|
|
6068
|
-
r&&r.nodeName==o.nodeName&&s!=t&&(e=s.parentNode)&&e.nodeName.toLowerCase()==o.nodeName||(e=document.createElement(o.nodeName),e.pmIsDeco=!0,e.appendChild(s),r=IC[0]),s=e}
|
|
6079
|
+
r&&r.nodeName==o.nodeName&&s!=t&&(e=s.parentNode)&&e.nodeName.toLowerCase()==o.nodeName||(e=document.createElement(o.nodeName),e.pmIsDeco=!0,e.appendChild(s),r=IC[0]),s=e}DC(s,r||IC[0],o)}return s}function DC(t,e,n){for(let i in e)"class"==i||"style"==i||"nodeName"==i||i in n||t.removeAttribute(i)
|
|
6069
6080
|
for(let i in n)"class"!=i&&"style"!=i&&"nodeName"!=i&&n[i]!=e[i]&&t.setAttribute(i,n[i])
|
|
6070
6081
|
if(e.class!=n.class){let i=e.class?e.class.split(" ").filter(Boolean):[],s=n.class?n.class.split(" ").filter(Boolean):[]
|
|
6071
6082
|
for(let e=0;e<i.length;e++)-1==s.indexOf(i[e])&&t.classList.remove(i[e])
|
|
6072
6083
|
for(let e=0;e<s.length;e++)-1==i.indexOf(s[e])&&t.classList.add(s[e])
|
|
6073
6084
|
0==t.classList.length&&t.removeAttribute("class")}if(e.style!=n.style){if(e.style){let n,i=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g
|
|
6074
|
-
for(;n=i.exec(e.style);)t.style.removeProperty(n[1])}n.style&&(t.style.cssText+=n.style)}}function
|
|
6085
|
+
for(;n=i.exec(e.style);)t.style.removeProperty(n[1])}n.style&&(t.style.cssText+=n.style)}}function EC(t,e,n){return $C(t,t,IC,MC(e,n,1!=t.nodeType))}function AC(t,e){if(t.length!=e.length)return!1
|
|
6075
6086
|
for(let n=0;n<t.length;n++)if(!t[n].type.eq(e[n].type))return!1
|
|
6076
6087
|
return!0}function TC(t){let e=t.nextSibling
|
|
6077
6088
|
return t.parentNode.removeChild(t),e}class OC{constructor(t,e,n){this.lock=e,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=t,this.preMatch=function(t,e){let n=e,i=n.children.length,s=t.childCount,o=new Map,r=[]
|
|
@@ -6104,8 +6115,8 @@ if(a instanceof yC){let l=this.preMatch.matched.get(a)
|
|
|
6104
6115
|
if(null!=l&&l!=s)return!1
|
|
6105
6116
|
let c,d=a.dom,h=this.isLocked(d)&&!(t.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==t.text&&3!=a.dirty&&AC(e,a.outerDeco))
|
|
6106
6117
|
if(!h&&a.update(t,e,n,i))return this.destroyBetween(this.index,r),a.dom!=d&&(this.changed=!0),this.index++,!0
|
|
6107
|
-
if(!h&&(c=this.recreateWrapper(a,t,e,n,i,o)))return this.top.children[this.index]=c,c.contentDOM&&(c.dirty=2,c.updateChildren(i,o+1),c.dirty=0),this.changed=!0,this.index++,!0
|
|
6108
|
-
break}}return!1}recreateWrapper(t,e,n,i,s,o){if(t.dirty||e.isAtom||!t.children.length||!t.node.content.eq(e.content))return null
|
|
6118
|
+
if(!h&&(c=this.recreateWrapper(a,t,e,n,i,o)))return this.destroyBetween(this.index,r),this.top.children[this.index]=c,c.contentDOM&&(c.dirty=2,c.updateChildren(i,o+1),c.dirty=0),this.changed=!0,this.index++,!0
|
|
6119
|
+
break}}return!1}recreateWrapper(t,e,n,i,s,o){if(t.dirty||e.isAtom||!t.children.length||!t.node.content.eq(e.content)||!AC(n,t.outerDeco)||!i.eq(t.innerDeco))return null
|
|
6109
6120
|
let r=yC.create(this.top,e,n,i,s,o)
|
|
6110
6121
|
if(r.contentDOM){r.children=t.children,t.children=[]
|
|
6111
6122
|
for(let t of r.children)t.parent=r}return t.destroy(),r}addNode(t,e,n,i,s){let o=yC.create(this.top,t,e,n,i,s)
|
|
@@ -6123,15 +6134,17 @@ if(!n.focusNode)return null
|
|
|
6123
6134
|
let s=t.docView.nearestDesc(n.focusNode),o=s&&0==s.size,r=t.docView.posFromDOM(n.focusNode,n.focusOffset,1)
|
|
6124
6135
|
if(r<0)return null
|
|
6125
6136
|
let a,l,c=i.resolve(r)
|
|
6126
|
-
if(_x(n)){for(a=
|
|
6137
|
+
if(_x(n)){for(a=r;s&&!s.node;)s=s.parent
|
|
6127
6138
|
let t=s.node
|
|
6128
6139
|
if(s&&t.isAtom&&Qw.isSelectable(t)&&s.parent&&(!t.isInline||!function(t,e,n){for(let i=0==e,s=e==kx(t);i||s;){if(t==n)return!0
|
|
6129
6140
|
let e=gx(t)
|
|
6130
6141
|
if(!(t=t.parentNode))return!1
|
|
6131
6142
|
i=i&&0==e,s=s&&e==kx(t)}}(n.focusNode,n.focusOffset,s.dom))){let t=s.posBefore
|
|
6132
|
-
l=new Qw(r==t?c:i.resolve(t))}}else{
|
|
6133
|
-
|
|
6134
|
-
|
|
6143
|
+
l=new Qw(r==t?c:i.resolve(t))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let e=r,s=r
|
|
6144
|
+
for(let i=0;i<n.rangeCount;i++){let o=n.getRangeAt(i)
|
|
6145
|
+
e=Math.min(e,t.docView.posFromDOM(o.startContainer,o.startOffset,1)),s=Math.max(s,t.docView.posFromDOM(o.endContainer,o.endOffset,-1))}if(e<0)return null;[a,r]=s==t.state.selection.anchor?[s,e]:[e,s],c=i.resolve(r)}else a=t.docView.posFromDOM(n.anchorNode,n.anchorOffset,1)
|
|
6146
|
+
if(a<0)return null}let d=i.resolve(a)
|
|
6147
|
+
if(!l){l=jC(t,d,c,"pointer"==e||t.state.selection.head<c.pos&&!o?1:-1)}return l}function LC(t){return t.editable?t.hasFocus():GC(t)&&document.activeElement&&document.activeElement.contains(t.dom)}function BC(t,e=!1){let n=t.state.selection
|
|
6135
6148
|
if(UC(t,n),LC(t)){if(!e&&t.input.mouseDown&&t.input.mouseDown.allowDefault&&Lx){let e=t.domSelectionRange(),n=t.domObserver.currentSelection
|
|
6136
6149
|
if(e.anchorNode&&n.anchorNode&&wx(e.anchorNode,e.anchorOffset,n.anchorNode,n.anchorOffset))return t.input.mouseDown.delayedSelectionSync=!0,void t.domObserver.setCurSelection()}if(t.domObserver.disconnectSelection(),t.cursorWrapper)!function(t){let e=t.domSelection(),n=document.createRange()
|
|
6137
6150
|
if(!e)return
|
|
@@ -6291,7 +6304,7 @@ let o=t.state.doc.resolve(i)
|
|
|
6291
6304
|
for(let i=o.depth+1;i>0;i--)if(t.someProp(e,(e=>i>o.depth?e(t,n,o.nodeAfter,o.before(i),s,!0):e(t,n,o.node(i),o.before(i),s,!1))))return!0
|
|
6292
6305
|
return!1}function $k(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return
|
|
6293
6306
|
let i=t.state.tr.setSelection(e)
|
|
6294
|
-
i.setMeta("pointer",!0),t.dispatch(i)}function
|
|
6307
|
+
i.setMeta("pointer",!0),t.dispatch(i)}function Dk(t,e,n,i,s){return Mk(t,"handleClickOn",e,n,i)||t.someProp("handleClick",(n=>n(t,e,i)))||(s?function(t,e){if(-1==e)return!1
|
|
6295
6308
|
let n,i,s=t.state.selection
|
|
6296
6309
|
s instanceof Qw&&(n=s.node)
|
|
6297
6310
|
let o=t.state.doc.resolve(e)
|
|
@@ -6299,7 +6312,7 @@ for(let t=o.depth+1;t>0;t--){let e=t>o.depth?o.nodeAfter:o.node(t)
|
|
|
6299
6312
|
if(Qw.isSelectable(e)){i=n&&s.$from.depth>0&&t>=s.$from.depth&&o.before(s.$from.depth+1)==s.$from.pos?o.before(s.$from.depth):o.before(t)
|
|
6300
6313
|
break}}return null!=i&&($k(t,Qw.create(t.state.doc,i)),!0)}(t,n):function(t,e){if(-1==e)return!1
|
|
6301
6314
|
let n=t.state.doc.resolve(e),i=n.nodeAfter
|
|
6302
|
-
return!!(i&&i.isAtom&&Qw.isSelectable(i))&&($k(t,new Qw(n)),!0)}(t,n))}function
|
|
6315
|
+
return!!(i&&i.isAtom&&Qw.isSelectable(i))&&($k(t,new Qw(n)),!0)}(t,n))}function Ek(t,e,n,i){return Mk(t,"handleDoubleClickOn",e,n,i)||t.someProp("handleDoubleClick",(n=>n(t,e,i)))}function Ak(t,e,n,i){return Mk(t,"handleTripleClickOn",e,n,i)||t.someProp("handleTripleClick",(n=>n(t,e,i)))||function(t,e,n){if(0!=n.button)return!1
|
|
6303
6316
|
let i=t.state.doc
|
|
6304
6317
|
if(-1==e)return!!i.inlineContent&&($k(t,Xw.create(i,0,i.content.size)),!0)
|
|
6305
6318
|
let s=i.resolve(e)
|
|
@@ -6321,7 +6334,7 @@ let i=Tk(t),s=Date.now(),o="singleClick"
|
|
|
6321
6334
|
s-t.input.lastClick.time<500&&function(t,e){let n=e.x-t.clientX,i=e.y-t.clientY
|
|
6322
6335
|
return n*n+i*i<100}(n,t.input.lastClick)&&!n[Ok]&&("singleClick"==t.input.lastClick.type?o="doubleClick":"doubleClick"==t.input.lastClick.type&&(o="tripleClick")),t.input.lastClick={time:s,x:n.clientX,y:n.clientY,type:o}
|
|
6323
6336
|
let r=t.posAtCoords(Ik(n))
|
|
6324
|
-
r&&("singleClick"==o?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new Rk(t,r,n,!!i)):("doubleClick"==o?
|
|
6337
|
+
r&&("singleClick"==o?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new Rk(t,r,n,!!i)):("doubleClick"==o?Ek:Ak)(t,r.pos,r.inside,n)?n.preventDefault():Ck(t,"pointer"))}
|
|
6325
6338
|
class Rk{constructor(t,e,n,i){let s,o
|
|
6326
6339
|
if(this.view=t,this.pos=e,this.event=n,this.flushed=i,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=t.state.doc,this.selectNode=!!n[Ok],this.allowDefault=n.shiftKey,e.inside>-1)s=t.state.doc.nodeAt(e.inside),o=e.inside
|
|
6327
6340
|
else{let n=t.state.doc.resolve(e.pos)
|
|
@@ -6329,7 +6342,7 @@ s=n.parent,o=n.depth?n.before():0}const r=i?null:n.target,a=r?t.docView.nearestD
|
|
|
6329
6342
|
this.target=a&&1==a.dom.nodeType?a.dom:null
|
|
6330
6343
|
let{selection:l}=t.state;(0==n.button&&s.type.spec.draggable&&!1!==s.type.spec.selectable||l instanceof Qw&&l.from<=o&&l.to>o)&&(this.mightDrag={node:s,pos:o,addAttr:!(!this.target||this.target.draggable),setUneditable:!(!this.target||!Fx||this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout((()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")}),20),this.view.domObserver.start()),t.root.addEventListener("mouseup",this.up=this.up.bind(this)),t.root.addEventListener("mousemove",this.move=this.move.bind(this)),Ck(t,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout((()=>BC(this.view))),this.view.input.mouseDown=null}up(t){if(this.done(),!this.view.dom.contains(t.target))return
|
|
6331
6344
|
let e=this.pos
|
|
6332
|
-
this.view.state.doc!=this.startDoc&&(e=this.view.posAtCoords(Ik(t))),this.updateAllowDefault(t),this.allowDefault||!e?Ck(this.view,"pointer"):
|
|
6345
|
+
this.view.state.doc!=this.startDoc&&(e=this.view.posAtCoords(Ik(t))),this.updateAllowDefault(t),this.allowDefault||!e?Ck(this.view,"pointer"):Dk(this.view,e.pos,e.inside,t,this.selectNode)?t.preventDefault():0==t.button&&(this.flushed||Px&&this.mightDrag&&!this.mightDrag.node.isAtom||Lx&&!this.view.state.selection.visible&&Math.min(Math.abs(e.pos-this.view.state.selection.from),Math.abs(e.pos-this.view.state.selection.to))<=2)?($k(this.view,Gw.near(this.view.state.doc.resolve(e.pos))),t.preventDefault()):Ck(this.view,"pointer")}move(t){this.updateAllowDefault(t),Ck(this.view,"pointer"),0==t.buttons&&this.done()}updateAllowDefault(t){!this.allowDefault&&(Math.abs(this.event.x-t.clientX)>4||Math.abs(this.event.y-t.clientY)>4)&&(this.allowDefault=!0)}}function Fk(t,e){return!!t.composing||!!(Px&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500)&&(t.input.compositionEndedAt=-2e8,!0)}bk.touchstart=t=>{t.input.lastTouch=Date.now(),Tk(t),Ck(t,"pointer")},bk.touchmove=t=>{t.input.lastTouch=Date.now(),Ck(t,"pointer")},bk.contextmenu=t=>Tk(t)
|
|
6333
6346
|
const Nk=Ux?5e3:-1
|
|
6334
6347
|
function Lk(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout((()=>zk(t)),e))}function Bk(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=function(){let t=document.createEvent("Event")
|
|
6335
6348
|
return t.initEvent("event",!0,!0),t.timeStamp}());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function Pk(t){let e=t.domSelectionRange()
|
|
@@ -6608,13 +6621,13 @@ for(;i>0&&(e||t.indexAfter(i)==t.node(i).childCount);)i--,s++,e=!1
|
|
|
6608
6621
|
if(n){let e=t.node(i).maybeChild(t.indexAfter(i))
|
|
6609
6622
|
for(;e&&!e.isLeaf;)e=e.firstChild,s++}return s}function kS(t){if(2!=t.length)return!1
|
|
6610
6623
|
let e=t.charCodeAt(0),n=t.charCodeAt(1)
|
|
6611
|
-
return e>=56320&&e<=57343&&n>=55296&&n<=56319}class SS{constructor(t,e){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new xk,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=e,this.state=e.state,this.directPlugins=e.plugins||[],this.directPlugins.forEach(
|
|
6624
|
+
return e>=56320&&e<=57343&&n>=55296&&n<=56319}class SS{constructor(t,e){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new xk,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=e,this.state=e.state,this.directPlugins=e.plugins||[],this.directPlugins.forEach(DS),this.dispatch=this.dispatch.bind(this),this.dom=t&&t.mount||document.createElement("div"),t&&(t.appendChild?t.appendChild(this.dom):"function"==typeof t?t(this.dom):t.mount&&(this.mounted=!0)),this.editable=MS(this),IS(this),this.nodeViews=$S(this),this.docView=wC(this.state.doc,_S(this),cS(this),this.dom,this),this.domObserver=new pS(this,((t,e,n,i)=>wS(this,t,e,n,i))),this.domObserver.start(),function(t){for(let e in bk){let n=bk[e]
|
|
6612
6625
|
t.dom.addEventListener(e,t.input.eventHandlers[e]=e=>{!_k(t,e)||Sk(t,e)||!t.editable&&e.type in yk||n(t,e)},wk[e]?{passive:!0}:void 0)}Px&&t.dom.addEventListener("input",(()=>null)),kk(t)}(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let t=this._props
|
|
6613
6626
|
this._props={}
|
|
6614
6627
|
for(let e in t)this._props[e]=t[e]
|
|
6615
6628
|
this._props.state=this.state}return this._props}update(t){t.handleDOMEvents!=this._props.handleDOMEvents&&kk(this)
|
|
6616
6629
|
let e=this._props
|
|
6617
|
-
this._props=t,t.plugins&&(t.plugins.forEach(
|
|
6630
|
+
this._props=t,t.plugins&&(t.plugins.forEach(DS),this.directPlugins=t.plugins),this.updateStateInner(t.state,e)}setProps(t){let e={}
|
|
6618
6631
|
for(let t in this._props)e[t]=this._props[t]
|
|
6619
6632
|
e.state=this.state
|
|
6620
6633
|
for(let n in t)e[n]=t[n]
|
|
@@ -6677,10 +6690,10 @@ if(n)return gS(t,n)}let n
|
|
|
6677
6690
|
function i(t){t.preventDefault(),t.stopImmediatePropagation(),n=t.getTargetRanges()[0]}return t.dom.addEventListener("beforeinput",i,!0),document.execCommand("indent"),t.dom.removeEventListener("beforeinput",i,!0),n?gS(t,n):null}(this,t)||t:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}function _S(t){let e=Object.create(null)
|
|
6678
6691
|
return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",(n=>{if("function"==typeof n&&(n=n(t.state)),n)for(let t in n)"class"==t?e.class+=" "+n[t]:"style"==t?e.style=(e.style?e.style+";":"")+n[t]:e[t]||"contenteditable"==t||"nodeName"==t||(e[t]=String(n[t]))})),e.translate||(e.translate="no"),[Yk.node(0,t.state.doc.content.size,e)]}function IS(t){if(t.markCursor){let e=document.createElement("img")
|
|
6679
6692
|
e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:Yk.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function MS(t){return!t.someProp("editable",(e=>!1===e(t.state)))}function $S(t){let e=Object.create(null)
|
|
6680
|
-
function n(t){for(let n in t)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=t[n])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function
|
|
6681
|
-
for(RS=1;RS<=24;RS++)
|
|
6682
|
-
for(RS=65;RS<=90;RS++)
|
|
6683
|
-
for(var FS in
|
|
6693
|
+
function n(t){for(let n in t)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=t[n])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function DS(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}for(var ES={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},AS={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},TS="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),OS="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),RS=0;RS<10;RS++)ES[48+RS]=ES[96+RS]=String(RS)
|
|
6694
|
+
for(RS=1;RS<=24;RS++)ES[RS+111]="F"+RS
|
|
6695
|
+
for(RS=65;RS<=90;RS++)ES[RS]=String.fromCharCode(RS+32),AS[RS]=String.fromCharCode(RS)
|
|
6696
|
+
for(var FS in ES)AS.hasOwnProperty(FS)||(AS[FS]=ES[FS])
|
|
6684
6697
|
const NS="undefined"!=typeof navigator&&/Mac|iP(hone|[oa]d)/.test(navigator.platform)
|
|
6685
6698
|
function LS(t){let e,n,i,s,o=t.split(/-(?!$)/),r=o[o.length-1]
|
|
6686
6699
|
"Space"==r&&(r=" ")
|
|
@@ -6693,11 +6706,11 @@ else{if(!/^mod$/i.test(r))throw new Error("Unrecognized modifier name: "+r)
|
|
|
6693
6706
|
NS?s=!0:n=!0}}return e&&(r="Alt-"+r),n&&(r="Ctrl-"+r),s&&(r="Meta-"+r),i&&(r="Shift-"+r),r}function BS(t,e,n=!0){return e.altKey&&(t="Alt-"+t),e.ctrlKey&&(t="Ctrl-"+t),e.metaKey&&(t="Meta-"+t),n&&e.shiftKey&&(t="Shift-"+t),t}function PS(t){let e=function(t){let e=Object.create(null)
|
|
6694
6707
|
for(let n in t)e[LS(n)]=t[n]
|
|
6695
6708
|
return e}(t)
|
|
6696
|
-
return function(t,n){let i,s=function(t){var e=!(TS&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||OS&&t.shiftKey&&t.key&&1==t.key.length||"Unidentified"==t.key)&&t.key||(t.shiftKey?AS:
|
|
6709
|
+
return function(t,n){let i,s=function(t){var e=!(TS&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||OS&&t.shiftKey&&t.key&&1==t.key.length||"Unidentified"==t.key)&&t.key||(t.shiftKey?AS:ES)[t.keyCode]||t.key||"Unidentified"
|
|
6697
6710
|
return"Esc"==e&&(e="Escape"),"Del"==e&&(e="Delete"),"Left"==e&&(e="ArrowLeft"),"Up"==e&&(e="ArrowUp"),"Right"==e&&(e="ArrowRight"),"Down"==e&&(e="ArrowDown"),e}(n),o=e[BS(s,n)]
|
|
6698
6711
|
if(o&&o(t.state,t.dispatch,t))return!0
|
|
6699
6712
|
if(1==s.length&&" "!=s){if(n.shiftKey){let i=e[BS(s,n,!1)]
|
|
6700
|
-
if(i&&i(t.state,t.dispatch,t))return!0}if((n.shiftKey||n.altKey||n.metaKey||s.charCodeAt(0)>127)&&(i=
|
|
6713
|
+
if(i&&i(t.state,t.dispatch,t))return!0}if((n.shiftKey||n.altKey||n.metaKey||s.charCodeAt(0)>127)&&(i=ES[n.keyCode])&&i!=s){let s=e[BS(i,n)]
|
|
6701
6714
|
if(s&&s(t.state,t.dispatch,t))return!0}}return!1}}function zS(t,e){let{$cursor:n}=t.selection
|
|
6702
6715
|
return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}function VS(t,e,n){let i=e.nodeBefore,s=e.pos-1
|
|
6703
6716
|
for(;!i.isTextblock;s--){if(i.type.spec.isolating)return!1
|
|
@@ -6718,13 +6731,13 @@ if(t.index(e)+1<n.childCount)return t.doc.resolve(t.after(e+1))
|
|
|
6718
6731
|
if(n.type.spec.isolating)break}return null}function WS(t){for(let e=0;e<t.edgeCount;e++){let{type:n}=t.edge(e)
|
|
6719
6732
|
if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}function GS(t,e,n,i){let s,o,r=e.nodeBefore,a=e.nodeAfter,l=r.type.spec.isolating||a.type.spec.isolating
|
|
6720
6733
|
if(!l&&function(t,e,n){let i=e.nodeBefore,s=e.nodeAfter,o=e.index()
|
|
6721
|
-
return!(!(i&&s&&i.type.compatibleContent(s.type))||(!i.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-i.nodeSize,e.pos).scrollIntoView()),0):!e.parent.canReplace(o,o+1)||!s.isTextblock&&!
|
|
6734
|
+
return!(!(i&&s&&i.type.compatibleContent(s.type))||(!i.content.size&&e.parent.canReplace(o-1,o)?(n&&n(t.tr.delete(e.pos-i.nodeSize,e.pos).scrollIntoView()),0):!e.parent.canReplace(o,o+1)||!s.isTextblock&&!Dw(t.doc,e.pos)||(n&&n(t.tr.clearIncompatible(e.pos,i.type,i.contentMatchAt(i.childCount)).join(e.pos).scrollIntoView()),0)))}(t,e,n))return!0
|
|
6722
6735
|
let c=!l&&e.parent.canReplace(e.index(),e.index()+1)
|
|
6723
6736
|
if(c&&(s=(o=r.contentMatchAt(r.childCount)).findWrapping(a.type))&&o.matchType(s[0]||a.type).validEnd){if(n){let i=e.pos+a.nodeSize,o=ty.empty
|
|
6724
6737
|
for(let t=s.length-1;t>=0;t--)o=ty.from(s[t].create(null,o))
|
|
6725
6738
|
o=ty.from(r.copy(o))
|
|
6726
6739
|
let l=t.tr.step(new xw(e.pos-1,i,e.pos,i,new ry(o,1,0),s.length,!0)),c=i+2*s.length
|
|
6727
|
-
|
|
6740
|
+
Dw(l.doc,c)&&l.join(c),n(l.scrollIntoView())}return!0}let d=a.type.spec.isolating||i>0&&l?null:Gw.findFrom(e,1),h=d&&d.$from.blockRange(d.$to),u=h&&_w(h)
|
|
6728
6741
|
if(null!=u&&u>=e.depth)return n&&n(t.tr.lift(h,u).scrollIntoView()),!0
|
|
6729
6742
|
if(c&&HS(a,"start",!0)&&HS(r,"end")){let i=r,s=[]
|
|
6730
6743
|
for(;s.push(i),!i.isTextblock;)i=i.lastChild
|
|
@@ -6762,7 +6775,7 @@ const a=_w(i)
|
|
|
6762
6775
|
if(null==a)return!1
|
|
6763
6776
|
s.lift(i,a)
|
|
6764
6777
|
let l=s.mapping.map(o,-1)-1
|
|
6765
|
-
|
|
6778
|
+
Dw(s.doc,l)&&s.join(l)
|
|
6766
6779
|
return e(s.scrollIntoView()),!0}(e,n,t,o):function(t,e,n){let i=t.tr,s=n.parent
|
|
6767
6780
|
for(let t=n.end,e=n.endIndex-1,o=n.startIndex;e>o;e--)t-=s.child(e).nodeSize,i.delete(t-1,t+1)
|
|
6768
6781
|
let o=i.doc.resolve(n.start),r=o.nodeAfter
|
|
@@ -6792,8 +6805,11 @@ Object.entries(s).forEach((([n,i])=>{const s={...o,...i}
|
|
|
6792
6805
|
"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?`)
|
|
6793
6806
|
return e.nodes[t]}return t}function a_(...t){return t.filter((t=>!!t)).reduce(((t,e)=>{const n={...t}
|
|
6794
6807
|
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)))
|
|
6795
|
-
n[t]=[...s,...o].join(" ")}else
|
|
6796
|
-
|
|
6808
|
+
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
|
|
6809
|
+
s.forEach((t=>{const[e,n]=t.split(":").map((t=>t.trim()))
|
|
6810
|
+
o.set(e,n)})),i.forEach((t=>{const[e,n]=t.split(":").map((t=>t.trim()))
|
|
6811
|
+
o.set(e,n)})),n[t]=Array.from(o.entries()).map((([t,e])=>`${t}: ${e}`)).join("; ")}else n[t]=e
|
|
6812
|
+
else n[t]=e})),n}),{})}function l_(t,e){return e.filter((e=>e.type===t.type.name)).filter((t=>t.attribute.rendered)).map((e=>e.attribute.renderHTML?e.attribute.renderHTML(t.attrs)||{}:{[e.name]:t.attrs[e.name]})).reduce(((t,e)=>a_(t,e)),{})}function c_(t){return"function"==typeof t}function d_(t,e=void 0,...n){return c_(t)?e?t.bind(e)(...n):t(...n):t}function h_(t,e){return"style"in t?t:{...t,getAttrs:n=>{const i=t.getAttrs?t.getAttrs(n):t.attrs
|
|
6797
6813
|
if(!1===i)return!1
|
|
6798
6814
|
const s=e.reduce(((t,e)=>{const i=e.attribute.parseHTML?e.attribute.parseHTML(n):function(t){return"string"!=typeof t?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):"true"===t||"false"!==t&&t}(n.getAttribute(e.name))
|
|
6799
6815
|
return null==i?t:{...t,[e.name]:i}}),{})
|
|
@@ -6883,8 +6899,8 @@ o.push(...t)}return o})).flat()
|
|
|
6883
6899
|
return[w_({editor:t,rules:n}),...k_({editor:t,rules:i}),...s]}get attributes(){return o_(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=s_(this.extensions)
|
|
6884
6900
|
return Object.fromEntries(e.filter((t=>!!i_(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=i_(e,"addNodeView",i)
|
|
6885
6901
|
if(!s)return[]
|
|
6886
|
-
return[e.name,(i,o,r,a)=>{const
|
|
6887
|
-
return s()({
|
|
6902
|
+
return[e.name,(i,o,r,a,l)=>{const c=l_(i,n)
|
|
6903
|
+
return s()({node:i,view:o,getPos:r,decorations:a,innerDecorations:l,editor:t,extension:e,HTMLAttributes:c})}]})))}setupExtensions(){this.extensions.forEach((t=>{var e
|
|
6888
6904
|
this.editor.extensionStorage[t.name]=t.storage
|
|
6889
6905
|
const n={name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:p_(t.name,this.schema)}
|
|
6890
6906
|
if("mark"===t.type){(null===(e=d_(i_(t,"keepOnSplit",n)))||void 0===e||e)&&this.splittableMarks.push(t.name)}const i=i_(t,"onBeforeCreate",n),s=i_(t,"onCreate",n),o=i_(t,"onUpdate",n),r=i_(t,"onSelectionUpdate",n),a=i_(t,"onTransaction",n),l=i_(t,"onFocus",n),c=i_(t,"onBlur",n),d=i_(t,"onDestroy",n)
|
|
@@ -6897,7 +6913,7 @@ return t.nodesBetween(i,s,((t,n,l,c)=>{var d
|
|
|
6897
6913
|
t.isBlock&&n>i&&(a+=o)
|
|
6898
6914
|
const h=null==r?void 0:r[t.type.name]
|
|
6899
6915
|
if(h)return l&&(a+=h({node:t,pos:n,parent:l,index:c,range:e})),!1
|
|
6900
|
-
t.isText&&(a+=null===(d=null==t?void 0:t.text)||void 0===d?void 0:d.slice(Math.max(i,n)-n,s-n))})),a}function
|
|
6916
|
+
t.isText&&(a+=null===(d=null==t?void 0:t.text)||void 0===d?void 0:d.slice(Math.max(i,n)-n,s-n))})),a}function D_(t){return Object.fromEntries(Object.entries(t.nodes).filter((([,t])=>t.spec.toText)).map((([t,e])=>[t,e.spec.toText])))}const E_=M_.create({name:"clipboardTextSerializer",addOptions:()=>({blockSeparator:void 0}),addProseMirrorPlugins(){return[new ux({key:new mx("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:i,selection:s}=e,{ranges:o}=s,r=Math.min(...o.map((t=>t.$from.pos))),a=Math.max(...o.map((t=>t.$to.pos))),l=D_(n)
|
|
6901
6917
|
return $_(i,{from:r,to:a},{...void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}})
|
|
6902
6918
|
function A_(t,e,n={strict:!0}){const i=Object.keys(e)
|
|
6903
6919
|
return!i.length||i.every((i=>n.strict?e[i]===t[i]:g_(e[i])?e[i].test(t[i]):e[i]===t[i]))}function T_(t,e,n={}){return t.find((t=>t.type===e&&A_(t.attrs,n)))}function O_(t,e,n={}){return!!T_(t,e,n)}function R_(t,e,n={}){if(!t||!e)return
|
|
@@ -6974,12 +6990,12 @@ if(!n)return!0
|
|
|
6974
6990
|
const i=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth)
|
|
6975
6991
|
if(void 0===i)return!0
|
|
6976
6992
|
const s=t.doc.nodeAt(i)
|
|
6977
|
-
return n.node.type!==(null==s?void 0:s.type)||!
|
|
6993
|
+
return n.node.type!==(null==s?void 0:s.type)||!Dw(t.doc,n.pos)||(t.join(n.pos),!0)},oI=(t,e)=>{const n=K_((t=>t.type===e))(t.selection)
|
|
6978
6994
|
if(!n)return!0
|
|
6979
6995
|
const i=t.doc.resolve(n.start).after(n.depth)
|
|
6980
6996
|
if(void 0===i)return!0
|
|
6981
6997
|
const s=t.doc.nodeAt(i)
|
|
6982
|
-
return n.node.type!==(null==s?void 0:s.type)||!
|
|
6998
|
+
return n.node.type!==(null==s?void 0:s.type)||!Dw(t.doc,i)||(t.join(i),!0)}
|
|
6983
6999
|
var rI=Object.freeze({__proto__:null,blur:()=>({editor:t,view:e})=>(requestAnimationFrame((()=>{var n
|
|
6984
7000
|
t.isDestroyed||(e.dom.blur(),null===(n=null===window||void 0===window?void 0:window.getSelection())||void 0===n||n.removeAllRanges())})),!0),clearContent:(t=!1)=>({commands:e})=>e.setContent("",t),clearNodes:()=>({state:t,tr:e,dispatch:n})=>{const{selection:i}=e,{ranges:s}=i
|
|
6985
7001
|
return!n||(s.forEach((({$from:n,$to:i})=>{t.doc.nodesBetween(n.pos,i.pos,((t,n)=>{if(t.type.isText)return
|
|
@@ -7038,7 +7054,7 @@ if(GS(t,s,e,-1))return!0
|
|
|
7038
7054
|
if(0==i.parent.content.size&&(HS(o,"end")||Qw.isSelectable(o)))for(let n=i.depth;;n--){let r=Tw(t.doc,i.before(n),i.after(n),ry.empty)
|
|
7039
7055
|
if(r&&r.slice.size<r.to-r.from){if(e){let n=t.tr.step(r)
|
|
7040
7056
|
n.setSelection(HS(o,"end")?Gw.findFrom(n.doc.resolve(n.mapping.map(s.pos,-1)),-1):Qw.create(n.doc,s.pos-o.nodeSize)),e(n.scrollIntoView())}return!0}if(1==n||i.node(n-1).childCount>1)break}return!(!o.isAtom||s.depth!=i.depth-1||(e&&e(t.tr.delete(s.pos-o.nodeSize,s.pos).scrollIntoView()),0))})(t,e),joinDown:()=>({state:t,dispatch:e})=>((t,e)=>{let n,i=t.selection
|
|
7041
|
-
if(i instanceof Qw){if(i.node.isTextblock||!
|
|
7057
|
+
if(i instanceof Qw){if(i.node.isTextblock||!Dw(t.doc,i.to))return!1
|
|
7042
7058
|
n=i.to}else if(n=Aw(t.doc,i.to,1),null==n)return!1
|
|
7043
7059
|
return e&&e(t.tr.join(n).scrollIntoView()),!0})(t,e),joinForward:()=>({state:t,dispatch:e})=>((t,e,n)=>{let i=qS(t,n)
|
|
7044
7060
|
if(!i)return!1
|
|
@@ -7057,7 +7073,7 @@ return!!s&&VS(t,s,e)})(t,e),joinTextblockForward:()=>({state:t,dispatch:e})=>((t
|
|
|
7057
7073
|
if(!i)return!1
|
|
7058
7074
|
let s=jS(i)
|
|
7059
7075
|
return!!s&&VS(t,s,e)})(t,e),joinUp:()=>({state:t,dispatch:e})=>((t,e)=>{let n,i=t.selection,s=i instanceof Qw
|
|
7060
|
-
if(s){if(i.node.isTextblock||!
|
|
7076
|
+
if(s){if(i.node.isTextblock||!Dw(t.doc,i.from))return!1
|
|
7061
7077
|
n=i.from}else if(n=Aw(t.doc,i.from,-1),null==n)return!1
|
|
7062
7078
|
if(e){let i=t.tr.join(n)
|
|
7063
7079
|
s&&i.setSelection(Qw.create(i.doc,n-t.doc.resolve(n).nodeBefore.nodeSize)),e(i.scrollIntoView())}return!0})(t,e),keyboardShortcut:t=>({editor:e,view:n,tr:i,dispatch:s})=>{const o=function(t){const e=t.split(/-(?!$)/)
|
|
@@ -7152,8 +7168,9 @@ const x=K_((t=>eI(t.type.name,h)))(m)
|
|
|
7152
7168
|
if(y.depth>=1&&x&&y.depth-x.depth<=1){if(x.node.type===p)return c.liftListItem(f)
|
|
7153
7169
|
if(eI(x.node.type.name,h)&&p.validContent(x.node.content)&&a)return l().command((()=>(o.setNodeMarkup(x.pos,p),!0))).command((()=>sI(o,p))).command((()=>oI(o,p))).run()}return n&&w&&a?l().command((()=>{const t=d().wrapInList(p,i),e=w.filter((t=>u.includes(t.type.name)))
|
|
7154
7170
|
return o.ensureMarks(e),!!t||c.clearNodes()})).wrapInList(p,i).command((()=>sI(o,p))).command((()=>oI(o,p))).run():l().command((()=>!!d().wrapInList(p,i)||c.clearNodes())).wrapInList(p,i).command((()=>sI(o,p))).command((()=>oI(o,p))).run()},toggleMark:(t,e={},n={})=>({state:i,commands:s})=>{const{extendEmptyMarkRange:o=!1}=n,r=F_(t,i.schema)
|
|
7155
|
-
return tI(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)
|
|
7156
|
-
|
|
7171
|
+
return tI(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=q_(i,o,n)
|
|
7172
|
+
let l
|
|
7173
|
+
return i.selection.$anchor.sameParent(i.selection.$head)&&(l=i.selection.$anchor.parent.attrs),a?s.setNode(r,l):s.setNode(o,{...l,...n})},toggleWrap:(t,e={})=>({state:n,commands:i})=>{const s=r_(t,n.schema)
|
|
7157
7174
|
return q_(n,s,e)?i.lift(s):i.wrapIn(s,e)},undoInputRule:()=>({state:t,dispatch:e})=>{const n=t.plugins
|
|
7158
7175
|
for(let i=0;i<n.length;i+=1){const s=n[i]
|
|
7159
7176
|
let o
|
|
@@ -7180,12 +7197,13 @@ return e.dispatch(i),!1},blur:(e,n)=>{t.isFocused=!1
|
|
|
7180
7197
|
const i=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1)
|
|
7181
7198
|
return e.dispatch(i),!1}}}})]}}),dI=M_.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:Gw.atStart(i).from===r
|
|
7182
7199
|
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()}
|
|
7183
|
-
return P_()||U_()?s:i},addProseMirrorPlugins(){return[new ux({key:new mx("clearDocument"),appendTransaction:(t,e,n)=>{
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
if(
|
|
7187
|
-
|
|
7188
|
-
|
|
7200
|
+
return P_()||U_()?s:i},addProseMirrorPlugins(){return[new ux({key:new mx("clearDocument"),appendTransaction:(t,e,n)=>{const i=t.some((t=>t.docChanged))&&!e.doc.eq(n.doc),s=t.some((t=>t.getMeta("preventClearDocument")))
|
|
7201
|
+
if(!i||s)return
|
|
7202
|
+
const{empty:o,from:r,to:a}=e.selection,l=Gw.atStart(e.doc).from,c=Gw.atEnd(e.doc).to
|
|
7203
|
+
if(o||!(r===l&&a===c))return
|
|
7204
|
+
if(!nI(n.doc))return
|
|
7205
|
+
const d=n.tr,h=t_({state:n,transaction:d}),{commands:u}=new e_({editor:this.editor,state:h})
|
|
7206
|
+
return u.clearNodes(),d.steps.length?d:void 0}})]}}),hI=M_.create({name:"tabindex",addProseMirrorPlugins(){return[new ux({key:new mx("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}})
|
|
7189
7207
|
class uI{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
|
|
7190
7208
|
return null!==(t=this.actualDepth)&&void 0!==t?t:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(t){let e=this.from,n=this.to
|
|
7191
7209
|
if(this.isBlock){if(0===this.content.size)return void console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`)
|
|
@@ -7206,14 +7224,15 @@ i=i.parent}return n}querySelector(t,e={}){return this.querySelectorAll(t,e,!0)[0
|
|
|
7206
7224
|
if(!this.children||0===this.children.length)return i
|
|
7207
7225
|
const s=Object.keys(e)
|
|
7208
7226
|
return this.children.forEach((o=>{if(!(n&&i.length>0)){if(o.node.type.name===t){s.every((t=>e[t]===o.node.attrs[t]))&&i.push(o)}n&&i.length>0||(i=i.concat(o.querySelectorAll(t,e,n)))}})),i}setAttribute(t){const e=this.editor.state.selection
|
|
7209
|
-
this.editor.chain().setTextSelection(this.from).updateAttributes(this.node.type.name,t).setTextSelection(e.from).run()}}class pI extends n_{constructor(t={}){
|
|
7227
|
+
this.editor.chain().setTextSelection(this.from).updateAttributes(this.node.type.name,t).setTextSelection(e.from).run()}}class pI extends n_{constructor(t={}){var e,n
|
|
7228
|
+
super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:t})=>{throw t},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.options.onPaste&&this.registerPlugin((e=this.options.onPaste,new ux({key:new mx("tiptapPaste"),props:{handlePaste:(t,n,i)=>{e(n,i)}}}))),this.options.onDrop&&this.registerPlugin((n=this.options.onDrop,new ux({key:new mx("tiptapDrop"),props:{handleDrop:(t,e,i,s)=>{n(e,i,s)}}}))),window.setTimeout((()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)}),0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=function(t,e,n){const i=document.querySelector("style[data-tiptap-style]")
|
|
7210
7229
|
if(null!==i)return i
|
|
7211
7230
|
const s=document.createElement("style")
|
|
7212
7231
|
return e&&s.setAttribute("nonce",e),s.setAttribute("data-tiptap-style",""),s.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(s),s}('.ProseMirror {\n position: relative;\n}\n\n.ProseMirror {\n word-wrap: break-word;\n white-space: pre-wrap;\n white-space: break-spaces;\n -webkit-font-variant-ligatures: none;\n font-variant-ligatures: none;\n font-feature-settings: "liga" 0; /* the above doesn\'t seem to work in Edge */\n}\n\n.ProseMirror [contenteditable="false"] {\n white-space: normal;\n}\n\n.ProseMirror [contenteditable="false"] [contenteditable="true"] {\n white-space: pre-wrap;\n}\n\n.ProseMirror pre {\n white-space: pre-wrap;\n}\n\nimg.ProseMirror-separator {\n display: inline !important;\n border: none !important;\n margin: 0 !important;\n width: 0 !important;\n height: 0 !important;\n}\n\n.ProseMirror-gapcursor {\n display: none;\n pointer-events: none;\n position: absolute;\n margin: 0;\n}\n\n.ProseMirror-gapcursor:after {\n content: "";\n display: block;\n position: absolute;\n top: -2px;\n width: 20px;\n border-top: 1px solid black;\n animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;\n}\n\n@keyframes ProseMirror-cursor-blink {\n to {\n visibility: hidden;\n }\n}\n\n.ProseMirror-hideselection *::selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection *::-moz-selection {\n background: transparent;\n}\n\n.ProseMirror-hideselection * {\n caret-color: transparent;\n}\n\n.ProseMirror-focused .ProseMirror-gapcursor {\n display: block;\n}\n\n.tippy-box[data-animation=fade][data-state=hidden] {\n opacity: 0\n}',this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,e=!0){this.setOptions({editable:t}),e&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(t,e){const n=c_(e)?e(t,[...this.state.plugins]):[...this.state.plugins,t],i=this.state.reconfigure({plugins:n})
|
|
7213
|
-
this.view.updateState(i)}unregisterPlugin(t){if(this.isDestroyed)return
|
|
7232
|
+
return this.view.updateState(i),i}unregisterPlugin(t){if(this.isDestroyed)return
|
|
7214
7233
|
const e="string"==typeof t?`${t}$`:t.key,n=this.state.reconfigure({plugins:this.state.plugins.filter((t=>!t.key.startsWith(e)))})
|
|
7215
|
-
this.view.updateState(n)}createExtensionManager(){var t,e
|
|
7216
|
-
const n=[...this.options.enableCoreExtensions?[lI,
|
|
7234
|
+
return this.view.updateState(n),n}createExtensionManager(){var t,e
|
|
7235
|
+
const n=[...this.options.enableCoreExtensions?[lI,E_.configure({blockSeparator:null===(e=null===(t=this.options.coreExtensionOptions)||void 0===t?void 0:t.clipboardTextSerializer)||void 0===e?void 0:e.blockSeparator}),aI,cI,dI,hI].filter((t=>"object"!=typeof this.options.enableCoreExtensions||!1!==this.options.enableCoreExtensions[t.name])):[],...this.options.extensions].filter((t=>["extension","node","mark"].includes(null==t?void 0:t.type)))
|
|
7217
7236
|
this.extensionManager=new S_(n,this)}createCommandManager(){this.commandManager=new e_({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){let t
|
|
7218
7237
|
try{t=G_(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error&&["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(e.message)))throw e
|
|
7219
7238
|
this.emit("contentError",{editor:this,error:e,disableCollaboration:()=>{this.options.extensions=this.options.extensions.filter((t=>"collaboration"!==t.name)),this.createExtensionManager()}}),t=G_(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const e=B_(t,this.options.autofocus)
|
|
@@ -7233,7 +7252,8 @@ return function(t,e,n={}){if(!e)return q_(t,null,n)||tI(t,null,n)
|
|
|
7233
7252
|
const i=j_(e,t.schema)
|
|
7234
7253
|
return"node"===i?q_(t,e,n):"mark"===i&&tI(t,e,n)}(this.state,n,i)}getJSON(){return this.state.doc.toJSON()}getHTML(){return function(t,e){const n=ew.fromSchema(e).serializeFragment(t),i=document.implementation.createHTMLDocument().createElement("div")
|
|
7235
7254
|
return i.appendChild(n),i.innerHTML}(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e="\n\n",textSerializers:n={}}=t||{}
|
|
7236
|
-
return function(t,e){return $_(t,{from:0,to:t.content.size},e)}(this.state.doc,{blockSeparator:e,textSerializers:{...
|
|
7255
|
+
return function(t,e){return $_(t,{from:0,to:t.content.size},e)}(this.state.doc,{blockSeparator:e,textSerializers:{...D_(this.schema),...n}})}get isEmpty(){return nI(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
|
|
7256
|
+
t&&t.editor&&delete t.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var t
|
|
7237
7257
|
return!(null===(t=this.view)||void 0===t?void 0:t.docView)}$node(t,e){var n
|
|
7238
7258
|
return(null===(n=this.$doc)||void 0===n?void 0:n.querySelector(t,e))||null}$nodes(t,e){var n
|
|
7239
7259
|
return(null===(n=this.$doc)||void 0===n?void 0:n.querySelectorAll(t,e))||null}$pos(t){const e=this.state.doc.resolve(t)
|
|
@@ -7250,7 +7270,7 @@ if(r.wrap(a,l),t.keepMarks&&t.editor){const{selection:n,storedMarks:i}=e,{splitt
|
|
|
7250
7270
|
if(o){const t=o.filter((t=>s.includes(t.type.name)))
|
|
7251
7271
|
r.ensureMarks(t)}}if(t.keepAttributes){const e="bulletList"===t.type.name||"orderedList"===t.type.name?"listItem":"taskList"
|
|
7252
7272
|
s().updateAttributes(e,o).run()}const c=r.doc.resolve(n.from-1).nodeBefore
|
|
7253
|
-
c&&c.type===t.type&&
|
|
7273
|
+
c&&c.type===t.type&&Dw(r.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(i,c))&&r.join(n.from-1)}})}class gI{constructor(t={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=d_(i_(this,"addOptions",{name:this.name}))),this.storage=d_(i_(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new gI(t)}configure(t={}){const e=this.extend({...this.config,addOptions:()=>I_(this.options,t)})
|
|
7254
7274
|
return e.name=this.name,e.parent=this.parent,e}extend(t={}){const e=new gI(t)
|
|
7255
7275
|
return e.parent=this,this.child=e,e.name=t.name?t.name:e.parent.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${e.name}".`),e.options=d_(i_(e,"addOptions",{name:e.name})),e.storage=d_(i_(e,"addStorage",{name:e.name,options:e.options})),e}static handleExit({editor:t,mark:e}){const{tr:n}=t.state,i=t.state.selection.$from
|
|
7256
7276
|
if(i.pos===i.end()){const s=i.marks()
|
|
@@ -7319,7 +7339,7 @@ const xI=class extends vs{}.compose({baseName:"toolbar",baseClass:vs,template:(t
|
|
|
7319
7339
|
</template>
|
|
7320
7340
|
`,styles:wI,shadowOptions:{delegatesFocus:!0}})
|
|
7321
7341
|
_i.getOrCreate().withPrefix("nimble").register(xI())
|
|
7322
|
-
const CI="nimble-toolbar",kI="Bold",SI="Italics",_I="Bulleted List",II="Numbered List",MI=yi.create({name:"rich-text-toggle-bold-label",cssCustomPropertyName:null}).withDefault(kI),$I=yi.create({name:"rich-text-toggle-italics-label",cssCustomPropertyName:null}).withDefault(SI),
|
|
7342
|
+
const CI="nimble-toolbar",kI="Bold",SI="Italics",_I="Bulleted List",II="Numbered List",MI=yi.create({name:"rich-text-toggle-bold-label",cssCustomPropertyName:null}).withDefault(kI),$I=yi.create({name:"rich-text-toggle-italics-label",cssCustomPropertyName:null}).withDefault(SI),DI=yi.create({name:"rich-text-toggle-bulleted-list-label",cssCustomPropertyName:null}).withDefault(_I),EI=yi.create({name:"rich-text-toggle-numbered-list-label",cssCustomPropertyName:null}).withDefault(II),AI=Mt`
|
|
7323
7343
|
${qg}
|
|
7324
7344
|
|
|
7325
7345
|
:host {
|
|
@@ -7437,12 +7457,12 @@ const NI="nimble-rich-text-mention-listbox",LI=Q`
|
|
|
7437
7457
|
content-hidden
|
|
7438
7458
|
?disabled="${t=>t.disabled}"
|
|
7439
7459
|
slot="start"
|
|
7440
|
-
title=${t=>
|
|
7460
|
+
title=${t=>DI.getValueFor(t)}
|
|
7441
7461
|
@click=${t=>t.bulletListButtonClick()}
|
|
7442
7462
|
@change=${(t,e)=>t.stopEventPropagation(e.event)}
|
|
7443
7463
|
@keydown=${(t,e)=>t.bulletListButtonKeyDown(e.event)}
|
|
7444
7464
|
>
|
|
7445
|
-
${t=>
|
|
7465
|
+
${t=>DI.getValueFor(t)}
|
|
7446
7466
|
<${gv} slot="start"></${gv}>
|
|
7447
7467
|
</${Lg}>
|
|
7448
7468
|
<${Lg}
|
|
@@ -7451,12 +7471,12 @@ const NI="nimble-rich-text-mention-listbox",LI=Q`
|
|
|
7451
7471
|
content-hidden
|
|
7452
7472
|
?disabled="${t=>t.disabled}"
|
|
7453
7473
|
slot="start"
|
|
7454
|
-
title=${t=>
|
|
7474
|
+
title=${t=>EI.getValueFor(t)}
|
|
7455
7475
|
@click=${t=>t.numberedListButtonClick()}
|
|
7456
7476
|
@change=${(t,e)=>t.stopEventPropagation(e.event)}
|
|
7457
7477
|
@keydown=${(t,e)=>t.numberedListButtonKeyDown(e.event)}
|
|
7458
7478
|
>
|
|
7459
|
-
${t=>
|
|
7479
|
+
${t=>EI.getValueFor(t)}
|
|
7460
7480
|
<${yv} slot="start"></${yv}>
|
|
7461
7481
|
</${Lg}>
|
|
7462
7482
|
${Qt((t=>t.getMentionExtensionConfig()),Q`
|
|
@@ -7835,19 +7855,19 @@ for(;r<=a;){const e=r+a>>>1,n=t[e]
|
|
|
7835
7855
|
if(n<i)r=e+1
|
|
7836
7856
|
else{if(!(n>i))return t[e+s]
|
|
7837
7857
|
a=e-1}}return-1}const $M=IM(fM)
|
|
7838
|
-
function
|
|
7858
|
+
function DM(t,e=xM.Legacy){return $M(t,e)}function EM(t){return"[object String]"===function(t){return Object.prototype.toString.call(t)}(t)}IM(mM)
|
|
7839
7859
|
const AM=Object.prototype.hasOwnProperty
|
|
7840
7860
|
function TM(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){if(e){if("object"!=typeof e)throw new TypeError(e+"must be object")
|
|
7841
7861
|
Object.keys(e).forEach((function(n){t[n]=e[n]}))}})),t}function OM(t,e,n){return[].concat(t.slice(0,e),n,t.slice(e+1))}function RM(t){return!(t>=55296&&t<=57343)&&(!(t>=64976&&t<=65007)&&(!!(65535&~t&&65534!=(65535&t))&&(!(t>=0&&t<=8)&&(11!==t&&(!(t>=14&&t<=31)&&(!(t>=127&&t<=159)&&!(t>1114111)))))))}function FM(t){if(t>65535){const e=55296+((t-=65536)>>10),n=56320+(1023&t)
|
|
7842
7862
|
return String.fromCharCode(e,n)}return String.fromCharCode(t)}const NM=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,LM=new RegExp(NM.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),BM=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i
|
|
7843
7863
|
function PM(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(LM,(function(t,e,n){return e||function(t,e){if(35===e.charCodeAt(0)&&BM.test(e)){const n="x"===e[1].toLowerCase()?parseInt(e.slice(2),16):parseInt(e.slice(1),10)
|
|
7844
|
-
return RM(n)?FM(n):t}const n=
|
|
7864
|
+
return RM(n)?FM(n):t}const n=DM(t)
|
|
7845
7865
|
return n!==t?n:t}(t,n)}))}const zM=/[&<>"]/,VM=/[&<>"]/g,HM={"&":"&","<":"<",">":">",'"':"""}
|
|
7846
7866
|
function UM(t){return HM[t]}function qM(t){return zM.test(t)?t.replace(VM,UM):t}const jM=/[.?*+^$[\]\\(){}|-]/g
|
|
7847
7867
|
function WM(t){switch(t){case 9:case 32:return!0}return!1}function GM(t){if(t>=8192&&t<=8202)return!0
|
|
7848
7868
|
switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function ZM(t){return dM.test(t)||hM.test(t)}function KM(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0
|
|
7849
7869
|
default:return!1}}function YM(t){return t=t.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const XM={mdurl:aM,ucmicro:pM}
|
|
7850
|
-
var JM=Object.freeze({__proto__:null,arrayReplaceAt:OM,assign:TM,escapeHtml:qM,escapeRE:function(t){return t.replace(jM,"\\$&")},fromCodePoint:FM,has:function(t,e){return AM.call(t,e)},isMdAsciiPunct:KM,isPunctChar:ZM,isSpace:WM,isString:
|
|
7870
|
+
var JM=Object.freeze({__proto__:null,arrayReplaceAt:OM,assign:TM,escapeHtml:qM,escapeRE:function(t){return t.replace(jM,"\\$&")},fromCodePoint:FM,has:function(t,e){return AM.call(t,e)},isMdAsciiPunct:KM,isPunctChar:ZM,isSpace:WM,isString:EM,isValidEntityCode:RM,isWhiteSpace:GM,lib:XM,normalizeReference:YM,unescapeAll:PM,unescapeMd:function(t){return t.indexOf("\\")<0?t:t.replace(NM,"$1")}})
|
|
7851
7871
|
var QM=Object.freeze({__proto__:null,parseLinkDestination:function(t,e,n){let i,s=e
|
|
7852
7872
|
const o={ok:!1,pos:0,str:""}
|
|
7853
7873
|
if(60===t.charCodeAt(s)){for(s++;s<n;){if(i=t.charCodeAt(s),10===i)return o
|
|
@@ -8024,7 +8044,7 @@ let o=t.src.charCodeAt(s++)
|
|
|
8024
8044
|
if(o<48||o>57)return-1
|
|
8025
8045
|
for(;;){if(s>=i)return-1
|
|
8026
8046
|
if(o=t.src.charCodeAt(s++),!(o>=48&&o<=57)){if(41===o||46===o)break
|
|
8027
|
-
return-1}if(s-n>=10)return-1}return s<i&&(o=t.src.charCodeAt(s),!WM(o))?-1:s}const M$="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",$$="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",
|
|
8047
|
+
return-1}if(s-n>=10)return-1}return s<i&&(o=t.src.charCodeAt(s),!WM(o))?-1:s}const M$="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",$$="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",D$=new RegExp("^(?:"+M$+"|"+$$+"|\x3c!---?>|\x3c!--(?:[^-]|-[^-]|--[^>])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),E$=new RegExp("^(?:"+M$+"|"+$$+")"),A$=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(E$.source+"\\s*$"),/^$/,!1]]
|
|
8028
8048
|
const T$=[["table",function(t,e,n,i){if(e+2>n)return!1
|
|
8029
8049
|
let s=e+1
|
|
8030
8050
|
if(t.sCount[s]<t.blkIndent)return!1
|
|
@@ -8434,7 +8454,7 @@ if(60!==t.src.charCodeAt(i)||i+2>=n)return!1
|
|
|
8434
8454
|
const s=t.src.charCodeAt(i+1)
|
|
8435
8455
|
if(33!==s&&63!==s&&47!==s&&!function(t){const e=32|t
|
|
8436
8456
|
return e>=97&&e<=122}(s))return!1
|
|
8437
|
-
const o=t.src.slice(i).match(
|
|
8457
|
+
const o=t.src.slice(i).match(D$)
|
|
8438
8458
|
if(!o)return!1
|
|
8439
8459
|
if(!e){const e=t.push("html_inline","",0)
|
|
8440
8460
|
e.content=o[0],r=e.content,/^<a[>\s]/i.test(r)&&t.linkLevel++,function(t){return/^<\/a\s*>/i.test(t)}(e.content)&&t.linkLevel--}var r
|
|
@@ -8444,7 +8464,7 @@ if(n+1>=i)return!1
|
|
|
8444
8464
|
if(35===t.src.charCodeAt(n+1)){const i=t.src.slice(n).match(q$)
|
|
8445
8465
|
if(i){if(!e){const e="x"===i[1][0].toLowerCase()?parseInt(i[1].slice(1),16):parseInt(i[1],10),n=t.push("text_special","",0)
|
|
8446
8466
|
n.content=RM(e)?FM(e):FM(65533),n.markup=i[0],n.info="entity"}return t.pos+=i[0].length,!0}}else{const i=t.src.slice(n).match(j$)
|
|
8447
|
-
if(i){const n=
|
|
8467
|
+
if(i){const n=DM(i[0])
|
|
8448
8468
|
if(n!==i[0]){if(!e){const e=t.push("text_special","",0)
|
|
8449
8469
|
e.content=n,e.markup=i[0],e.info="entity"}return t.pos+=i[0].length,!0}}}return!1}]],Z$=[["balance_pairs",function(t){const e=t.tokens_meta,n=t.tokens_meta.length
|
|
8450
8470
|
W$(t.delimiters)
|
|
@@ -8468,16 +8488,16 @@ break}if(r){if(t.pos>=i)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPe
|
|
|
8468
8488
|
this.tokenize(s)
|
|
8469
8489
|
const o=this.ruler2.getRules(""),r=o.length
|
|
8470
8490
|
for(let t=0;t<r;t++)o[t](s)},K$.prototype.State=R$
|
|
8471
|
-
const
|
|
8472
|
-
const
|
|
8491
|
+
const tD={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1}
|
|
8492
|
+
const eD={"http:":{validate:function(t,e,n){const i=t.slice(e)
|
|
8473
8493
|
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)
|
|
8474
8494
|
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)
|
|
8475
|
-
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}}},
|
|
8476
|
-
function
|
|
8495
|
+
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}}},nD="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]",iD="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|")
|
|
8496
|
+
function sD(t){const e=t.re=function(t){const e={}
|
|
8477
8497
|
t=t||{},e.src_Any=lM.source,e.src_Cc=cM.source,e.src_Z=uM.source,e.src_P=dM.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|")
|
|
8478
8498
|
const n="[><|]"
|
|
8479
8499
|
return e.src_pseudo_letter="(?:(?![><|]|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|[><|]|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy='(^|[><|]|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}(t.__opts__),n=t.__tlds__.slice()
|
|
8480
|
-
function i(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(
|
|
8500
|
+
function i(t){return t.replace("%TLDS%",e.src_tlds)}t.onCompile(),t.__tlds_replaced__||n.push(nD),n.push(e.src_xn),e.src_tlds=n.join("|"),e.email_fuzzy=RegExp(i(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(i(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(i(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(i(e.tpl_host_fuzzy_test),"i")
|
|
8481
8501
|
const s=[]
|
|
8482
8502
|
function o(t,e){throw new Error('(LinkifyIt) Invalid schema "'+t+'": '+e)}t.__compiled__={},Object.keys(t.__schemas__).forEach((function(e){const n=t.__schemas__[e]
|
|
8483
8503
|
if(null===n)return
|
|
@@ -8486,89 +8506,89 @@ if(t.__compiled__[e]=i,"[object Object]"===X$(n))return!function(t){return"[obje
|
|
|
8486
8506
|
return t.test(i)?i.match(t)[0].length:0}}(n.validate),void(J$(n.normalize)?i.normalize=n.normalize:n.normalize?o(e,n):i.normalize=function(t,e){e.normalize(t)})
|
|
8487
8507
|
!function(t){return"[object String]"===X$(t)}(n)?o(e,n):s.push(e)})),s.forEach((function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)})),t.__compiled__[""]={validate:null,normalize:function(t,e){e.normalize(t)}}
|
|
8488
8508
|
const r=Object.keys(t.__compiled__).filter((function(e){return e.length>0&&t.__compiled__[e]})).map(Q$).join("|")
|
|
8489
|
-
t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+r+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+r+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function
|
|
8490
|
-
this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=s,this.text=s,this.url=s}function
|
|
8491
|
-
return t.__compiled__[n.schema].normalize(n,t),n}function
|
|
8509
|
+
t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+r+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+r+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),function(t){t.__index__=-1,t.__text_cache__=""}(t)}function oD(t,e){const n=t.__index__,i=t.__last_index__,s=t.__text_cache__.slice(n,i)
|
|
8510
|
+
this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=i+e,this.raw=s,this.text=s,this.url=s}function rD(t,e){const n=new oD(t,e)
|
|
8511
|
+
return t.__compiled__[n.schema].normalize(n,t),n}function aD(t,e){if(!(this instanceof aD))return new aD(t,e)
|
|
8492
8512
|
var n
|
|
8493
|
-
e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||
|
|
8513
|
+
e||(n=t,Object.keys(n||{}).reduce((function(t,e){return t||tD.hasOwnProperty(e)}),!1)&&(e=t,t={})),this.__opts__=Y$({},tD,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Y$({},eD,t),this.__compiled__={},this.__tlds__=iD,this.__tlds_replaced__=!1,this.re={},sD(this)}aD.prototype.add=function(t,e){return this.__schemas__[t]=e,sD(this),this},aD.prototype.set=function(t){return this.__opts__=Y$(this.__opts__,t),this},aD.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1
|
|
8494
8514
|
let e,n,i,s,o,r,a,l,c
|
|
8495
8515
|
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
|
|
8496
|
-
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},
|
|
8516
|
+
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},aD.prototype.pretest=function(t){return this.re.pretest.test(t)},aD.prototype.testSchemaAt=function(t,e,n){return this.__compiled__[e.toLowerCase()]?this.__compiled__[e.toLowerCase()].validate(t,n,this):0},aD.prototype.match=function(t){const e=[]
|
|
8497
8517
|
let n=0
|
|
8498
|
-
this.__index__>=0&&this.__text_cache__===t&&(e.push(
|
|
8518
|
+
this.__index__>=0&&this.__text_cache__===t&&(e.push(rD(this,n)),n=this.__last_index__)
|
|
8499
8519
|
let i=n?t.slice(n):t
|
|
8500
|
-
for(;this.test(i);)e.push(
|
|
8501
|
-
return e.length?e:null},
|
|
8520
|
+
for(;this.test(i);)e.push(rD(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__
|
|
8521
|
+
return e.length?e:null},aD.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null
|
|
8502
8522
|
const e=this.re.schema_at_start.exec(t)
|
|
8503
8523
|
if(!e)return null
|
|
8504
8524
|
const n=this.testSchemaAt(t,e[2],e[0].length)
|
|
8505
|
-
return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,
|
|
8506
|
-
const
|
|
8507
|
-
function
|
|
8525
|
+
return n?(this.__schema__=e[2],this.__index__=e.index+e[1].length,this.__last_index__=e.index+e[0].length+n,rD(this,0)):null},aD.prototype.tlds=function(t,e){return t=Array.isArray(t)?t:[t],e?(this.__tlds__=this.__tlds__.concat(t).sort().filter((function(t,e,n){return t!==n[e-1]})).reverse(),sD(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,sD(this),this)},aD.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),"mailto:"!==t.schema||/^mailto:/i.test(t.url)||(t.url="mailto:"+t.url)},aD.prototype.onCompile=function(){}
|
|
8526
|
+
const lD=2147483647,cD=36,dD=/^xn--/,hD=/[^\0-\x7F]/,uD=/[\x2E\u3002\uFF0E\uFF61]/g,pD={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fD=Math.floor,mD=String.fromCharCode
|
|
8527
|
+
function gD(t){throw new RangeError(pD[t])}function vD(t,e){const n=t.split("@")
|
|
8508
8528
|
let i=""
|
|
8509
8529
|
n.length>1&&(i=n[0]+"@",t=n[1])
|
|
8510
8530
|
const s=function(t,e){const n=[]
|
|
8511
8531
|
let i=t.length
|
|
8512
8532
|
for(;i--;)n[i]=e(t[i])
|
|
8513
|
-
return n}((t=t.replace(
|
|
8514
|
-
return i+s}function
|
|
8533
|
+
return n}((t=t.replace(uD,".")).split("."),e).join(".")
|
|
8534
|
+
return i+s}function bD(t){const e=[]
|
|
8515
8535
|
let n=0
|
|
8516
8536
|
const i=t.length
|
|
8517
8537
|
for(;n<i;){const s=t.charCodeAt(n++)
|
|
8518
8538
|
if(s>=55296&&s<=56319&&n<i){const i=t.charCodeAt(n++)
|
|
8519
|
-
56320==(64512&i)?e.push(((1023&s)<<10)+(1023&i)+65536):(e.push(s),n--)}else e.push(s)}return e}const
|
|
8520
|
-
for(t=n?
|
|
8521
|
-
return
|
|
8539
|
+
56320==(64512&i)?e.push(((1023&s)<<10)+(1023&i)+65536):(e.push(s),n--)}else e.push(s)}return e}const yD=function(t,e){return t+22+75*(t<26)-((0!=e)<<5)},wD=function(t,e,n){let i=0
|
|
8540
|
+
for(t=n?fD(t/700):t>>1,t+=fD(t/e);t>455;i+=cD)t=fD(t/35)
|
|
8541
|
+
return fD(i+36*t/(t+38))},xD=function(t){const e=[],n=t.length
|
|
8522
8542
|
let i=0,s=128,o=72,r=t.lastIndexOf("-")
|
|
8523
8543
|
r<0&&(r=0)
|
|
8524
|
-
for(let n=0;n<r;++n)t.charCodeAt(n)>=128&&
|
|
8544
|
+
for(let n=0;n<r;++n)t.charCodeAt(n)>=128&&gD("not-basic"),e.push(t.charCodeAt(n))
|
|
8525
8545
|
for(let l=r>0?r+1:0;l<n;){const r=i
|
|
8526
|
-
for(let e=1,s=
|
|
8527
|
-
const r=(a=t.charCodeAt(l++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:
|
|
8528
|
-
r>=
|
|
8546
|
+
for(let e=1,s=cD;;s+=cD){l>=n&&gD("invalid-input")
|
|
8547
|
+
const r=(a=t.charCodeAt(l++))>=48&&a<58?a-48+26:a>=65&&a<91?a-65:a>=97&&a<123?a-97:cD
|
|
8548
|
+
r>=cD&&gD("invalid-input"),r>fD((lD-i)/e)&&gD("overflow"),i+=r*e
|
|
8529
8549
|
const c=s<=o?1:s>=o+26?26:s-o
|
|
8530
8550
|
if(r<c)break
|
|
8531
|
-
const d=
|
|
8532
|
-
e>
|
|
8533
|
-
o=
|
|
8534
|
-
return String.fromCodePoint(...e)},
|
|
8551
|
+
const d=cD-c
|
|
8552
|
+
e>fD(lD/d)&&gD("overflow"),e*=d}const c=e.length+1
|
|
8553
|
+
o=wD(i-r,c,0==r),fD(i/c)>lD-s&&gD("overflow"),s+=fD(i/c),i%=c,e.splice(i++,0,s)}var a
|
|
8554
|
+
return String.fromCodePoint(...e)},CD=function(t){const e=[],n=(t=bD(t)).length
|
|
8535
8555
|
let i=128,s=0,o=72
|
|
8536
|
-
for(const n of t)n<128&&e.push(
|
|
8556
|
+
for(const n of t)n<128&&e.push(mD(n))
|
|
8537
8557
|
const r=e.length
|
|
8538
8558
|
let a=r
|
|
8539
|
-
for(r&&e.push("-");a<n;){let n=
|
|
8559
|
+
for(r&&e.push("-");a<n;){let n=lD
|
|
8540
8560
|
for(const e of t)e>=i&&e<n&&(n=e)
|
|
8541
8561
|
const l=a+1
|
|
8542
|
-
n-i>
|
|
8543
|
-
for(const n of t)if(n<i&&++s>
|
|
8544
|
-
for(let n=
|
|
8562
|
+
n-i>fD((lD-s)/l)&&gD("overflow"),s+=(n-i)*l,i=n
|
|
8563
|
+
for(const n of t)if(n<i&&++s>lD&&gD("overflow"),n===i){let t=s
|
|
8564
|
+
for(let n=cD;;n+=cD){const i=n<=o?1:n>=o+26?26:n-o
|
|
8545
8565
|
if(t<i)break
|
|
8546
|
-
const s=t-i,r=
|
|
8547
|
-
e.push(
|
|
8548
|
-
const
|
|
8549
|
-
function
|
|
8550
|
-
return!
|
|
8551
|
-
function
|
|
8552
|
-
if(e.hostname&&(!e.protocol||$
|
|
8553
|
-
if(e.hostname&&(!e.protocol||$
|
|
8554
|
-
e||
|
|
8555
|
-
if(
|
|
8556
|
-
if(!(t=
|
|
8557
|
-
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},
|
|
8566
|
+
const s=t-i,r=cD-i
|
|
8567
|
+
e.push(mD(yD(i+s%r,0))),t=fD(s/r)}e.push(mD(yD(t,0))),o=wD(s,l,a===r),s=0,++a}++s,++i}return e.join("")},kD={version:"2.3.1",ucs2:{decode:bD,encode:t=>String.fromCodePoint(...t)},decode:xD,encode:CD,toASCII:function(t){return vD(t,(function(t){return hD.test(t)?"xn--"+CD(t):t}))},toUnicode:function(t){return vD(t,(function(t){return dD.test(t)?xD(t.slice(4).toLowerCase()):t}))}}
|
|
8568
|
+
const SD={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},_D=/^(vbscript|javascript|file|data):/,ID=/^data:image\/(gif|png|jpeg|webp);/
|
|
8569
|
+
function MD(t){const e=t.trim().toLowerCase()
|
|
8570
|
+
return!_D.test(e)||ID.test(e)}const $D=["http:","https:","mailto:"]
|
|
8571
|
+
function DD(t){const e=oM(t,!0)
|
|
8572
|
+
if(e.hostname&&(!e.protocol||$D.indexOf(e.protocol)>=0))try{e.hostname=kD.toASCII(e.hostname)}catch(t){}return jI(WI(e))}function ED(t){const e=oM(t,!0)
|
|
8573
|
+
if(e.hostname&&(!e.protocol||$D.indexOf(e.protocol)>=0))try{e.hostname=kD.toUnicode(e.hostname)}catch(t){}return UI(WI(e),UI.defaultChars+"%")}function AD(t,e){if(!(this instanceof AD))return new AD(t,e)
|
|
8574
|
+
e||EM(t)||(e=t||{},t="default"),this.inline=new K$,this.block=new O$,this.core=new x$,this.renderer=new e$,this.linkify=new aD,this.validateLink=MD,this.normalizeLink=DD,this.normalizeLinkText=ED,this.utils=JM,this.helpers=TM({},QM),this.options={},this.configure(t),e&&this.set(e)}AD.prototype.set=function(t){return TM(this.options,t),this},AD.prototype.configure=function(t){const e=this
|
|
8575
|
+
if(EM(t)){const e=t
|
|
8576
|
+
if(!(t=SD[e]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty")
|
|
8577
|
+
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},AD.prototype.enable=function(t,e){let n=[]
|
|
8558
8578
|
Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.enable(t,!0))}),this),n=n.concat(this.inline.ruler2.enable(t,!0))
|
|
8559
8579
|
const i=t.filter((function(t){return n.indexOf(t)<0}))
|
|
8560
8580
|
if(i.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+i)
|
|
8561
|
-
return this},
|
|
8581
|
+
return this},AD.prototype.disable=function(t,e){let n=[]
|
|
8562
8582
|
Array.isArray(t)||(t=[t]),["core","block","inline"].forEach((function(e){n=n.concat(this[e].ruler.disable(t,!0))}),this),n=n.concat(this.inline.ruler2.disable(t,!0))
|
|
8563
8583
|
const i=t.filter((function(t){return n.indexOf(t)<0}))
|
|
8564
8584
|
if(i.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+i)
|
|
8565
|
-
return this},
|
|
8566
|
-
return t.apply(t,e),this},
|
|
8585
|
+
return this},AD.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1))
|
|
8586
|
+
return t.apply(t,e),this},AD.prototype.parse=function(t,e){if("string"!=typeof t)throw new Error("Input data should be a String")
|
|
8567
8587
|
const n=new this.core.State(t,this,e)
|
|
8568
|
-
return this.core.process(n),n.tokens},
|
|
8569
|
-
return n.inlineMode=!0,this.core.process(n),n.tokens},
|
|
8570
|
-
const
|
|
8571
|
-
class
|
|
8588
|
+
return this.core.process(n),n.tokens},AD.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},AD.prototype.parseInline=function(t,e){const n=new this.core.State(t,this,e)
|
|
8589
|
+
return n.inlineMode=!0,this.core.process(n),n.tokens},AD.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)}
|
|
8590
|
+
const TD=new Uy({nodes:{doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM:()=>["p",0]},blockquote:{content:"block+",group:"block",parseDOM:[{tag:"blockquote"}],toDOM:()=>["blockquote",0]},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM:()=>["div",["hr"]]},heading:{attrs:{level:{default:1}},content:"(text | image)*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM:t=>["h"+t.attrs.level,0]},code_block:{content:"text*",group:"block",code:!0,defining:!0,marks:"",attrs:{params:{default:""}},parseDOM:[{tag:"pre",preserveWhitespace:"full",getAttrs:t=>({params:t.getAttribute("data-params")||""})}],toDOM:t=>["pre",t.attrs.params?{"data-params":t.attrs.params}:{},["code",0]]},ordered_list:{content:"list_item+",group:"block",attrs:{order:{default:1},tight:{default:!1}},parseDOM:[{tag:"ol",getAttrs:t=>({order:t.hasAttribute("start")?+t.getAttribute("start"):1,tight:t.hasAttribute("data-tight")})}],toDOM:t=>["ol",{start:1==t.attrs.order?null:t.attrs.order,"data-tight":t.attrs.tight?"true":null},0]},bullet_list:{content:"list_item+",group:"block",attrs:{tight:{default:!1}},parseDOM:[{tag:"ul",getAttrs:t=>({tight:t.hasAttribute("data-tight")})}],toDOM:t=>["ul",{"data-tight":t.attrs.tight?"true":null},0]},list_item:{content:"block+",defining:!0,parseDOM:[{tag:"li"}],toDOM:()=>["li",0]},text:{group:"inline"},image:{inline:!0,attrs:{src:{},alt:{default:null},title:{default:null}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs:t=>({src:t.getAttribute("src"),title:t.getAttribute("title"),alt:t.getAttribute("alt")})}],toDOM:t=>["img",t.attrs]},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM:()=>["br"]}},marks:{em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style=italic"},{style:"font-style=normal",clearMark:t=>"em"==t.type.name}],toDOM:()=>["em"]},strong:{parseDOM:[{tag:"strong"},{tag:"b",getAttrs:t=>"normal"!=t.style.fontWeight&&null},{style:"font-weight=400",clearMark:t=>"strong"==t.type.name},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}],toDOM:()=>["strong"]},link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:t=>({href:t.getAttribute("href"),title:t.getAttribute("title")})}],toDOM:t=>["a",t.attrs]},code:{parseDOM:[{tag:"code"}],toDOM:()=>["code"]}}})
|
|
8591
|
+
class OD{constructor(t,e){this.schema=t,this.tokenHandlers=e,this.stack=[{type:t.topNodeType,attrs:null,content:[],marks:sy.none}]}top(){return this.stack[this.stack.length-1]}push(t){this.stack.length&&this.top().content.push(t)}addText(t){if(!t)return
|
|
8572
8592
|
let e,n=this.top(),i=n.content,s=i[i.length-1],o=this.schema.text(t,n.marks)
|
|
8573
8593
|
s&&(e=function(t,e){if(t.isText&&e.isText&&sy.sameSet(t.marks,e.marks))return t.withText(t.text+e.text)}(s,o))?i[i.length-1]=e:i.push(o)}openMark(t){let e=this.top()
|
|
8574
8594
|
e.marks=t.addToSet(e.marks)}closeMark(t){let e=this.top()
|
|
@@ -8576,35 +8596,35 @@ e.marks=t.removeFromSet(e.marks)}parseTokens(t){for(let e=0;e<t.length;e++){let
|
|
|
8576
8596
|
if(!i)throw new Error("Token type `"+n.type+"` not supported by Markdown parser")
|
|
8577
8597
|
i(this,n,t,e)}}addNode(t,e,n){let i=this.top(),s=t.createAndFill(e,n,i?i.marks:[])
|
|
8578
8598
|
return s?(this.push(s),s):null}openNode(t,e){this.stack.push({type:t,attrs:e,content:[],marks:sy.none})}closeNode(){let t=this.stack.pop()
|
|
8579
|
-
return this.addNode(t.type,t.attrs,t.content)}}function
|
|
8599
|
+
return this.addNode(t.type,t.attrs,t.content)}}function RD(t,e,n,i){return t.getAttrs?t.getAttrs(e,n,i):t.attrs instanceof Function?t.attrs(e):t.attrs}function FD(t,e){return t.noCloseToken||"code_inline"==e||"code_block"==e||"fence"==e}function ND(t){return"\n"==t[t.length-1]?t.slice(0,t.length-1):t}function LD(){}class BD{constructor(t,e,n){this.schema=t,this.tokenizer=e,this.tokens=n,this.tokenHandlers=function(t,e){let n=Object.create(null)
|
|
8580
8600
|
for(let i in e){let s=e[i]
|
|
8581
8601
|
if(s.block){let e=t.nodeType(s.block)
|
|
8582
|
-
|
|
8583
|
-
n[i]=(t,n,i,o)=>t.addNode(e,
|
|
8584
|
-
|
|
8585
|
-
|
|
8602
|
+
FD(s,i)?n[i]=(t,n,i,o)=>{t.openNode(e,RD(s,n,i,o)),t.addText(ND(n.content)),t.closeNode()}:(n[i+"_open"]=(t,n,i,o)=>t.openNode(e,RD(s,n,i,o)),n[i+"_close"]=t=>t.closeNode())}else if(s.node){let e=t.nodeType(s.node)
|
|
8603
|
+
n[i]=(t,n,i,o)=>t.addNode(e,RD(s,n,i,o))}else if(s.mark){let e=t.marks[s.mark]
|
|
8604
|
+
FD(s,i)?n[i]=(t,n,i,o)=>{t.openMark(e.create(RD(s,n,i,o))),t.addText(ND(n.content)),t.closeMark(e)}:(n[i+"_open"]=(t,n,i,o)=>t.openMark(e.create(RD(s,n,i,o))),n[i+"_close"]=t=>t.closeMark(e))}else{if(!s.ignore)throw new RangeError("Unrecognized parsing spec "+JSON.stringify(s))
|
|
8605
|
+
FD(s,i)?n[i]=LD:(n[i+"_open"]=LD,n[i+"_close"]=LD)}}return n.text=(t,e)=>t.addText(e.content),n.inline=(t,e)=>t.parseTokens(e.children),n.softbreak=n.softbreak||(t=>t.addText(" ")),n}(t,n)}parse(t,e={}){let n,i=new OD(this.schema,this.tokenHandlers)
|
|
8586
8606
|
i.parseTokens(this.tokenizer.parse(t,e))
|
|
8587
8607
|
do{n=i.closeNode()}while(i.stack.length)
|
|
8588
|
-
return n||this.schema.topNodeType.createAndFill()}}function
|
|
8589
|
-
return!1}const
|
|
8590
|
-
class
|
|
8591
|
-
let n=new
|
|
8592
|
-
return n.renderContent(t),n.out}}const
|
|
8608
|
+
return n||this.schema.topNodeType.createAndFill()}}function PD(t,e){for(;++e<t.length;)if("list_item_open"!=t[e].type)return t[e].hidden
|
|
8609
|
+
return!1}const zD=new BD(TD,AD("commonmark",{html:!1}),{blockquote:{block:"blockquote"},paragraph:{block:"paragraph"},list_item:{block:"list_item"},bullet_list:{block:"bullet_list",getAttrs:(t,e,n)=>({tight:PD(e,n)})},ordered_list:{block:"ordered_list",getAttrs:(t,e,n)=>({order:+t.attrGet("start")||1,tight:PD(e,n)})},heading:{block:"heading",getAttrs:t=>({level:+t.tag.slice(1)})},code_block:{block:"code_block",noCloseToken:!0},fence:{block:"code_block",getAttrs:t=>({params:t.info||""}),noCloseToken:!0},hr:{node:"horizontal_rule"},image:{node:"image",getAttrs:t=>({src:t.attrGet("src"),title:t.attrGet("title")||null,alt:t.children[0]&&t.children[0].content||null})},hardbreak:{node:"hard_break"},em:{mark:"em"},strong:{mark:"strong"},link:{mark:"link",getAttrs:t=>({href:t.attrGet("href"),title:t.attrGet("title")||null})},code_inline:{mark:"code",noCloseToken:!0}}),VD={open:"",close:"",mixable:!0}
|
|
8610
|
+
class HD{constructor(t,e,n={}){this.nodes=t,this.marks=e,this.options=n}serialize(t,e={}){e=Object.assign({},this.options,e)
|
|
8611
|
+
let n=new jD(this.nodes,this.marks,e)
|
|
8612
|
+
return n.renderContent(t),n.out}}const UD=new HD({blockquote(t,e){t.wrapBlock("> ",null,e,(()=>t.renderContent(e)))},code_block(t,e){const n=e.textContent.match(/`{3,}/gm),i=n?n.sort().slice(-1)[0]+"`":"```"
|
|
8593
8613
|
t.write(i+(e.attrs.params||"")+"\n"),t.text(e.textContent,!1),t.write("\n"),t.write(i),t.closeBlock(e)},heading(t,e){t.write(t.repeat("#",e.attrs.level)+" "),t.renderInline(e,!1),t.closeBlock(e)},horizontal_rule(t,e){t.write(e.attrs.markup||"---"),t.closeBlock(e)},bullet_list(t,e){t.renderList(e," ",(()=>(e.attrs.bullet||"*")+" "))},ordered_list(t,e){let n=e.attrs.order||1,i=String(n+e.childCount-1).length,s=t.repeat(" ",i+2)
|
|
8594
8614
|
t.renderList(e,s,(e=>{let s=String(n+e)
|
|
8595
8615
|
return t.repeat(" ",i-s.length)+s+". "}))},list_item(t,e){t.renderContent(e)},paragraph(t,e){t.renderInline(e),t.closeBlock(e)},image(t,e){t.write("]/g,"\\$&")+(e.attrs.title?' "'+e.attrs.title.replace(/"/g,'\\"')+'"':"")+")")},hard_break(t,e,n,i){for(let s=i+1;s<n.childCount;s++)if(n.child(s).type!=e.type)return void t.write("\\\n")},text(t,e){t.text(e.text,!t.inAutolink)}},{em:{open:"*",close:"*",mixable:!0,expelEnclosingWhitespace:!0},strong:{open:"**",close:"**",mixable:!0,expelEnclosingWhitespace:!0},link:{open:(t,e,n,i)=>(t.inAutolink=function(t,e,n){if(t.attrs.title||!/^\w+:/.test(t.attrs.href))return!1
|
|
8596
8616
|
let i=e.child(n)
|
|
8597
8617
|
return!(!i.isText||i.text!=t.attrs.href||i.marks[i.marks.length-1]!=t)&&(n==e.childCount-1||!t.isInSet(e.child(n+1).marks))}(e,n,i),t.inAutolink?"<":"["),close(t,e,n,i){let{inAutolink:s}=t
|
|
8598
|
-
return t.inAutolink=void 0,s?">":"]("+e.attrs.href.replace(/[\(\)"]/g,"\\$&")+(e.attrs.title?` "${e.attrs.title.replace(/"/g,'\\"')}"`:"")+")"},mixable:!0},code:{open:(t,e,n,i)=>
|
|
8599
|
-
function
|
|
8618
|
+
return t.inAutolink=void 0,s?">":"]("+e.attrs.href.replace(/[\(\)"]/g,"\\$&")+(e.attrs.title?` "${e.attrs.title.replace(/"/g,'\\"')}"`:"")+")"},mixable:!0},code:{open:(t,e,n,i)=>qD(n.child(i),-1),close:(t,e,n,i)=>qD(n.child(i-1),1),escape:!1}})
|
|
8619
|
+
function qD(t,e){let n,i=/`+/g,s=0
|
|
8600
8620
|
if(t.isText)for(;n=i.exec(t.text);)s=Math.max(s,n[0].length)
|
|
8601
8621
|
let o=s>0&&e>0?" `":"`"
|
|
8602
8622
|
for(let t=0;t<s;t++)o+="`"
|
|
8603
|
-
return s>0&&e<0&&(o+=" "),o}class
|
|
8623
|
+
return s>0&&e<0&&(o+=" "),o}class jD{constructor(t,e,n){this.nodes=t,this.marks=e,this.options=n,this.delim="",this.out="",this.closed=null,this.inAutolink=void 0,this.atBlockStart=!1,this.inTightList=!1,void 0===this.options.tightLists&&(this.options.tightLists=!1),void 0===this.options.hardBreakNodeName&&(this.options.hardBreakNodeName="hard_break")}flushClose(t=2){if(this.closed){if(this.atBlank()||(this.out+="\n"),t>1){let e=this.delim,n=/\s+$/.exec(e)
|
|
8604
8624
|
n&&(e=e.slice(0,e.length-n[0].length))
|
|
8605
8625
|
for(let n=1;n<t;n++)this.out+=e+"\n"}this.closed=null}}getMark(t){let e=this.marks[t]
|
|
8606
8626
|
if(!e){if(!1!==this.options.strict)throw new Error(`Mark type \`${t}\` not supported by Markdown renderer`)
|
|
8607
|
-
e=
|
|
8627
|
+
e=VD}return e}wrapBlock(t,e,n,i){let s=this.delim
|
|
8608
8628
|
this.write(null!=e?e:t),this.delim+=t,i(),this.delim=s,this.closeBlock(n)}atBlank(){return/(^|\n)$/.test(this.out)}ensureNewLine(){this.atBlank()||(this.out+="\n")}write(t){this.flushClose(),this.delim&&this.atBlank()&&(this.out+=this.delim),t&&(this.out+=t)}closeBlock(t){this.closed=t}text(t,e=!0){let n=t.split("\n")
|
|
8609
8629
|
for(let t=0;t<n.length;t++)this.write(),!e&&"["==n[t][0]&&/(^|[^\\])\!$/.test(this.out)&&(this.out=this.out.slice(0,this.out.length-1)+"\\!"),this.out+=e?this.esc(n[t],this.atBlockStart):n[t],t!=n.length-1&&(this.out+="\n")}render(t,e,n){if(this.nodes[t.type.name])this.nodes[t.type.name](this,t,e,n)
|
|
8610
8630
|
else{if(!1!==this.options.strict)throw new Error("Token type `"+t.type.name+"` not supported by Markdown renderer")
|
|
@@ -8635,72 +8655,72 @@ this.inTightList=i,t.forEach(((s,o,r)=>{r&&i&&this.flushClose(1),this.wrapBlock(
|
|
|
8635
8655
|
return e[0]+t+e[1]}repeat(t,e){let n=""
|
|
8636
8656
|
for(let i=0;i<e;i++)n+=t
|
|
8637
8657
|
return n}markString(t,e,n,i){let s=this.getMark(t.type.name),o=e?s.open:s.close
|
|
8638
|
-
return"string"==typeof o?o:o(this,t,n,i)}getEnclosingWhitespace(t){return{leading:(t.match(/^(\s+)/)||[void 0])[0],trailing:(t.match(/(\s+)$/)||[void 0])[0]}}}var
|
|
8639
|
-
class
|
|
8658
|
+
return"string"==typeof o?o:o(this,t,n,i)}getEnclosingWhitespace(t){return{leading:(t.match(/^(\s+)/)||[void 0])[0],trailing:(t.match(/(\s+)$/)||[void 0])[0]}}}var WD
|
|
8659
|
+
class GD{static parseMarkdownToDOM(t,e){try{WD.setup(e)
|
|
8640
8660
|
const n=this.markdownParser.parse(t)
|
|
8641
|
-
return null===n?{fragment:document.createDocumentFragment(),mentionedHrefs:Array.from(
|
|
8642
|
-
return t.normalizeLinkText=t=>t,new
|
|
8643
|
-
return n&&i?(
|
|
8644
|
-
class
|
|
8645
|
-
t.write(`<${n}>`)},n={bulletList:
|
|
8661
|
+
return null===n?{fragment:document.createDocumentFragment(),mentionedHrefs:Array.from(WD.mentionedHrefs)}:{fragment:this.domSerializer.serializeFragment(n.content),mentionedHrefs:Array.from(WD.mentionedHrefs)}}finally{WD.cleanup()}}static initializeMarkdownParser(){const t=zD.tokenizer.configure("zero").enable(["emphasis","list","escape","autolink","newline"])
|
|
8662
|
+
return t.normalizeLinkText=t=>t,new BD(this.updatedSchema,t,zD.tokens)}static getCustomSchemaConfiguration(){return new Uy({nodes:TD.spec.nodes,marks:{link:{attrs:{href:{},rel:{default:"noopener noreferrer"},class:{default:""}},inclusive:!1,excludes:"_",toDOM(t){const e=t.attrs.href,n=WD.mentionConfigs?.find((t=>t.isValidMentionHref(e))),i=n?.getDisplayName(e)
|
|
8663
|
+
return n&&i?(WD.mentionedHrefs.add(e),[n.viewElement,{"mention-href":e,"mention-label":i}]):[wh,{href:WD.startsWithHttpOrHttps(e)?e:null,rel:t.attrs.rel,class:e,"underline-hidden":!WD.startsWithHttpOrHttps(e)||null}]}},em:TD.spec.marks.get("em"),strong:TD.spec.marks.get("strong")}})}static setup(t){WD.mentionConfigs=t,WD.mentionedHrefs.clear()}static cleanup(){WD.mentionConfigs=void 0,WD.mentionedHrefs.clear()}static startsWithHttpOrHttps(t){return/^https?:\/\//i.test(t)}}WD=GD,GD.mentionedHrefs=new Set,GD.updatedSchema=WD.getCustomSchemaConfiguration(),GD.markdownParser=WD.initializeMarkdownParser(),GD.domSerializer=ew.fromSchema(WD.updatedSchema)
|
|
8664
|
+
class ZD{constructor(t){this.markdownSerializer=this.initializeMarkdownSerializerForTipTap(t)}serializeDOMToMarkdown(t){return this.markdownSerializer.serialize(t)}initializeMarkdownSerializerForTipTap(t){const e=function(t,e){const n=e.attrs.href
|
|
8665
|
+
t.write(`<${n}>`)},n={bulletList:UD.nodes.bullet_list,listItem:UD.nodes.list_item,orderedList:function(t,e){const n=e.attrs.start||1,i=String(n+e.childCount-1).length,s=t.repeat(" ",i+2)
|
|
8646
8666
|
t.renderList(e,s,(e=>{const s=String(n+e)
|
|
8647
|
-
return`${t.repeat(" ",i-s.length)+s}. `}))},doc:
|
|
8667
|
+
return`${t.repeat(" ",i-s.length)+s}. `}))},doc:UD.nodes.doc,paragraph:UD.nodes.paragraph,text:UD.nodes.text,hardBreak:UD.nodes.hard_break}
|
|
8648
8668
|
t.forEach((t=>{n[t]=e}))
|
|
8649
|
-
const i={italic:
|
|
8650
|
-
return new
|
|
8651
|
-
class
|
|
8669
|
+
const i={italic:UD.marks.em,bold:UD.marks.strong,link:{open:"<",close:">",escape:!1,expelEnclosingWhitespace:!0}}
|
|
8670
|
+
return new HD(n,i)}}class KD{constructor(t,e){this.iconTemplate=Q`<${t.icon} slot="start"></${t.icon}>`,this.character=t.character,this.viewElement=t.viewElement,this.validator=t.validator,this.mentionUpdateEmitter=e}}t([C],KD.prototype,"mappingConfigs",void 0),t([C],KD.prototype,"pattern",void 0),t([C],KD.prototype,"buttonLabel",void 0)
|
|
8671
|
+
class YD extends We{constructor(){super(...arguments),this.mentionInternals=new KD(this.getMentionInternalsOptions(),(t=>{this.emitMentionUpdate(t)})),this.mappingNotifiers=[],this.mappingElements=[]}checkValidity(){return this.mentionInternals.validator.isValid()}get validity(){return this.mentionInternals.validator.getValidity()}emitMentionUpdate(t){const e={filter:t}
|
|
8652
8672
|
this.$emit("mention-update",e)}handleChange(t,e){t instanceof bb&&"string"==typeof e&&this.getObservedMappingProperty().includes(e)&&this.updateMappingConfigs()}getMappingConfigs(){const t=new Map
|
|
8653
8673
|
return this.mappingElements.forEach((e=>{const n=e.key??void 0
|
|
8654
8674
|
if(void 0===n||"string"!=typeof n)throw Error("mentionHref was invalid for type. Validation should have prevented this.")
|
|
8655
8675
|
const i=this.createMappingConfig(e)
|
|
8656
8676
|
t.set(n,i)})),t}updateMappingConfigs(){this.mentionInternals.validator.validate(this.mappingElements,this.pattern),this.mentionInternals.mappingConfigs=this.mentionInternals.validator.isValid()?this.getMappingConfigs():void 0}mappingElementsChanged(){this.updateMappingConfigs(),this.observeMappingElements()}patternChanged(){this.mentionInternals.validator.validate(this.mappingElements,this.pattern),this.mentionInternals.pattern=this.pattern}buttonLabelChanged(){this.mentionInternals.buttonLabel=this.buttonLabel}removeMappingElementObservers(){this.mappingNotifiers.forEach((t=>{t.unsubscribe(this)})),this.mappingNotifiers=[]}observeMappingElements(){this.removeMappingElementObservers()
|
|
8657
8677
|
for(const t of this.mappingElements){const e=x.getNotifier(t)
|
|
8658
|
-
e.subscribe(this),this.mappingNotifiers.push(e)}}}t([ft],
|
|
8659
|
-
class
|
|
8678
|
+
e.subscribe(this),this.mappingNotifiers.push(e)}}}t([ft],YD.prototype,"pattern",void 0),t([ft({attribute:"button-label"})],YD.prototype,"buttonLabel",void 0),t([C],YD.prototype,"mappingElements",void 0)
|
|
8679
|
+
class XD{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)
|
|
8660
8680
|
return e?.displayName??n}extractMentionId(t){const e=this.regexPattern.exec(t)
|
|
8661
|
-
return e?.[1]??void 0}}class
|
|
8662
|
-
class
|
|
8681
|
+
return e?.[1]??void 0}}class JD{constructor(t){this.parserMentionConfig=[],this.isValid=!0,this.isValid=t.every((t=>t.mentionInternals.validator.isValid())),this.parserMentionConfig=this.isValid?t.map((t=>new XD(t.mentionInternals))):[]}}class QD{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 QD{}const eE=["pattern","mappingConfigs","buttonLabel"]
|
|
8682
|
+
class nE extends tE{constructor(t){super(eE),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")
|
|
8663
8683
|
break
|
|
8664
8684
|
case"pattern":this.track("pattern")
|
|
8665
8685
|
break
|
|
8666
|
-
case"buttonLabel":this.track("buttonLabel")}this.queueUpdate()}trackMentionElementsInstancesChanged(){this.track("pattern"),this.track("mappingConfigs"),this.track("buttonLabel"),this.queueUpdate()}queueUpdate(){this.richText.$fastController.isConnected&&(this.updateQueued||(this.updateQueued=!0,b.queueUpdate((()=>{this.richText.createConfig(),this.untrackAll(),this.updateQueued=!1}))))}}class
|
|
8667
|
-
return this.duplicateMentionConfiguration=e.length!==new Set(e).size,!this.duplicateMentionConfiguration}}async function
|
|
8668
|
-
await Promise.all(e)}class
|
|
8686
|
+
case"buttonLabel":this.track("buttonLabel")}this.queueUpdate()}trackMentionElementsInstancesChanged(){this.track("pattern"),this.track("mappingConfigs"),this.track("buttonLabel"),this.queueUpdate()}queueUpdate(){this.richText.$fastController.isConnected&&(this.updateQueued||(this.updateQueued=!0,b.queueUpdate((()=>{this.richText.createConfig(),this.untrackAll(),this.updateQueued=!1}))))}}class iE{constructor(){this.invalidMentionConfiguration=!1,this.duplicateMentionConfiguration=!1}getValidity(){return{invalidMentionConfiguration:this.invalidMentionConfiguration,duplicateMentionConfiguration:this.duplicateMentionConfiguration}}isValid(){return Object.values(this.getValidity()).every((t=>!1===t))}validate(t){this.validateDuplicateMentionConfigurations(t),this.validateMentionConfigurations(t)}validateMentionConfigurations(t){return this.invalidMentionConfiguration=t.some((t=>!t.mentionInternals.validator.isValid())),!this.invalidMentionConfiguration}validateDuplicateMentionConfigurations(t){const e=t.map((t=>t.mentionInternals.character))
|
|
8687
|
+
return this.duplicateMentionConfiguration=e.length!==new Set(e).size,!this.duplicateMentionConfiguration}}async function sE(t){const e=t.map((async t=>t.matches(":not(:defined)")?customElements.whenDefined(t.localName):Promise.resolve()))
|
|
8688
|
+
await Promise.all(e)}class oE extends We{constructor(){super(...arguments),this.mentionInternalsNotifiers=[],this.childItems=[],this.richTextUpdateTracker=new nE(this),this.richTextValidator=new iE}get validity(){return this.richTextValidator.getValidity()}checkValidity(){return this.richTextValidator.isValid()}handleChange(t,e){t instanceof KD&&"string"==typeof e&&this.richTextUpdateTracker.trackMentionInternalsPropertyChanged(e)}createConfig(){this.validate(),this.richTextValidator.isValid()?(this.richTextUpdateTracker.updateMappingConfigs||this.richTextUpdateTracker.updatePattern)&&(this.configuration=new JD(this.mentionElements)):this.configuration=void 0}validate(){this.richTextValidator.validate(this.mentionElements)}childItemsChanged(t,e){void 0!==t&&this.updateMentionElementsFromChildItems()}async updateMentionElementsFromChildItems(){await sE(this.childItems),this.mentionElements=this.childItems.filter((t=>t instanceof YD)),this.observeMentionInternals(),this.richTextUpdateTracker.trackMentionElementsInstancesChanged()}observeMentionInternals(){this.removeMentionInternalsObservers()
|
|
8669
8689
|
for(const t of this.mentionElements){const e=x.getNotifier(t.mentionInternals)
|
|
8670
|
-
e.subscribe(this),this.mentionInternalsNotifiers.push(e)}}removeMentionInternalsObservers(){this.mentionInternalsNotifiers.forEach((t=>{t.unsubscribe(this)})),this.mentionInternalsNotifiers=[]}}t([C],
|
|
8671
|
-
const
|
|
8672
|
-
return!!Object.entries(n).some((([,t])=>!!t))||e.unsetMark(this.name)}}}}),
|
|
8673
|
-
return(this.options.keepMarks||this.options.keepAttributes)&&(t=mI({find:
|
|
8674
|
-
var
|
|
8675
|
-
|
|
8690
|
+
e.subscribe(this),this.mentionInternalsNotifiers.push(e)}}removeMentionInternalsObservers(){this.mentionInternalsNotifiers.forEach((t=>{t.unsubscribe(this)})),this.mentionInternalsNotifiers=[]}}t([C],oE.prototype,"childItems",void 0),t([C],oE.prototype,"configuration",void 0)
|
|
8691
|
+
const rE=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,aE=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,lE=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,cE=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,dE=gI.create({name:"bold",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"strong"},{tag:"b",getAttrs:t=>"normal"!==t.style.fontWeight&&null},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}],renderHTML({HTMLAttributes:t}){return["strong",a_(this.options.HTMLAttributes,t),0]},addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[fI({find:rE,type:this.type}),fI({find:lE,type:this.type})]},addPasteRules(){return[bI({find:aE,type:this.type}),bI({find:cE,type:this.type})]}}),hE=vI.create({name:"listItem",addOptions:()=>({HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}),content:"paragraph block*",defining:!0,parseHTML:()=>[{tag:"li"}],renderHTML({HTMLAttributes:t}){return["li",a_(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)}}}),uE=gI.create({name:"textStyle",priority:101,addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"span",getAttrs:t=>!!t.hasAttribute("style")&&{}}],renderHTML({HTMLAttributes:t}){return["span",a_(this.options.HTMLAttributes,t),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:t,commands:e})=>{const n=Z_(t,this.type)
|
|
8692
|
+
return!!Object.entries(n).some((([,t])=>!!t))||e.unsetMark(this.name)}}}}),pE=/^\s*([-+*])\s$/,fE=vI.create({name:"bulletList",addOptions:()=>({itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}),group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML:()=>[{tag:"ul"}],renderHTML({HTMLAttributes:t}){return["ul",a_(this.options.HTMLAttributes,t),0]},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(hE.name,this.editor.getAttributes(uE.name)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=mI({find:pE,type:this.type})
|
|
8693
|
+
return(this.options.keepMarks||this.options.keepAttributes)&&(t=mI({find:pE,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(uE.name),editor:this.editor})),[t]}}),mE=vI.create({name:"doc",topNode:!0,content:"block+"})
|
|
8694
|
+
var gE=200,vE=function(){}
|
|
8695
|
+
vE.prototype.append=function(t){return t.length?(t=vE.from(t),!this.length&&t||t.length<gE&&this.leafAppend(t)||this.length<gE&&t.leafPrepend(this)||this.appendInner(t)):this},vE.prototype.prepend=function(t){return t.length?vE.from(t).append(this):this},vE.prototype.appendInner=function(t){return new yE(this,t)},vE.prototype.slice=function(t,e){return void 0===t&&(t=0),void 0===e&&(e=this.length),t>=e?vE.empty:this.sliceInner(Math.max(0,t),Math.min(this.length,e))},vE.prototype.get=function(t){if(!(t<0||t>=this.length))return this.getInner(t)},vE.prototype.forEach=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length),e<=n?this.forEachInner(t,e,n,0):this.forEachInvertedInner(t,e,n,0)},vE.prototype.map=function(t,e,n){void 0===e&&(e=0),void 0===n&&(n=this.length)
|
|
8676
8696
|
var i=[]
|
|
8677
|
-
return this.forEach((function(e,n){return i.push(t(e,n))}),e,n),i},
|
|
8678
|
-
var
|
|
8697
|
+
return this.forEach((function(e,n){return i.push(t(e,n))}),e,n),i},vE.from=function(t){return t instanceof vE?t:t&&t.length?new bE(t):vE.empty}
|
|
8698
|
+
var bE=function(t){function e(e){t.call(this),this.values=e}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e
|
|
8679
8699
|
var n={length:{configurable:!0},depth:{configurable:!0}}
|
|
8680
|
-
return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(t,n){return 0==t&&n==this.length?this:new e(this.values.slice(t,n))},e.prototype.getInner=function(t){return this.values[t]},e.prototype.forEachInner=function(t,e,n,i){for(var s=e;s<n;s++)if(!1===t(this.values[s],i+s))return!1},e.prototype.forEachInvertedInner=function(t,e,n,i){for(var s=e-1;s>=n;s--)if(!1===t(this.values[s],i+s))return!1},e.prototype.leafAppend=function(t){if(this.length+t.length<=
|
|
8681
|
-
|
|
8682
|
-
var
|
|
8700
|
+
return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(t,n){return 0==t&&n==this.length?this:new e(this.values.slice(t,n))},e.prototype.getInner=function(t){return this.values[t]},e.prototype.forEachInner=function(t,e,n,i){for(var s=e;s<n;s++)if(!1===t(this.values[s],i+s))return!1},e.prototype.forEachInvertedInner=function(t,e,n,i){for(var s=e-1;s>=n;s--)if(!1===t(this.values[s],i+s))return!1},e.prototype.leafAppend=function(t){if(this.length+t.length<=gE)return new e(this.values.concat(t.flatten()))},e.prototype.leafPrepend=function(t){if(this.length+t.length<=gE)return new e(t.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e}(vE)
|
|
8701
|
+
vE.empty=new bE([])
|
|
8702
|
+
var yE=function(t){function e(e,n){t.call(this),this.left=e,this.right=n,this.length=e.length+n.length,this.depth=Math.max(e.depth,n.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(t){return t<this.left.length?this.left.get(t):this.right.get(t-this.left.length)},e.prototype.forEachInner=function(t,e,n,i){var s=this.left.length
|
|
8683
8703
|
return!(e<s&&!1===this.left.forEachInner(t,e,Math.min(n,s),i))&&(!(n>s&&!1===this.right.forEachInner(t,Math.max(e-s,0),Math.min(this.length,n)-s,i+s))&&void 0)},e.prototype.forEachInvertedInner=function(t,e,n,i){var s=this.left.length
|
|
8684
8704
|
return!(e>s&&!1===this.right.forEachInvertedInner(t,e-s,Math.max(n,s)-s,i+s))&&(!(n<s&&!1===this.left.forEachInvertedInner(t,Math.min(e,s),n,i))&&void 0)},e.prototype.sliceInner=function(t,e){if(0==t&&e==this.length)return this
|
|
8685
8705
|
var n=this.left.length
|
|
8686
8706
|
return e<=n?this.left.slice(t,e):t>=n?this.right.slice(t-n,e-n):this.left.slice(t,n).append(this.right.slice(0,e-n))},e.prototype.leafAppend=function(t){var n=this.right.leafAppend(t)
|
|
8687
8707
|
if(n)return new e(this.left,n)},e.prototype.leafPrepend=function(t){var n=this.left.leafPrepend(t)
|
|
8688
|
-
if(n)return new e(n,this.right)},e.prototype.appendInner=function(t){return this.left.depth>=Math.max(this.right.depth,t.depth)+1?new e(this.left,new e(this.right,t)):new e(this,t)},e}(
|
|
8689
|
-
class
|
|
8708
|
+
if(n)return new e(n,this.right)},e.prototype.appendInner=function(t){return this.left.depth>=Math.max(this.right.depth,t.depth)+1?new e(this.left,new e(this.right,t)):new e(this,t)},e}(vE)
|
|
8709
|
+
class wE{constructor(t,e){this.items=t,this.eventCount=e}popEvent(t,e){if(0==this.eventCount)return null
|
|
8690
8710
|
let n,i,s=this.items.length
|
|
8691
8711
|
for(;;s--){if(this.items.get(s-1).selection){--s
|
|
8692
8712
|
break}}e&&(n=this.remapping(s,this.items.length),i=n.maps.length)
|
|
8693
8713
|
let o,r,a=t.tr,l=[],c=[]
|
|
8694
8714
|
return this.items.forEach(((t,e)=>{if(!t.step)return n||(n=this.remapping(s,e+1),i=n.maps.length),i--,void c.push(t)
|
|
8695
|
-
if(n){c.push(new
|
|
8715
|
+
if(n){c.push(new xE(t.map))
|
|
8696
8716
|
let e,s=t.step.map(n.slice(i))
|
|
8697
|
-
s&&a.maybeStep(s).doc&&(e=a.mapping.maps[a.mapping.maps.length-1],l.push(new
|
|
8698
|
-
return t.selection?(o=n?t.selection.map(n.slice(i)):t.selection,r=new
|
|
8699
|
-
for(let n=0;n<t.steps.length;n++){let l,c=t.steps[n].invert(t.docs[n]),d=new
|
|
8700
|
-
return l>
|
|
8701
|
-
return t.forEach(((t,i)=>{if(t.selection&&0==e--)return n=i,!1})),t.slice(n)}(r,l),o-=l),new
|
|
8717
|
+
s&&a.maybeStep(s).doc&&(e=a.mapping.maps[a.mapping.maps.length-1],l.push(new xE(e,void 0,void 0,l.length+c.length))),i--,e&&n.appendMap(e,i)}else a.maybeStep(t.step)
|
|
8718
|
+
return t.selection?(o=n?t.selection.map(n.slice(i)):t.selection,r=new wE(this.items.slice(0,s).append(c.reverse().concat(l)),this.eventCount-1),!1):void 0}),this.items.length,0),{remaining:r,transform:a,selection:o}}addTransform(t,e,n,i){let s=[],o=this.eventCount,r=this.items,a=!i&&r.length?r.get(r.length-1):null
|
|
8719
|
+
for(let n=0;n<t.steps.length;n++){let l,c=t.steps[n].invert(t.docs[n]),d=new xE(t.mapping.maps[n],c,e);(l=a&&a.merge(d))&&(d=l,n?s.pop():r=r.slice(0,r.length-1)),s.push(d),e&&(o++,e=void 0),i||(a=d)}let l=o-n.depth
|
|
8720
|
+
return l>kE&&(r=function(t,e){let n
|
|
8721
|
+
return t.forEach(((t,i)=>{if(t.selection&&0==e--)return n=i,!1})),t.slice(n)}(r,l),o-=l),new wE(r.append(s),o)}remapping(t,e){let n=new hw
|
|
8702
8722
|
return this.items.forEach(((e,i)=>{let s=null!=e.mirrorOffset&&i-e.mirrorOffset>=t?n.maps.length-e.mirrorOffset:void 0
|
|
8703
|
-
n.appendMap(e.map,s)}),t,e),n}addMaps(t){return 0==this.eventCount?this:new
|
|
8723
|
+
n.appendMap(e.map,s)}),t,e),n}addMaps(t){return 0==this.eventCount?this:new wE(this.items.append(t.map((t=>new xE(t)))),this.eventCount)}rebased(t,e){if(!this.eventCount)return this
|
|
8704
8724
|
let n=[],i=Math.max(0,this.items.length-e),s=t.mapping,o=t.steps.length,r=this.eventCount
|
|
8705
8725
|
this.items.forEach((t=>{t.selection&&r--}),i)
|
|
8706
8726
|
let a=e
|
|
@@ -8709,50 +8729,50 @@ if(null==i)return
|
|
|
8709
8729
|
o=Math.min(o,i)
|
|
8710
8730
|
let l=s.maps[i]
|
|
8711
8731
|
if(e.step){let o=t.steps[i].invert(t.docs[i]),c=e.selection&&e.selection.map(s.slice(a+1,i))
|
|
8712
|
-
c&&r++,n.push(new
|
|
8732
|
+
c&&r++,n.push(new xE(l,o,c))}else n.push(new xE(l))}),i)
|
|
8713
8733
|
let l=[]
|
|
8714
|
-
for(let t=e;t<o;t++)l.push(new
|
|
8715
|
-
let c=this.items.slice(0,i).append(l).append(n),d=new
|
|
8734
|
+
for(let t=e;t<o;t++)l.push(new xE(s.maps[t]))
|
|
8735
|
+
let c=this.items.slice(0,i).append(l).append(n),d=new wE(c,r)
|
|
8716
8736
|
return d.emptyItemCount()>500&&(d=d.compress(this.items.length-n.length)),d}emptyItemCount(){let t=0
|
|
8717
8737
|
return this.items.forEach((e=>{e.step||t++})),t}compress(t=this.items.length){let e=this.remapping(0,t),n=e.maps.length,i=[],s=0
|
|
8718
8738
|
return this.items.forEach(((o,r)=>{if(r>=t)i.push(o),o.selection&&s++
|
|
8719
8739
|
else if(o.step){let t=o.step.map(e.slice(n)),r=t&&t.getMap()
|
|
8720
8740
|
if(n--,r&&e.appendMap(r,n),t){let a=o.selection&&o.selection.map(e.slice(n))
|
|
8721
8741
|
a&&s++
|
|
8722
|
-
let l,c=new
|
|
8723
|
-
class
|
|
8724
|
-
if(e)return new
|
|
8725
|
-
function
|
|
8742
|
+
let l,c=new xE(r.invert(),t,a),d=i.length-1;(l=i.length&&i[d].merge(c))?i[d]=l:i.push(c)}}else o.map&&n--}),this.items.length,0),new wE(vE.from(i.reverse()),s)}}wE.empty=new wE(vE.empty,0)
|
|
8743
|
+
class xE{constructor(t,e,n,i){this.map=t,this.step=e,this.selection=n,this.mirrorOffset=i}merge(t){if(this.step&&t.step&&!t.selection){let e=t.step.merge(this.step)
|
|
8744
|
+
if(e)return new xE(e.getMap().invert(),e,this.selection)}}}class CE{constructor(t,e,n,i,s){this.done=t,this.undone=e,this.prevRanges=n,this.prevTime=i,this.prevComposition=s}}const kE=20
|
|
8745
|
+
function SE(t){let e=[]
|
|
8726
8746
|
for(let n=t.length-1;n>=0&&0==e.length;n--)t[n].forEach(((t,n,i,s)=>e.push(i,s)))
|
|
8727
|
-
return e}function
|
|
8747
|
+
return e}function _E(t,e){if(!t)return null
|
|
8728
8748
|
let n=[]
|
|
8729
8749
|
for(let i=0;i<t.length;i+=2){let s=e.map(t[i],1),o=e.map(t[i+1],-1)
|
|
8730
|
-
s<=o&&n.push(s,o)}return n}let
|
|
8731
|
-
function $
|
|
8732
|
-
if(
|
|
8733
|
-
for(let t=0;t<e.length;t++)if(e[t].spec.historyPreserveItems){
|
|
8734
|
-
break}}return
|
|
8735
|
-
function
|
|
8750
|
+
s<=o&&n.push(s,o)}return n}let IE=!1,ME=null
|
|
8751
|
+
function $E(t){let e=t.plugins
|
|
8752
|
+
if(ME!=e){IE=!1,ME=e
|
|
8753
|
+
for(let t=0;t<e.length;t++)if(e[t].spec.historyPreserveItems){IE=!0
|
|
8754
|
+
break}}return IE}const DE=new mx("history"),EE=new mx("closeHistory")
|
|
8755
|
+
function AE(t={}){return t={depth:t.depth||100,newGroupDelay:t.newGroupDelay||500},new ux({key:DE,state:{init:()=>new CE(wE.empty,wE.empty,null,0,-1),apply:(e,n,i)=>function(t,e,n,i){let s,o=n.getMeta(DE)
|
|
8736
8756
|
if(o)return o.historyState
|
|
8737
|
-
n.getMeta(
|
|
8757
|
+
n.getMeta(EE)&&(t=new CE(t.done,t.undone,null,0,-1))
|
|
8738
8758
|
let r=n.getMeta("appendedTransaction")
|
|
8739
8759
|
if(0==n.steps.length)return t
|
|
8740
|
-
if(r&&r.getMeta(
|
|
8741
|
-
if(!1===n.getMeta("addToHistory")||r&&!1===r.getMeta("addToHistory"))return(s=n.getMeta("rebased"))?new
|
|
8760
|
+
if(r&&r.getMeta(DE))return r.getMeta(DE).redo?new CE(t.done.addTransform(n,void 0,i,$E(e)),t.undone,SE(n.mapping.maps),t.prevTime,t.prevComposition):new CE(t.done,t.undone.addTransform(n,void 0,i,$E(e)),null,t.prevTime,t.prevComposition)
|
|
8761
|
+
if(!1===n.getMeta("addToHistory")||r&&!1===r.getMeta("addToHistory"))return(s=n.getMeta("rebased"))?new CE(t.done.rebased(n,s),t.undone.rebased(n,s),_E(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new CE(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),_E(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)
|
|
8742
8762
|
{let s=n.getMeta("composition"),o=0==t.prevTime||!r&&t.prevComposition!=s&&(t.prevTime<(n.time||0)-i.newGroupDelay||!function(t,e){if(!e)return!1
|
|
8743
8763
|
if(!t.docChanged)return!0
|
|
8744
8764
|
let n=!1
|
|
8745
|
-
return t.mapping.maps[0].forEach(((t,i)=>{for(let s=0;s<e.length;s+=2)t<=e[s+1]&&i>=e[s]&&(n=!0)})),n}(n,t.prevRanges)),a=r?
|
|
8746
|
-
return new
|
|
8747
|
-
return!!i&&(e.preventDefault(),i(t.state,t.dispatch))}}}})}function
|
|
8765
|
+
return t.mapping.maps[0].forEach(((t,i)=>{for(let s=0;s<e.length;s+=2)t<=e[s+1]&&i>=e[s]&&(n=!0)})),n}(n,t.prevRanges)),a=r?_E(t.prevRanges,n.mapping):SE(n.mapping.maps)
|
|
8766
|
+
return new CE(t.done.addTransform(n,o?e.selection.getBookmark():void 0,i,$E(e)),wE.empty,a,n.time,null==s?t.prevComposition:s)}}(n,i,e,t)},config:t,props:{handleDOMEvents:{beforeinput(t,e){let n=e.inputType,i="historyUndo"==n?OE:"historyRedo"==n?RE:null
|
|
8767
|
+
return!!i&&(e.preventDefault(),i(t.state,t.dispatch))}}}})}function TE(t,e){return(n,i)=>{let s=DE.getState(n)
|
|
8748
8768
|
if(!s||0==(t?s.undone:s.done).eventCount)return!1
|
|
8749
|
-
if(i){let o=function(t,e,n){let i=$
|
|
8769
|
+
if(i){let o=function(t,e,n){let i=$E(e),s=DE.get(e).spec.config,o=(n?t.undone:t.done).popEvent(e,i)
|
|
8750
8770
|
if(!o)return null
|
|
8751
|
-
let r=o.selection.resolve(o.transform.doc),a=(n?t.done:t.undone).addTransform(o.transform,e.selection.getBookmark(),s,i),l=new
|
|
8752
|
-
return o.transform.setSelection(r).setMeta(
|
|
8753
|
-
o&&i(e?o.scrollIntoView():o)}return!0}}const
|
|
8754
|
-
return t},
|
|
8755
|
-
function tA(t,e){return t in e||(e[t]=[]),e[t]}function eA(t,e,n){e[
|
|
8771
|
+
let r=o.selection.resolve(o.transform.doc),a=(n?t.done:t.undone).addTransform(o.transform,e.selection.getBookmark(),s,i),l=new CE(n?a:o.remaining,n?o.remaining:a,null,0,-1)
|
|
8772
|
+
return o.transform.setSelection(r).setMeta(DE,{redo:n,historyState:l})}(s,n,t)
|
|
8773
|
+
o&&i(e?o.scrollIntoView():o)}return!0}}const OE=TE(!1,!0),RE=TE(!0,!0),FE=M_.create({name:"history",addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:t,dispatch:e})=>OE(t,e),redo:()=>({state:t,dispatch:e})=>RE(t,e)}),addProseMirrorPlugins(){return[AE(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()}}}),NE=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,LE=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,BE=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,PE=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,zE=gI.create({name:"italic",addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:"em"},{tag:"i",getAttrs:t=>"normal"!==t.style.fontStyle&&null},{style:"font-style=italic"}],renderHTML({HTMLAttributes:t}){return["em",a_(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[fI({find:NE,type:this.type}),fI({find:BE,type:this.type})]},addPasteRules(){return[bI({find:LE,type:this.type}),bI({find:PE,type:this.type})]}}),VE="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",HE="ελ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",UE=(t,e)=>{for(const n in e)t[n]=e[n]
|
|
8774
|
+
return t},qE="numeric",jE="ascii",WE="alpha",GE="asciinumeric",ZE="alphanumeric",KE="domain",YE="emoji",XE="scheme",JE="slashscheme",QE="whitespace"
|
|
8775
|
+
function tA(t,e){return t in e||(e[t]=[]),e[t]}function eA(t,e,n){e[qE]&&(e[GE]=!0,e[ZE]=!0),e[jE]&&(e[GE]=!0,e[WE]=!0),e[GE]&&(e[ZE]=!0),e[WE]&&(e[ZE]=!0),e[ZE]&&(e[KE]=!0),e[YE]&&(e[KE]=!0)
|
|
8756
8776
|
for(const i in e){const e=tA(i,n)
|
|
8757
8777
|
e.indexOf(t)<0&&e.push(t)}}function nA(t){void 0===t&&(t=null),this.j={},this.jr=[],this.jd=null,this.t=t}nA.groups={},nA.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t]
|
|
8758
8778
|
if(n)return n
|
|
@@ -8767,13 +8787,13 @@ const s=this
|
|
|
8767
8787
|
if(e&&e.j)return s.j[t]=e,e
|
|
8768
8788
|
const o=e
|
|
8769
8789
|
let r,a=s.go(t)
|
|
8770
|
-
if(a?(r=new nA,
|
|
8790
|
+
if(a?(r=new nA,UE(r.j,a.j),r.jr.push.apply(r.jr,a.jr),r.jd=a.jd,r.t=a.t):r=new nA,o){if(i)if(r.t&&"string"==typeof r.t){const t=UE(function(t,e){const n={}
|
|
8771
8791
|
for(const i in e)e[i].indexOf(t)>=0&&(n[i]=!0)
|
|
8772
8792
|
return n}(r.t,i),n)
|
|
8773
8793
|
eA(o,t,i)}else n&&eA(o,n,i)
|
|
8774
8794
|
r.t=o}return s.j[t]=r,r}}
|
|
8775
|
-
const iA=(t,e,n,i,s)=>t.ta(e,n,i,s),sA=(t,e,n,i,s)=>t.tr(e,n,i,s),oA=(t,e,n,i,s)=>t.ts(e,n,i,s),rA=(t,e,n,i,s)=>t.tt(e,n,i,s),aA="WORD",lA="UWORD",cA="LOCALHOST",dA="TLD",hA="UTLD",uA="SCHEME",pA="SLASH_SCHEME",fA="NUM",mA="WS",gA="NL",vA="OPENBRACE",bA="CLOSEBRACE",yA="OPENBRACKET",wA="CLOSEBRACKET",xA="OPENPAREN",CA="CLOSEPAREN",kA="OPENANGLEBRACKET",SA="CLOSEANGLEBRACKET",_A="FULLWIDTHLEFTPAREN",IA="FULLWIDTHRIGHTPAREN",MA="LEFTCORNERBRACKET",$A="RIGHTCORNERBRACKET",
|
|
8776
|
-
var oT=Object.freeze({__proto__:null,WORD:aA,UWORD:lA,LOCALHOST:cA,TLD:dA,UTLD:hA,SCHEME:uA,SLASH_SCHEME:pA,NUM:fA,WS:mA,NL:gA,OPENBRACE:vA,CLOSEBRACE:bA,OPENBRACKET:yA,CLOSEBRACKET:wA,OPENPAREN:xA,CLOSEPAREN:CA,OPENANGLEBRACKET:kA,CLOSEANGLEBRACKET:SA,FULLWIDTHLEFTPAREN:_A,FULLWIDTHRIGHTPAREN:IA,LEFTCORNERBRACKET:MA,RIGHTCORNERBRACKET:$A,LEFTWHITECORNERBRACKET:
|
|
8795
|
+
const iA=(t,e,n,i,s)=>t.ta(e,n,i,s),sA=(t,e,n,i,s)=>t.tr(e,n,i,s),oA=(t,e,n,i,s)=>t.ts(e,n,i,s),rA=(t,e,n,i,s)=>t.tt(e,n,i,s),aA="WORD",lA="UWORD",cA="LOCALHOST",dA="TLD",hA="UTLD",uA="SCHEME",pA="SLASH_SCHEME",fA="NUM",mA="WS",gA="NL",vA="OPENBRACE",bA="CLOSEBRACE",yA="OPENBRACKET",wA="CLOSEBRACKET",xA="OPENPAREN",CA="CLOSEPAREN",kA="OPENANGLEBRACKET",SA="CLOSEANGLEBRACKET",_A="FULLWIDTHLEFTPAREN",IA="FULLWIDTHRIGHTPAREN",MA="LEFTCORNERBRACKET",$A="RIGHTCORNERBRACKET",DA="LEFTWHITECORNERBRACKET",EA="RIGHTWHITECORNERBRACKET",AA="FULLWIDTHLESSTHAN",TA="FULLWIDTHGREATERTHAN",OA="AMPERSAND",RA="APOSTROPHE",FA="ASTERISK",NA="AT",LA="BACKSLASH",BA="BACKTICK",PA="CARET",zA="COLON",VA="COMMA",HA="DOLLAR",UA="DOT",qA="EQUALS",jA="EXCLAMATION",WA="HYPHEN",GA="PERCENT",ZA="PIPE",KA="PLUS",YA="POUND",XA="QUERY",JA="QUOTE",QA="SEMI",tT="SLASH",eT="TILDE",nT="UNDERSCORE",iT="EMOJI",sT="SYM"
|
|
8796
|
+
var oT=Object.freeze({__proto__:null,WORD:aA,UWORD:lA,LOCALHOST:cA,TLD:dA,UTLD:hA,SCHEME:uA,SLASH_SCHEME:pA,NUM:fA,WS:mA,NL:gA,OPENBRACE:vA,CLOSEBRACE:bA,OPENBRACKET:yA,CLOSEBRACKET:wA,OPENPAREN:xA,CLOSEPAREN:CA,OPENANGLEBRACKET:kA,CLOSEANGLEBRACKET:SA,FULLWIDTHLEFTPAREN:_A,FULLWIDTHRIGHTPAREN:IA,LEFTCORNERBRACKET:MA,RIGHTCORNERBRACKET:$A,LEFTWHITECORNERBRACKET:DA,RIGHTWHITECORNERBRACKET:EA,FULLWIDTHLESSTHAN:AA,FULLWIDTHGREATERTHAN:TA,AMPERSAND:OA,APOSTROPHE:RA,ASTERISK:FA,AT:NA,BACKSLASH:LA,BACKTICK:BA,CARET:PA,COLON:zA,COMMA:VA,DOLLAR:HA,DOT:UA,EQUALS:qA,EXCLAMATION:jA,HYPHEN:WA,PERCENT:GA,PIPE:ZA,PLUS:KA,POUND:YA,QUERY:XA,QUOTE:JA,SEMI:QA,SLASH:tT,TILDE:eT,UNDERSCORE:nT,EMOJI:iT,SYM:sT})
|
|
8777
8797
|
const rT=/[a-z]/,aT=/\p{L}/u,lT=/\p{Emoji}/u,cT=/\d/,dT=/\s/,hT="\n",uT="️",pT=""
|
|
8778
8798
|
let fT=null,mT=null
|
|
8779
8799
|
function gT(t,e,n,i,s){let o
|
|
@@ -8787,8 +8807,8 @@ if(s>0){e.push(n.join(""))
|
|
|
8787
8807
|
for(let e=parseInt(t.substring(i,i+s),10);e>0;e--)n.pop()
|
|
8788
8808
|
i+=s}else n.push(t[i]),i++}return e}const bT={defaultProtocol:"http",events:null,format:wT,formatHref:wT,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null}
|
|
8789
8809
|
function yT(t,e){void 0===e&&(e=null)
|
|
8790
|
-
let n=
|
|
8791
|
-
t&&(n=
|
|
8810
|
+
let n=UE({},bT)
|
|
8811
|
+
t&&(n=UE(n,t instanceof yT?t.o:t))
|
|
8792
8812
|
const i=n.ignoreTags,s=[]
|
|
8793
8813
|
for(let t=0;t<i.length;t++)s.push(i[t].toUpperCase())
|
|
8794
8814
|
this.o=n,e&&(this.defaultRender=e),this.ignoreTags=s}function wT(t){return t}function xT(t,e){this.t="token",this.v=t,this.tk=e}function CT(t,e){class n extends xT{constructor(e,n){super(e,n),this.t=t}}for(const t in e)n.prototype[t]=e[t]
|
|
@@ -8798,26 +8818,26 @@ return s?("object"==typeof s?(s=n.t in s?s[n.t]:bT[t],"function"==typeof s&&i&&(
|
|
|
8798
8818
|
return"function"==typeof i&&null!=e&&(i=i(e,n.t,n)),i},render(t){const e=t.render(this)
|
|
8799
8819
|
return(this.get("render",null,t)||this.defaultRender)(e,t.t,t)}},xT.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)
|
|
8800
8820
|
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){return void 0===t&&(t=bT.defaultProtocol),{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)
|
|
8801
|
-
return r.href=i,a&&(r.class=a),l&&(r.target=l),c&&(r.rel=c),d&&
|
|
8821
|
+
return r.href=i,a&&(r.class=a),l&&(r.target=l),c&&(r.rel=c),d&&UE(r,d),{tagName:s,attributes:r,content:o,eventListeners:h}}}
|
|
8802
8822
|
const kT=CT("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),ST=CT("text"),_T=CT("nl"),IT=CT("url",{isLink:!0,toHref(t){return void 0===t&&(t=bT.defaultProtocol),this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk
|
|
8803
8823
|
return t.length>=2&&t[0].t!==cA&&t[1].t===zA}}),MT=t=>new nA(t)
|
|
8804
8824
|
function $T(t,e,n){const i=n[0].s,s=n[n.length-1].e
|
|
8805
|
-
return new t(e.slice(i,s),n)}const
|
|
8806
|
-
function AT(t,e){if(void 0===e&&(e=!1),
|
|
8807
|
-
|
|
8825
|
+
return new t(e.slice(i,s),n)}const DT="undefined"!=typeof console&&console&&console.warn||(()=>{}),ET={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1}
|
|
8826
|
+
function AT(t,e){if(void 0===e&&(e=!1),ET.initialized&&DT(`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')
|
|
8827
|
+
ET.customSchemes.push([t,e])}function TT(){ET.scanner=function(t){void 0===t&&(t=[])
|
|
8808
8828
|
const e={}
|
|
8809
8829
|
nA.groups=e
|
|
8810
8830
|
const n=new nA
|
|
8811
|
-
null==fT&&(fT=vT(
|
|
8812
|
-
const i=sA(n,cT,fA,{[
|
|
8831
|
+
null==fT&&(fT=vT(VE)),null==mT&&(mT=vT(HE)),rA(n,"'",RA),rA(n,"{",vA),rA(n,"}",bA),rA(n,"[",yA),rA(n,"]",wA),rA(n,"(",xA),rA(n,")",CA),rA(n,"<",kA),rA(n,">",SA),rA(n,"(",_A),rA(n,")",IA),rA(n,"「",MA),rA(n,"」",$A),rA(n,"『",DA),rA(n,"』",EA),rA(n,"<",AA),rA(n,">",TA),rA(n,"&",OA),rA(n,"*",FA),rA(n,"@",NA),rA(n,"`",BA),rA(n,"^",PA),rA(n,":",zA),rA(n,",",VA),rA(n,"$",HA),rA(n,".",UA),rA(n,"=",qA),rA(n,"!",jA),rA(n,"-",WA),rA(n,"%",GA),rA(n,"|",ZA),rA(n,"+",KA),rA(n,"#",YA),rA(n,"?",XA),rA(n,'"',JA),rA(n,"/",tT),rA(n,";",QA),rA(n,"~",eT),rA(n,"_",nT),rA(n,"\\",LA)
|
|
8832
|
+
const i=sA(n,cT,fA,{[qE]:!0})
|
|
8813
8833
|
sA(i,cT,i)
|
|
8814
|
-
const s=sA(n,rT,aA,{[
|
|
8834
|
+
const s=sA(n,rT,aA,{[jE]:!0})
|
|
8815
8835
|
sA(s,rT,s)
|
|
8816
|
-
const o=sA(n,aT,lA,{[
|
|
8836
|
+
const o=sA(n,aT,lA,{[WE]:!0})
|
|
8817
8837
|
sA(o,rT),sA(o,aT,o)
|
|
8818
|
-
const r=sA(n,dT,mA,{[
|
|
8819
|
-
rA(n,hT,gA,{[
|
|
8820
|
-
const a=sA(n,lT,iT,{[
|
|
8838
|
+
const r=sA(n,dT,mA,{[QE]:!0})
|
|
8839
|
+
rA(n,hT,gA,{[QE]:!0}),rA(r,hT),sA(r,dT,r)
|
|
8840
|
+
const a=sA(n,lT,iT,{[YE]:!0})
|
|
8821
8841
|
sA(a,lT,a),rA(a,uT,a)
|
|
8822
8842
|
const l=rA(a,pT)
|
|
8823
8843
|
sA(l,lT,a)
|
|
@@ -8825,11 +8845,11 @@ const c=[[rT,s]],d=[[rT,null],[aT,o]]
|
|
|
8825
8845
|
for(let t=0;t<fT.length;t++)gT(n,fT[t],dA,aA,c)
|
|
8826
8846
|
for(let t=0;t<mT.length;t++)gT(n,mT[t],hA,lA,d)
|
|
8827
8847
|
eA(dA,{tld:!0,ascii:!0},e),eA(hA,{utld:!0,alpha:!0},e),gT(n,"file",uA,aA,c),gT(n,"mailto",uA,aA,c),gT(n,"http",pA,aA,c),gT(n,"https",pA,aA,c),gT(n,"ftp",pA,aA,c),gT(n,"ftps",pA,aA,c),eA(uA,{scheme:!0,ascii:!0},e),eA(pA,{slashscheme:!0,ascii:!0},e),t=t.sort(((t,e)=>t[0]>e[0]?1:-1))
|
|
8828
|
-
for(let e=0;e<t.length;e++){const i=t[e][0],s=t[e][1]?{[
|
|
8829
|
-
i.indexOf("-")>=0?s[
|
|
8830
|
-
for(let t=0;t<
|
|
8831
|
-
|
|
8832
|
-
const n=e.domain.concat([OA,FA,NA,LA,BA,PA,HA,qA,WA,fA,GA,ZA,KA,YA,tT,sT,eT,nT]),i=[RA,zA,VA,UA,jA,XA,JA,QA,kA,SA,vA,bA,wA,yA,xA,CA,_A,IA,MA,$A,EA,
|
|
8848
|
+
for(let e=0;e<t.length;e++){const i=t[e][0],s=t[e][1]?{[XE]:!0}:{[JE]:!0}
|
|
8849
|
+
i.indexOf("-")>=0?s[KE]=!0:rT.test(i)?cT.test(i)?s[GE]=!0:s[jE]=!0:s[qE]=!0,oA(n,i,i,s)}return oA(n,"localhost",cA,{ascii:!0}),n.jd=new nA(sT),{start:n,tokens:UE({groups:e},oT)}}(ET.customSchemes)
|
|
8850
|
+
for(let t=0;t<ET.tokenQueue.length;t++)ET.tokenQueue[t][1]({scanner:ET.scanner})
|
|
8851
|
+
ET.parser=function(t){let{groups:e}=t
|
|
8852
|
+
const n=e.domain.concat([OA,FA,NA,LA,BA,PA,HA,qA,WA,fA,GA,ZA,KA,YA,tT,sT,eT,nT]),i=[RA,zA,VA,UA,jA,XA,JA,QA,kA,SA,vA,bA,wA,yA,xA,CA,_A,IA,MA,$A,DA,EA,AA,TA],s=[OA,RA,FA,LA,BA,PA,HA,qA,WA,vA,bA,GA,ZA,KA,YA,XA,tT,sT,eT,nT],o=MT(),r=rA(o,eT)
|
|
8833
8853
|
iA(r,s,r),iA(r,e.domain,r)
|
|
8834
8854
|
const a=MT(),l=MT(),c=MT()
|
|
8835
8855
|
iA(o,e.domain,a),iA(o,e.scheme,l),iA(o,e.slashscheme,c),iA(a,s,r),iA(a,e.domain,a)
|
|
@@ -8857,29 +8877,29 @@ const C=MT(IT),k=MT()
|
|
|
8857
8877
|
iA(C,n,C),iA(C,i,k),iA(k,n,C),iA(k,i,k),rA(y,tT,C),rA(x,tT,C)
|
|
8858
8878
|
const S=rA(l,zA),_=rA(c,zA),I=rA(_,tT),M=rA(I,tT)
|
|
8859
8879
|
iA(l,e.domain,a),rA(l,UA,b),rA(l,WA,v),iA(c,e.domain,a),rA(c,UA,b),rA(c,WA,v),iA(S,e.domain,C),rA(S,tT,C),iA(M,e.domain,C),iA(M,n,C),rA(M,tT,C)
|
|
8860
|
-
const $=[[vA,bA],[yA,wA],[xA,CA],[kA,SA],[_A,IA],[MA,$A],[EA
|
|
8880
|
+
const $=[[vA,bA],[yA,wA],[xA,CA],[kA,SA],[_A,IA],[MA,$A],[DA,EA],[AA,TA]]
|
|
8861
8881
|
for(let t=0;t<$.length;t++){const[e,s]=$[t],o=rA(C,e)
|
|
8862
8882
|
rA(k,e,o),rA(o,s,C)
|
|
8863
8883
|
const r=MT(IT)
|
|
8864
8884
|
iA(o,n,r)
|
|
8865
8885
|
const a=MT()
|
|
8866
|
-
iA(o,i),iA(r,n,r),iA(r,i,a),iA(a,n,r),iA(a,i,a),rA(r,s,C),rA(a,s,C)}return rA(o,cA,y),rA(o,gA,_T),{start:o,tokens:oT}}(
|
|
8867
|
-
for(let t=0;t<
|
|
8868
|
-
|
|
8886
|
+
iA(o,i),iA(r,n,r),iA(r,i,a),iA(a,n,r),iA(a,i,a),rA(r,s,C),rA(a,s,C)}return rA(o,cA,y),rA(o,gA,_T),{start:o,tokens:oT}}(ET.scanner.tokens)
|
|
8887
|
+
for(let t=0;t<ET.pluginQueue.length;t++)ET.pluginQueue[t][1]({scanner:ET.scanner,parser:ET.parser})
|
|
8888
|
+
ET.initialized=!0}function OT(t){return ET.initialized||TT(),function(t,e,n){let i=n.length,s=0,o=[],r=[]
|
|
8869
8889
|
for(;s<i;){let a=t,l=null,c=null,d=0,h=null,u=-1
|
|
8870
8890
|
for(;s<i&&!(l=a.go(n[s].t));)r.push(n[s++])
|
|
8871
8891
|
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++
|
|
8872
8892
|
if(u<0)s-=d,s<i&&(r.push(n[s]),s++)
|
|
8873
8893
|
else{r.length>0&&(o.push($T(ST,e,r)),r=[]),s-=u,d-=u
|
|
8874
8894
|
const t=h.t,i=n.slice(s-d,s)
|
|
8875
|
-
o.push($T(t,e,i))}}return r.length>0&&o.push($T(ST,e,r)),o}(
|
|
8895
|
+
o.push($T(t,e,i))}}return r.length>0&&o.push($T(ST,e,r)),o}(ET.parser.start,t,function(t,e){const n=function(t){const e=[],n=t.length
|
|
8876
8896
|
let i=0
|
|
8877
8897
|
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)
|
|
8878
8898
|
e.push(r),i+=r.length}return e}(e.replace(/[A-Z]/g,(t=>t.toLowerCase()))),i=n.length,s=[]
|
|
8879
8899
|
let o=0,r=0
|
|
8880
8900
|
for(;r<i;){let a=t,l=null,c=0,d=null,h=-1,u=-1
|
|
8881
8901
|
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++
|
|
8882
|
-
o-=h,r-=u,c-=h,s.push({t:d.t,v:e.slice(o-c,o),s:o-c,e:o})}return s}(
|
|
8902
|
+
o-=h,r-=u,c-=h,s.push({t:d.t,v:e.slice(o-c,o),s:o-c,e:o})}return s}(ET.scanner.start,t))}function RT(t,e,n){if(void 0===e&&(e=null),void 0===n&&(n=null),e&&"object"==typeof e){if(n)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`)
|
|
8883
8903
|
n=e,e=null}const i=new yT(n),s=OT(t),o=[]
|
|
8884
8904
|
for(let t=0;t<s.length;t++){const n=s[t]
|
|
8885
8905
|
!n.isLink||e&&n.t!==e||!i.check(n)||o.push(n.toFormattedObject(i))}return o}function FT(t){return new ux({key:new mx("autolink"),appendTransaction:(e,n,i)=>{const s=e.some((t=>t.docChanged))&&!n.doc.eq(i.doc),o=e.some((t=>t.getMeta("preventAutolink")))
|
|
@@ -8904,7 +8924,7 @@ if(!(1===(a=c).length?a[0].isLink:3===a.length&&a[1].isLink&&["()","[]"].include
|
|
|
8904
8924
|
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))).forEach((e=>{J_(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}})}const NT=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
8905
8925
|
function LT(t,e){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"]
|
|
8906
8926
|
return e&&e.forEach((t=>{const e="string"==typeof t?t:t.scheme
|
|
8907
|
-
e&&n.push(e)})),!t||t.replace(NT,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"))}const BT=gI.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.protocols.forEach((t=>{"string"!=typeof t?AT(t.scheme,t.optionalSlashes):AT(t)}))},onDestroy(){nA.groups={},
|
|
8927
|
+
e&&n.push(e)})),!t||t.replace(NT,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"))}const BT=gI.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.protocols.forEach((t=>{"string"!=typeof t?AT(t.scheme,t.optionalSlashes):AT(t)}))},onDestroy(){nA.groups={},ET.scanner=null,ET.parser=null,ET.tokenQueue=[],ET.pluginQueue=[],ET.customSchemes=[],ET.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},validate: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")
|
|
8908
8928
|
return!(!e||!LT(e,this.options.protocols))&&null}}]},renderHTML({HTMLAttributes:t}){return LT(t.href,this.options.protocols)?["a",a_(this.options.HTMLAttributes,t),0]:["a",a_(this.options.HTMLAttributes,{...t,href:""}),0]},addCommands(){return{setLink:t=>({chain:e})=>e().setMark(this.name,t).setMeta("preventAutolink",!0).run(),toggleLink:t=>({chain:e})=>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[bI({find:t=>{const e=[]
|
|
8909
8929
|
if(t){const{validate:n}=this.options,i=RT(t).filter((t=>t.isLink&&n(t.value)))
|
|
8910
8930
|
i.length&&i.forEach((t=>e.push({text:t.value,data:{href:t.href},index:t.start})))}return e},type:this.type,getAttributes:t=>{var e
|
|
@@ -8953,8 +8973,8 @@ return i&&(null===(n=null==f?void 0:f.onKeyDown)||void 0===n?void 0:n.call(f,{vi
|
|
|
8953
8973
|
return e?Qk.create(t.doc,[Yk.inline(n.from,n.to,{nodeName:r,class:a,"data-decoration-id":i})]):null}}})
|
|
8954
8974
|
return m}const UT=new mx("mention"),qT=vI.create({name:"mention",addOptions(){return{HTMLAttributes:{},renderText({options:t,node:e}){var n
|
|
8955
8975
|
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
|
|
8956
|
-
return["span",a_(this.HTMLAttributes,t.HTMLAttributes),`${t.suggestion.char}${null!==(n=e.attrs.label)&&void 0!==n?n:e.attrs.id}`]},suggestion:{char:"@",pluginKey:UT,command:({editor:t,range:e,props:n})=>{var i,s
|
|
8957
|
-
const
|
|
8976
|
+
return["span",a_(this.HTMLAttributes,t.HTMLAttributes),`${t.suggestion.char}${null!==(n=e.attrs.label)&&void 0!==n?n:e.attrs.id}`]},suggestion:{char:"@",pluginKey:UT,command:({editor:t,range:e,props:n})=>{var i,s,o
|
|
8977
|
+
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]
|
|
8958
8978
|
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",a_({"data-type":this.name},this.options.HTMLAttributes,e),this.options.renderLabel({options:this.options,node:t})]
|
|
8959
8979
|
const n={...this.options}
|
|
8960
8980
|
n.HTMLAttributes=a_({"data-type":this.name},this.options.HTMLAttributes,e)
|
|
@@ -8973,8 +8993,8 @@ o&&i.push(this.options.emptyEditorClass)
|
|
|
8973
8993
|
const r=Yk.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})
|
|
8974
8994
|
s.push(r)}return this.options.includeChildren})),Qk.create(t,s)}}})]}}),XT=vI.create({name:"text",group:"inline"}),JT=/^https?:\/\//i
|
|
8975
8995
|
function QT(t,e,n,i,s,o){const r=BT.extend({excludes:"_",inclusive:!1,parseHTML:()=>[{tag:wh},{tag:"a"}],renderHTML:({HTMLAttributes:t})=>["a",t]}).configure({HTMLAttributes:{rel:"noopener noreferrer",target:null,class:""},autolink:!0,openOnClick:!1,linkOnPaste:!1,validate:t=>JT.test(t)}),a=i.map((n=>function(t,e,n,i){return qT.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,a_(this.options.HTMLAttributes,n),this.options.renderText({options:this.options,node:e})]}}).configure({suggestion:{char:t.character,decorationClass:"nimble-mention-view-edit",pluginKey:new mx(t.key),allowSpaces:!0,render:()=>{let s=!1
|
|
8976
|
-
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===Ga&&(s=!1),i?.keydownHandler(t.event)??!1),onExit:()=>{e(""),n(void 0),i?.close()}}}}})}(n,t,e,s))),l=new pI({element:n,enableInputRules:[
|
|
8977
|
-
return new ry(e,t.openStart,t.openEnd)}},extensions:[
|
|
8996
|
+
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===Ga&&(s=!1),i?.keydownHandler(t.event)??!1),onExit:()=>{e(""),n(void 0),i?.close()}}}}})}(n,t,e,s))),l=new pI({element:n,enableInputRules:[fE,ZT],enablePasteRules:!1,editorProps:{transformPasted:function(t){const e=tO(l,t.content)
|
|
8997
|
+
return new ry(e,t.openStart,t.openEnd)}},extensions:[mE,KT,XT,fE,ZT,PT,dE,zE,FE,YT.configure({placeholder:o,showOnlyWhenEditable:!1}),yI,r,...a]})
|
|
8978
8998
|
return l}function tO(t,e){const n=[]
|
|
8979
8999
|
return e.forEach((e=>{if(e.isText&&e.marks.length>0){const i=e.marks.find((t=>"link"===t.type.name&&t.attrs))
|
|
8980
9000
|
i?JT.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(VI))n.push(t.schema.text(e.attrs.label))
|
|
@@ -8982,16 +9002,16 @@ else{const i=tO(t,e.content)
|
|
|
8982
9002
|
n.push(e.copy(i))}})),ty.fromArray(n)}class eO{constructor(t){eO.instance+=1
|
|
8983
9003
|
const e=`${VI}${eO.instance}`
|
|
8984
9004
|
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}}eO.instance=0
|
|
8985
|
-
class nO extends
|
|
9005
|
+
class nO extends JD{constructor(t){super(t),this.mentionExtensionConfig=this.isValid?t.map((t=>new eO(t.mentionInternals))):[]}}class iO extends oE{constructor(){super(...arguments),this.editorDiv=this.createEditor(),this.tiptapEditor=QT((()=>{}),(()=>{}),this.editorDiv,[],this.mentionListbox,this.placeholder),this.xmlSerializer=new XMLSerializer,this.richTextMarkdownSerializer=new ZD([]),this.disabled=!1,this.footerHidden=!1,this.errorVisible=!1,this.scrollbarWidth=-1,this.activeMentionCharacter="",this.updateScrollbarWidthQueued=!1}get empty(){if(""===this.tiptapEditor.state.doc.textContent.trim()){let t=!1
|
|
8986
9006
|
return this.tiptapEditor.state.doc.descendants((e=>{e.type.name.startsWith(VI)&&(t=!0)
|
|
8987
9007
|
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
|
|
8988
9008
|
if(this.isMentionExtensionConfigUnchanged(t,e))this.setMarkdown(this.getMarkdown())
|
|
8989
9009
|
else{const t=this.getMentionExtensionConfig(),e=this.getMarkdown()
|
|
8990
|
-
this.richTextMarkdownSerializer=new
|
|
9010
|
+
this.richTextMarkdownSerializer=new ZD(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)
|
|
8991
9011
|
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
|
|
8992
9012
|
return this.tiptapEditor.state.doc.descendants((e=>{e.type.name.startsWith(VI)&&t.add(e.attrs.href)})),Array.from(t)}getMentionExtensionConfig(){return this.configuration instanceof nO?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 nO(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()
|
|
8993
9013
|
return n===i}createEditor(){const t=document.createElement("div")
|
|
8994
|
-
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=QT((t=>{this.activeMentionCharacter=t}),(t=>{this.activeMentionCommand=t}),this.editorDiv,this.configuration instanceof nO?this.configuration.mentionExtensionConfig:[],this.mentionListbox,this.placeholder),this.disableEditor(),this.disableMentionViewElement(),this.bindEditorTransactionEvent(),this.bindEditorUpdateEvent(),this.stopNativeInputEventPropagation()}getHtmlContent(t){const e=
|
|
9014
|
+
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=QT((t=>{this.activeMentionCharacter=t}),(t=>{this.activeMentionCommand=t}),this.editorDiv,this.configuration instanceof nO?this.configuration.mentionExtensionConfig:[],this.mentionListbox,this.placeholder),this.disableEditor(),this.disableMentionViewElement(),this.bindEditorTransactionEvent(),this.bindEditorUpdateEvent(),this.stopNativeInputEventPropagation()}getHtmlContent(t){const e=GD.parseMarkdownToDOM(t,this.configuration?.parserMentionConfig)
|
|
8995
9015
|
return this.xmlSerializer.serializeToString(e.fragment)}bindEditorTransactionEvent(){this.tiptapEditor.on("transaction",(()=>{this.updateEditorButtonsState()}))}unbindEditorTransactionEvent(){this.tiptapEditor.off("transaction")}updateEditorButtonsState(){if(!this.$fastController.isConnected)return
|
|
8996
9016
|
const{extensionManager:t,state:e}=this.tiptapEditor,{extensions:n}=t,{selection:i}=e,s=K_((t=>eI(t.type.name,n)))(i)
|
|
8997
9017
|
this.boldButton.checked=this.tiptapEditor.isActive("bold"),this.italicsButton.checked=this.tiptapEditor.isActive("italic"),this.bulletListButton.checked=s?.node.type.name===PI,this.numberedListButton.checked=s?.node.type.name===zI}keyActivatesButton(t){switch(t.key){case Xa:case Wa:return!0
|
|
@@ -9046,7 +9066,7 @@ const oO=Q`
|
|
|
9046
9066
|
color: ${kc};
|
|
9047
9067
|
}
|
|
9048
9068
|
`
|
|
9049
|
-
class aO extends
|
|
9069
|
+
class aO extends oE{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=GD.parseMarkdownToDOM(this.markdown,this.configuration?.parserMentionConfig)
|
|
9050
9070
|
this.viewer.replaceChildren(t.fragment),this.mentionedHrefs=t.mentionedHrefs}else this.viewer.innerHTML="",this.mentionedHrefs=[]}}t([C],aO.prototype,"markdown",void 0)
|
|
9051
9071
|
const lO=aO.compose({baseName:"rich-text-viewer",template:oO,styles:rO})
|
|
9052
9072
|
_i.getOrCreate().withPrefix("nimble").register(lO())
|
|
@@ -9910,7 +9930,7 @@ const $O=class extends cs{}.compose({baseName:"tab",baseClass:cs,template:(t,e)=
|
|
|
9910
9930
|
</template>
|
|
9911
9931
|
`,styles:MO})
|
|
9912
9932
|
_i.getOrCreate().withPrefix("nimble").register($O())
|
|
9913
|
-
const
|
|
9933
|
+
const DO=Mt`
|
|
9914
9934
|
${Ps("block")}
|
|
9915
9935
|
|
|
9916
9936
|
:host {
|
|
@@ -9919,11 +9939,11 @@ const EO=Mt`
|
|
|
9919
9939
|
padding-top: ${Hl};
|
|
9920
9940
|
}
|
|
9921
9941
|
`
|
|
9922
|
-
const
|
|
9942
|
+
const EO=class extends ls{}.compose({baseName:"tab-panel",baseClass:ls,template:(t,e)=>Q`
|
|
9923
9943
|
<template slot="tabpanel" role="tabpanel">
|
|
9924
9944
|
<slot></slot>
|
|
9925
9945
|
</template>
|
|
9926
|
-
`,styles:
|
|
9946
|
+
`,styles:DO})
|
|
9927
9947
|
|
|
9928
9948
|
;/**
|
|
9929
9949
|
* table-core
|
|
@@ -9947,7 +9967,7 @@ let l
|
|
|
9947
9967
|
if(s=a,n.key&&n.debug&&(l=Date.now()),i=e(...a),null==n||null==n.onChange||n.onChange(i),n.key&&n.debug&&null!=n&&n.debug()){const t=Math.round(100*(Date.now()-r))/100,e=Math.round(100*(Date.now()-l))/100,i=e/16,s=(t,e)=>{for(t=String(t);t.length<e;)t=" "+t
|
|
9948
9968
|
return t}
|
|
9949
9969
|
console.info(`%c⏱ ${s(e,5)} /${s(t,5)} ms`,`\n font-size: .6rem;\n font-weight: bold;\n color: hsl(${Math.max(0,Math.min(120-120*i,120))}deg 100% 31%);`,null==n?void 0:n.key)}return i}}function NO(t,e,n,i){return{debug:()=>{var n
|
|
9950
|
-
return null!=(n=null==t?void 0:t.debugAll)?n:t[e]},key:!1,onChange:i}}_i.getOrCreate().withPrefix("nimble").register(
|
|
9970
|
+
return null!=(n=null==t?void 0:t.debugAll)?n:t[e]},key:!1,onChange:i}}_i.getOrCreate().withPrefix("nimble").register(EO())
|
|
9951
9971
|
const LO="debugHeaders"
|
|
9952
9972
|
function BO(t,e,n){var i
|
|
9953
9973
|
let s={id:null!=(i=n.id)?i:e.id,column:e,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const t=[],e=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(e),t.push(n)}
|
|
@@ -10241,7 +10261,7 @@ return!!i&&(i.desc?"desc":"asc")},t.getSortIndex=()=>{var n,i
|
|
|
10241
10261
|
return null!=(n=null==(i=e.getState().sorting)?void 0:i.findIndex((e=>e.id===t.id)))?n:-1},t.clearSorting=()=>{e.setSorting((e=>null!=e&&e.length?e.filter((e=>e.id!==t.id)):[]))},t.getToggleSortingHandler=()=>{const n=t.getCanSort()
|
|
10242
10262
|
return i=>{n&&(null==i.persist||i.persist(),null==t.toggleSorting||t.toggleSorting(void 0,!!t.getCanMultiSort()&&(null==e.options.isMultiSortEvent?void 0:e.options.isMultiSortEvent(i))))}}},createTable:t=>{t.setSorting=e=>null==t.options.onSortingChange?void 0:t.options.onSortingChange(e),t.resetSorting=e=>{var n,i
|
|
10243
10263
|
t.setSorting(e?[]:null!=(n=null==(i=t.initialState)?void 0:i.sorting)?n:[])},t.getPreSortedRowModel=()=>t.getGroupedRowModel(),t.getSortedRowModel=()=>(!t._getSortedRowModel&&t.options.getSortedRowModel&&(t._getSortedRowModel=t.options.getSortedRowModel(t)),t.options.manualSorting||!t._getSortedRowModel?t.getPreSortedRowModel():t._getSortedRowModel())}},$R=[PO,dR,sR,oR,HO,tR,uR,pR,MR,iR,fR,mR,gR,vR,aR]
|
|
10244
|
-
function
|
|
10264
|
+
function DR(t){var e,n
|
|
10245
10265
|
const i=[...$R,...null!=(e=t._features)?e:[]]
|
|
10246
10266
|
let s={_features:i}
|
|
10247
10267
|
const o=s._features.reduce(((t,e)=>Object.assign(t,null==e.getDefaultOptions?void 0:e.getDefaultOptions(s))),{})
|
|
@@ -10274,7 +10294,7 @@ return o.columns=r.columns?e(r.columns,o,i+1):[],o}))}
|
|
|
10274
10294
|
return e(t)}),NO(t,"debugColumns")),getAllFlatColumns:FO((()=>[s.getAllColumns()]),(t=>t.flatMap((t=>t.getFlatColumns()))),NO(t,"debugColumns")),_getAllFlatColumnsById:FO((()=>[s.getAllFlatColumns()]),(t=>t.reduce(((t,e)=>(t[e.id]=e,t)),{})),NO(t,"debugColumns")),getAllLeafColumns:FO((()=>[s.getAllColumns(),s._getOrderColumnsFn()]),((t,e)=>e(t.flatMap((t=>t.getLeafColumns())))),NO(t,"debugColumns")),getColumn:t=>s._getAllFlatColumnsById()[t]}
|
|
10275
10295
|
Object.assign(s,c)
|
|
10276
10296
|
for(let t=0;t<s._features.length;t++){const e=s._features[t]
|
|
10277
|
-
null==e||null==e.createTable||e.createTable(s)}return s}function
|
|
10297
|
+
null==e||null==e.createTable||e.createTable(s)}return s}function ER(){return t=>FO((()=>[t.getState().grouping,t.getPreGroupedRowModel()]),((e,n)=>{if(!n.rows.length||!e.length)return n.rows.forEach((t=>{t.depth=0,t.parentId=void 0})),n
|
|
10278
10298
|
const i=e.filter((e=>t.getColumn(e))),s=[],o={},r=function(e,n,a){if(void 0===n&&(n=0),n>=i.length)return e.map((t=>(t.depth=n,s.push(t),o[t.id]=t,t.subRows&&(t.subRows=r(t.subRows,n+1,t.id)),t)))
|
|
10279
10299
|
const l=i[n],c=function(t,e){const n=new Map
|
|
10280
10300
|
return t.reduce(((t,n)=>{const i=`${n.getGroupingValue(e)}`,s=t.get(i)
|
|
@@ -10443,7 +10463,7 @@ return!this.missingColumnId&&!this.duplicateColumnId}validateColumnSortIndices(t
|
|
|
10443
10463
|
|
|
10444
10464
|
.column-divider {
|
|
10445
10465
|
border-left: var(--ni-private-column-divider-width) solid
|
|
10446
|
-
${
|
|
10466
|
+
${Dl};
|
|
10447
10467
|
display: none;
|
|
10448
10468
|
height: ${Pl};
|
|
10449
10469
|
cursor: col-resize;
|
|
@@ -11116,9 +11136,9 @@ const e=t.target.checked
|
|
|
11116
11136
|
this.selectionState=e?LR:NR
|
|
11117
11137
|
const n={oldState:!e,newState:e}
|
|
11118
11138
|
this.$emit("group-selection-toggle",n)}getFocusableElements(){return{selectionCheckbox:this.selectable?this.selectionCheckbox:void 0,cells:[]}}selectionStateChanged(){this.setSelectionCheckboxState()}selectionCheckboxChanged(){this.setSelectionCheckboxState()}setSelectionCheckboxState(){this.selectionCheckbox&&(this.ignoreSelectionChangeEvents=!0,this.selectionCheckbox.checked=this.selectionState===LR,this.selectionCheckbox.indeterminate=this.selectionState===BR,this.ignoreSelectionChangeEvents=!1)}}t([C],$F.prototype,"groupRowValue",void 0),t([C],$F.prototype,"nestingLevel",void 0),t([C],$F.prototype,"resolvedRowIndex",void 0),t([C],$F.prototype,"immediateChildCount",void 0),t([C],$F.prototype,"groupColumn",void 0),t([ft({mode:"boolean"})],$F.prototype,"expanded",void 0),t([ft({mode:"boolean"})],$F.prototype,"selectable",void 0),t([ft({attribute:"selection-state"})],$F.prototype,"selectionState",void 0),t([C],$F.prototype,"selectionCheckbox",void 0),t([C],$F.prototype,"animationClass",void 0),t([ft({attribute:"allow-hover",mode:"boolean"})],$F.prototype,"allowHover",void 0)
|
|
11119
|
-
const
|
|
11120
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
11121
|
-
const
|
|
11139
|
+
const DF=$F.compose({baseName:"table-group-row",template:MF,styles:IF})
|
|
11140
|
+
_i.getOrCreate().withPrefix("nimble").register(DF())
|
|
11141
|
+
const EF="nimble-table-group-row",AF=Q`
|
|
11122
11142
|
<template
|
|
11123
11143
|
role="treegrid"
|
|
11124
11144
|
${""}
|
|
@@ -11224,12 +11244,12 @@ const DF="nimble-table-group-row",AF=Q`
|
|
|
11224
11244
|
</div>
|
|
11225
11245
|
<div class="table-viewport" tabindex="-1" ${Ut("viewport")}>
|
|
11226
11246
|
<div class="table-scroll"></div>
|
|
11227
|
-
<div class="table-row-container ${t=>""+(t.showCollapseAll?"collapse-all-visible":"")}" ${oe({property:"rowElements",filter:te(`${_F}, ${
|
|
11247
|
+
<div class="table-row-container ${t=>""+(t.showCollapseAll?"collapse-all-visible":"")}" ${oe({property:"rowElements",filter:te(`${_F}, ${EF}`)})}
|
|
11228
11248
|
role="rowgroup">
|
|
11229
11249
|
${Gt((t=>t.columns.length>0&&t.canRenderRows),Q`
|
|
11230
11250
|
${Qt((t=>t.virtualizer.visibleItems),Q`
|
|
11231
11251
|
${Gt(((t,e)=>e.parent.tableData[t.index]?.isGroupRow),Q`
|
|
11232
|
-
<${
|
|
11252
|
+
<${EF}
|
|
11233
11253
|
class="group-row"
|
|
11234
11254
|
${""}
|
|
11235
11255
|
tabindex="-1"
|
|
@@ -11247,7 +11267,7 @@ const DF="nimble-table-group-row",AF=Q`
|
|
|
11247
11267
|
@group-selection-toggle="${(t,e)=>e.parent.onRowSelectionToggle(t.index,e.event)}"
|
|
11248
11268
|
@group-expand-toggle="${(t,e)=>e.parent.handleGroupRowExpanded(t.index,e.event)}"
|
|
11249
11269
|
>
|
|
11250
|
-
</${
|
|
11270
|
+
</${EF}>
|
|
11251
11271
|
`)}
|
|
11252
11272
|
${Gt(((t,e)=>!e.parent.tableData[t.index]?.isGroupRow),Q`
|
|
11253
11273
|
<${_F}
|
|
@@ -11329,14 +11349,14 @@ const r=t+e
|
|
|
11329
11349
|
null==(o=null==(s=i.scrollElement)?void 0:s.scrollTo)||o.call(s,{[i.options.horizontal?"left":"top"]:r,behavior:n})}
|
|
11330
11350
|
let UF=class{constructor(t){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let t=null
|
|
11331
11351
|
const e=()=>t||(this.targetWindow&&this.targetWindow.ResizeObserver?t=new this.targetWindow.ResizeObserver((t=>{t.forEach((t=>{this._measureElement(t.target,t)}))})):null)
|
|
11332
|
-
return{disconnect:()=>{var
|
|
11333
|
-
|
|
11352
|
+
return{disconnect:()=>{var n
|
|
11353
|
+
null==(n=e())||n.disconnect(),t=null},observe:t=>{var n
|
|
11334
11354
|
return null==(n=e())?void 0:n.observe(t,{box:"border-box"})},unobserve:t=>{var n
|
|
11335
11355
|
return null==(n=e())?void 0:n.unobserve(t)}}})(),this.range=null,this.setOptions=t=>{Object.entries(t).forEach((([e,n])=>{void 0===n&&delete t[e]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:FF,rangeExtractor:NF,onChange:()=>{},measureElement:VF,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,...t}},this.notify=t=>{var e,n
|
|
11336
|
-
null==(n=(e=this.options).onChange)||n.call(e,this,t)},this.maybeNotify=TF((()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null])),(t=>{this.notify(t)}),{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((t=>t())),this.unsubs=[],this.scrollElement=null,this.targetWindow=null
|
|
11356
|
+
null==(n=(e=this.options).onChange)||n.call(e,this,t)},this.maybeNotify=TF((()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null])),(t=>{this.notify(t)}),{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((t=>t())),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var t
|
|
11337
11357
|
const e=this.options.enabled?this.options.getScrollElement():null
|
|
11338
11358
|
if(this.scrollElement!==e){if(this.cleanup(),!e)return void this.maybeNotify()
|
|
11339
|
-
this.scrollElement=e,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(t=this.scrollElement)?void 0:t.window)??null,this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(t=>{this.scrollRect=t,this.maybeNotify()}))),this.unsubs.push(this.options.observeElementOffset(this,((t,e)=>{this.scrollAdjustments=0,this.scrollDirection=e?this.getScrollOffset()<t?"forward":"backward":null,this.scrollOffset=t,this.isScrolling=e,this.maybeNotify()})))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(t,e)=>{const n=new Map,i=new Map
|
|
11359
|
+
this.scrollElement=e,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(t=this.scrollElement)?void 0:t.window)??null,this.elementsCache.forEach((t=>{this.observer.observe(t)})),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(t=>{this.scrollRect=t,this.maybeNotify()}))),this.unsubs.push(this.options.observeElementOffset(this,((t,e)=>{this.scrollAdjustments=0,this.scrollDirection=e?this.getScrollOffset()<t?"forward":"backward":null,this.scrollOffset=t,this.isScrolling=e,this.maybeNotify()})))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(t,e)=>{const n=new Map,i=new Map
|
|
11340
11360
|
for(let s=e-1;s>=0;s--){const e=t[s]
|
|
11341
11361
|
if(n.has(e.lane))continue
|
|
11342
11362
|
const o=i.get(e.lane)
|
|
@@ -11379,7 +11399,7 @@ e=s,i=this.getScrollOffset(),Math.abs(e-i)<1||this.scrollToIndex(t,{align:o,beha
|
|
|
11379
11399
|
var e,i})))},this.scrollBy=(t,{behavior:e}={})=>{this.cancelScrollToIndex(),"smooth"===e&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+t,{adjustments:void 0,behavior:e})},this.getTotalSize=()=>{var t
|
|
11380
11400
|
const e=this.getMeasurements()
|
|
11381
11401
|
let n
|
|
11382
|
-
return n=0===e.length?this.options.paddingStart:1===this.options.lanes?(null==(t=e[e.length-1])?void 0:t.end)??0:Math.max(...e.slice(-this.options.lanes).map((t=>t.end))),n-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(t,{adjustments:e,behavior:n})=>{this.options.scrollToFn(t,{behavior:n,adjustments:e},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}
|
|
11402
|
+
return n=0===e.length?this.options.paddingStart:1===this.options.lanes?(null==(t=e[e.length-1])?void 0:t.end)??0:Math.max(...e.slice(-this.options.lanes).map((t=>t.end))),Math.max(n-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(t,{adjustments:e,behavior:n})=>{this.options.scrollToFn(t,{behavior:n,adjustments:e},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(t)}}
|
|
11383
11403
|
const qF=(t,e,n,i)=>{for(;t<=e;){const s=(t+e)/2|0,o=n(s)
|
|
11384
11404
|
if(o<i)t=s+1
|
|
11385
11405
|
else{if(!(o>i))return s
|
|
@@ -11439,7 +11459,7 @@ for(let t=0;t<this.visibleColumns.length&&n<this.gridSizedColumns.length;t++){co
|
|
|
11439
11459
|
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],KF.prototype,"isColumnBeingSized",void 0),t([C],KF.prototype,"activeColumnIndex",void 0),t([C],KF.prototype,"activeColumnDivider",void 0)
|
|
11440
11460
|
const YF=(t,...e)=>{for(const n of e)if(t===n)return!0
|
|
11441
11461
|
return!1},XF=["rowIds","rowParentIds","groupRows","columnIds","columnHidden","columnSort","columnSortDisabled","columnWidths","columnDefinition","actionMenuSlots","selectionMode"]
|
|
11442
|
-
class JF extends
|
|
11462
|
+
class JF extends tE{constructor(t){super(XF),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){YF(t,"columnId")?this.track("columnIds"):rF(t,"operandDataRecordFieldName","sortOperation")?this.track("columnDefinition"):rF(t,"sortingDisabled")?(this.track("columnSort"),this.track("columnSortDisabled")):rF(t,"currentSortDirection","currentSortIndex")?this.track("columnSort"):rF(t,"currentFractionalWidth","currentPixelWidth","minPixelWidth","resizingDisabled")?this.track("columnWidths"):YF(t,"columnHidden")?(this.track("columnWidths"),this.track("columnHidden")):YF(t,"actionMenuSlot")?this.track("actionMenuSlots"):rF(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 QF{constructor(t){this.tanStackTable=t}reset(){}toggleIsRowSelected(t,e){t.isGroupRow&&t.selectionState===LR?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")
|
|
11443
11463
|
const e=this.tanStackTable.getState().rowSelection,n=[]
|
|
11444
11464
|
if(Object.entries(e).forEach((([t,e])=>{e&&n.push(t)})),1===n.length&&n[0]===t.id)return!1
|
|
11445
11465
|
const i={}
|
|
@@ -11489,7 +11509,7 @@ for(const{recordId:n,options:i}of t){e.set(n,i)
|
|
|
11489
11509
|
const t=this.hierarchyOptions.get(n)?.delayedHierarchyState,s=i.delayedHierarchyState
|
|
11490
11510
|
t!==OR||s!==TR||this.parentRowsWithChildren.has(n)||this.explicitExpansionStates.delete(n)}this.hierarchyOptions=e}isRowExpandable(t){return t.subRows.length>0||this.canLoadDelayedChildren(t.id)}setHierarchyEnabled(t){this.isHierarchyEnabled=t}isLoadingChildren(t){return!!this.isHierarchyEnabled&&(this.hierarchyOptions.get(t)?.delayedHierarchyState===OR??!1)}canLoadDelayedChildren(t){if(!this.isHierarchyEnabled)return!1
|
|
11491
11511
|
const e=this.hierarchyOptions.get(t)?.delayedHierarchyState
|
|
11492
|
-
return e!==AR}getDefaultExpansionState(t){return 0!==t.subRows.length}}class lN extends
|
|
11512
|
+
return e!==AR}getDefaultExpansionState(t){return 0!==t.subRows.length}}class lN extends QD{isValid(){return this.noneTracked()}getValidationFlags(){return this.getTrackedItems()}}class cN extends lN{constructor(t){super(t),this.isColumnValid=!0}getValidity(){return this.getValidationFlags()}onTrackingChange(){super.onTrackingChange(),this.isColumnValid=this.isValid()}setConditionValue(t,e){e?this.track(t):this.untrack(t)}}t([C],cN.prototype,"isColumnValid",void 0)
|
|
11493
11513
|
class dN{get inNavigationMode(){return this.focusType!==GR&&this.focusType!==ZR}constructor(t,e){this.table=t,this.virtualizer=e,this.focusType=VR,this.headerActionIndex=-1,this.rowIndex=-1,this.cellContentIndex=-1,this.columnIndex=-1,this.focusWithinTable=!1,this.isCurrentlyFocusingElement=!1,this.visibleRowNotifiers=[],this.onTableFocusIn=t=>{this.focusWithinTable=!0,this.updateFocusStateFromActiveElement(!1)
|
|
11494
11514
|
const e=void 0!==this.table.openActionMenuRecordId
|
|
11495
11515
|
if((t.target===this.table||this.focusType===VR)&&!e){let t=!0
|
|
@@ -11644,9 +11664,9 @@ if(n||i){if("first"===l)return n?-1:1
|
|
|
11644
11664
|
if("last"===l)return n?1:-1
|
|
11645
11665
|
d=n&&i?0:n?l:-l}}if(0===d&&(d=a.sortingFn(t,e,s.id)),0!==d)return c&&(d*=-1),a.invertSorting&&(d*=-1),d}return t.index-e.index})),e.forEach((t=>{var e
|
|
11646
11666
|
s.push(t),null!=(e=t.subRows)&&e.length&&(t.subRows=a(t.subRows))})),e}
|
|
11647
|
-
return{rows:a(n.rows),flatRows:s,rowsById:n.rowsById}}),NO(t.options,"debugTable",0,(()=>t._autoResetPageIndex()))),getGroupedRowModel:
|
|
11667
|
+
return{rows:a(n.rows),flatRows:s,rowsById:n.rowsById}}),NO(t.options,"debugTable",0,(()=>t._autoResetPageIndex()))),getGroupedRowModel:ER(),getExpandedRowModel:t=>FO((()=>[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
|
|
11648
11668
|
e.push(t),null!=(i=t.subRows)&&i.length&&t.getIsExpanded()&&t.subRows.forEach(n)}
|
|
11649
|
-
return t.rows.forEach(n),{rows:e,flatRows:t.flatRows,rowsById:t.rowsById}}(e):e),NO(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=
|
|
11669
|
+
return t.rows.forEach(n),{rows:e,flatRows:t.flatRows,rowsById:t.rowsById}}(e):e),NO(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=DR(this.options),this.virtualizer=new jF(this,this.table),this.keyboardNavigationManager=new dN(this,this.virtualizer),this.layoutManager=new KF(this),this.layoutManagerNotifier=x.getNotifier(this.layoutManager),this.layoutManagerNotifier.subscribe(this,"isColumnBeingSized"),this.selectionManager=new iN(this.table,this.selectionMode),this.expansionManager=new aN(this.table)}async setData(t){await this.processPendingUpdates()
|
|
11650
11670
|
const e=t.map((t=>({...t}))),n=this.calculateTanStackData(e)
|
|
11651
11671
|
this.updateTableOptions(n)}async getSelectedRecordIds(){return await this.processPendingUpdates(),this.selectionManager.getCurrentSelectedRecordIds()}async setSelectedRecordIds(t){await this.processPendingUpdates(),this.selectionMode!==FR.none&&this.updateTableOptions({state:{rowSelection:this.calculateTanStackSelectionState(t)}})}async setRecordHierarchyOptions(t){await this.processPendingUpdates()
|
|
11652
11672
|
const e=structuredClone(t),n=this.tableValidator.getOptionsWithPresentIds(e)
|
|
@@ -11679,7 +11699,7 @@ e.subscribe(this),this.columnNotifiers.push(e)
|
|
|
11679
11699
|
const n=x.getNotifier(t.columnInternals)
|
|
11680
11700
|
n.subscribe(this),this.columnNotifiers.push(n)
|
|
11681
11701
|
const i=x.getNotifier(t.columnInternals.validator)
|
|
11682
|
-
i.subscribe(this),this.columnNotifiers.push(i)}}getColumnsParticipatingInSorting(){return this.columns.filter((t=>!t.columnInternals.sortingDisabled&&t.columnInternals.currentSortDirection!==RR.none&&"number"==typeof t.columnInternals.currentSortIndex))}getColumnsParticipatingInGrouping(){return this.columns.filter((t=>!t.columnInternals.groupingDisabled&&"number"==typeof t.columnInternals.groupIndex))}childItemsChanged(){this.updateColumnsFromChildItems()}async updateColumnsFromChildItems(){await
|
|
11702
|
+
i.subscribe(this),this.columnNotifiers.push(i)}}getColumnsParticipatingInSorting(){return this.columns.filter((t=>!t.columnInternals.sortingDisabled&&t.columnInternals.currentSortDirection!==RR.none&&"number"==typeof t.columnInternals.currentSortIndex))}getColumnsParticipatingInGrouping(){return this.columns.filter((t=>!t.columnInternals.groupingDisabled&&"number"==typeof t.columnInternals.groupIndex))}childItemsChanged(){this.updateColumnsFromChildItems()}async updateColumnsFromChildItems(){await sE(this.childItems),this.columns=this.childItems.filter((t=>t instanceof aF))}updateTanStack(){const t={state:{}}
|
|
11683
11703
|
if(this.tableUpdateTracker.updateColumnSort&&(t.state.sorting=this.calculateTanStackSortState()),this.tableUpdateTracker.updateColumnDefinition&&(t.columns=this.calculateTanStackColumns()),this.tableUpdateTracker.updateRowIds&&(t.getRowId=this.calculateTanStackRowIdFunction(),t.state.rowSelection={},this.selectionManager.handleSelectionReset(),this.expansionManager.resetHierarchyOptions()),this.tableUpdateTracker.updateRowParentIds&&this.expansionManager.setHierarchyEnabled(this.isHierarchyEnabled()),this.tableUpdateTracker.updateSelectionMode&&(t.enableMultiRowSelection=this.selectionMode===FR.multiple,t.enableSubRowSelection=this.selectionMode===FR.multiple,t.state.rowSelection={},this.selectionManager.handleSelectionModeChanged(this.selectionMode)),this.dataHierarchyManager&&this.tableUpdateTracker.requiresTanStackDataReset)if(this.isHierarchyEnabled()||this.tableUpdateTracker.updateRowParentIds){const e=this.dataHierarchyManager.getAllRecords(!0),n=this.calculateTanStackData(e)
|
|
11684
11704
|
n.state&&(t.state.rowSelection=n.state.rowSelection),t.data=n.data}else t.data=[...this.table.options.data]
|
|
11685
11705
|
this.tableUpdateTracker.updateGroupRows&&(t.state.grouping=this.calculateTanStackGroupingState()),(this.tableUpdateTracker.updateRowIds||this.tableUpdateTracker.updateRowParentIds||this.tableUpdateTracker.updateGroupRows)&&(t.state.expanded=!0,this.expansionManager.resetExpansionState()),this.updateTableOptions(t)}updateActionMenuSlots(){if(void 0!==this.openActionMenuRecordId)for(const t of this.actionMenuSlots)this.requestedSlots.delete(t)
|
|
@@ -11813,8 +11833,8 @@ const _N=class extends CN{updateText(){this.text="string"==typeof this.groupHead
|
|
|
11813
11833
|
_i.getOrCreate().withPrefix("nimble").register(_N())
|
|
11814
11834
|
const IN="nimble-table-column-text-group-header-view"
|
|
11815
11835
|
function MN(t){class e extends t{constructor(){super(...arguments),this.sortingDisabled=!1,this.sortDirection=RR.none}sortingDisabledChanged(){this.columnInternals.sortingDisabled=this.sortingDisabled,this.sortingDisabled?(this.columnInternals.currentSortDirection=RR.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 $N(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?KR: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
|
|
11816
|
-
!!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
|
|
11817
|
-
class
|
|
11836
|
+
!!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 DN=["invalidCustomSortWithGrouping"]
|
|
11837
|
+
class EN extends cN{constructor(){super(DN)}}class AN extends(gN(mN(vN(MN($N(aF)))))){constructor(){super(...arguments),this.underlineHidden=!1,this.defaultSortOperation=YR}placeholderChanged(){this.updateColumnConfig()}handleSortConfigurationChange(){this.updateColumnInternalsSortConfiguration()}getColumnInternalsOptions(){return{cellRecordFieldNames:["label","href"],cellViewTag:"nimble-table-column-anchor-cell-view",groupHeaderViewTag:IN,delegatedEvents:["click"],sortOperation:this.getResolvedSortOperation(this.defaultSortOperation),validator:new EN}}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"})],AN.prototype,"labelFieldName",void 0),t([ft({attribute:"href-field-name"})],AN.prototype,"hrefFieldName",void 0),t([ft],AN.prototype,"appearance",void 0),t([ft({attribute:"underline-hidden",mode:"boolean"})],AN.prototype,"underlineHidden",void 0),t([ft],AN.prototype,"hreflang",void 0),t([ft],AN.prototype,"ping",void 0),t([ft],AN.prototype,"referrerpolicy",void 0),t([ft],AN.prototype,"rel",void 0),t([ft],AN.prototype,"target",void 0),t([ft],AN.prototype,"type",void 0),t([ft],AN.prototype,"download",void 0)
|
|
11818
11838
|
const TN=AN.compose({baseName:"table-column-anchor",template:fN,styles:pN})
|
|
11819
11839
|
_i.getOrCreate().withPrefix("nimble").register(TN())
|
|
11820
11840
|
class ON extends aF{fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}}function RN(t){return gN(mN(vN(MN(t))))}function FN(t,e){if("number"!=typeof e)return""
|
|
@@ -12070,12 +12090,12 @@ if(e&&t.detail.newState){const t={slots:[{name:e,slot:SL}]}
|
|
|
12070
12090
|
this.$emit("cell-view-slots-request",t)}return!0}onMenuButtonMouseOver(){this.valueSpan&&(this.hasOverflow=this.valueSpan.offsetWidth<this.valueSpan.scrollWidth)}onMenuButtonMouseOut(){this.hasOverflow=!1}onMenuButtonClick(t){t.stopPropagation()}}t([C],ML.prototype,"hasOverflow",void 0),t([k],ML.prototype,"showMenuButton",null)
|
|
12071
12091
|
const $L=ML.compose({baseName:"table-column-menu-button-cell-view",template:_L,styles:IL})
|
|
12072
12092
|
_i.getOrCreate().withPrefix("nimble").register($L())
|
|
12073
|
-
class
|
|
12093
|
+
class DL extends(mN(aF)){onDelegatedEvent(t){t.stopImmediatePropagation()
|
|
12074
12094
|
const e=t,n=e.detail.originalEvent
|
|
12075
12095
|
if("beforetoggle"===n.type||"toggle"===n.type){const t=`menu-button-column-${n.type}`,i={...n.detail,recordId:e.detail.recordId}
|
|
12076
|
-
this.$emit(t,i)}}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-menu-button-cell-view",delegatedEvents:["beforetoggle","toggle"],slotNames:[SL],validator:new cN([])}}fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}menuSlotChanged(){this.updateColumnConfig()}updateColumnConfig(){this.columnInternals.columnConfig={menuSlot:this.menuSlot}}}t([ft({attribute:"field-name"})],
|
|
12077
|
-
const DL
|
|
12078
|
-
_i.getOrCreate().withPrefix("nimble").register(
|
|
12096
|
+
this.$emit(t,i)}}getColumnInternalsOptions(){return{cellRecordFieldNames:["value"],cellViewTag:"nimble-table-column-menu-button-cell-view",delegatedEvents:["beforetoggle","toggle"],slotNames:[SL],validator:new cN([])}}fieldNameChanged(){this.columnInternals.dataRecordFieldNames=[this.fieldName],this.columnInternals.operandDataRecordFieldName=this.fieldName}menuSlotChanged(){this.updateColumnConfig()}updateColumnConfig(){this.columnInternals.columnConfig={menuSlot:this.menuSlot}}}t([ft({attribute:"field-name"})],DL.prototype,"fieldName",void 0),t([ft({attribute:"menu-slot"})],DL.prototype,"menuSlot",void 0)
|
|
12097
|
+
const EL=DL.compose({baseName:"table-column-menu-button",template:kL,styles:pN})
|
|
12098
|
+
_i.getOrCreate().withPrefix("nimble").register(EL())
|
|
12079
12099
|
const AL=Q`<span
|
|
12080
12100
|
${Kg("hasOverflow")}
|
|
12081
12101
|
class="header-content"
|
|
@@ -12121,7 +12141,7 @@ this.setConditionValue("invalidDecimalMaximumDigits",n)}validateNoMutuallyExclus
|
|
|
12121
12141
|
this.setConditionValue("decimalDigitsMutuallyExclusiveWithDecimalMaximumDigits",i)}validateAtMostOneUnit(t){const e=t.length>1
|
|
12122
12142
|
this.setConditionValue("moreThanOneUnitSpecified",e)}isInvalidDecimalDigitsValue(t){return t<0||t>20}}class KL extends We{}t([C],KL.prototype,"resolvedUnitScale",void 0)
|
|
12123
12143
|
class YL extends(RN(ON)){constructor(){super(...arguments),this.langSubscriber={handleChange:()=>{this.updateColumnConfig()}},this.unitSubscriber={handleChange:()=>{this.updateColumnConfig()}}}connectedCallback(){super.connectedCallback(),al.subscribe(this.langSubscriber,this),this.updateColumnConfig()}disconnectedCallback(){super.disconnectedCallback(),al.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:KR,validator:new ZL}}updateUnitNotifier(){if(this.unitNotifier&&(this.unitNotifier.unsubscribe(this.unitSubscriber),this.unitNotifier=void 0),this.unit){const t=x.getNotifier(this.unit)
|
|
12124
|
-
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
|
|
12144
|
+
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 sE(this.unitElements),this.unit=this.unitElements.find((t=>t instanceof KL))),this.updateUnitNotifier()}unitChanged(){this.updateColumnConfig()}updateColumnConfig(){const t=this.columnInternals.validator
|
|
12125
12145
|
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}
|
|
12126
12146
|
this.columnInternals.headerAlignment=t.alignment,this.columnInternals.columnConfig=t}else this.columnInternals.columnConfig=void 0}createFormatter(){const t=this.unit?.resolvedUnitScale
|
|
12127
12147
|
return new WL(al.getValueFor(this),{numberTextFormat:this.format??void 0,decimalDigits:this.decimalDigits??void 0,decimalMaximumDigits:this.decimalMaximumDigits??void 0,unitScale:t})}determineCellContentAlignment(){return this.alignment===FL?PR:this.alignment===NL?zR:this.format!==RL.decimal||"number"==typeof this.decimalMaximumDigits||this.unit?PR:zR}}t([ft],YL.prototype,"format",void 0),t([ft],YL.prototype,"alignment",void 0),t([ft({attribute:"decimal-digits",converter:ut})],YL.prototype,"decimalDigits",void 0),t([ft({attribute:"decimal-maximum-digits",converter:ut})],YL.prototype,"decimalMaximumDigits",void 0),t([C],YL.prototype,"unitElements",void 0),t([C],YL.prototype,"unit",void 0)
|
|
@@ -12851,7 +12871,7 @@ class CB extends Os{constructor(){super(...arguments),this.iconVisible=!1}}t([ft
|
|
|
12851
12871
|
const kB=CB.compose({baseName:"tooltip",baseClass:Os,template:xB,styles:wB})
|
|
12852
12872
|
_i.getOrCreate().withPrefix("nimble").register(kB())
|
|
12853
12873
|
const SB="group-selected",_B="all",IB="leaves-only",MB="none"
|
|
12854
|
-
class $B{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
|
|
12874
|
+
class $B{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 DB=Mt`
|
|
12855
12875
|
${Ps("block")}
|
|
12856
12876
|
|
|
12857
12877
|
:host {
|
|
@@ -13031,8 +13051,8 @@ ll.subscribe(e),e.attach(n),this.cache.set(t,e)}}(Mt`
|
|
|
13031
13051
|
transform: rotate(135deg);
|
|
13032
13052
|
}
|
|
13033
13053
|
`))
|
|
13034
|
-
class
|
|
13035
|
-
const AB=
|
|
13054
|
+
class EB extends Fs{constructor(){super(...arguments),this.groupSelected=!1}}t([ft({attribute:"group-selected",mode:"boolean"})],EB.prototype,"groupSelected",void 0)
|
|
13055
|
+
const AB=EB.compose({baseName:"tree-item",baseClass:Fs,template:(t,e)=>Q`
|
|
13036
13056
|
<template
|
|
13037
13057
|
role="treeitem"
|
|
13038
13058
|
slot="${t=>t.isNestedItem()?"item":void 0}"
|
|
@@ -13072,7 +13092,7 @@ const AB=DB.compose({baseName:"tree-item",baseClass:Fs,template:(t,e)=>Q`
|
|
|
13072
13092
|
</div>
|
|
13073
13093
|
`)}
|
|
13074
13094
|
</template>
|
|
13075
|
-
`,styles:
|
|
13095
|
+
`,styles:DB,expandCollapseGlyph:pu.data})
|
|
13076
13096
|
_i.getOrCreate().withPrefix("nimble").register(AB())
|
|
13077
13097
|
const TB=Mt`
|
|
13078
13098
|
${Ps("flex")}
|
|
@@ -13106,9 +13126,9 @@ const e=t.target
|
|
|
13106
13126
|
return!e.disabled&&(this.canSelect(e)?e.selected=!0:this.itemHasChildren(e)&&(e.expanded=!e.expanded),!0)}canSelect(t){switch(this.selectionMode){case _B:return!0
|
|
13107
13127
|
case MB:return!1
|
|
13108
13128
|
case IB:return!this.itemHasChildren(t)
|
|
13109
|
-
default:return!0}}itemHasChildren(t){return null!==t.querySelector('[role="treeitem"]')}selectedItemsChanged(){for(const t of Array.from(this.children))t instanceof
|
|
13129
|
+
default:return!0}}itemHasChildren(t){return null!==t.querySelector('[role="treeitem"]')}selectedItemsChanged(){for(const t of Array.from(this.children))t instanceof EB&&(t.groupSelected=!1)
|
|
13110
13130
|
for(let t of this.selectedItems){for(;null!==t.parentElement&&t.parentElement!==this;)t=t.parentElement
|
|
13111
|
-
t instanceof
|
|
13131
|
+
t instanceof EB&&(t.groupSelected=!0)}}}t([ft({attribute:"selection-mode"})],RB.prototype,"selectionMode",void 0),t([C],RB.prototype,"selectedItems",void 0)
|
|
13112
13132
|
const FB=RB.compose({baseName:"tree-view",baseClass:Ns,template:OB,styles:TB})
|
|
13113
13133
|
_i.getOrCreate().withPrefix("nimble").register(FB())
|
|
13114
13134
|
const NB=Q`<template slot="unit"></template>`
|
|
@@ -13154,7 +13174,7 @@ function bP(){return Array.from(this.children)}function yP(t){return new Array(t
|
|
|
13154
13174
|
for(;a<l;++a)(r=e[a])&&(s[a]=r)}function CP(t,e,n,i,s,o,r){var a,l,c,d=new Map,h=e.length,u=o.length,p=new Array(h)
|
|
13155
13175
|
for(a=0;a<h;++a)(l=e[a])&&(p[a]=c=r.call(l,l.__data__,a,e)+"",d.has(c)?s[a]=l:d.set(c,l))
|
|
13156
13176
|
for(a=0;a<u;++a)c=r.call(t,o[a],a,o)+"",(l=d.get(c))?(i[a]=l,l.__data__=o[a],d.delete(c)):n[a]=new wP(t,o[a])
|
|
13157
|
-
for(a=0;a<h;++a)(l=e[a])&&d.get(p[a])===l&&(s[a]=l)}function kP(t){return t.__data__}function SP(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function _P(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function IP(t){return function(){this.removeAttribute(t)}}function MP(t){return function(){this.removeAttributeNS(t.space,t.local)}}function $P(t,e){return function(){this.setAttribute(t,e)}}function
|
|
13177
|
+
for(a=0;a<h;++a)(l=e[a])&&d.get(p[a])===l&&(s[a]=l)}function kP(t){return t.__data__}function SP(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function _P(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function IP(t){return function(){this.removeAttribute(t)}}function MP(t){return function(){this.removeAttributeNS(t.space,t.local)}}function $P(t,e){return function(){this.setAttribute(t,e)}}function DP(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function EP(t,e){return function(){var n=e.apply(this,arguments)
|
|
13158
13178
|
null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function AP(t,e){return function(){var n=e.apply(this,arguments)
|
|
13159
13179
|
null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function TP(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function OP(t){return function(){this.style.removeProperty(t)}}function RP(t,e,n){return function(){this.style.setProperty(t,e,n)}}function FP(t,e,n){return function(){var i=e.apply(this,arguments)
|
|
13160
13180
|
null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function NP(t,e){return t.style.getPropertyValue(e)||TP(t).getComputedStyle(t,null).getPropertyValue(e)}function LP(t){return function(){delete this[t]}}function BP(t,e){return function(){this[t]=e}}function PP(t,e){return function(){var n=e.apply(this,arguments)
|
|
@@ -13199,7 +13219,7 @@ for(const e of this)++t
|
|
|
13199
13219
|
return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var s,o=e[n],r=0,a=o.length;r<a;++r)(s=o[r])&&t.call(s,s.__data__,r,o)
|
|
13200
13220
|
return this},attr:function(t,e){var n=sP(t)
|
|
13201
13221
|
if(arguments.length<2){var i=this.node()
|
|
13202
|
-
return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?MP:IP:"function"==typeof e?n.local?AP:
|
|
13222
|
+
return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?MP:IP:"function"==typeof e?n.local?AP:EP:n.local?DP:$P)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?OP:"function"==typeof e?FP:RP)(t,e,null==n?"":n)):NP(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?LP:"function"==typeof e?PP:BP)(t,e)):this.node()[t]},classed:function(t,e){var n=zP(t+"")
|
|
13203
13223
|
if(arguments.length<2){for(var i=VP(this.node()),s=-1,o=n.length;++s<o;)if(!i.contains(n[s]))return!1
|
|
13204
13224
|
return!0}return this.each(("function"==typeof e?GP:e?jP:WP)(n,e))},text:function(t){return arguments.length?this.each(null==t?ZP:("function"==typeof t?YP:KP)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?XP:("function"==typeof t?QP:JP)(t)):this.node().innerHTML},raise:function(){return this.each(tz)},lower:function(){return this.each(ez)},append:function(t){var e="function"==typeof t?t:aP(t)
|
|
13205
13225
|
return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:aP(t),i=null==e?nz:"function"==typeof e?e:cP(e)
|
|
@@ -13211,9 +13231,9 @@ if(a)for(var l,c=0,d=a.length;c<d;++c)for(i=0,l=a[c];i<r;++i)if((s=o[i]).type===
|
|
|
13211
13231
|
const gz={capture:!0,passive:!1}
|
|
13212
13232
|
function vz(t){t.preventDefault(),t.stopImmediatePropagation()}function bz(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function yz(t,e){var n=Object.create(t.prototype)
|
|
13213
13233
|
for(var i in e)n[i]=e[i]
|
|
13214
|
-
return n}function wz(){}var xz=.7,Cz=1/xz,kz="\\s*([+-]?\\d+)\\s*",Sz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_z="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Iz=/^#([0-9a-f]{3,8})$/,Mz=new RegExp(`^rgb\\(${kz},${kz},${kz}\\)$`),$z=new RegExp(`^rgb\\(${_z},${_z},${_z}\\)$`),
|
|
13234
|
+
return n}function wz(){}var xz=.7,Cz=1/xz,kz="\\s*([+-]?\\d+)\\s*",Sz="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",_z="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Iz=/^#([0-9a-f]{3,8})$/,Mz=new RegExp(`^rgb\\(${kz},${kz},${kz}\\)$`),$z=new RegExp(`^rgb\\(${_z},${_z},${_z}\\)$`),Dz=new RegExp(`^rgba\\(${kz},${kz},${kz},${Sz}\\)$`),Ez=new RegExp(`^rgba\\(${_z},${_z},${_z},${Sz}\\)$`),Az=new RegExp(`^hsl\\(${Sz},${_z},${_z}\\)$`),Tz=new RegExp(`^hsla\\(${Sz},${_z},${_z},${Sz}\\)$`),Oz={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}
|
|
13215
13235
|
function Rz(){return this.rgb().formatHex()}function Fz(){return this.rgb().formatRgb()}function Nz(t){var e,n
|
|
13216
|
-
return t=(t+"").trim().toLowerCase(),(e=Iz.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Lz(e):3===n?new zz(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Bz(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Bz(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=Mz.exec(t))?new zz(e[1],e[2],e[3],1):(e=$z.exec(t))?new zz(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=
|
|
13236
|
+
return t=(t+"").trim().toLowerCase(),(e=Iz.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Lz(e):3===n?new zz(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Bz(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Bz(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=Mz.exec(t))?new zz(e[1],e[2],e[3],1):(e=$z.exec(t))?new zz(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Dz.exec(t))?Bz(e[1],e[2],e[3],e[4]):(e=Ez.exec(t))?Bz(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Az.exec(t))?Wz(e[1],e[2]/100,e[3]/100,1):(e=Tz.exec(t))?Wz(e[1],e[2]/100,e[3]/100,e[4]):Oz.hasOwnProperty(t)?Lz(Oz[t]):"transparent"===t?new zz(NaN,NaN,NaN,0):null}function Lz(t){return new zz(t>>16&255,t>>8&255,255&t,1)}function Bz(t,e,n,i){return i<=0&&(t=e=n=NaN),new zz(t,e,n,i)}function Pz(t,e,n,i){return 1===arguments.length?((s=t)instanceof wz||(s=Nz(s)),s?new zz((s=s.rgb()).r,s.g,s.b,s.opacity):new zz):new zz(t,e,n,null==i?1:i)
|
|
13217
13237
|
var s}function zz(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function Vz(){return`#${jz(this.r)}${jz(this.g)}${jz(this.b)}`}function Hz(){const t=Uz(this.opacity)
|
|
13218
13238
|
return`${1===t?"rgb(":"rgba("}${qz(this.r)}, ${qz(this.g)}, ${qz(this.b)}${1===t?")":`, ${t})`}`}function Uz(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function qz(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function jz(t){return((t=qz(t))<16?"0":"")+t.toString(16)}function Wz(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Zz(t,e,n,i)}function Gz(t){if(t instanceof Zz)return new Zz(t.h,t.s,t.l,t.opacity)
|
|
13219
13239
|
if(t instanceof wz||(t=Nz(t)),!t)return new Zz
|
|
@@ -13256,14 +13276,14 @@ if(m<1e-12)r=Math.log(u/c)/e,o=function(t){return[a+t*p,l+t*f,c*Math.exp(e*t*r)]
|
|
|
13256
13276
|
else{var g=Math.sqrt(m),v=(u*u-c*c+i*m)/(2*c*n*g),b=(u*u-c*c-i*m)/(2*u*n*g),y=Math.log(Math.sqrt(v*v+1)-v),w=Math.log(Math.sqrt(b*b+1)-b)
|
|
13257
13277
|
r=(w-y)/e,o=function(t){var i,s=t*r,o=yV(y),d=c/(n*g)*(o*(i=e*s+y,((i=Math.exp(2*i))-1)/(i+1))-function(t){return((t=Math.exp(t))-1/t)/2}(y))
|
|
13258
13278
|
return[a+d*p,l+d*f,c*o/yV(e*s+y)]}}return o.duration=1e3*r*e/Math.SQRT2,o}return s.rho=function(e){var n=Math.max(.001,+e),i=n*n
|
|
13259
|
-
return t(n,i,i*i)},s}(Math.SQRT2,2,4),kV=0,SV=0,_V=0,IV=1e3,MV=0,$V=0,
|
|
13260
|
-
function TV(){return $V||(AV(OV),$V=
|
|
13261
|
-
return i.restart(t,e,n),i}function NV(){$V=(MV=
|
|
13279
|
+
return t(n,i,i*i)},s}(Math.SQRT2,2,4),kV=0,SV=0,_V=0,IV=1e3,MV=0,$V=0,DV=0,EV="object"==typeof performance&&performance.now?performance:Date,AV="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)}
|
|
13280
|
+
function TV(){return $V||(AV(OV),$V=EV.now()+DV)}function OV(){$V=0}function RV(){this._call=this._time=this._next=null}function FV(t,e,n){var i=new RV
|
|
13281
|
+
return i.restart(t,e,n),i}function NV(){$V=(MV=EV.now())+DV,kV=SV=0
|
|
13262
13282
|
try{!function(){TV(),++kV
|
|
13263
13283
|
for(var t,e=wV;e;)(t=$V-e._time)>=0&&e._call.call(void 0,t),e=e._next;--kV}()}finally{kV=0,function(){var t,e,n=wV,i=1/0
|
|
13264
13284
|
for(;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:wV=e)
|
|
13265
|
-
xV=t,BV(i)}(),$V=0}}function LV(){var t=
|
|
13266
|
-
e>IV&&(
|
|
13285
|
+
xV=t,BV(i)}(),$V=0}}function LV(){var t=EV.now(),e=t-MV
|
|
13286
|
+
e>IV&&(DV-=e,MV=t)}function BV(t){kV||(SV&&(SV=clearTimeout(SV)),t-$V>24?(t<1/0&&(SV=setTimeout(NV,t-EV.now()-DV)),_V&&(_V=clearInterval(_V))):(_V||(MV=EV.now(),_V=setInterval(LV,IV)),kV=1,AV(NV)))}function PV(t,e,n){var i=new RV
|
|
13267
13287
|
return e=null==e?0:+e,i.restart((n=>{i.stop(),t(n+e)}),e,n),i}RV.prototype=FV.prototype={constructor:RV,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function")
|
|
13268
13288
|
n=(null==n?TV():+n)+(null==e?0:+e),this._next||xV===this||(xV?xV._next=this:wV=this,xV=this),this._call=t,this._time=n,BV()},stop:function(){this._call&&(this._call=null,this._time=1/0,BV())}}
|
|
13269
13289
|
var zV=JB("start","end","cancel","interrupt"),VV=[],HV=0,UV=1,qV=2,jV=3,WV=4,GV=5,ZV=6
|
|
@@ -13379,28 +13399,28 @@ return new yH(i,this._parents,t,e)}
|
|
|
13379
13399
|
var SH=t=>()=>t
|
|
13380
13400
|
function _H(t,{sourceEvent:e,target:n,transform:i,dispatch:s}){Object.defineProperties(this,{type:{value:t,enumerable:!0,configurable:!0},sourceEvent:{value:e,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:i,enumerable:!0,configurable:!0},_:{value:s}})}function IH(t,e,n){this.k=t,this.x=e,this.y=n}IH.prototype={constructor:IH,scale:function(t){return 1===t?this:new IH(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new IH(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}}
|
|
13381
13401
|
var MH=new IH(1,0,0)
|
|
13382
|
-
function $H(t){t.stopImmediatePropagation()}function
|
|
13402
|
+
function $H(t){t.stopImmediatePropagation()}function DH(t){t.preventDefault(),t.stopImmediatePropagation()}function EH(t){return!(t.ctrlKey&&"wheel"!==t.type||t.button)}function AH(){var t=this
|
|
13383
13403
|
return t instanceof SVGElement?(t=t.ownerSVGElement||t).hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]:[[0,0],[t.clientWidth,t.clientHeight]]}function TH(){return this.__zoom||MH}function OH(t){return-t.deltaY*(1===t.deltaMode?.05:t.deltaMode?1:.002)*(t.ctrlKey?10:1)}function RH(){return navigator.maxTouchPoints||"ontouchstart"in this}function FH(t,e,n){var i=t.invertX(e[0][0])-n[0][0],s=t.invertX(e[1][0])-n[1][0],o=t.invertY(e[0][1])-n[0][1],r=t.invertY(e[1][1])-n[1][1]
|
|
13384
|
-
return t.translate(s>i?(i+s)/2:Math.min(0,i)||Math.max(0,s),r>o?(o+r)/2:Math.min(0,o)||Math.max(0,r))}function NH(){var t,e,n,i=
|
|
13385
|
-
function v(t){t.property("__zoom",TH).on("wheel.zoom",S,{passive:!1}).on("mousedown.zoom",_).on("dblclick.zoom",I).filter(a).on("touchstart.zoom",M).on("touchmove.zoom",$).on("touchend.zoom touchcancel.zoom",
|
|
13404
|
+
return t.translate(s>i?(i+s)/2:Math.min(0,i)||Math.max(0,s),r>o?(o+r)/2:Math.min(0,o)||Math.max(0,r))}function NH(){var t,e,n,i=EH,s=AH,o=FH,r=OH,a=RH,l=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],d=250,h=CV,u=JB("start","zoom","end"),p=500,f=150,m=0,g=10
|
|
13405
|
+
function v(t){t.property("__zoom",TH).on("wheel.zoom",S,{passive:!1}).on("mousedown.zoom",_).on("dblclick.zoom",I).filter(a).on("touchstart.zoom",M).on("touchmove.zoom",$).on("touchend.zoom touchcancel.zoom",D).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function b(t,e){return(e=Math.max(l[0],Math.min(l[1],e)))===t.k?t:new IH(e,t.x,t.y)}function y(t,e,n){var i=e[0]-n[0]*t.k,s=e[1]-n[1]*t.k
|
|
13386
13406
|
return i===t.x&&s===t.y?t:new IH(t.k,i,s)}function w(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function x(t,e,n,i){t.on("start.zoom",(function(){C(this,arguments).event(i).start()})).on("interrupt.zoom end.zoom",(function(){C(this,arguments).event(i).end()})).tween("zoom",(function(){var t=this,o=arguments,r=C(t,o).event(i),a=s.apply(t,o),l=null==n?w(a):"function"==typeof n?n.apply(t,o):n,c=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),d=t.__zoom,u="function"==typeof e?e.apply(t,o):e,p=h(d.invert(l).concat(c/d.k),u.invert(l).concat(c/u.k))
|
|
13387
13407
|
return function(t){if(1===t)t=u
|
|
13388
13408
|
else{var e=p(t),n=c/e[2]
|
|
13389
13409
|
t=new IH(n,l[0]-e[0]*n,l[1]-e[1]*n)}r.zoom(null,t)}}))}function C(t,e,n){return!n&&t.__zooming||new k(t,e)}function k(t,e){this.that=t,this.args=e,this.active=0,this.sourceEvent=null,this.extent=s.apply(t,e),this.taps=0}function S(t,...e){if(i.apply(this,arguments)){var n=C(this,e).event(t),s=this.__zoom,a=Math.max(l[0],Math.min(l[1],s.k*Math.pow(2,r.apply(this,arguments)))),d=mz(t)
|
|
13390
13410
|
if(n.wheel)n.mouse[0][0]===d[0]&&n.mouse[0][1]===d[1]||(n.mouse[1]=s.invert(n.mouse[0]=d)),clearTimeout(n.wheel)
|
|
13391
13411
|
else{if(s.k===a)return
|
|
13392
|
-
n.mouse=[d,s.invert(d)],QV(this),n.start()}
|
|
13412
|
+
n.mouse=[d,s.invert(d)],QV(this),n.start()}DH(t),n.wheel=setTimeout((function(){n.wheel=null,n.end()}),f),n.zoom("mouse",o(y(b(s,a),n.mouse[0],n.mouse[1]),n.extent,c))}}function _(t,...e){if(!n&&i.apply(this,arguments)){var s=t.currentTarget,r=C(this,e,!0).event(t),a=fz(t.view).on("mousemove.zoom",(function(t){if(DH(t),!r.moved){var e=t.clientX-d,n=t.clientY-h
|
|
13393
13413
|
r.moved=e*e+n*n>m}r.event(t).zoom("mouse",o(y(r.that.__zoom,r.mouse[0]=mz(t,s),r.mouse[1]),r.extent,c))}),!0).on("mouseup.zoom",(function(t){a.on("mousemove.zoom mouseup.zoom",null),function(t,e){var n=t.document.documentElement,i=fz(t).on("dragstart.drag",null)
|
|
13394
|
-
e&&(i.on("click.drag",vz,gz),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(t.view,r.moved),
|
|
13414
|
+
e&&(i.on("click.drag",vz,gz),setTimeout((function(){i.on("click.drag",null)}),0)),"onselectstart"in n?i.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}(t.view,r.moved),DH(t),r.event(t).end()}),!0),l=mz(t,s),d=t.clientX,h=t.clientY
|
|
13395
13415
|
!function(t){var e=t.document.documentElement,n=fz(t).on("dragstart.drag",vz,gz)
|
|
13396
13416
|
"onselectstart"in e?n.on("selectstart.drag",vz,gz):(e.__noselect=e.style.MozUserSelect,e.style.MozUserSelect="none")}(t.view),$H(t),r.mouse=[l,this.__zoom.invert(l)],QV(this),r.start()}}function I(t,...e){if(i.apply(this,arguments)){var n=this.__zoom,r=mz(t.changedTouches?t.changedTouches[0]:t,this),a=n.invert(r),l=n.k*(t.shiftKey?.5:2),h=o(y(b(n,l),r,a),s.apply(this,e),c)
|
|
13397
|
-
|
|
13417
|
+
DH(t),d>0?fz(this).transition().duration(d).call(x,h,r,t):fz(this).call(v.transform,h,r,t)}}function M(n,...s){if(i.apply(this,arguments)){var o,r,a,l,c=n.touches,d=c.length,h=C(this,s,n.changedTouches.length===d).event(n)
|
|
13398
13418
|
for($H(n),r=0;r<d;++r)l=[l=mz(a=c[r],this),this.__zoom.invert(l),a.identifier],h.touch0?h.touch1||h.touch0[2]===l[2]||(h.touch1=l,h.taps=0):(h.touch0=l,o=!0,h.taps=1+!!t)
|
|
13399
13419
|
t&&(t=clearTimeout(t)),o&&(h.taps<2&&(e=l[0],t=setTimeout((function(){t=null}),p)),QV(this),h.start())}}function $(t,...e){if(this.__zooming){var n,i,s,r,a=C(this,e).event(t),l=t.changedTouches,d=l.length
|
|
13400
|
-
for(
|
|
13420
|
+
for(DH(t),n=0;n<d;++n)s=mz(i=l[n],this),a.touch0&&a.touch0[2]===i.identifier?a.touch0[0]=s:a.touch1&&a.touch1[2]===i.identifier&&(a.touch1[0]=s)
|
|
13401
13421
|
if(i=a.that.__zoom,a.touch1){var h=a.touch0[0],u=a.touch0[1],p=a.touch1[0],f=a.touch1[1],m=(m=p[0]-h[0])*m+(m=p[1]-h[1])*m,g=(g=f[0]-u[0])*g+(g=f[1]-u[1])*g
|
|
13402
13422
|
i=b(i,Math.sqrt(m/g)),s=[(h[0]+p[0])/2,(h[1]+p[1])/2],r=[(u[0]+f[0])/2,(u[1]+f[1])/2]}else{if(!a.touch0)return
|
|
13403
|
-
s=a.touch0[0],r=a.touch0[1]}a.zoom("touch",o(y(i,s,r),a.extent,c))}}function
|
|
13423
|
+
s=a.touch0[0],r=a.touch0[1]}a.zoom("touch",o(y(i,s,r),a.extent,c))}}function D(t,...i){if(this.__zooming){var s,o,r=C(this,i).event(t),a=t.changedTouches,l=a.length
|
|
13404
13424
|
for($H(t),n&&clearTimeout(n),n=setTimeout((function(){n=null}),p),s=0;s<l;++s)o=a[s],r.touch0&&r.touch0[2]===o.identifier?delete r.touch0:r.touch1&&r.touch1[2]===o.identifier&&delete r.touch1
|
|
13405
13425
|
if(r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0)r.touch0[1]=this.__zoom.invert(r.touch0[0])
|
|
13406
13426
|
else if(r.end(),2===r.taps&&(o=mz(o,this),Math.hypot(e[0]-o[0],e[1]-o[1])<g)){var c=fz(this).on("dblclick.zoom")
|
|
@@ -13509,17 +13529,17 @@ return e=t instanceof Uint8Array?t:this.text_encoder.encode(t),this.addInt8(0),t
|
|
|
13509
13529
|
for(let n=0;n<t.length;++n){const i=t[n]
|
|
13510
13530
|
if(null===i)throw new TypeError("FlatBuffers: Argument for createObjectOffsetList cannot contain null.")
|
|
13511
13531
|
e.push(this.createObjectOffset(i))}return e}createStructOffsetList(t,e){return e(this,t.length),this.createObjectOffsetList(t.slice().reverse()),this.endVector()}}
|
|
13512
|
-
var $U,
|
|
13513
|
-
!function(t){t[t.BUFFER=0]="BUFFER"}($U||($U={})),function(t){t[t.LZ4_FRAME=0]="LZ4_FRAME",t[t.ZSTD=1]="ZSTD"}(
|
|
13514
|
-
class
|
|
13515
|
-
return t?this.bb.readInt8(this.bb_pos+t):
|
|
13516
|
-
return t?this.bb.readInt8(this.bb_pos+t):$U.BUFFER}static startBodyCompression(t){t.startObject(2)}static addCodec(t,e){t.addFieldInt8(0,e,
|
|
13532
|
+
var $U,DU
|
|
13533
|
+
!function(t){t[t.BUFFER=0]="BUFFER"}($U||($U={})),function(t){t[t.LZ4_FRAME=0]="LZ4_FRAME",t[t.ZSTD=1]="ZSTD"}(DU||(DU={}))
|
|
13534
|
+
class EU{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsBodyCompression(t,e){return(e||new EU).__init(t.readInt32(t.position())+t.position(),t)}static getSizePrefixedRootAsBodyCompression(t,e){return t.setPosition(t.position()+4),(e||new EU).__init(t.readInt32(t.position())+t.position(),t)}codec(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13535
|
+
return t?this.bb.readInt8(this.bb_pos+t):DU.LZ4_FRAME}method(){const t=this.bb.__offset(this.bb_pos,6)
|
|
13536
|
+
return t?this.bb.readInt8(this.bb_pos+t):$U.BUFFER}static startBodyCompression(t){t.startObject(2)}static addCodec(t,e){t.addFieldInt8(0,e,DU.LZ4_FRAME)}static addMethod(t,e){t.addFieldInt8(1,e,$U.BUFFER)}static endBodyCompression(t){return t.endObject()}static createBodyCompression(t,e,n){return EU.startBodyCompression(t),EU.addCodec(t,e),EU.addMethod(t,n),EU.endBodyCompression(t)}}class AU{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}offset(){return this.bb.readInt64(this.bb_pos)}length(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createBuffer(t,e,n){return t.prep(8,16),t.writeInt64(BigInt(null!=n?n:0)),t.writeInt64(BigInt(null!=e?e:0)),t.offset()}}let TU=class{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}length(){return this.bb.readInt64(this.bb_pos)}nullCount(){return this.bb.readInt64(this.bb_pos+8)}static sizeOf(){return 16}static createFieldNode(t,e,n){return t.prep(8,16),t.writeInt64(BigInt(null!=n?n:0)),t.writeInt64(BigInt(null!=e?e:0)),t.offset()}},OU=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsRecordBatch(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsRecordBatch(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}length(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13517
13537
|
return t?this.bb.readInt64(this.bb_pos+t):BigInt("0")}nodes(t,e){const n=this.bb.__offset(this.bb_pos,6)
|
|
13518
13538
|
return n?(e||new TU).__init(this.bb.__vector(this.bb_pos+n)+16*t,this.bb):null}nodesLength(){const t=this.bb.__offset(this.bb_pos,6)
|
|
13519
13539
|
return t?this.bb.__vector_len(this.bb_pos+t):0}buffers(t,e){const n=this.bb.__offset(this.bb_pos,8)
|
|
13520
13540
|
return n?(e||new AU).__init(this.bb.__vector(this.bb_pos+n)+16*t,this.bb):null}buffersLength(){const t=this.bb.__offset(this.bb_pos,8)
|
|
13521
13541
|
return t?this.bb.__vector_len(this.bb_pos+t):0}compression(t){const e=this.bb.__offset(this.bb_pos,10)
|
|
13522
|
-
return e?(t||new
|
|
13542
|
+
return e?(t||new EU).__init(this.bb.__indirect(this.bb_pos+e),this.bb):null}static startRecordBatch(t){t.startObject(4)}static addLength(t,e){t.addFieldInt64(0,e,BigInt("0"))}static addNodes(t,e){t.addFieldOffset(1,e,0)}static startNodesVector(t,e){t.startVector(16,e,8)}static addBuffers(t,e){t.addFieldOffset(2,e,0)}static startBuffersVector(t,e){t.startVector(16,e,8)}static addCompression(t,e){t.addFieldOffset(3,e,0)}static endRecordBatch(t){return t.endObject()}},RU=class t{constructor(){this.bb=null,this.bb_pos=0}__init(t,e){return this.bb_pos=t,this.bb=e,this}static getRootAsDictionaryBatch(e,n){return(n||new t).__init(e.readInt32(e.position())+e.position(),e)}static getSizePrefixedRootAsDictionaryBatch(e,n){return e.setPosition(e.position()+4),(n||new t).__init(e.readInt32(e.position())+e.position(),e)}id(){const t=this.bb.__offset(this.bb_pos,4)
|
|
13523
13543
|
return t?this.bb.readInt64(this.bb_pos+t):BigInt("0")}data(t){const e=this.bb.__offset(this.bb_pos,6)
|
|
13524
13544
|
return e?(t||new OU).__init(this.bb.__indirect(this.bb_pos+e),this.bb):null}isDelta(){const t=this.bb.__offset(this.bb_pos,8)
|
|
13525
13545
|
return!!t&&!!this.bb.readInt8(this.bb_pos+t)}static startDictionaryBatch(t){t.startObject(3)}static addId(t,e){t.addFieldInt64(0,e,BigInt("0"))}static addData(t,e){t.addFieldOffset(1,e,0)}static addIsDelta(t,e){t.addFieldInt8(2,+e,0)}static endDictionaryBatch(t){return t.endObject()}}
|
|
@@ -13616,7 +13636,7 @@ const r=i.length-1
|
|
|
13616
13636
|
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]
|
|
13617
13637
|
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])
|
|
13618
13638
|
return null!=e?e:"0"}class kq{static new(t,e){switch(e){case!0:return new gq(t)
|
|
13619
|
-
case!1:return new vq(t)}switch(t.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new gq(t)}return 16===t.byteLength?new bq(t):new vq(t)}static signed(t){return new gq(t)}static unsigned(t){return new vq(t)}static decimal(t){return new bq(t)}constructor(t,e){return kq.new(t,e)}}var Sq,_q,Iq,Mq,$q,Eq,
|
|
13639
|
+
case!1:return new vq(t)}switch(t.constructor){case Int8Array:case Int16Array:case Int32Array:case BigInt64Array:return new gq(t)}return 16===t.byteLength?new bq(t):new vq(t)}static signed(t){return new gq(t)}static unsigned(t){return new vq(t)}static decimal(t){return new bq(t)}constructor(t,e){return kq.new(t,e)}}var Sq,_q,Iq,Mq,$q,Dq,Eq,Aq,Tq,Oq,Rq,Fq,Nq,Lq,Bq,Pq,zq,Vq,Hq,Uq,qq,jq,Wq
|
|
13620
13640
|
class Gq{static isNull(t){return(null==t?void 0:t.typeId)===cq.Null}static isInt(t){return(null==t?void 0:t.typeId)===cq.Int}static isFloat(t){return(null==t?void 0:t.typeId)===cq.Float}static isBinary(t){return(null==t?void 0:t.typeId)===cq.Binary}static isLargeBinary(t){return(null==t?void 0:t.typeId)===cq.LargeBinary}static isUtf8(t){return(null==t?void 0:t.typeId)===cq.Utf8}static isLargeUtf8(t){return(null==t?void 0:t.typeId)===cq.LargeUtf8}static isBool(t){return(null==t?void 0:t.typeId)===cq.Bool}static isDecimal(t){return(null==t?void 0:t.typeId)===cq.Decimal}static isDate(t){return(null==t?void 0:t.typeId)===cq.Date}static isTime(t){return(null==t?void 0:t.typeId)===cq.Time}static isTimestamp(t){return(null==t?void 0:t.typeId)===cq.Timestamp}static isInterval(t){return(null==t?void 0:t.typeId)===cq.Interval}static isDuration(t){return(null==t?void 0:t.typeId)===cq.Duration}static isList(t){return(null==t?void 0:t.typeId)===cq.List}static isStruct(t){return(null==t?void 0:t.typeId)===cq.Struct}static isUnion(t){return(null==t?void 0:t.typeId)===cq.Union}static isFixedSizeBinary(t){return(null==t?void 0:t.typeId)===cq.FixedSizeBinary}static isFixedSizeList(t){return(null==t?void 0:t.typeId)===cq.FixedSizeList}static isMap(t){return(null==t?void 0:t.typeId)===cq.Map}static isDictionary(t){return(null==t?void 0:t.typeId)===cq.Dictionary}static isDenseUnion(t){return Gq.isUnion(t)&&t.mode===gU.Dense}static isSparseUnion(t){return Gq.isUnion(t)&&t.mode===gU.Sparse}constructor(t){this.typeId=t}}Sq=Symbol.toStringTag,Gq[Sq]=((Wq=Gq.prototype).children=null,Wq.ArrayType=Array,Wq.OffsetArrayType=Int32Array,Wq[Symbol.toStringTag]="DataType")
|
|
13621
13641
|
class Zq extends Gq{constructor(){super(cq.Null)}toString(){return"Null"}}_q=Symbol.toStringTag,Zq[_q]=(t=>t[Symbol.toStringTag]="Null")(Zq.prototype)
|
|
13622
13642
|
class Kq extends Gq{constructor(t,e){super(cq.Int),this.isSigned=t,this.bitWidth=e}get ArrayType(){switch(this.bitWidth){case 8:return this.isSigned?Int8Array:Uint8Array
|
|
@@ -13628,8 +13648,8 @@ class Xq extends Gq{constructor(t){super(cq.Float),this.precision=t}get ArrayTyp
|
|
|
13628
13648
|
case vU.SINGLE:return Float32Array
|
|
13629
13649
|
case vU.DOUBLE:return Float64Array}throw new Error(`Unrecognized ${this[Symbol.toStringTag]} type`)}toString(){return`Float${this.precision<<5||16}`}}Mq=Symbol.toStringTag,Xq[Mq]=(t=>(t.precision=null,t[Symbol.toStringTag]="Float"))(Xq.prototype)
|
|
13630
13650
|
class Jq extends Gq{constructor(){super(cq.Binary)}toString(){return"Binary"}}$q=Symbol.toStringTag,Jq[$q]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Binary"))(Jq.prototype)
|
|
13631
|
-
class Qq extends Gq{constructor(){super(cq.LargeBinary)}toString(){return"LargeBinary"}}
|
|
13632
|
-
class tj extends Gq{constructor(){super(cq.Utf8)}toString(){return"Utf8"}}
|
|
13651
|
+
class Qq extends Gq{constructor(){super(cq.LargeBinary)}toString(){return"LargeBinary"}}Dq=Symbol.toStringTag,Qq[Dq]=(t=>(t.ArrayType=Uint8Array,t.OffsetArrayType=BigInt64Array,t[Symbol.toStringTag]="LargeBinary"))(Qq.prototype)
|
|
13652
|
+
class tj extends Gq{constructor(){super(cq.Utf8)}toString(){return"Utf8"}}Eq=Symbol.toStringTag,tj[Eq]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Utf8"))(tj.prototype)
|
|
13633
13653
|
class ej extends Gq{constructor(){super(cq.LargeUtf8)}toString(){return"LargeUtf8"}}Aq=Symbol.toStringTag,ej[Aq]=(t=>(t.ArrayType=Uint8Array,t.OffsetArrayType=BigInt64Array,t[Symbol.toStringTag]="LargeUtf8"))(ej.prototype)
|
|
13634
13654
|
class nj extends Gq{constructor(){super(cq.Bool)}toString(){return"Bool"}}Tq=Symbol.toStringTag,nj[Tq]=(t=>(t.ArrayType=Uint8Array,t[Symbol.toStringTag]="Bool"))(nj.prototype)
|
|
13635
13655
|
class ij extends Gq{constructor(t,e,n=128){super(cq.Decimal),this.scale=t,this.precision=e,this.bitWidth=n}toString(){return`Decimal[${this.precision}e${this.scale>0?"+":""}${this.scale}]`}}Oq=Symbol.toStringTag,ij[Oq]=(t=>(t.scale=null,t.precision=null,t.ArrayType=Uint32Array,t[Symbol.toStringTag]="Decimal"))(ij.prototype)
|
|
@@ -13804,7 +13824,7 @@ const Cj=new Float64Array(1),kj=new Uint32Array(Cj.buffer)
|
|
|
13804
13824
|
function Sj(t){const e=(31744&t)>>10,n=(1023&t)/1024,i=Math.pow(-1,(32768&t)>>15)
|
|
13805
13825
|
switch(e){case 31:return i*(n?Number.NaN:1/0)
|
|
13806
13826
|
case 0:return i*(n?6103515625e-14*n:0)}return i*Math.pow(2,e-15)*(1+n)}class _j extends yj{}function Ij(t){return(e,n,i)=>{if(e.setValid(n,null!=i))return t(e,n,i)}}const Mj=(t,e,n,i)=>{if(n+1<e.length){const s=uq(e[n]),o=uq(e[n+1])
|
|
13807
|
-
t.set(i.subarray(0,o-s),s)}},$j=({values:t},e,n)=>{t[e]=n},
|
|
13827
|
+
t.set(i.subarray(0,o-s),s)}},$j=({values:t},e,n)=>{t[e]=n},Dj=({values:t},e,n)=>{t[e]=n},Ej=({values:t},e,n)=>{t[e]=function(t){if(t!=t)return 32256
|
|
13808
13828
|
Cj[0]=t
|
|
13809
13829
|
const e=(2147483648&kj[1])>>16&65535
|
|
13810
13830
|
let n=2146435072&kj[1],i=0
|
|
@@ -13812,8 +13832,8 @@ return n>=1089470464?kj[0]>0?n=31744:(n=(2080374784&n)>>16,i=(1048575&kj[1])>>10
|
|
|
13812
13832
|
Xj.visit(s,t.valueOffsets[e],n)},qj=(t,e,n)=>{const i=t.type.typeIdToChildIndex[t.typeIds[e]],s=t.children[i]
|
|
13813
13833
|
Xj.visit(s,e,n)},jj=({values:t},e,n)=>{t.set(n.subarray(0,2),2*e)},Wj=({values:t},e,n)=>{t[e]=12*n[0]+n[1]%12},Gj=({values:t},e,n)=>{t[e]=n},Zj=({values:t},e,n)=>{t[e]=n},Kj=({values:t},e,n)=>{t[e]=n},Yj=({values:t},e,n)=>{t[e]=n}
|
|
13814
13834
|
_j.prototype.visitBool=Ij((({offset:t,values:e},n,i)=>{const s=t+n
|
|
13815
|
-
i?e[s>>3]|=1<<s%8:e[s>>3]&=~(1<<s%8)})),_j.prototype.visitInt=Ij($j),_j.prototype.visitInt8=Ij($j),_j.prototype.visitInt16=Ij($j),_j.prototype.visitInt32=Ij($j),_j.prototype.visitInt64=Ij($j),_j.prototype.visitUint8=Ij($j),_j.prototype.visitUint16=Ij($j),_j.prototype.visitUint32=Ij($j),_j.prototype.visitUint64=Ij($j),_j.prototype.visitFloat=Ij(((t,e,n)=>{switch(t.type.precision){case vU.HALF:return
|
|
13816
|
-
case vU.SINGLE:case vU.DOUBLE:return
|
|
13835
|
+
i?e[s>>3]|=1<<s%8:e[s>>3]&=~(1<<s%8)})),_j.prototype.visitInt=Ij($j),_j.prototype.visitInt8=Ij($j),_j.prototype.visitInt16=Ij($j),_j.prototype.visitInt32=Ij($j),_j.prototype.visitInt64=Ij($j),_j.prototype.visitUint8=Ij($j),_j.prototype.visitUint16=Ij($j),_j.prototype.visitUint32=Ij($j),_j.prototype.visitUint64=Ij($j),_j.prototype.visitFloat=Ij(((t,e,n)=>{switch(t.type.precision){case vU.HALF:return Ej(t,e,n)
|
|
13836
|
+
case vU.SINGLE:case vU.DOUBLE:return Dj(t,e,n)}})),_j.prototype.visitFloat16=Ij(Ej),_j.prototype.visitFloat32=Ij(Dj),_j.prototype.visitFloat64=Ij(Dj),_j.prototype.visitUtf8=Ij(Rj),_j.prototype.visitLargeUtf8=Ij(Rj),_j.prototype.visitBinary=Ij(Oj),_j.prototype.visitLargeBinary=Ij(Oj),_j.prototype.visitFixedSizeBinary=Ij((({stride:t,values:e},n,i)=>{e.set(i.subarray(0,t),t*n)})),_j.prototype.visitDate=Ij(((t,e,n)=>{t.type.unit===bU.DAY?Aj(t,e,n):Tj(t,e,n)})),_j.prototype.visitDateDay=Ij(Aj),_j.prototype.visitDateMillisecond=Ij(Tj),_j.prototype.visitTimestamp=Ij(((t,e,n)=>{switch(t.type.unit){case yU.SECOND:return Fj(t,e,n)
|
|
13817
13837
|
case yU.MILLISECOND:return Nj(t,e,n)
|
|
13818
13838
|
case yU.MICROSECOND:return Lj(t,e,n)
|
|
13819
13839
|
case yU.NANOSECOND:return Bj(t,e,n)}})),_j.prototype.visitTimestampSecond=Ij(Fj),_j.prototype.visitTimestampMillisecond=Ij(Nj),_j.prototype.visitTimestampMicrosecond=Ij(Lj),_j.prototype.visitTimestampNanosecond=Ij(Bj),_j.prototype.visitTime=Ij(((t,e,n)=>{switch(t.type.unit){case yU.SECOND:return Pj(t,e,n)
|
|
@@ -13864,18 +13884,18 @@ case yU.MICROSECOND:return IW(t,e)
|
|
|
13864
13884
|
case yU.NANOSECOND:return MW(t,e)}})),iW.prototype.visitDurationSecond=sW(SW),iW.prototype.visitDurationMillisecond=sW(_W),iW.prototype.visitDurationMicrosecond=sW(IW),iW.prototype.visitDurationNanosecond=sW(MW),iW.prototype.visitFixedSizeList=sW(((t,e)=>{const{stride:n,children:i}=t,s=i[0].slice(e*n,n)
|
|
13865
13885
|
return new wG([s])})),iW.prototype.visitMap=sW(((t,e)=>{const{valueOffsets:n,children:i}=t,{[e]:s,[e+1]:o}=n,r=i[0]
|
|
13866
13886
|
return new OW(r.slice(s,o-s))}))
|
|
13867
|
-
const $W=new iW,
|
|
13868
|
-
class OW{constructor(t){return this[
|
|
13887
|
+
const $W=new iW,DW=Symbol.for("keys"),EW=Symbol.for("vals"),AW=Symbol.for("kKeysAsStrings"),TW=Symbol.for("_kKeysAsStrings")
|
|
13888
|
+
class OW{constructor(t){return this[DW]=new wG([t.children[0]]).memoize(),this[EW]=t.children[1],new Proxy(this,new FW)}get[AW](){return this[TW]||(this[TW]=Array.from(this[DW].toArray(),String))}[Symbol.iterator](){return new RW(this[DW],this[EW])}get size(){return this[DW].length}toArray(){return Object.values(this.toJSON())}toJSON(){const t=this[DW],e=this[EW],n={}
|
|
13869
13889
|
for(let i=-1,s=t.length;++i<s;)n[t.get(i)]=$W.visit(e,i)
|
|
13870
13890
|
return n}toString(){return`{${[...this].map((([t,e])=>`${hq(t)}: ${hq(e)}`)).join(", ")}}`}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}}class RW{constructor(t,e){this.keys=t,this.vals=e,this.keyIndex=0,this.numKeys=t.length}[Symbol.iterator](){return this}next(){const t=this.keyIndex
|
|
13871
13891
|
return t===this.numKeys?{done:!0,value:null}:(this.keyIndex++,{done:!1,value:[this.keys.get(t),$W.visit(this.vals,t)]})}}class FW{isExtensible(){return!1}deleteProperty(){return!1}preventExtensions(){return!0}ownKeys(t){return t[AW]}has(t,e){return t[AW].includes(e)}getOwnPropertyDescriptor(t,e){if(-1!==t[AW].indexOf(e))return{writable:!0,enumerable:!0,configurable:!0}}get(t,e){if(Reflect.has(t,e))return t[e]
|
|
13872
13892
|
const n=t[AW].indexOf(e)
|
|
13873
|
-
if(-1!==n){const i=$W.visit(Reflect.get(t,
|
|
13893
|
+
if(-1!==n){const i=$W.visit(Reflect.get(t,EW),n)
|
|
13874
13894
|
return Reflect.set(t,e,i),i}}set(t,e,n){const i=t[AW].indexOf(e)
|
|
13875
|
-
return-1!==i?(Xj.visit(Reflect.get(t,
|
|
13895
|
+
return-1!==i?(Xj.visit(Reflect.get(t,EW),i,n),Reflect.set(t,e,n)):!!Reflect.has(t,e)&&Reflect.set(t,e,n)}}let NW
|
|
13876
13896
|
function LW(t,e,n,i){const{length:s=0}=t
|
|
13877
13897
|
let o="number"!=typeof e?0:e,r="number"!=typeof n?s:n
|
|
13878
|
-
return o<0&&(o=(o%s+s)%s),r<0&&(r=(r%s+s)%s),r<o&&(NW=o,o=r,r=NW),r>s&&(r=s),i?i(t,o,r):[o,r]}Object.defineProperties(OW.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[
|
|
13898
|
+
return o<0&&(o=(o%s+s)%s),r<0&&(r=(r%s+s)%s),r<o&&(NW=o,o=r,r=NW),r>s&&(r=s),i?i(t,o,r):[o,r]}Object.defineProperties(OW.prototype,{[Symbol.toStringTag]:{enumerable:!1,configurable:!1,value:"Row"},[DW]:{writable:!0,enumerable:!1,configurable:!1,value:null},[EW]:{writable:!0,enumerable:!1,configurable:!1,value:null},[TW]:{writable:!0,enumerable:!1,configurable:!1,value:null}})
|
|
13879
13899
|
const BW=(t,e)=>t<0?e+t:t,PW=t=>t!=t
|
|
13880
13900
|
function zW(t){if("object"!==typeof t||null===t)return PW(t)?PW:e=>e===t
|
|
13881
13901
|
if(t instanceof Date){const e=t.valueOf()
|
|
@@ -14054,8 +14074,8 @@ return t[0]&&"object"==typeof t[0]&&(({name:e}=t[0]),void 0===n&&(n=t[0].type),v
|
|
|
14054
14074
|
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,_G.new(e,n,i,s)}}function IG(t,e){return new Map([...t||new Map,...e||new Map])}function MG(t,e=new Map){for(let n=-1,i=t.length;++n<i;){const i=t[n].type
|
|
14055
14075
|
if(Gq.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)
|
|
14056
14076
|
i.children&&i.children.length>0&&MG(i.children,e)}return e}_G.prototype.type=null,_G.prototype.name=null,_G.prototype.nullable=null,_G.prototype.metadata=null
|
|
14057
|
-
var $G=MU,
|
|
14058
|
-
class
|
|
14077
|
+
var $G=MU,DG=IU
|
|
14078
|
+
class EG{static decode(t){t=new DG(rU(t))
|
|
14059
14079
|
const e=kG.getRootAsFooter(t),n=SG.decode(e.schema(),new Map,e.version())
|
|
14060
14080
|
return new AG(n,e)}static encode(t){const e=new $G,n=SG.encode(e,t.schema)
|
|
14061
14081
|
kG.startRecordBatchesVector(e,t.numRecordBatches)
|
|
@@ -14064,7 +14084,7 @@ const i=e.endVector()
|
|
|
14064
14084
|
kG.startDictionariesVector(e,t.numDictionaries)
|
|
14065
14085
|
for(const n of[...t.dictionaryBatches()].slice().reverse())TG.encode(e,n)
|
|
14066
14086
|
const s=e.endVector()
|
|
14067
|
-
return kG.startFooter(e),kG.addSchema(e,n),kG.addVersion(e,mU.V5),kG.addRecordBatches(e,i),kG.addDictionaries(e,s),kG.finishFooterBuffer(e,kG.endFooter(e)),e.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}constructor(t,e=mU.V5,n,i){this.schema=t,this.version=e,n&&(this._recordBatches=n),i&&(this._dictionaryBatches=i)}*recordBatches(){for(let t,e=-1,n=this.numRecordBatches;++e<n;)(t=this.getRecordBatch(e))&&(yield t)}*dictionaryBatches(){for(let t,e=-1,n=this.numDictionaries;++e<n;)(t=this.getDictionaryBatch(e))&&(yield t)}getRecordBatch(t){return t>=0&&t<this.numRecordBatches&&this._recordBatches[t]||null}getDictionaryBatch(t){return t>=0&&t<this.numDictionaries&&this._dictionaryBatches[t]||null}}class AG extends
|
|
14087
|
+
return kG.startFooter(e),kG.addSchema(e,n),kG.addVersion(e,mU.V5),kG.addRecordBatches(e,i),kG.addDictionaries(e,s),kG.finishFooterBuffer(e,kG.endFooter(e)),e.asUint8Array()}get numRecordBatches(){return this._recordBatches.length}get numDictionaries(){return this._dictionaryBatches.length}constructor(t,e=mU.V5,n,i){this.schema=t,this.version=e,n&&(this._recordBatches=n),i&&(this._dictionaryBatches=i)}*recordBatches(){for(let t,e=-1,n=this.numRecordBatches;++e<n;)(t=this.getRecordBatch(e))&&(yield t)}*dictionaryBatches(){for(let t,e=-1,n=this.numDictionaries;++e<n;)(t=this.getDictionaryBatch(e))&&(yield t)}getRecordBatch(t){return t>=0&&t<this.numRecordBatches&&this._recordBatches[t]||null}getDictionaryBatch(t){return t>=0&&t<this.numDictionaries&&this._dictionaryBatches[t]||null}}class AG extends EG{get numRecordBatches(){return this._footer.recordBatchesLength()}get numDictionaries(){return this._footer.dictionariesLength()}constructor(t,e){super(t,e.version()),this._footer=e}getRecordBatch(t){if(t>=0&&t<this.numRecordBatches){const e=this._footer.recordBatches(t)
|
|
14068
14088
|
if(e)return TG.decode(e)}return null}getDictionaryBatch(t){if(t>=0&&t<this.numDictionaries){const e=this._footer.dictionaries(t)
|
|
14069
14089
|
if(e)return TG.decode(e)}return null}}class TG{static decode(t){return new TG(t.metaDataLength(),t.bodyLength(),t.offset())}static encode(t,e){const{metaDataLength:n}=e,i=BigInt(e.offset),s=BigInt(e.bodyLength)
|
|
14070
14090
|
return CG.createBlock(t,i,n,s)}constructor(t,e,n){this.metaDataLength=t,this.offset=uq(n),this.bodyLength=uq(e)}}const OG=Object.freeze({done:!0,value:void 0})
|
|
@@ -14216,15 +14236,15 @@ return new lj(yU[e.unit])}case"union":{const n=t.type,[i,...s]=(n.mode+"").toLow
|
|
|
14216
14236
|
return new hj(gU[o],n.typeIds||[],e||[])}case"fixedsizebinary":{const e=t.type
|
|
14217
14237
|
return new uj(e.byteWidth)}case"fixedsizelist":{const n=t.type
|
|
14218
14238
|
return new pj(n.listSize,(e||[])[0])}case"map":{const n=t.type
|
|
14219
|
-
return new fj((e||[])[0],n.keysSorted)}}throw new Error(`Unrecognized type: "${n}"`)}var
|
|
14239
|
+
return new fj((e||[])[0],n.keysSorted)}}throw new Error(`Unrecognized type: "${n}"`)}var DZ=MU,EZ=IU
|
|
14220
14240
|
class AZ{static fromJSON(t,e){const n=new AZ(0,mU.V5,e)
|
|
14221
14241
|
return n._createHeader=function(t,e){return()=>{switch(e){case lq.Schema:return SG.fromJSON(t)
|
|
14222
14242
|
case lq.RecordBatch:return TZ.fromJSON(t)
|
|
14223
|
-
case lq.DictionaryBatch:return OZ.fromJSON(t)}throw new Error(`Unrecognized Message type: { name: ${lq[e]}, type: ${e} }`)}}(t,e),n}static decode(t){t=new
|
|
14243
|
+
case lq.DictionaryBatch:return OZ.fromJSON(t)}throw new Error(`Unrecognized Message type: { name: ${lq[e]}, type: ${e} }`)}}(t,e),n}static decode(t){t=new EZ(rU(t))
|
|
14224
14244
|
const e=wZ.getRootAsMessage(t),n=e.bodyLength(),i=e.version(),s=e.headerType(),o=new AZ(n,i,s)
|
|
14225
14245
|
return o._createHeader=function(t,e){return()=>{switch(e){case lq.Schema:return SG.decode(t.header(new aq),new Map,t.version())
|
|
14226
14246
|
case lq.RecordBatch:return TZ.decode(t.header(new OU),t.version())
|
|
14227
|
-
case lq.DictionaryBatch:return OZ.decode(t.header(new RU),t.version())}throw new Error(`Unrecognized Message type: { name: ${lq[e]}, type: ${e} }`)}}(e,s),o}static encode(t){const e=new
|
|
14247
|
+
case lq.DictionaryBatch:return OZ.decode(t.header(new RU),t.version())}throw new Error(`Unrecognized Message type: { name: ${lq[e]}, type: ${e} }`)}}(e,s),o}static encode(t){const e=new DZ
|
|
14228
14248
|
let n=-1
|
|
14229
14249
|
return t.isSchema()?n=SG.encode(e,t.header()):t.isRecordBatch()?n=TZ.encode(e,t.header()):t.isDictionaryBatch()&&(n=OZ.encode(e,t.header())),wZ.startMessage(e),wZ.addVersion(e,mU.V5),wZ.addHeader(e,n),wZ.addHeaderType(e,t.headerType),wZ.addBodyLength(e,BigInt(t.bodyLength)),wZ.finishMessageBuffer(e,wZ.endMessage(e)),e.asUint8Array()}static from(t,e=0){if(t instanceof SG)return new AZ(0,mU.V5,lq.Schema,t)
|
|
14230
14250
|
if(t instanceof TZ)return new AZ(e,mU.V5,lq.RecordBatch,t)
|
|
@@ -14368,7 +14388,7 @@ const n=null===(e=this._footer)||void 0===e?void 0:e.getDictionaryBatch(t)
|
|
|
14368
14388
|
if(n&&this._handle.seek(n.offset)){const t=this._reader.readMessage(lq.DictionaryBatch)
|
|
14369
14389
|
if(null==t?void 0:t.isDictionaryBatch()){const e=t.header(),n=this._reader.readMessageBody(t.bodyLength),i=this._loadDictionaryBatch(e,n)
|
|
14370
14390
|
this.dictionaries.set(e.id,i)}}}_readFooter(){const{_handle:t}=this,e=t.size-QZ,n=t.readInt32(e),i=t.readAt(e-n,n)
|
|
14371
|
-
return
|
|
14391
|
+
return EG.decode(i)}_readNextMessageAndValidate(t){var e
|
|
14372
14392
|
if(this._footer||this.open(),this._footer&&this._recordBatchIndex<this.numRecordBatches){const n=null===(e=this._footer)||void 0===e?void 0:e.getRecordBatch(this._recordBatchIndex)
|
|
14373
14393
|
if(n&&this._handle.seek(n.offset))return this._reader.readMessage(t)}return null}}class dK extends lK{get footer(){return this._footer}get numDictionaries(){return this._footer?this._footer.numDictionaries:0}get numRecordBatches(){return this._footer?this._footer.numRecordBatches:0}constructor(t,...e){const n="number"!=typeof e[0]?e.shift():void 0,i=e[0]instanceof Map?e.shift():void 0
|
|
14374
14394
|
super(t instanceof UG?t:new UG(t,n),i)}isFile(){return!0}isAsync(){return!0}open(t){const n=Object.create(null,{open:{get:()=>super.open}})
|
|
@@ -14386,7 +14406,7 @@ if(null==t?void 0:t.isDictionaryBatch()){const e=t.header(),n=yield this._reader
|
|
|
14386
14406
|
this.dictionaries.set(e.id,i)}}}))}_readFooter(){return e(this,void 0,void 0,(function*(){const{_handle:t}=this
|
|
14387
14407
|
t._pending&&(yield t._pending)
|
|
14388
14408
|
const e=t.size-QZ,n=yield t.readInt32(e),i=yield t.readAt(e-n,n)
|
|
14389
|
-
return
|
|
14409
|
+
return EG.decode(i)}))}_readNextMessageAndValidate(t){return e(this,void 0,void 0,(function*(){if(this._footer||(yield this.open()),this._footer&&this._recordBatchIndex<this.numRecordBatches){const e=this._footer.getRecordBatch(this._recordBatchIndex)
|
|
14390
14410
|
if(e&&(yield this._handle.seek(e.offset)))return yield this._reader.readMessage(t)}return null}))}}class hK extends aK{constructor(t,e){super(t,e)}_loadVectors(t,e,n){return new XG(e,t.nodes,t.buffers,this.dictionaries,this.schema.metadataVersion).visitMany(n)}}function uK(t,e){return e&&"boolean"==typeof e.autoDestroy?e.autoDestroy:t.autoDestroy}function*pK(t){const e=eK.from(t)
|
|
14391
14411
|
try{if(!e.open({autoDestroy:!1}).closed)do{yield e}while(!e.reset().open().closed)}finally{e.cancel()}}function fK(t){return s(this,arguments,(function*(){const e=yield i(eK.from(t))
|
|
14392
14412
|
try{if(!(yield i(e.open({autoDestroy:!1}))).closed)do{yield yield i(e)}while(!(yield i(e.reset().open())).closed)}finally{yield i(e.cancel())}}))}const mK=Q`
|
|
@@ -14523,9 +14543,9 @@ return t.has(i)?t.get(i):(t.set(i,n),n)}(this,t),e)}delete(t){return super.delet
|
|
|
14523
14543
|
t.has(i)&&(n=t.get(i),t.delete(i))
|
|
14524
14544
|
return n}(this,t))}}function SK({_intern:t,_key:e},n){const i=e(n)
|
|
14525
14545
|
return t.has(i)?t.get(i):n}function _K(t){return null!==t&&"object"==typeof t?t.valueOf():t}const IK=Math.sqrt(50),MK=Math.sqrt(10),$K=Math.sqrt(2)
|
|
14526
|
-
function
|
|
14546
|
+
function DK(t,e,n){const i=(e-t)/Math.max(0,n),s=Math.floor(Math.log10(i)),o=i/Math.pow(10,s),r=o>=IK?10:o>=MK?5:o>=$K?2:1
|
|
14527
14547
|
let a,l,c
|
|
14528
|
-
return s<0?(c=Math.pow(10,-s)/r,a=Math.round(t*c),l=Math.round(e*c),a/c<t&&++a,l/c>e&&--l,c=-c):(c=Math.pow(10,s)*r,a=Math.round(t/c),l=Math.round(e/c),a*c<t&&++a,l*c>e&&--l),l<a&&.5<=n&&n<2?
|
|
14548
|
+
return s<0?(c=Math.pow(10,-s)/r,a=Math.round(t*c),l=Math.round(e*c),a/c<t&&++a,l/c>e&&--l,c=-c):(c=Math.pow(10,s)*r,a=Math.round(t/c),l=Math.round(e/c),a*c<t&&++a,l*c>e&&--l),l<a&&.5<=n&&n<2?DK(t,e,2*n):[a,l,c]}function EK(t,e,n){return DK(t=+t,e=+e,n=+n)[2]}function AK(t,e,n=xK){if((i=t.length)&&!isNaN(e=+e)){if(e<=0||i<2)return+n(t[0],0,t)
|
|
14529
14549
|
if(e>=1)return+n(t[i-1],i-1,t)
|
|
14530
14550
|
var i,s=(i-1)*e,o=Math.floor(s),r=+n(t[o],o,t)
|
|
14531
14551
|
return r+(+n(t[o+1],o+1,t)-r)*(s-o)}}function TK(t,e,n){t=+t,e=+e,n=(s=arguments.length)<2?(e=t,t=0,1):s<3?1:+n
|
|
@@ -14590,7 +14610,7 @@ case"^":t=I.slice(0,_=I.length>>1)+u+t+k+I.slice(_)
|
|
|
14590
14610
|
break
|
|
14591
14611
|
default:t=I+u+t+k}return a(t)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,e){var n=h(((t=ZK(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(jK(e)/3))),s=Math.pow(10,-i),o=iY[8+i/3]
|
|
14592
14612
|
return function(t){return n(s*t)+o}}}}function oY(t,e,n,i){var s,o=function(t,e,n){n=+n
|
|
14593
|
-
const i=(e=+e)<(t=+t),s=i?
|
|
14613
|
+
const i=(e=+e)<(t=+t),s=i?EK(e,t,n):EK(t,e,n)
|
|
14594
14614
|
return(i?-1:1)*(s<0?1/-s:s)}(t,e,n)
|
|
14595
14615
|
switch((i=ZK(null==i?",f":i)).type){case"s":var r=Math.max(Math.abs(t),Math.abs(e))
|
|
14596
14616
|
return null!=i.precision||isNaN(s=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(jK(e)/3)))-jK(Math.abs(t)))}(o,r))||(i.precision=s),eY(i,r)
|
|
@@ -14600,7 +14620,7 @@ case"f":case"%":null!=i.precision||isNaN(s=function(t){return Math.max(0,-jK(Mat
|
|
|
14600
14620
|
return t.ticks=function(t){var n=e()
|
|
14601
14621
|
return function(t,e,n){if(!((n=+n)>0))return[]
|
|
14602
14622
|
if((t=+t)==(e=+e))return[t]
|
|
14603
|
-
const i=e<t,[s,o,r]=i?
|
|
14623
|
+
const i=e<t,[s,o,r]=i?DK(e,t,n):DK(t,e,n)
|
|
14604
14624
|
if(!(o>=s))return[]
|
|
14605
14625
|
const a=o-s+1,l=new Array(a)
|
|
14606
14626
|
if(i)if(r<0)for(let t=0;t<a;++t)l[t]=(o-t)/-r
|
|
@@ -14610,7 +14630,7 @@ else for(let t=0;t<a;++t)l[t]=(s+t)*r
|
|
|
14610
14630
|
return l}(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var i=e()
|
|
14611
14631
|
return oY(i[0],i[i.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10)
|
|
14612
14632
|
var i,s,o=e(),r=0,a=o.length-1,l=o[r],c=o[a],d=10
|
|
14613
|
-
for(c<l&&(s=l,l=c,c=s,s=r,r=a,a=s);d-- >0;){if((s=
|
|
14633
|
+
for(c<l&&(s=l,l=c,c=s,s=r,r=a,a=s);d-- >0;){if((s=EK(l,c,n))===i)return o[r]=l,o[a]=c,e(o)
|
|
14614
14634
|
if(s>0)l=Math.floor(l/s)*s,c=Math.ceil(c/s)*s
|
|
14615
14635
|
else{if(!(s<0))break
|
|
14616
14636
|
l=Math.ceil(l*s)/s,c=Math.floor(c*s)/s}i=s}return t},t}function aY(){var t=UK()(PK,PK)
|
|
@@ -14663,15 +14683,15 @@ i.font=`${n.toString()}px sans-serif`,i.fillStyle="#ffffff",i.textAlign="center"
|
|
|
14663
14683
|
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])
|
|
14664
14684
|
o[0]-=t,o[1]-=e
|
|
14665
14685
|
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 xY=["highlightedTags","canvasWidth","canvasHeight","originLocation","gridMinX","gridMaxX","gridMinY","gridMaxY","dies","maxCharacters","colorScale","colorScaleMode","dieLabelsHidden","dieLabelsSuffix","transform","hoverDie"]
|
|
14666
|
-
class CY extends
|
|
14686
|
+
class CY extends tE{constructor(t){super(xY),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 kY{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
|
|
14667
14687
|
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))
|
|
14668
14688
|
e&&n&&i&&Gq.isInt(e.type)&&32===e.type.bitWidth&&Gq.isInt(n.type)&&32===n.type.bitWidth&&Gq.isFloat(i.type)&&i.type.precision===vU.DOUBLE||(this.invalidDiesTableSchema=!0)}return!this.invalidDiesTableSchema}}
|
|
14669
14689
|
/**
|
|
14670
14690
|
* @license
|
|
14671
14691
|
* Copyright 2019 Google LLC
|
|
14672
14692
|
* SPDX-License-Identifier: Apache-2.0
|
|
14673
|
-
*/const SY=Symbol("Comlink.proxy"),_Y=Symbol("Comlink.endpoint"),IY=Symbol("Comlink.releaseProxy"),MY=Symbol("Comlink.finalizer"),$Y=Symbol("Comlink.thrown"),
|
|
14674
|
-
return AY(t,e),[n,[n]]},deserialize:t=>(t.start(),OY(t))}],["throw",{canHandle:t=>
|
|
14693
|
+
*/const SY=Symbol("Comlink.proxy"),_Y=Symbol("Comlink.endpoint"),IY=Symbol("Comlink.releaseProxy"),MY=Symbol("Comlink.finalizer"),$Y=Symbol("Comlink.thrown"),DY=t=>"object"==typeof t&&null!==t||"function"==typeof t,EY=new Map([["proxy",{canHandle:t=>DY(t)&&t[SY],serialize(t){const{port1:e,port2:n}=new MessageChannel
|
|
14694
|
+
return AY(t,e),[n,[n]]},deserialize:t=>(t.start(),OY(t))}],["throw",{canHandle:t=>DY(t)&&$Y in t,serialize({value:t}){let e
|
|
14675
14695
|
return e=t instanceof Error?{isError:!0,value:{message:t.message,name:t.name,stack:t.stack}}:{isError:!1,value:t},[e,[]]},deserialize(t){if(t.isError)throw Object.assign(new Error(t.value.message),t.value)
|
|
14676
14696
|
throw t.value}}]])
|
|
14677
14697
|
function AY(t,e=globalThis,n=["*"]){e.addEventListener("message",(function i(s){if(!s||!s.data)return
|
|
@@ -14714,8 +14734,8 @@ return function(t,e){const n=(NY.get(e)||0)+1
|
|
|
14714
14734
|
NY.set(e,n),LY&&LY.register(t,e,t)}(s,t),s}function PY(t){const e=t.map(HY)
|
|
14715
14735
|
return[e.map((t=>t[0])),(n=e.map((t=>t[1])),Array.prototype.concat.apply([],n))]
|
|
14716
14736
|
var n}const zY=new WeakMap
|
|
14717
|
-
function VY(t,e){return zY.set(t,e),t}function HY(t){for(const[e,n]of
|
|
14718
|
-
return[{type:"HANDLER",name:e,value:i},s]}return[{type:"RAW",value:t},zY.get(t)||[]]}function UY(t){switch(t.type){case"HANDLER":return
|
|
14737
|
+
function VY(t,e){return zY.set(t,e),t}function HY(t){for(const[e,n]of EY)if(n.canHandle(t)){const[i,s]=n.serialize(t)
|
|
14738
|
+
return[{type:"HANDLER",name:e,value:i},s]}return[{type:"RAW",value:t},zY.get(t)||[]]}function UY(t){switch(t.type){case"HANDLER":return EY.get(t.name).deserialize(t.value)
|
|
14719
14739
|
case"RAW":return t.value}}function qY(t,e,n){return new Promise((i=>{const s=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-")
|
|
14720
14740
|
t.addEventListener("message",(function e(n){n.data&&n.data.id&&n.data.id===s&&(t.removeEventListener("message",e),i(n.data))})),t.start&&t.start(),t.postMessage(Object.assign({id:s},e),n)}))}let jY
|
|
14721
14741
|
class WY{constructor(t){this.wafermap=t,this.minDieDim=100}async setupWafer(t){if(void 0===this.matrixRenderer){const{matrixRenderer:t}=await(async()=>{if(void 0===jY){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 return createProxy(ep, [], target);\n }\n function throwIfProxyReleased(isReleased) {\n if (isReleased) {\n throw new Error("Proxy has been released and is not useable");\n }\n }\n function releaseEndpoint(ep) {\n return requestResponseMessage(ep, {\n type: "RELEASE" /* MessageType.RELEASE */,\n }).then(() => {\n closeEndPoint(ep);\n });\n }\n const proxyCounter = new WeakMap();\n const proxyFinalizers = "FinalizationRegistry" in globalThis &&\n new FinalizationRegistry((ep) => {\n const newCount = (proxyCounter.get(ep) || 0) - 1;\n proxyCounter.set(ep, newCount);\n if (newCount === 0) {\n releaseEndpoint(ep);\n }\n });\n function registerProxy(proxy, ep) {\n const newCount = (proxyCounter.get(ep) || 0) + 1;\n proxyCounter.set(ep, newCount);\n if (proxyFinalizers) {\n proxyFinalizers.register(proxy, ep, proxy);\n }\n }\n function unregisterProxy(proxy) {\n if (proxyFinalizers) {\n proxyFinalizers.unregister(proxy);\n }\n }\n function createProxy(ep, path = [], target = function () { }) {\n let isProxyReleased = false;\n const proxy = new Proxy(target, {\n get(_target, prop) {\n throwIfProxyReleased(isProxyReleased);\n if (prop === releaseProxy) {\n return () => {\n unregisterProxy(proxy);\n releaseEndpoint(ep);\n isProxyReleased = true;\n };\n }\n if (prop === "then") {\n if (path.length === 0) {\n return { then: () => proxy };\n }\n const r = requestResponseMessage(ep, {\n type: "GET" /* MessageType.GET */,\n path: path.map((p) => p.toString()),\n }).then(fromWireValue);\n return r.then.bind(r);\n }\n return createProxy(ep, [...path, prop]);\n },\n set(_target, prop, rawValue) {\n throwIfProxyReleased(isProxyReleased);\n // FIXME: ES6 Proxy Handler `set` methods are supposed to return a\n // boolean. To show good will, we return true asynchronously ¯\\_(ツ)_/¯\n const [value, transferables] = toWireValue(rawValue);\n return requestResponseMessage(ep, {\n type: "SET" /* MessageType.SET */,\n path: [...path, prop].map((p) => p.toString()),\n value,\n }, transferables).then(fromWireValue);\n },\n apply(_target, _thisArg, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const last = path[path.length - 1];\n if (last === createEndpoint) {\n return requestResponseMessage(ep, {\n type: "ENDPOINT" /* MessageType.ENDPOINT */,\n }).then(fromWireValue);\n }\n // We just pretend that `bind()` didn’t happen.\n if (last === "bind") {\n return createProxy(ep, path.slice(0, -1));\n }\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(ep, {\n type: "APPLY" /* MessageType.APPLY */,\n path: path.map((p) => p.toString()),\n argumentList,\n }, transferables).then(fromWireValue);\n },\n construct(_target, rawArgumentList) {\n throwIfProxyReleased(isProxyReleased);\n const [argumentList, transferables] = processArguments(rawArgumentList);\n return requestResponseMessage(ep, {\n type: "CONSTRUCT" /* MessageType.CONSTRUCT */,\n path: path.map((p) => p.toString()),\n argumentList,\n }, transferables).then(fromWireValue);\n },\n });\n registerProxy(proxy, ep);\n return proxy;\n }\n function myFlat(arr) {\n return Array.prototype.concat.apply([], arr);\n }\n function processArguments(argumentList) {\n const processed = argumentList.map(toWireValue);\n return [processed.map((v) => v[0]), myFlat(processed.map((v) => v[1]))];\n }\n const transferCache = new WeakMap();\n function transfer(obj, transfers) {\n transferCache.set(obj, transfers);\n return obj;\n }\n function proxy(obj) {\n return Object.assign(obj, { [proxyMarker]: true });\n }\n function toWireValue(value) {\n for (const [name, handler] of transferHandlers) {\n if (handler.canHandle(value)) {\n const [serializedValue, transferables] = handler.serialize(value);\n return [\n {\n type: "HANDLER" /* WireValueType.HANDLER */,\n name,\n value: serializedValue,\n },\n transferables,\n ];\n }\n }\n return [\n {\n type: "RAW" /* WireValueType.RAW */,\n value,\n },\n transferCache.get(value) || [],\n ];\n }\n function fromWireValue(value) {\n switch (value.type) {\n case "HANDLER" /* WireValueType.HANDLER */:\n return transferHandlers.get(value.name).deserialize(value.value);\n case "RAW" /* WireValueType.RAW */:\n return value.value;\n }\n }\n function requestResponseMessage(ep, msg, transfers) {\n return new Promise((resolve) => {\n const id = generateUUID();\n ep.addEventListener("message", function l(ev) {\n if (!ev.data || !ev.data.id || ev.data.id !== id) {\n return;\n }\n ep.removeEventListener("message", l);\n resolve(ev.data);\n });\n if (ep.start) {\n ep.start();\n }\n ep.postMessage(Object.assign({ id }, msg), transfers);\n });\n }\n function generateUUID() {\n return new Array(4)\n .fill(0)\n .map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16))\n .join("-");\n }\n\n /**\n * MatrixRenderer class is meant to be used within a Web Worker context,\n * using Comlink to facilitate communication between the main thread and the worker.\n * The MatrixRenderer class manages a matrix of dies, once an instance of MatrixRenderer is created,\n * it is exposed to the main thread using Comlink\'s `expose` method.\n * This setup is used in the wafer-map component to perform heavy computational duties\n */\n class MatrixRenderer {\n constructor() {\n this.values = Float64Array.from([]);\n this.scaledColumnIndices = Float64Array.from([]);\n this.scaledRowIndices = Float64Array.from([]);\n this.columnIndicesPositions = Int32Array.from([]);\n this.colorIndices = Int32Array.from([]);\n this.colors = [];\n this.colorValues = Float64Array.from([]);\n this.outsideRangeDieColor = \'rgba(218,223,236,1)\';\n this.fontSizeFactor = 0.8;\n this.renderConfig = {\n dieDimensions: {\n width: 0,\n height: 0\n },\n margin: {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n verticalCoefficient: 1,\n horizontalCoefficient: 1,\n horizontalConstant: 0,\n verticalConstant: 0,\n gridMinX: 0,\n gridMaxX: 0,\n gridMinY: 0,\n gridMaxY: 0,\n labelsFontSize: 0,\n colorScale: [],\n dieLabelsSuffix: \'\',\n maxCharacters: 0\n };\n this.transformConfig = {\n transform: {\n k: 1,\n x: 0,\n y: 0\n },\n topLeftCanvasCorner: {\n x: 0,\n y: 0\n },\n bottomRightCanvasCorner: {\n x: 0,\n y: 0\n }\n };\n }\n setMatrixData(columnIndices, rowIndices, valuesBuffer) {\n const scaledColumnIndex = [];\n const columnPositions = [];\n const scaledRowIndices = [];\n const values = [];\n const colorIndices = [];\n let prevXIndex;\n let dieCount = 0;\n for (let i = 0; i < columnIndices.length; i++) {\n const xIndex = columnIndices[i];\n const yIndex = rowIndices[i];\n if (this.isDieInGrid(xIndex, yIndex)) {\n if (xIndex !== prevXIndex) {\n scaledColumnIndex.push(this.calculateHorizontalScaledIndices(xIndex));\n columnPositions.push(dieCount);\n prevXIndex = xIndex;\n }\n scaledRowIndices.push(this.calculateVerticalScaledIndices(yIndex));\n const value = valuesBuffer[i];\n values.push(value);\n colorIndices.push(this.findColorIndex(value));\n dieCount += 1;\n }\n }\n this.scaledColumnIndices = Float64Array.from(scaledColumnIndex);\n this.columnIndicesPositions = Int32Array.from(columnPositions);\n this.scaledRowIndices = Float64Array.from(scaledRowIndices);\n this.values = Float64Array.from(values);\n this.colorIndices = Int32Array.from(colorIndices);\n }\n setRenderConfig(renderConfig) {\n this.renderConfig = renderConfig;\n this.colors = renderConfig.colorScale.map(marker => marker.color);\n this.colorValues = Float64Array.from(renderConfig.colorScale.map(marker => marker.value));\n }\n setTransformConfig(transformData) {\n this.transformConfig = transformData;\n }\n setCanvas(canvas) {\n this.canvas = canvas;\n this.context = canvas.getContext(\'2d\');\n }\n scaleCanvas() {\n this.context.translate(this.transformConfig.transform.x, this.transformConfig.transform.y);\n this.context.scale(this.transformConfig.transform.k, this.transformConfig.transform.k);\n }\n setCanvasDimensions(data) {\n this.canvas.width = data.width;\n this.canvas.height = data.height;\n }\n getCanvasDimensions() {\n return {\n width: this.canvas.width,\n height: this.canvas.height\n };\n }\n clearCanvas() {\n this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);\n }\n drawWafer() {\n this.context.restore();\n this.context.save();\n this.clearCanvas();\n this.scaleCanvas();\n for (let i = 0; i < this.scaledColumnIndices.length; i++) {\n const scaledX = this.scaledColumnIndices[i];\n if (!(scaledX >= this.transformConfig.topLeftCanvasCorner.x\n && scaledX < this.transformConfig.bottomRightCanvasCorner.x)) {\n continue;\n }\n // columnIndexPositions is used to get chunks to determine the start and end index of the column, it looks something like [0, 1, 4, 9, 12]\n // This means that the first column has a start index of 0 and an end index of 1, the second column has a start index of 1 and an end index of 4, and so on\n // scaledRowIndices is used when we reach the end of the columnIndexPositions, when columnIndexPositions is [0, 1, 4, 9, 12], scaledRowIndices is 13\n const columnEndIndex = this.columnIndicesPositions[i + 1] !== undefined\n ? this.columnIndicesPositions[i + 1]\n : this.scaledRowIndices.length;\n for (let columnStartIndex = this.columnIndicesPositions[i]; columnStartIndex < columnEndIndex; columnStartIndex++) {\n const scaledY = this.scaledRowIndices[columnStartIndex];\n if (!(scaledY >= this.transformConfig.topLeftCanvasCorner.y\n && scaledY < this.transformConfig.bottomRightCanvasCorner.y)) {\n continue;\n }\n // Fill style is temporary green for all dies, will be replaced with a color based on the value of the die in a future implementation\n this.context.fillStyle = this.colors[this.colorIndices[columnStartIndex]]\n ?? this.outsideRangeDieColor;\n this.context.fillRect(scaledX, scaledY, this.renderConfig.dieDimensions.width, this.renderConfig.dieDimensions.height);\n }\n }\n }\n drawText() {\n this.context.font = `${this.renderConfig.labelsFontSize.toString()}px sans-serif`;\n this.context.fillStyle = \'#ffffff\';\n this.context.textAlign = \'center\';\n this.context.lineCap = \'butt\';\n const approximateTextHeight = this.context.measureText(\'M\');\n for (let i = 0; i < this.scaledColumnIndices.length; i++) {\n const scaledX = this.scaledColumnIndices[i];\n if (!(scaledX >= this.transformConfig.topLeftCanvasCorner.x\n && scaledX < this.transformConfig.bottomRightCanvasCorner.x)) {\n continue;\n }\n // columnIndexPositions is used to get chunks to determine the start and end index of the column, it looks something like [0, 1, 4, 9, 12]\n // This means that the first column has a start index of 0 and an end index of 1, the second column has a start index of 1 and an end index of 4, and so on\n // scaledRowIndices is used when we reach the end of the columnIndexPositions, when columnIndexPositions is [0, 1, 4, 9, 12], scaledRowIndices is 13\n const columnEndIndex = this.columnIndicesPositions[i + 1] !== undefined\n ? this.columnIndicesPositions[i + 1]\n : this.scaledRowIndices.length;\n for (let columnStartIndex = this.columnIndicesPositions[i]; columnStartIndex < columnEndIndex; columnStartIndex++) {\n const scaledY = this.scaledRowIndices[columnStartIndex];\n if (!(scaledY >= this.transformConfig.topLeftCanvasCorner.y\n && scaledY < this.transformConfig.bottomRightCanvasCorner.y)) {\n continue;\n }\n let label = `${this.values[columnStartIndex] || \'NaN\'}${this.renderConfig.dieLabelsSuffix}`;\n if (label.length >= this.renderConfig.maxCharacters) {\n label = `${label.substring(0, this.renderConfig.maxCharacters)}…`;\n }\n this.context.fillText(label, scaledX + this.renderConfig.dieDimensions.width / 2, scaledY\n + this.renderConfig.dieDimensions.height / 2\n + approximateTextHeight.width / 2, this.renderConfig.dieDimensions.width * this.fontSizeFactor);\n }\n }\n }\n isDieInGrid(x, y) {\n return (x >= this.renderConfig.gridMinX\n && x <= this.renderConfig.gridMaxX\n && y >= this.renderConfig.gridMinY\n && y <= this.renderConfig.gridMaxY);\n }\n calculateHorizontalScaledIndices(columnIndex) {\n return (this.renderConfig.horizontalCoefficient * columnIndex\n + this.renderConfig.horizontalConstant\n + this.renderConfig.margin.left);\n }\n calculateVerticalScaledIndices(rowIndex) {\n return (this.renderConfig.verticalCoefficient * rowIndex\n + this.renderConfig.verticalConstant\n + this.renderConfig.margin.top);\n }\n findColorIndex(value) {\n let index = -1;\n if (this.colorValues.length === 0 || this.colorValues[0] >= value) {\n return index;\n }\n for (let i = 0; i < this.colorValues.length; i++) {\n if (value <= this.colorValues[i]) {\n index = i;\n break;\n }\n }\n return index;\n }\n }\n expose(MatrixRenderer);\n\n exports.MatrixRenderer = MatrixRenderer;\n\n return exports;\n\n})({});\n'],{type:"text/javascript"})
|