@ni/nimble-components 11.10.6 → 11.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-components-bundle.js +75 -0
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +1074 -1069
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/icon-base/icon-metadata.js +15 -0
- package/dist/esm/icon-base/icon-metadata.js.map +1 -1
- package/dist/esm/icons/all-icons.d.ts +5 -0
- package/dist/esm/icons/all-icons.js +5 -0
- package/dist/esm/icons/all-icons.js.map +1 -1
- package/dist/esm/icons/book-magnifying-glass.d.ts +12 -0
- package/dist/esm/icons/book-magnifying-glass.js +14 -0
- package/dist/esm/icons/book-magnifying-glass.js.map +1 -0
- package/dist/esm/icons/circle-filled.d.ts +12 -0
- package/dist/esm/icons/circle-filled.js +14 -0
- package/dist/esm/icons/circle-filled.js.map +1 -0
- package/dist/esm/icons/cloud.d.ts +12 -0
- package/dist/esm/icons/cloud.js +14 -0
- package/dist/esm/icons/cloud.js.map +1 -0
- package/dist/esm/icons/share-nodes.d.ts +12 -0
- package/dist/esm/icons/share-nodes.js +14 -0
- package/dist/esm/icons/share-nodes.js.map +1 -0
- package/dist/esm/icons/three-vertical-lines.d.ts +12 -0
- package/dist/esm/icons/three-vertical-lines.js +14 -0
- package/dist/esm/icons/three-vertical-lines.js.map +1 -0
- package/package.json +2 -2
|
@@ -7,244 +7,244 @@ try{return new Function("return this")()}catch(t){return{}}}()
|
|
|
7
7
|
void 0===t.trustedTypes&&(t.trustedTypes={createPolicy:(t,e)=>e})
|
|
8
8
|
const e={configurable:!1,enumerable:!1,writable:!1}
|
|
9
9
|
void 0===t.FAST&&Reflect.defineProperty(t,"FAST",Object.assign({value:Object.create(null)},e))
|
|
10
|
-
const
|
|
11
|
-
if(void 0===
|
|
12
|
-
Reflect.defineProperty(
|
|
13
|
-
return void 0===
|
|
14
|
-
function
|
|
15
|
-
for(;t<e.length;)if(o(e[t]),t++,t>1024){for(let
|
|
16
|
-
e.length-=t,t=0}e.length=0}return Object.freeze({enqueue:function(
|
|
10
|
+
const s=t.FAST
|
|
11
|
+
if(void 0===s.getById){const t=Object.create(null)
|
|
12
|
+
Reflect.defineProperty(s,"getById",Object.assign({value(e,s){let i=t[e]
|
|
13
|
+
return void 0===i&&(i=s?t[e]=s():null),i}},e))}const i=Object.freeze([]),o=t.FAST.getById(1,(()=>{const e=[],s=[]
|
|
14
|
+
function i(){if(s.length)throw s.shift()}function o(t){try{t.call()}catch(t){s.push(t),setTimeout(i,0)}}function n(){let t=0
|
|
15
|
+
for(;t<e.length;)if(o(e[t]),t++,t>1024){for(let s=0,i=e.length-t;s<i;s++)e[s]=e[s+t]
|
|
16
|
+
e.length-=t,t=0}e.length=0}return Object.freeze({enqueue:function(s){e.length<1&&t.requestAnimationFrame(n),e.push(s)},process:n})})),n=t.trustedTypes.createPolicy("fast-html",{createHTML:t=>t})
|
|
17
17
|
let r=n
|
|
18
18
|
const a=`fast-${Math.random().toString(36).substring(2,8)}`,l=`${a}{`,c=`}${a}`,h=Object.freeze({supportsAdoptedStyleSheets:Array.isArray(document.adoptedStyleSheets)&&"replace"in CSSStyleSheet.prototype,setHTMLPolicy(t){if(r!==n)throw new Error("The HTML policy can only be set once.")
|
|
19
|
-
r=t},createHTML:t=>r.createHTML(t),isMarker:t=>t&&8===t.nodeType&&t.data.startsWith(a),extractDirectiveIndexFromMarker:t=>parseInt(t.data.replace(`${a}:`,"")),createInterpolationPlaceholder:t=>`${l}${t}${c}`,createCustomAttributePlaceholder(t,e){return`${t}="${this.createInterpolationPlaceholder(e)}"`},createBlockPlaceholder:t=>`\x3c!--${a}:${t}--\x3e`,queueUpdate:o.enqueue,processUpdates:o.process,nextUpdate:()=>new Promise(o.enqueue),setAttribute(t,e,
|
|
19
|
+
r=t},createHTML:t=>r.createHTML(t),isMarker:t=>t&&8===t.nodeType&&t.data.startsWith(a),extractDirectiveIndexFromMarker:t=>parseInt(t.data.replace(`${a}:`,"")),createInterpolationPlaceholder:t=>`${l}${t}${c}`,createCustomAttributePlaceholder(t,e){return`${t}="${this.createInterpolationPlaceholder(e)}"`},createBlockPlaceholder:t=>`\x3c!--${a}:${t}--\x3e`,queueUpdate:o.enqueue,processUpdates:o.process,nextUpdate:()=>new Promise(o.enqueue),setAttribute(t,e,s){null==s?t.removeAttribute(e):t.setAttribute(e,s)},setBooleanAttribute(t,e,s){s?t.setAttribute(e,""):t.removeAttribute(e)},removeChildNodes(t){for(let e=t.firstChild;null!==e;e=t.firstChild)t.removeChild(e)},createTemplateWalker:t=>document.createTreeWalker(t,133,null,!1)})
|
|
20
20
|
class d{constructor(t,e){this.sub1=void 0,this.sub2=void 0,this.spillover=void 0,this.source=t,this.sub1=e}has(t){return void 0===this.spillover?this.sub1===t||this.sub2===t:-1!==this.spillover.indexOf(t)}subscribe(t){const e=this.spillover
|
|
21
21
|
if(void 0===e){if(this.has(t))return
|
|
22
22
|
if(void 0===this.sub1)return void(this.sub1=t)
|
|
23
23
|
if(void 0===this.sub2)return void(this.sub2=t)
|
|
24
24
|
this.spillover=[this.sub1,this.sub2,t],this.sub1=void 0,this.sub2=void 0}else{-1===e.indexOf(t)&&e.push(t)}}unsubscribe(t){const e=this.spillover
|
|
25
25
|
if(void 0===e)this.sub1===t?this.sub1=void 0:this.sub2===t&&(this.sub2=void 0)
|
|
26
|
-
else{const
|
|
27
|
-
if(void 0===e){const e=this.sub1,
|
|
28
|
-
void 0!==e&&e.handleChange(
|
|
29
|
-
const
|
|
30
|
-
void 0!==
|
|
31
|
-
if(e){let
|
|
32
|
-
void 0===
|
|
33
|
-
if(e){const
|
|
34
|
-
void 0!==
|
|
26
|
+
else{const s=e.indexOf(t);-1!==s&&e.splice(s,1)}}notify(t){const e=this.spillover,s=this.source
|
|
27
|
+
if(void 0===e){const e=this.sub1,i=this.sub2
|
|
28
|
+
void 0!==e&&e.handleChange(s,t),void 0!==i&&i.handleChange(s,t)}else for(let i=0,o=e.length;i<o;++i)e[i].handleChange(s,t)}}class u{constructor(t){this.subscribers={},this.sourceSubscribers=null,this.source=t}notify(t){var e
|
|
29
|
+
const s=this.subscribers[t]
|
|
30
|
+
void 0!==s&&s.notify(t),null===(e=this.sourceSubscribers)||void 0===e||e.notify(t)}subscribe(t,e){var s
|
|
31
|
+
if(e){let s=this.subscribers[e]
|
|
32
|
+
void 0===s&&(this.subscribers[e]=s=new d(this.source)),s.subscribe(t)}else this.sourceSubscribers=null!==(s=this.sourceSubscribers)&&void 0!==s?s:new d(this.source),this.sourceSubscribers.subscribe(t)}unsubscribe(t,e){var s
|
|
33
|
+
if(e){const s=this.subscribers[e]
|
|
34
|
+
void 0!==s&&s.unsubscribe(t)}else null===(s=this.sourceSubscribers)||void 0===s||s.unsubscribe(t)}}const p=s.getById(2,(()=>{const t=/(:|&&|\|\||if)/,e=new WeakMap,s=new WeakMap,i=h.queueUpdate
|
|
35
35
|
let o,n=t=>{throw new Error("Must call enableArrayObservation before observing arrays.")}
|
|
36
|
-
function r(t){let
|
|
37
|
-
return void 0===
|
|
38
|
-
if(void 0===e){let
|
|
39
|
-
for(;void 0===e&&null!==
|
|
40
|
-
e=void 0===e?[]:e.slice(0),
|
|
41
|
-
if(
|
|
36
|
+
function r(t){let s=t.$fastController||e.get(t)
|
|
37
|
+
return void 0===s&&(Array.isArray(t)?s=n(t):e.set(t,s=new u(t))),s}function a(t){let e=s.get(t)
|
|
38
|
+
if(void 0===e){let i=Reflect.getPrototypeOf(t)
|
|
39
|
+
for(;void 0===e&&null!==i;)e=s.get(i),i=Reflect.getPrototypeOf(i)
|
|
40
|
+
e=void 0===e?[]:e.slice(0),s.set(t,e)}return e}class l{constructor(t){this.name=t,this.field=`_${t}`,this.callback=`${t}Changed`}getValue(t){return void 0!==o&&o.watch(t,this.name),t[this.field]}setValue(t,e){const s=this.field,i=t[s]
|
|
41
|
+
if(i!==e){t[s]=e
|
|
42
42
|
const o=t[this.callback]
|
|
43
|
-
"function"==typeof o&&o.call(t,
|
|
44
|
-
const
|
|
43
|
+
"function"==typeof o&&o.call(t,i,e),r(t).notify(this.name)}}}class c extends d{constructor(t,e,s=!1){super(t,e),this.binding=t,this.isVolatileBinding=s,this.needsRefresh=!0,this.needsQueue=!0,this.first=this,this.last=null,this.propertySource=void 0,this.propertyName=void 0,this.notifier=void 0,this.next=void 0}observe(t,e){this.needsRefresh&&null!==this.last&&this.disconnect()
|
|
44
|
+
const s=o
|
|
45
45
|
o=this.needsRefresh?this:void 0,this.needsRefresh=this.isVolatileBinding
|
|
46
|
-
const
|
|
47
|
-
return o=i
|
|
46
|
+
const i=this.binding(t,e)
|
|
47
|
+
return o=s,i}disconnect(){if(null!==this.last){let t=this.first
|
|
48
48
|
for(;void 0!==t;)t.notifier.unsubscribe(this,t.propertyName),t=t.next
|
|
49
|
-
this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(t,e){const
|
|
50
|
-
if(n.propertySource=t,n.propertyName=e,n.notifier=
|
|
51
|
-
o=void 0,e=
|
|
49
|
+
this.last=null,this.needsRefresh=this.needsQueue=!0}}watch(t,e){const s=this.last,i=r(t),n=null===s?this.first:{}
|
|
50
|
+
if(n.propertySource=t,n.propertyName=e,n.notifier=i,i.subscribe(this,e),null!==s){if(!this.needsRefresh){let e
|
|
51
|
+
o=void 0,e=s.propertySource[s.propertyName],o=this,t===e&&(this.needsRefresh=!0)}s.next=n}this.last=n}handleChange(){this.needsQueue&&(this.needsQueue=!1,i(this))}call(){null!==this.last&&(this.needsQueue=!0,this.notify(this))}records(){let t=this.first
|
|
52
52
|
return{next:()=>{const e=t
|
|
53
|
-
return void 0===e?{value:void 0,done:!0}:(t=t.next,{value:e,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(t){n=t},getNotifier:r,track(t,e){void 0!==o&&o.watch(t,e)},trackVolatile(){void 0!==o&&(o.needsRefresh=!0)},notify(t,e){r(t).notify(e)},defineProperty(t,e){"string"==typeof e&&(e=new l(e)),a(t).push(e),Reflect.defineProperty(t,e.name,{enumerable:!0,get:function(){return e.getValue(this)},set:function(t){e.setValue(this,t)}})},getAccessors:a,binding(t,e,
|
|
54
|
-
function v(t,e){p.defineProperty(t,e)}const g=
|
|
53
|
+
return void 0===e?{value:void 0,done:!0}:(t=t.next,{value:e,done:!1})},[Symbol.iterator]:function(){return this}}}}return Object.freeze({setArrayObserverFactory(t){n=t},getNotifier:r,track(t,e){void 0!==o&&o.watch(t,e)},trackVolatile(){void 0!==o&&(o.needsRefresh=!0)},notify(t,e){r(t).notify(e)},defineProperty(t,e){"string"==typeof e&&(e=new l(e)),a(t).push(e),Reflect.defineProperty(t,e.name,{enumerable:!0,get:function(){return e.getValue(this)},set:function(t){e.setValue(this,t)}})},getAccessors:a,binding(t,e,s=this.isVolatileBinding(t)){return new c(t,e,s)},isVolatileBinding:e=>t.test(e.toString())})}))
|
|
54
|
+
function v(t,e){p.defineProperty(t,e)}const g=s.getById(3,(()=>{let t=null
|
|
55
55
|
return{get:()=>t,set(e){t=e}}}))
|
|
56
56
|
class m{constructor(){this.index=0,this.length=0,this.parent=null,this.parentContext=null}get event(){return g.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){g.set(t)}}p.defineProperty(m.prototype,"index"),p.defineProperty(m.prototype,"length")
|
|
57
57
|
const f=Object.seal(new m)
|
|
58
|
-
class b{constructor(){this.targetIndex=0}}class w extends b{constructor(){super(...arguments),this.createPlaceholder=h.createInterpolationPlaceholder}}class x extends b{constructor(t,e,
|
|
58
|
+
class b{constructor(){this.targetIndex=0}}class w extends b{constructor(){super(...arguments),this.createPlaceholder=h.createInterpolationPlaceholder}}class x extends b{constructor(t,e,s){super(),this.name=t,this.behavior=e,this.options=s}createPlaceholder(t){return h.createCustomAttributePlaceholder(this.name,t)}createBehavior(t){return new this.behavior(t,this.options)}}function y(t,e){this.source=t,this.context=e,null===this.bindingObserver&&(this.bindingObserver=p.binding(this.binding,this,this.isBindingVolatile)),this.updateTarget(this.bindingObserver.observe(t,e))}function $(t,e){this.source=t,this.context=e,this.target.addEventListener(this.targetName,this)}function C(){this.bindingObserver.disconnect(),this.source=null,this.context=null}function k(){this.bindingObserver.disconnect(),this.source=null,this.context=null
|
|
59
59
|
const t=this.target.$fastView
|
|
60
60
|
void 0!==t&&t.isComposed&&(t.unbind(),t.needsBindOnly=!0)}function _(){this.target.removeEventListener(this.targetName,this),this.source=null,this.context=null}function z(t){h.setAttribute(this.target,this.targetName,t)}function I(t){h.setBooleanAttribute(this.target,this.targetName,t)}function O(t){if(null==t&&(t=""),t.create){this.target.textContent=""
|
|
61
61
|
let e=this.target.$fastView
|
|
62
62
|
void 0===e?e=t.create():this.target.$fastTemplate!==t&&(e.isComposed&&(e.remove(),e.unbind()),e=t.create()),e.isComposed?e.needsBindOnly&&(e.needsBindOnly=!1,e.bind(this.source,this.context)):(e.isComposed=!0,e.bind(this.source,this.context),e.insertBefore(this.target),this.target.$fastView=e,this.target.$fastTemplate=t)}else{const e=this.target.$fastView
|
|
63
|
-
void 0!==e&&e.isComposed&&(e.isComposed=!1,e.remove(),e.needsBindOnly?e.needsBindOnly=!1:e.unbind()),this.target.textContent=t}}function A(t){this.target[this.targetName]=t}function S(t){const e=this.classVersions||Object.create(null),
|
|
64
|
-
let
|
|
63
|
+
void 0!==e&&e.isComposed&&(e.isComposed=!1,e.remove(),e.needsBindOnly?e.needsBindOnly=!1:e.unbind()),this.target.textContent=t}}function A(t){this.target[this.targetName]=t}function S(t){const e=this.classVersions||Object.create(null),s=this.target
|
|
64
|
+
let i=this.version||0
|
|
65
65
|
if(null!=t&&t.length){const o=t.split(/\s+/)
|
|
66
66
|
for(let t=0,n=o.length;t<n;++t){const n=o[t]
|
|
67
|
-
""!==n&&(e[n]=s
|
|
68
|
-
for(const t in e)e[t]===s
|
|
69
|
-
this.binding=(e,
|
|
67
|
+
""!==n&&(e[n]=i,s.classList.add(n))}}if(this.classVersions=e,this.version=i+1,0!==i){i-=1
|
|
68
|
+
for(const t in e)e[t]===i&&s.classList.remove(t)}}class E extends w{constructor(t){super(),this.binding=t,this.bind=y,this.unbind=C,this.updateTarget=z,this.isBindingVolatile=p.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=A,"innerHTML"===this.cleanedTargetName){const t=this.binding
|
|
69
|
+
this.binding=(e,s)=>h.createHTML(t(e,s))}break
|
|
70
70
|
case"?":this.cleanedTargetName=t.substr(1),this.updateTarget=I
|
|
71
71
|
break
|
|
72
72
|
case"@":this.cleanedTargetName=t.substr(1),this.bind=$,this.unbind=_
|
|
73
73
|
break
|
|
74
|
-
default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=S)}}targetAtContent(){this.updateTarget=O,this.unbind=k}createBehavior(t){return new H(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}}class H{constructor(t,e,i,
|
|
74
|
+
default:this.cleanedTargetName=t,"class"===t&&(this.updateTarget=S)}}targetAtContent(){this.updateTarget=O,this.unbind=k}createBehavior(t){return new H(t,this.binding,this.isBindingVolatile,this.bind,this.unbind,this.updateTarget,this.cleanedTargetName)}}class H{constructor(t,e,s,i,o,n,r){this.source=null,this.context=null,this.bindingObserver=null,this.target=t,this.binding=e,this.isBindingVolatile=s,this.bind=i,this.unbind=o,this.updateTarget=n,this.targetName=r}handleChange(){this.updateTarget(this.bindingObserver.observe(this.source,this.context))}handleEvent(t){m.setEvent(t)
|
|
75
75
|
const e=this.binding(this.source,this.context)
|
|
76
76
|
m.setEvent(null),!0!==e&&t.preventDefault()}}let M=null
|
|
77
77
|
class V{addFactory(t){t.targetIndex=this.targetIndex,this.behaviorFactories.push(t)}captureContentBinding(t){t.targetAtContent(),this.addFactory(t)}reset(){this.behaviorFactories=[],this.targetIndex=-1}release(){M=this}static borrow(t){const e=M||new V
|
|
78
78
|
return e.directives=t,e.reset(),M=null,e}}function L(t){if(1===t.length)return t[0]
|
|
79
79
|
let e
|
|
80
|
-
const
|
|
81
|
-
for(let n=0;n<
|
|
80
|
+
const s=t.length,i=t.map((t=>"string"==typeof t?()=>t:(e=t.targetName||e,t.binding))),o=new E(((t,e)=>{let o=""
|
|
81
|
+
for(let n=0;n<s;++n)o+=i[n](t,e)
|
|
82
82
|
return o}))
|
|
83
83
|
return o.targetName=e,o}const T=c.length
|
|
84
|
-
function P(t,e){const
|
|
85
|
-
if(1===
|
|
86
|
-
const
|
|
87
|
-
for(let e=0,o=
|
|
84
|
+
function P(t,e){const s=e.split(l)
|
|
85
|
+
if(1===s.length)return null
|
|
86
|
+
const i=[]
|
|
87
|
+
for(let e=0,o=s.length;e<o;++e){const o=s[e],n=o.indexOf(c)
|
|
88
88
|
let r
|
|
89
89
|
if(-1===n)r=o
|
|
90
90
|
else{const e=parseInt(o.substring(0,n))
|
|
91
|
-
|
|
92
|
-
for(let o=0,n=
|
|
91
|
+
i.push(t.directives[e]),r=o.substring(n+T)}""!==r&&i.push(r)}return i}function R(t,e,s=!1){const i=e.attributes
|
|
92
|
+
for(let o=0,n=i.length;o<n;++o){const r=i[o],a=r.value,l=P(t,a)
|
|
93
93
|
let c=null
|
|
94
|
-
null===l?
|
|
95
|
-
if(null!==
|
|
96
|
-
for(let n=0,r=
|
|
97
|
-
"string"==typeof r?a.textContent=r:(a.textContent=" ",t.captureContentBinding(r)),o=a,t.targetIndex++,a!==e&&
|
|
98
|
-
class
|
|
99
|
-
else{const e=t.parentNode,
|
|
100
|
-
let
|
|
101
|
-
for(;o!==
|
|
102
|
-
e.insertBefore(
|
|
103
|
-
let i
|
|
104
|
-
for(;
|
|
94
|
+
null===l?s&&(c=new E((()=>a)),c.targetName=r.name):c=L(l),null!==c&&(e.removeAttributeNode(r),o--,n--,t.addFactory(c))}}function D(t,e,s){const i=P(t,e.textContent)
|
|
95
|
+
if(null!==i){let o=e
|
|
96
|
+
for(let n=0,r=i.length;n<r;++n){const r=i[n],a=0===n?e:o.parentNode.insertBefore(document.createTextNode(""),o.nextSibling)
|
|
97
|
+
"string"==typeof r?a.textContent=r:(a.textContent=" ",t.captureContentBinding(r)),o=a,t.targetIndex++,a!==e&&s.nextNode()}t.targetIndex--}}const B=document.createRange()
|
|
98
|
+
class F{constructor(t,e){this.fragment=t,this.behaviors=e,this.source=null,this.context=null,this.firstChild=t.firstChild,this.lastChild=t.lastChild}appendTo(t){t.appendChild(this.fragment)}insertBefore(t){if(this.fragment.hasChildNodes())t.parentNode.insertBefore(this.fragment,t)
|
|
99
|
+
else{const e=t.parentNode,s=this.lastChild
|
|
100
|
+
let i,o=this.firstChild
|
|
101
|
+
for(;o!==s;)i=o.nextSibling,e.insertBefore(o,t),o=i
|
|
102
|
+
e.insertBefore(s,t)}}remove(){const t=this.fragment,e=this.lastChild
|
|
103
|
+
let s,i=this.firstChild
|
|
104
|
+
for(;i!==e;)s=i.nextSibling,t.appendChild(i),i=s
|
|
105
105
|
t.appendChild(e)}dispose(){const t=this.firstChild.parentNode,e=this.lastChild
|
|
106
|
-
let i
|
|
107
|
-
for(;
|
|
106
|
+
let s,i=this.firstChild
|
|
107
|
+
for(;i!==e;)s=i.nextSibling,t.removeChild(i),i=s
|
|
108
108
|
t.removeChild(e)
|
|
109
109
|
const o=this.behaviors,n=this.source
|
|
110
|
-
for(let t=0,e=o.length;t<e;++t)o[t].unbind(n)}bind(t,e){const
|
|
111
|
-
if(this.source!==t)if(null!==this.source){const
|
|
110
|
+
for(let t=0,e=o.length;t<e;++t)o[t].unbind(n)}bind(t,e){const s=this.behaviors
|
|
111
|
+
if(this.source!==t)if(null!==this.source){const i=this.source
|
|
112
112
|
this.source=t,this.context=e
|
|
113
|
-
for(let o=0,n=
|
|
114
|
-
n.unbind(
|
|
115
|
-
for(let
|
|
113
|
+
for(let o=0,n=s.length;o<n;++o){const n=s[o]
|
|
114
|
+
n.unbind(i),n.bind(t,e)}}else{this.source=t,this.context=e
|
|
115
|
+
for(let i=0,o=s.length;i<o;++i)s[i].bind(t,e)}}unbind(){if(null===this.source)return
|
|
116
116
|
const t=this.behaviors,e=this.source
|
|
117
|
-
for(let
|
|
118
|
-
this.source=null}static disposeContiguousBatch(t){if(0!==t.length){
|
|
119
|
-
for(let e=0,
|
|
120
|
-
for(let t=0,e=
|
|
117
|
+
for(let s=0,i=t.length;s<i;++s)t[s].unbind(e)
|
|
118
|
+
this.source=null}static disposeContiguousBatch(t){if(0!==t.length){B.setStartBefore(t[0].firstChild),B.setEndAfter(t[t.length-1].lastChild),B.deleteContents()
|
|
119
|
+
for(let e=0,s=t.length;e<s;++e){const s=t[e],i=s.behaviors,o=s.source
|
|
120
|
+
for(let t=0,e=i.length;t<e;++t)i[t].unbind(o)}}}}class N{constructor(t,e){this.behaviorCount=0,this.hasHostBehaviors=!1,this.fragment=null,this.targetOffset=0,this.viewBehaviorFactories=null,this.hostBehaviorFactories=null,this.html=t,this.directives=e}create(t){if(null===this.fragment){let t
|
|
121
121
|
const e=this.html
|
|
122
122
|
if("string"==typeof e){t=document.createElement("template"),t.innerHTML=h.createHTML(e)
|
|
123
|
-
const
|
|
124
|
-
null!==
|
|
125
|
-
const
|
|
126
|
-
document.adoptNode(
|
|
127
|
-
const
|
|
128
|
-
R(
|
|
129
|
-
const o=
|
|
130
|
-
|
|
131
|
-
const n=h.createTemplateWalker(
|
|
123
|
+
const s=t.content.firstElementChild
|
|
124
|
+
null!==s&&"TEMPLATE"===s.tagName&&(t=s)}else t=e
|
|
125
|
+
const s=function(t,e){const s=t.content
|
|
126
|
+
document.adoptNode(s)
|
|
127
|
+
const i=V.borrow(e)
|
|
128
|
+
R(i,t,!0)
|
|
129
|
+
const o=i.behaviorFactories
|
|
130
|
+
i.reset()
|
|
131
|
+
const n=h.createTemplateWalker(s)
|
|
132
132
|
let r
|
|
133
|
-
for(;r=n.nextNode();)switch(
|
|
133
|
+
for(;r=n.nextNode();)switch(i.targetIndex++,r.nodeType){case 1:R(i,r)
|
|
134
134
|
break
|
|
135
|
-
case 3:D(
|
|
135
|
+
case 3:D(i,r,n)
|
|
136
136
|
break
|
|
137
|
-
case 8:h.isMarker(r)&&
|
|
138
|
-
const l=
|
|
139
|
-
return
|
|
140
|
-
this.fragment=
|
|
137
|
+
case 8:h.isMarker(r)&&i.addFactory(e[h.extractDirectiveIndexFromMarker(r)])}let a=0;(h.isMarker(s.firstChild)||1===s.childNodes.length&&e.length)&&(s.insertBefore(document.createComment(""),s.firstChild),a=-1)
|
|
138
|
+
const l=i.behaviorFactories
|
|
139
|
+
return i.release(),{fragment:s,viewBehaviorFactories:l,hostBehaviorFactories:o,targetOffset:a}}(t,this.directives)
|
|
140
|
+
this.fragment=s.fragment,this.viewBehaviorFactories=s.viewBehaviorFactories,this.hostBehaviorFactories=s.hostBehaviorFactories,this.targetOffset=s.targetOffset,this.behaviorCount=this.viewBehaviorFactories.length+this.hostBehaviorFactories.length,this.hasHostBehaviors=this.hostBehaviorFactories.length>0}const e=this.fragment.cloneNode(!0),s=this.viewBehaviorFactories,i=new Array(this.behaviorCount),o=h.createTemplateWalker(e)
|
|
141
141
|
let n=0,r=this.targetOffset,a=o.nextNode()
|
|
142
|
-
for(let t=
|
|
143
|
-
for(;null!==a;){if(r===e){
|
|
142
|
+
for(let t=s.length;n<t;++n){const t=s[n],e=t.targetIndex
|
|
143
|
+
for(;null!==a;){if(r===e){i[n]=t.createBehavior(a)
|
|
144
144
|
break}a=o.nextNode(),r++}}if(this.hasHostBehaviors){const e=this.hostBehaviorFactories
|
|
145
|
-
for(let
|
|
146
|
-
const
|
|
147
|
-
return
|
|
148
|
-
function q(t,...e){const
|
|
149
|
-
let
|
|
145
|
+
for(let s=0,o=e.length;s<o;++s,++n)i[n]=e[s].createBehavior(t)}return new F(e,i)}render(t,e,s){"string"==typeof e&&(e=document.getElementById(e)),void 0===s&&(s=e)
|
|
146
|
+
const i=this.create(s)
|
|
147
|
+
return i.bind(t,f),i.appendTo(e),i}}const j=/([ \x09\x0a\x0c\x0d])([^\0-\x1F\x7F-\x9F "'>=/]+)([ \x09\x0a\x0c\x0d]*=[ \x09\x0a\x0c\x0d]*(?:[^ \x09\x0a\x0c\x0d"'`<>=]*|"[^"]*|'[^']*))$/
|
|
148
|
+
function q(t,...e){const s=[]
|
|
149
|
+
let i=""
|
|
150
150
|
for(let o=0,n=t.length-1;o<n;++o){const n=t[o]
|
|
151
151
|
let r=e[o]
|
|
152
|
-
if(
|
|
152
|
+
if(i+=n,r instanceof N){const t=r
|
|
153
153
|
r=()=>t}if("function"==typeof r&&(r=new E(r)),r instanceof w){const t=j.exec(n)
|
|
154
|
-
null!==t&&(r.targetName=t[2])}r instanceof b?(
|
|
154
|
+
null!==t&&(r.targetName=t[2])}r instanceof b?(i+=r.createPlaceholder(s.length),s.push(r)):i+=r}return i+=t[t.length-1],new N(i,s)}class U{constructor(){this.targets=new WeakSet}addStylesTo(t){this.targets.add(t)}removeStylesFrom(t){this.targets.delete(t)}isAttachedTo(t){return this.targets.has(t)}withBehaviors(...t){return this.behaviors=null===this.behaviors?t:this.behaviors.concat(t),this}}function K(t){return t.map((t=>t instanceof U?K(t.styles):[t])).reduce(((t,e)=>t.concat(e)),[])}function W(t){return t.map((t=>t instanceof U?t.behaviors:null)).reduce(((t,e)=>null===e?t:(null===t&&(t=[]),t.concat(e))),null)}U.create=(()=>{if(h.supportsAdoptedStyleSheets){const t=new Map
|
|
155
155
|
return e=>new X(e,t)}return t=>new G(t)})()
|
|
156
156
|
class X extends U{constructor(t,e){super(),this.styles=t,this.styleSheetCache=e,this._styleSheets=void 0,this.behaviors=W(t)}get styleSheets(){if(void 0===this._styleSheets){const t=this.styles,e=this.styleSheetCache
|
|
157
157
|
this._styleSheets=K(t).map((t=>{if(t instanceof CSSStyleSheet)return t
|
|
158
|
-
let
|
|
159
|
-
return void 0===
|
|
158
|
+
let s=e.get(t)
|
|
159
|
+
return void 0===s&&(s=new CSSStyleSheet,s.replaceSync(t),e.set(t,s)),s}))}return this._styleSheets}addStylesTo(t){t.adoptedStyleSheets=[...t.adoptedStyleSheets,...this.styleSheets],super.addStylesTo(t)}removeStylesFrom(t){const e=this.styleSheets
|
|
160
160
|
t.adoptedStyleSheets=t.adoptedStyleSheets.filter((t=>-1===e.indexOf(t))),super.removeStylesFrom(t)}}let Y=0
|
|
161
|
-
class G extends U{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=W(t),this.styleSheets=K(t),this.styleClass="fast-style-class-"+ ++Y}addStylesTo(t){const e=this.styleSheets,
|
|
161
|
+
class G extends U{constructor(t){super(),this.styles=t,this.behaviors=null,this.behaviors=W(t),this.styleSheets=K(t),this.styleClass="fast-style-class-"+ ++Y}addStylesTo(t){const e=this.styleSheets,s=this.styleClass
|
|
162
162
|
t=this.normalizeTarget(t)
|
|
163
|
-
for(let
|
|
164
|
-
o.innerHTML=e[
|
|
165
|
-
for(let
|
|
163
|
+
for(let i=0;i<e.length;i++){const o=document.createElement("style")
|
|
164
|
+
o.innerHTML=e[i],o.className=s,t.append(o)}super.addStylesTo(t)}removeStylesFrom(t){const e=(t=this.normalizeTarget(t)).querySelectorAll(`.${this.styleClass}`)
|
|
165
|
+
for(let s=0,i=e.length;s<i;++s)t.removeChild(e[s])
|
|
166
166
|
super.removeStylesFrom(t)}isAttachedTo(t){return super.isAttachedTo(this.normalizeTarget(t))}normalizeTarget(t){return t===document?document.body:t}}const Q={toView:t=>t?"true":"false",fromView:t=>null!=t&&"false"!==t&&!1!==t&&0!==t},J={toView(t){if(null==t)return null
|
|
167
167
|
const e=1*t
|
|
168
168
|
return isNaN(e)?null:e.toString()},fromView(t){if(null==t)return null
|
|
169
169
|
const e=1*t
|
|
170
170
|
return isNaN(e)?null:e}}
|
|
171
|
-
class Z{constructor(t,e,
|
|
172
|
-
void 0!==
|
|
173
|
-
|
|
174
|
-
const
|
|
171
|
+
class Z{constructor(t,e,s=e.toLowerCase(),i="reflect",o){this.guards=new Set,this.Owner=t,this.name=e,this.attribute=s,this.mode=i,this.converter=o,this.fieldName=`_${e}`,this.callbackName=`${e}Changed`,this.hasCallback=this.callbackName in t.prototype,"boolean"===i&&void 0===o&&(this.converter=Q)}setValue(t,e){const s=t[this.fieldName],i=this.converter
|
|
172
|
+
void 0!==i&&(e=i.fromView(e)),s!==e&&(t[this.fieldName]=e,this.tryReflectToAttribute(t),this.hasCallback&&t[this.callbackName](s,e),t.$fastController.notify(this.name))}getValue(t){return p.track(t,this.name),t[this.fieldName]}onAttributeChangedCallback(t,e){this.guards.has(t)||(this.guards.add(t),this.setValue(t,e),this.guards.delete(t))}tryReflectToAttribute(t){const e=this.mode,s=this.guards
|
|
173
|
+
s.has(t)||"fromView"===e||h.queueUpdate((()=>{s.add(t)
|
|
174
|
+
const i=t[this.fieldName]
|
|
175
175
|
switch(e){case"reflect":const e=this.converter
|
|
176
|
-
h.setAttribute(t,this.attribute,void 0!==e?e.toView(
|
|
176
|
+
h.setAttribute(t,this.attribute,void 0!==e?e.toView(i):i)
|
|
177
177
|
break
|
|
178
|
-
case"boolean":h.setBooleanAttribute(t,this.attribute,
|
|
178
|
+
case"boolean":h.setBooleanAttribute(t,this.attribute,i)}s.delete(t)}))}static collect(t,...e){const s=[]
|
|
179
179
|
e.push(t.attributes)
|
|
180
|
-
for(let
|
|
181
|
-
if(void 0!==o)for(let e=0,
|
|
182
|
-
"string"==typeof s
|
|
183
|
-
function
|
|
184
|
-
const
|
|
185
|
-
|
|
180
|
+
for(let i=0,o=e.length;i<o;++i){const o=e[i]
|
|
181
|
+
if(void 0!==o)for(let e=0,i=o.length;e<i;++e){const i=o[e]
|
|
182
|
+
"string"==typeof i?s.push(new Z(t,i)):s.push(new Z(t,i.property,i.attribute,i.mode,i.converter))}}return s}}function tt(t,e){let s
|
|
183
|
+
function i(t,e){arguments.length>1&&(s.property=e)
|
|
184
|
+
const i=t.constructor.attributes||(t.constructor.attributes=[])
|
|
185
|
+
i.push(s)}return arguments.length>1?(s={},void i(t,e)):(s=void 0===t?{}:t,i)}const et={mode:"open"},st={},it=s.getById(4,(()=>{const t=new Map
|
|
186
186
|
return Object.freeze({register:e=>!t.has(e.type)&&(t.set(e.type,e),!0),getByType:e=>t.get(e)})}))
|
|
187
187
|
class ot{constructor(t,e=t.definition){"string"==typeof e&&(e={name:e}),this.type=t,this.name=e.name,this.template=e.template
|
|
188
|
-
const
|
|
189
|
-
for(let t=0,e=
|
|
190
|
-
|
|
191
|
-
if(
|
|
192
|
-
for(let e=0,
|
|
193
|
-
Reflect.defineProperty(e,"observedAttributes",{value:this.observedAttributes,enumerable:!0})}return t.get(this.name)||t.define(this.name,e,this.elementOptions),this}}ot.forType=
|
|
188
|
+
const s=Z.collect(t,e.attributes),i=new Array(s.length),o={},n={}
|
|
189
|
+
for(let t=0,e=s.length;t<e;++t){const e=s[t]
|
|
190
|
+
i[t]=e.attribute,o[e.name]=e,n[e.attribute]=e}this.attributes=s,this.observedAttributes=i,this.propertyLookup=o,this.attributeLookup=n,this.shadowOptions=void 0===e.shadowOptions?et:null===e.shadowOptions?void 0:Object.assign(Object.assign({},et),e.shadowOptions),this.elementOptions=void 0===e.elementOptions?st:Object.assign(Object.assign({},st),e.elementOptions),this.styles=void 0===e.styles?void 0:Array.isArray(e.styles)?U.create(e.styles):e.styles instanceof U?e.styles:U.create([e.styles])}get isDefined(){return!!it.getByType(this.type)}define(t=customElements){const e=this.type
|
|
191
|
+
if(it.register(this)){const t=this.attributes,s=e.prototype
|
|
192
|
+
for(let e=0,i=t.length;e<i;++e)p.defineProperty(s,t[e])
|
|
193
|
+
Reflect.defineProperty(e,"observedAttributes",{value:this.observedAttributes,enumerable:!0})}return t.get(this.name)||t.define(this.name,e,this.elementOptions),this}}ot.forType=it.getByType
|
|
194
194
|
const nt=new WeakMap,rt={bubbles:!0,composed:!0,cancelable:!0}
|
|
195
195
|
function at(t){return t.shadowRoot||nt.get(t)||null}class lt extends u{constructor(t,e){super(t),this.boundObservables=null,this.behaviors=null,this.needsInitialization=!0,this._template=null,this._styles=null,this._isConnected=!1,this.$fastController=this,this.view=null,this.element=t,this.definition=e
|
|
196
|
-
const
|
|
197
|
-
if(void 0!==
|
|
198
|
-
"closed"===
|
|
199
|
-
if(
|
|
200
|
-
for(let
|
|
196
|
+
const s=e.shadowOptions
|
|
197
|
+
if(void 0!==s){const e=t.attachShadow(s)
|
|
198
|
+
"closed"===s.mode&&nt.set(t,e)}const i=p.getAccessors(t)
|
|
199
|
+
if(i.length>0){const e=this.boundObservables=Object.create(null)
|
|
200
|
+
for(let s=0,o=i.length;s<o;++s){const o=i[s].name,n=t[o]
|
|
201
201
|
void 0!==n&&(delete t[o],e[o]=n)}}}get isConnected(){return p.track(this,"isConnected"),this._isConnected}setIsConnected(t){this._isConnected=t,p.notify(this,"isConnected")}get template(){return this._template}set template(t){this._template!==t&&(this._template=t,this.needsInitialization||this.renderTemplate(t))}get styles(){return this._styles}set styles(t){this._styles!==t&&(null!==this._styles&&this.removeStyles(this._styles),this._styles=t,this.needsInitialization||null===t||this.addStyles(t))}addStyles(t){const e=at(this.element)||this.element.getRootNode()
|
|
202
202
|
if(t instanceof HTMLStyleElement)e.append(t)
|
|
203
|
-
else if(!t.isAttachedTo(e)){const
|
|
204
|
-
t.addStylesTo(e),null!==
|
|
203
|
+
else if(!t.isAttachedTo(e)){const s=t.behaviors
|
|
204
|
+
t.addStylesTo(e),null!==s&&this.addBehaviors(s)}}removeStyles(t){const e=at(this.element)||this.element.getRootNode()
|
|
205
205
|
if(t instanceof HTMLStyleElement)e.removeChild(t)
|
|
206
|
-
else if(t.isAttachedTo(e)){const
|
|
207
|
-
t.removeStylesFrom(e),null!==
|
|
208
|
-
for(let o=0;o<
|
|
209
|
-
e.has(
|
|
210
|
-
for(let e=0;e<
|
|
211
|
-
if(null===
|
|
212
|
-
const
|
|
213
|
-
for(let n=0;n<
|
|
214
|
-
if(
|
|
215
|
-
0===t||e?
|
|
206
|
+
else if(t.isAttachedTo(e)){const s=t.behaviors
|
|
207
|
+
t.removeStylesFrom(e),null!==s&&this.removeBehaviors(s)}}addBehaviors(t){const e=this.behaviors||(this.behaviors=new Map),s=t.length,i=[]
|
|
208
|
+
for(let o=0;o<s;++o){const s=t[o]
|
|
209
|
+
e.has(s)?e.set(s,e.get(s)+1):(e.set(s,1),i.push(s))}if(this._isConnected){const t=this.element
|
|
210
|
+
for(let e=0;e<i.length;++e)i[e].bind(t,f)}}removeBehaviors(t,e=!1){const s=this.behaviors
|
|
211
|
+
if(null===s)return
|
|
212
|
+
const i=t.length,o=[]
|
|
213
|
+
for(let n=0;n<i;++n){const i=t[n]
|
|
214
|
+
if(s.has(i)){const t=s.get(i)-1
|
|
215
|
+
0===t||e?s.delete(i)&&o.push(i):s.set(i,t)}}if(this._isConnected){const t=this.element
|
|
216
216
|
for(let e=0;e<o.length;++e)o[e].unbind(t)}}onConnectedCallback(){if(this._isConnected)return
|
|
217
217
|
const t=this.element
|
|
218
218
|
this.needsInitialization?this.finishInitialization():null!==this.view&&this.view.bind(t,f)
|
|
219
219
|
const e=this.behaviors
|
|
220
|
-
if(null!==e)for(const[
|
|
220
|
+
if(null!==e)for(const[s]of e)s.bind(t,f)
|
|
221
221
|
this.setIsConnected(!0)}onDisconnectedCallback(){if(!this._isConnected)return
|
|
222
222
|
this.setIsConnected(!1)
|
|
223
223
|
const t=this.view
|
|
224
224
|
null!==t&&t.unbind()
|
|
225
225
|
const e=this.behaviors
|
|
226
226
|
if(null!==e){const t=this.element
|
|
227
|
-
for(const[
|
|
228
|
-
void 0!==
|
|
229
|
-
if(null!==e){const
|
|
230
|
-
for(let
|
|
231
|
-
t[o]=e[o]}this.boundObservables=null}const
|
|
232
|
-
null===this._template&&(this.element.resolveTemplate?this._template=this.element.resolveTemplate():
|
|
233
|
-
null!==this.view?(this.view.dispose(),this.view=null):this.needsInitialization||h.removeChildNodes(
|
|
227
|
+
for(const[s]of e)s.unbind(t)}}onAttributeChangedCallback(t,e,s){const i=this.definition.attributeLookup[t]
|
|
228
|
+
void 0!==i&&i.onAttributeChangedCallback(this.element,s)}emit(t,e,s){return!!this._isConnected&&this.element.dispatchEvent(new CustomEvent(t,Object.assign(Object.assign({detail:e},rt),s)))}finishInitialization(){const t=this.element,e=this.boundObservables
|
|
229
|
+
if(null!==e){const s=Object.keys(e)
|
|
230
|
+
for(let i=0,o=s.length;i<o;++i){const o=s[i]
|
|
231
|
+
t[o]=e[o]}this.boundObservables=null}const s=this.definition
|
|
232
|
+
null===this._template&&(this.element.resolveTemplate?this._template=this.element.resolveTemplate():s.template&&(this._template=s.template||null)),null!==this._template&&this.renderTemplate(this._template),null===this._styles&&(this.element.resolveStyles?this._styles=this.element.resolveStyles():s.styles&&(this._styles=s.styles||null)),null!==this._styles&&this.addStyles(this._styles),this.needsInitialization=!1}renderTemplate(t){const e=this.element,s=at(e)||e
|
|
233
|
+
null!==this.view?(this.view.dispose(),this.view=null):this.needsInitialization||h.removeChildNodes(s),t&&(this.view=t.render(e,s,e))}static forCustomElement(t){const e=t.$fastController
|
|
234
234
|
if(void 0!==e)return e
|
|
235
|
-
const
|
|
236
|
-
if(void 0===
|
|
237
|
-
return t.$fastController=new lt(t,
|
|
238
|
-
class dt{createCSS(){return""}createBehavior(){}}function ut(t,...e){const{styles:
|
|
239
|
-
let
|
|
235
|
+
const s=ot.forType(t.constructor)
|
|
236
|
+
if(void 0===s)throw new Error("Missing FASTElement definition.")
|
|
237
|
+
return t.$fastController=new lt(t,s)}}function ct(t){return class extends t{constructor(){super(),lt.forCustomElement(this)}$emit(t,e,s){return this.$fastController.emit(t,e,s)}connectedCallback(){this.$fastController.onConnectedCallback()}disconnectedCallback(){this.$fastController.onDisconnectedCallback()}attributeChangedCallback(t,e,s){this.$fastController.onAttributeChangedCallback(t,e,s)}}}const ht=Object.assign(ct(HTMLElement),{from:t=>ct(t),define:(t,e)=>new ot(t,e).define().type})
|
|
238
|
+
class dt{createCSS(){return""}createBehavior(){}}function ut(t,...e){const{styles:s,behaviors:i}=function(t,e){const s=[]
|
|
239
|
+
let i=""
|
|
240
240
|
const o=[]
|
|
241
|
-
for(let n=0,r=t.length-1;n<r;++n){
|
|
241
|
+
for(let n=0,r=t.length-1;n<r;++n){i+=t[n]
|
|
242
242
|
let r=e[n]
|
|
243
243
|
if(r instanceof dt){const t=r.createBehavior()
|
|
244
|
-
r=r.createCSS(),t&&o.push(t)}r instanceof U||r instanceof CSSStyleSheet?(""!==
|
|
245
|
-
return
|
|
246
|
-
return(e,
|
|
247
|
-
this.shouldUpdate=p.getAccessors(t).some((t=>t.name===e)),this.source=t,this.updateTarget(this.computeNodes()),this.shouldUpdate&&this.observe()}unbind(){this.updateTarget(
|
|
244
|
+
r=r.createCSS(),t&&o.push(t)}r instanceof U||r instanceof CSSStyleSheet?(""!==i.trim()&&(s.push(i),i=""),s.push(r)):i+=r}return i+=t[t.length-1],""!==i.trim()&&s.push(i),{styles:s,behaviors:o}}(t,e),o=U.create(s)
|
|
245
|
+
return i.length&&o.withBehaviors(...i),o}class pt{constructor(t,e){this.target=t,this.propertyName=e}bind(t){t[this.propertyName]=this.target}unbind(){}}function vt(t){return new x("fast-ref",pt,t)}function gt(t,e){const s="function"==typeof e?e:()=>e
|
|
246
|
+
return(e,i)=>t(e,i)?s(e,i):null}function mt(t){return t?function(e,s,i){return 1===e.nodeType&&e.matches(t)}:function(t,e,s){return 1===t.nodeType}}class ft{constructor(t,e){this.target=t,this.options=e,this.source=null}bind(t){const e=this.options.property
|
|
247
|
+
this.shouldUpdate=p.getAccessors(t).some((t=>t.name===e)),this.source=t,this.updateTarget(this.computeNodes()),this.shouldUpdate&&this.observe()}unbind(){this.updateTarget(i),this.source=null,this.shouldUpdate&&this.disconnect()}handleEvent(){this.updateTarget(this.computeNodes())}computeNodes(){let t=this.getNodes()
|
|
248
248
|
return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateTarget(t){this.source[this.options.property]=t}}class bt extends ft{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 wt(t){return"string"==typeof t&&(t={property:t}),new x("fast-slotted",bt,t)}class xt extends ft{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 yt(t){return"string"==typeof t&&(t={property:t}),new x("fast-children",xt,t)}class $t{handleStartContentChange(){this.startContainer.classList.toggle("start",this.start.assignedNodes().length>0)}handleEndContentChange(){this.endContainer.classList.toggle("end",this.end.assignedNodes().length>0)}}const Ct=(t,e)=>q`
|
|
249
249
|
<span
|
|
250
250
|
part="end"
|
|
@@ -285,10 +285,10 @@ return void 0!==this.options.filter&&(t=t.filter(this.options.filter)),t}updateT
|
|
|
285
285
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
286
286
|
PERFORMANCE OF THIS SOFTWARE.
|
|
287
287
|
***************************************************************************** */
|
|
288
|
-
function _t(t,e,i
|
|
289
|
-
if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i
|
|
290
|
-
else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,
|
|
291
|
-
return n>3&&r&&Object.defineProperty(e,
|
|
288
|
+
function _t(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i
|
|
289
|
+
if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i)
|
|
290
|
+
else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r)
|
|
291
|
+
return n>3&&r&&Object.defineProperty(e,s,r),r}q`
|
|
292
292
|
<span part="end" ${vt("endContainer")}>
|
|
293
293
|
<slot
|
|
294
294
|
name="end"
|
|
@@ -306,130 +306,130 @@ return n>3&&r&&Object.defineProperty(e,i,r),r}q`
|
|
|
306
306
|
</span>
|
|
307
307
|
`
|
|
308
308
|
const zt=new Map
|
|
309
|
-
"metadata"in Reflect||(Reflect.metadata=function(t,e){return function(
|
|
310
|
-
void 0===
|
|
311
|
-
if(void 0!==
|
|
312
|
-
class It{constructor(t,e){this.container=t,this.key=e}instance(t){return this.registerResolver(0,t)}singleton(t){return this.registerResolver(1,t)}transient(t){return this.registerResolver(2,t)}callback(t){return this.registerResolver(3,t)}cachedCallback(t){return this.registerResolver(3,Yt(t))}aliasTo(t){return this.registerResolver(5,t)}registerResolver(t,e){const{container:
|
|
313
|
-
return this.container=this.key=void 0,
|
|
309
|
+
"metadata"in Reflect||(Reflect.metadata=function(t,e){return function(s){Reflect.defineMetadata(t,e,s)}},Reflect.defineMetadata=function(t,e,s){let i=zt.get(s)
|
|
310
|
+
void 0===i&&zt.set(s,i=new Map),i.set(t,e)},Reflect.getOwnMetadata=function(t,e){const s=zt.get(e)
|
|
311
|
+
if(void 0!==s)return s.get(t)})
|
|
312
|
+
class It{constructor(t,e){this.container=t,this.key=e}instance(t){return this.registerResolver(0,t)}singleton(t){return this.registerResolver(1,t)}transient(t){return this.registerResolver(2,t)}callback(t){return this.registerResolver(3,t)}cachedCallback(t){return this.registerResolver(3,Yt(t))}aliasTo(t){return this.registerResolver(5,t)}registerResolver(t,e){const{container:s,key:i}=this
|
|
313
|
+
return this.container=this.key=void 0,s.registerResolver(i,new Pt(i,t,e))}}function Ot(t){const e=t.slice(),s=Object.keys(t),i=s.length
|
|
314
314
|
let o
|
|
315
|
-
for(let n=0;n<
|
|
315
|
+
for(let n=0;n<i;++n)o=s[n],ie(o)||(e[o]=t[o])
|
|
316
316
|
return e}const At=Object.freeze({none(t){throw Error(`${t.toString()} not registered, did you forget to add @singleton()?`)},singleton:t=>new Pt(t,1,t),transient:t=>new Pt(t,2,t)}),St=Object.freeze({default:Object.freeze({parentLocator:()=>null,responsibleForOwnerRequests:!1,defaultResolver:At.singleton})}),Et=new Map
|
|
317
317
|
function Ht(t){return e=>Reflect.getOwnMetadata(t,e)}let Mt=null
|
|
318
318
|
const Vt=Object.freeze({createContainer:t=>new Wt(null,Object.assign({},St.default,t)),findResponsibleContainer(t){const e=t.$$container$$
|
|
319
319
|
return e&&e.responsibleForOwnerRequests?e:Vt.findParentContainer(t)},findParentContainer(t){const e=new CustomEvent(Ut,{bubbles:!0,composed:!0,cancelable:!0,detail:{container:void 0}})
|
|
320
320
|
return t.dispatchEvent(e),e.detail.container||Vt.getOrCreateDOMContainer()},getOrCreateDOMContainer:(t,e)=>t?t.$$container$$||new Wt(t,Object.assign({},St.default,e,{parentLocator:Vt.findParentContainer})):Mt||(Mt=new Wt(null,Object.assign({},St.default,e,{parentLocator:()=>null}))),getDesignParamtypes:Ht("design:paramtypes"),getAnnotationParamtypes:Ht("di:paramtypes"),getOrCreateAnnotationParamTypes(t){let e=this.getAnnotationParamtypes(t)
|
|
321
321
|
return void 0===e&&Reflect.defineMetadata("di:paramtypes",e=[],t),e},getDependencies(t){let e=Et.get(t)
|
|
322
|
-
if(void 0===e){const
|
|
323
|
-
if(void 0===
|
|
324
|
-
if(void 0===
|
|
325
|
-
e="function"==typeof
|
|
326
|
-
else if(void 0===
|
|
327
|
-
else{e=Ot(
|
|
328
|
-
let t,o=
|
|
329
|
-
for(let
|
|
330
|
-
const n=Object.keys(
|
|
322
|
+
if(void 0===e){const s=t.inject
|
|
323
|
+
if(void 0===s){const s=Vt.getDesignParamtypes(t),i=Vt.getAnnotationParamtypes(t)
|
|
324
|
+
if(void 0===s)if(void 0===i){const s=Object.getPrototypeOf(t)
|
|
325
|
+
e="function"==typeof s&&s!==Function.prototype?Ot(Vt.getDependencies(s)):[]}else e=Ot(i)
|
|
326
|
+
else if(void 0===i)e=Ot(s)
|
|
327
|
+
else{e=Ot(s)
|
|
328
|
+
let t,o=i.length
|
|
329
|
+
for(let s=0;s<o;++s)t=i[s],void 0!==t&&(e[s]=t)
|
|
330
|
+
const n=Object.keys(i)
|
|
331
331
|
let r
|
|
332
332
|
o=n.length
|
|
333
|
-
for(let t=0;t<o;++t)r=n[t],
|
|
334
|
-
Et.set(t,e)}return e},defineProperty(t,e,i
|
|
333
|
+
for(let t=0;t<o;++t)r=n[t],ie(r)||(e[r]=i[r])}}else e=Ot(s)
|
|
334
|
+
Et.set(t,e)}return e},defineProperty(t,e,s,i=!1){const o=`$di_${e}`
|
|
335
335
|
Reflect.defineProperty(t,e,{get:function(){let t=this[o]
|
|
336
336
|
if(void 0===t){const n=this instanceof HTMLElement?Vt.findResponsibleContainer(this):Vt.getOrCreateDOMContainer()
|
|
337
|
-
if(t=n.get(
|
|
338
|
-
|
|
337
|
+
if(t=n.get(s),this[o]=t,i&&this instanceof ht){const i=this.$fastController,n=()=>{Vt.findResponsibleContainer(this).get(s)!==this[o]&&(this[o]=t,i.notify(e))}
|
|
338
|
+
i.subscribe({handleChange:n},"isConnected")}}return t}})},createInterface(t,e){const s="function"==typeof t?t:e,i="string"==typeof t?t:t&&"friendlyName"in t&&t.friendlyName||Zt,o="string"!=typeof t&&(t&&"respectConnection"in t&&t.respectConnection||!1),n=function(t,e,s){if(null==t||void 0!==new.target)throw new Error(`No registration for interface: '${n.friendlyName}'`)
|
|
339
339
|
if(e)Vt.defineProperty(t,e,n,o)
|
|
340
|
-
else{Vt.getOrCreateAnnotationParamTypes(t)[
|
|
341
|
-
return n.$isInterface=!0,n.friendlyName=null==
|
|
342
|
-
void 0!==o&&(i
|
|
343
|
-
else{const i
|
|
340
|
+
else{Vt.getOrCreateAnnotationParamTypes(t)[s]=n}}
|
|
341
|
+
return n.$isInterface=!0,n.friendlyName=null==i?"(anonymous)":i,null!=s&&(n.register=function(t,e){return s(new It(t,null!=e?e:n))}),n.toString=function(){return`InterfaceSymbol<${n.friendlyName}>`},n},inject:(...t)=>function(e,s,i){if("number"==typeof i){const s=Vt.getOrCreateAnnotationParamTypes(e),o=t[0]
|
|
342
|
+
void 0!==o&&(s[i]=o)}else if(s)Vt.defineProperty(e,s,t[0])
|
|
343
|
+
else{const s=i?Vt.getOrCreateAnnotationParamTypes(i.value):Vt.getOrCreateAnnotationParamTypes(e)
|
|
344
344
|
let o
|
|
345
|
-
for(let e=0;e<t.length;++e)o=t[e],void 0!==o&&(
|
|
345
|
+
for(let e=0;e<t.length;++e)o=t[e],void 0!==o&&(s[e]=o)}},transient:t=>(t.register=function(e){return Gt.transient(t,t).register(e)},t.registerInRequestor=!1,t),singleton:(t,e=Tt)=>(t.register=function(e){return Gt.singleton(t,t).register(e)},t.registerInRequestor=e.scoped,t)}),Lt=Vt.createInterface("Container")
|
|
346
346
|
Vt.inject
|
|
347
347
|
const Tt={scoped:!1}
|
|
348
|
-
class Pt{constructor(t,e,
|
|
348
|
+
class Pt{constructor(t,e,s){this.key=t,this.strategy=e,this.state=s,this.resolving=!1}get $isResolver(){return!0}register(t){return t.registerResolver(this.key,this)}resolve(t,e){switch(this.strategy){case 0:return this.state
|
|
349
349
|
case 1:if(this.resolving)throw new Error(`Cyclic dependency found: ${this.state.name}`)
|
|
350
350
|
return this.resolving=!0,this.state=t.getFactory(this.state).construct(e),this.strategy=0,this.resolving=!1,this.state
|
|
351
|
-
case 2:{const
|
|
352
|
-
if(null===
|
|
353
|
-
return
|
|
351
|
+
case 2:{const s=t.getFactory(this.state)
|
|
352
|
+
if(null===s)throw new Error(`Resolver for ${String(this.key)} returned a null factory`)
|
|
353
|
+
return s.construct(e)}case 3:return this.state(t,e,this)
|
|
354
354
|
case 4:return this.state[0].resolve(t,e)
|
|
355
355
|
case 5:return e.get(this.state)
|
|
356
|
-
default:throw new Error(`Invalid resolver strategy specified: ${this.strategy}.`)}}getFactory(t){var e,i
|
|
356
|
+
default:throw new Error(`Invalid resolver strategy specified: ${this.strategy}.`)}}getFactory(t){var e,s,i
|
|
357
357
|
switch(this.strategy){case 1:case 2:return t.getFactory(this.state)
|
|
358
|
-
case 5:return null!==(
|
|
359
|
-
default:return null}}}function Rt(t){return this.get(t)}function Dt(t,e){return e(t)}class
|
|
360
|
-
return
|
|
358
|
+
case 5:return null!==(i=null===(s=null===(e=t.getResolver(this.state))||void 0===e?void 0:e.getFactory)||void 0===s?void 0:s.call(e,t))&&void 0!==i?i:null
|
|
359
|
+
default:return null}}}function Rt(t){return this.get(t)}function Dt(t,e){return e(t)}class Bt{constructor(t,e){this.Type=t,this.dependencies=e,this.transformers=null}construct(t,e){let s
|
|
360
|
+
return s=void 0===e?new this.Type(...this.dependencies.map(Rt,t)):new this.Type(...this.dependencies.map(Rt,t),...e),null==this.transformers?s:this.transformers.reduce(Dt,s)}registerTransformer(t){(this.transformers||(this.transformers=[])).push(t)}}const Ft={$isResolver:!0,resolve:(t,e)=>e}
|
|
361
361
|
function Nt(t){return"function"==typeof t.register}function jt(t){return function(t){return Nt(t)&&"boolean"==typeof t.registerInRequestor}(t)&&t.registerInRequestor}const qt=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"]),Ut="__DI_LOCATE_PARENT__",Kt=new Map
|
|
362
|
-
class Wt{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(Lt,
|
|
363
|
-
let e,i,
|
|
362
|
+
class Wt{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(Lt,Ft),t instanceof Node&&t.addEventListener(Ut,(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")
|
|
363
|
+
let e,s,i,o,n
|
|
364
364
|
const r=this.context
|
|
365
365
|
for(let a=0,l=t.length;a<l;++a)if(e=t[a],te(e))if(Nt(e))e.register(this,r)
|
|
366
366
|
else if(void 0!==e.prototype)Gt.singleton(e,e).register(this)
|
|
367
|
-
else for(
|
|
367
|
+
else for(s=Object.keys(e),o=0,n=s.length;o<n;++o)i=e[s[o]],te(i)&&(Nt(i)?i.register(this,r):this.register(i))
|
|
368
368
|
return--this.registerDepth,this}registerResolver(t,e){Qt(t)
|
|
369
|
-
const
|
|
370
|
-
return null==s
|
|
371
|
-
if(null==
|
|
372
|
-
if(
|
|
369
|
+
const s=this.resolvers,i=s.get(t)
|
|
370
|
+
return null==i?s.set(t,e):i instanceof Pt&&4===i.strategy?i.state.push(e):s.set(t,new Pt(t,4,[i,e])),e}registerTransformer(t,e){const s=this.getResolver(t)
|
|
371
|
+
if(null==s)return!1
|
|
372
|
+
if(s.getFactory){const t=s.getFactory(this)
|
|
373
373
|
return null!=t&&(t.registerTransformer(e),!0)}return!1}getResolver(t,e=!0){if(Qt(t),void 0!==t.resolve)return t
|
|
374
|
-
let i
|
|
375
|
-
for(;null!=
|
|
376
|
-
if(null==s.parent){const i=jt(t)?this:s
|
|
377
|
-
return e?this.jitRegister(t,i):null}s=s.parent}return null}has(t,e=!1){return!!this.resolvers.has(t)||!(!e||null==this.parent)&&this.parent.has(t,!0)}get(t){if(Qt(t),t.$isResolver)return t.resolve(this,this)
|
|
378
|
-
let e,i=this
|
|
379
|
-
for(;null!=i;){if(e=i.resolvers.get(t),null!=e)return e.resolve(i,this)
|
|
374
|
+
let s,i=this
|
|
375
|
+
for(;null!=i;){if(s=i.resolvers.get(t),null!=s)return s
|
|
380
376
|
if(null==i.parent){const s=jt(t)?this:i
|
|
381
|
-
return e
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
if(
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
377
|
+
return e?this.jitRegister(t,s):null}i=i.parent}return null}has(t,e=!1){return!!this.resolvers.has(t)||!(!e||null==this.parent)&&this.parent.has(t,!0)}get(t){if(Qt(t),t.$isResolver)return t.resolve(this,this)
|
|
378
|
+
let e,s=this
|
|
379
|
+
for(;null!=s;){if(e=s.resolvers.get(t),null!=e)return e.resolve(s,this)
|
|
380
|
+
if(null==s.parent){const i=jt(t)?this:s
|
|
381
|
+
return e=this.jitRegister(t,i),e.resolve(s,this)}s=s.parent}throw new Error(`Unable to resolve key: ${t}`)}getAll(t,e=!1){Qt(t)
|
|
382
|
+
const s=this
|
|
383
|
+
let o,n=s
|
|
384
|
+
if(e){let e=i
|
|
385
|
+
for(;null!=n;)o=n.resolvers.get(t),null!=o&&(e=e.concat(Jt(o,n,s))),n=n.parent
|
|
386
|
+
return e}for(;null!=n;){if(o=n.resolvers.get(t),null!=o)return Jt(o,n,s)
|
|
387
|
+
if(n=n.parent,null==n)return i}return i}getFactory(t){let e=Kt.get(t)
|
|
388
388
|
if(void 0===e){if(ee(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.`)
|
|
389
|
-
Kt.set(t,e=new
|
|
389
|
+
Kt.set(t,e=new Bt(t,Vt.getDependencies(t)))}return e}registerFactory(t,e){Kt.set(t,e)}createChild(t){return new Wt(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?`)
|
|
390
390
|
if(qt.has(t.name))throw new Error(`Attempted to jitRegister an intrinsic type: ${t.name}. Did you forget to add @inject(Key)`)
|
|
391
|
-
if(Nt(t)){const
|
|
392
|
-
if(!(
|
|
393
|
-
if(null!=
|
|
394
|
-
throw new Error("A valid resolver was not returned from the static register method")}return
|
|
395
|
-
{const
|
|
396
|
-
return e.resolvers.set(t,
|
|
397
|
-
function Yt(t){return function(e,i
|
|
398
|
-
const o=t(e,i
|
|
399
|
-
return Xt.set(
|
|
400
|
-
function Qt(t){if(null==t)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function Jt(t,e,
|
|
401
|
-
let o=
|
|
391
|
+
if(Nt(t)){const s=t.register(e)
|
|
392
|
+
if(!(s instanceof Object)||null==s.resolve){const s=e.resolvers.get(t)
|
|
393
|
+
if(null!=s)return s
|
|
394
|
+
throw new Error("A valid resolver was not returned from the static register method")}return s}if(t.$isInterface)throw new Error(`Attempted to jitRegister an interface: ${t.friendlyName}`)
|
|
395
|
+
{const s=this.config.defaultResolver(t,e)
|
|
396
|
+
return e.resolvers.set(t,s),s}}}const Xt=new WeakMap
|
|
397
|
+
function Yt(t){return function(e,s,i){if(Xt.has(i))return Xt.get(i)
|
|
398
|
+
const o=t(e,s,i)
|
|
399
|
+
return Xt.set(i,o),o}}const Gt=Object.freeze({instance:(t,e)=>new Pt(t,0,e),singleton:(t,e)=>new Pt(t,1,e),transient:(t,e)=>new Pt(t,2,e),callback:(t,e)=>new Pt(t,3,e),cachedCallback:(t,e)=>new Pt(t,3,Yt(e)),aliasTo:(t,e)=>new Pt(e,5,t)})
|
|
400
|
+
function Qt(t){if(null==t)throw new Error("key/value cannot be null or undefined. Are you trying to inject/register something that doesn't exist with DI?")}function Jt(t,e,s){if(t instanceof Pt&&4===t.strategy){const i=t.state
|
|
401
|
+
let o=i.length
|
|
402
402
|
const n=new Array(o)
|
|
403
|
-
for(;o--;)n[o]=
|
|
404
|
-
return n}return[t.resolve(e,
|
|
403
|
+
for(;o--;)n[o]=i[o].resolve(e,s)
|
|
404
|
+
return n}return[t.resolve(e,s)]}const Zt="(anonymous)"
|
|
405
405
|
function te(t){return"object"==typeof t&&null!==t||"function"==typeof t}const ee=function(){const t=new WeakMap
|
|
406
|
-
let e=!1,
|
|
407
|
-
return function(o){return e=t.get(o),void 0===e&&(
|
|
408
|
-
function
|
|
409
|
-
case"string":{const e=
|
|
406
|
+
let e=!1,s="",i=0
|
|
407
|
+
return function(o){return e=t.get(o),void 0===e&&(s=o.toString(),i=s.length,e=i>=29&&i<=100&&125===s.charCodeAt(i-1)&&s.charCodeAt(i-2)<=32&&93===s.charCodeAt(i-3)&&101===s.charCodeAt(i-4)&&100===s.charCodeAt(i-5)&&111===s.charCodeAt(i-6)&&99===s.charCodeAt(i-7)&&32===s.charCodeAt(i-8)&&101===s.charCodeAt(i-9)&&118===s.charCodeAt(i-10)&&105===s.charCodeAt(i-11)&&116===s.charCodeAt(i-12)&&97===s.charCodeAt(i-13)&&110===s.charCodeAt(i-14)&&88===s.charCodeAt(i-15),t.set(o,e)),e}}(),se={}
|
|
408
|
+
function ie(t){switch(typeof t){case"number":return t>=0&&(0|t)===t
|
|
409
|
+
case"string":{const e=se[t]
|
|
410
410
|
if(void 0!==e)return e
|
|
411
|
-
const
|
|
412
|
-
if(0===
|
|
413
|
-
let
|
|
414
|
-
for(let e=0;e<
|
|
415
|
-
return
|
|
416
|
-
void 0===ne.get(
|
|
417
|
-
if(!1===
|
|
411
|
+
const s=t.length
|
|
412
|
+
if(0===s)return se[t]=!1
|
|
413
|
+
let i=0
|
|
414
|
+
for(let e=0;e<s;++e)if(i=t.charCodeAt(e),0===e&&48===i&&s>1||i<48||i>57)return se[t]=!1
|
|
415
|
+
return se[t]=!0}default:return!1}}function oe(t){return`${t.toLowerCase()}:presentation`}const ne=new Map,re=Object.freeze({define(t,e,s){const i=oe(t)
|
|
416
|
+
void 0===ne.get(i)?ne.set(i,e):ne.set(i,!1),s.register(Gt.instance(i,e))},forTag(t,e){const s=oe(t),i=ne.get(s)
|
|
417
|
+
if(!1===i){return Vt.findResponsibleContainer(e).get(s)}return i||null}})
|
|
418
418
|
class ae{constructor(t,e){this.template=t||null,this.styles=void 0===e?null:Array.isArray(e)?U.create(e):e instanceof U?e:U.create([e])}applyTo(t){const e=t.$fastController
|
|
419
|
-
null===e.template&&(e.template=this.template),null===e.styles&&(e.styles=this.styles)}}class le extends ht{constructor(){super(...arguments),this._presentation=void 0}get $presentation(){return void 0===this._presentation&&(this._presentation=re.forTag(this.tagName,this)),this._presentation}templateChanged(){void 0!==this.template&&(this.$fastController.template=this.template)}stylesChanged(){void 0!==this.styles&&(this.$fastController.styles=this.styles)}connectedCallback(){null!==this.$presentation&&this.$presentation.applyTo(this),super.connectedCallback()}static compose(t){return(e={})=>new he(this===le?class extends le{}:this,t,e)}}function ce(t,e,
|
|
420
|
-
class he{constructor(t,e,
|
|
421
|
-
e.tryDefineElement({name:o,type:this.type,baseClass:this.elementDefinition.baseClass,callback:t=>{const e=new ae(ce(
|
|
419
|
+
null===e.template&&(e.template=this.template),null===e.styles&&(e.styles=this.styles)}}class le extends ht{constructor(){super(...arguments),this._presentation=void 0}get $presentation(){return void 0===this._presentation&&(this._presentation=re.forTag(this.tagName,this)),this._presentation}templateChanged(){void 0!==this.template&&(this.$fastController.template=this.template)}stylesChanged(){void 0!==this.styles&&(this.$fastController.styles=this.styles)}connectedCallback(){null!==this.$presentation&&this.$presentation.applyTo(this),super.connectedCallback()}static compose(t){return(e={})=>new he(this===le?class extends le{}:this,t,e)}}function ce(t,e,s){return"function"==typeof t?t(e,s):t}_t([v],le.prototype,"template",void 0),_t([v],le.prototype,"styles",void 0)
|
|
420
|
+
class he{constructor(t,e,s){this.type=t,this.elementDefinition=e,this.overrideDefinition=s,this.definition=Object.assign(Object.assign({},this.elementDefinition),this.overrideDefinition)}register(t,e){const s=this.definition,i=this.overrideDefinition,o=`${s.prefix||e.elementPrefix}-${s.baseName}`
|
|
421
|
+
e.tryDefineElement({name:o,type:this.type,baseClass:this.elementDefinition.baseClass,callback:t=>{const e=new ae(ce(s.template,t,s),ce(s.styles,t,s))
|
|
422
422
|
t.definePresentation(e)
|
|
423
|
-
let o=ce(
|
|
424
|
-
t.shadowRootMode&&(o?
|
|
425
|
-
t.attributes=
|
|
423
|
+
let o=ce(s.shadowOptions,t,s)
|
|
424
|
+
t.shadowRootMode&&(o?i.shadowOptions||(o.mode=t.shadowRootMode):null!==o&&(o={mode:t.shadowRootMode})),t.defineElement({elementOptions:ce(s.elementOptions,t,s),shadowOptions:o,attributes:ce(s.attributes,t,s)})}})}}function de(t,...e){e.forEach((e=>{if(Object.getOwnPropertyNames(e.prototype).forEach((s=>{"constructor"!==s&&Object.defineProperty(t.prototype,s,Object.getOwnPropertyDescriptor(e.prototype,s))})),e.attributes){const s=t.attributes||[]
|
|
425
|
+
t.attributes=s.concat(e.attributes)}}))}const ue="horizontal",pe="vertical"
|
|
426
426
|
function ve(...t){return t.every((t=>t instanceof HTMLElement))}let ge
|
|
427
427
|
const me="change",fe="resize",be="scroll"
|
|
428
428
|
var we
|
|
429
429
|
!function(t){t[t.alt=18]="alt",t[t.arrowDown=40]="arrowDown",t[t.arrowLeft=37]="arrowLeft",t[t.arrowRight=39]="arrowRight",t[t.arrowUp=38]="arrowUp",t[t.back=8]="back",t[t.backSlash=220]="backSlash",t[t.break=19]="break",t[t.capsLock=20]="capsLock",t[t.closeBracket=221]="closeBracket",t[t.colon=186]="colon",t[t.colon2=59]="colon2",t[t.comma=188]="comma",t[t.ctrl=17]="ctrl",t[t.delete=46]="delete",t[t.end=35]="end",t[t.enter=13]="enter",t[t.equals=187]="equals",t[t.equals2=61]="equals2",t[t.equals3=107]="equals3",t[t.escape=27]="escape",t[t.forwardSlash=191]="forwardSlash",t[t.function1=112]="function1",t[t.function10=121]="function10",t[t.function11=122]="function11",t[t.function12=123]="function12",t[t.function2=113]="function2",t[t.function3=114]="function3",t[t.function4=115]="function4",t[t.function5=116]="function5",t[t.function6=117]="function6",t[t.function7=118]="function7",t[t.function8=119]="function8",t[t.function9=120]="function9",t[t.home=36]="home",t[t.insert=45]="insert",t[t.menu=93]="menu",t[t.minus=189]="minus",t[t.minus2=109]="minus2",t[t.numLock=144]="numLock",t[t.numPad0=96]="numPad0",t[t.numPad1=97]="numPad1",t[t.numPad2=98]="numPad2",t[t.numPad3=99]="numPad3",t[t.numPad4=100]="numPad4",t[t.numPad5=101]="numPad5",t[t.numPad6=102]="numPad6",t[t.numPad7=103]="numPad7",t[t.numPad8=104]="numPad8",t[t.numPad9=105]="numPad9",t[t.numPadDivide=111]="numPadDivide",t[t.numPadDot=110]="numPadDot",t[t.numPadMinus=109]="numPadMinus",t[t.numPadMultiply=106]="numPadMultiply",t[t.numPadPlus=107]="numPadPlus",t[t.openBracket=219]="openBracket",t[t.pageDown=34]="pageDown",t[t.pageUp=33]="pageUp",t[t.period=190]="period",t[t.print=44]="print",t[t.quote=222]="quote",t[t.scrollLock=145]="scrollLock",t[t.shift=16]="shift",t[t.space=32]="space",t[t.tab=9]="tab",t[t.tilde=192]="tilde",t[t.windowsLeft=91]="windowsLeft",t[t.windowsOpera=219]="windowsOpera",t[t.windowsRight=92]="windowsRight"}(we||(we={}))
|
|
430
430
|
const xe="ArrowDown",ye="ArrowLeft",$e="ArrowRight",Ce="ArrowUp",ke="Enter",_e="Escape",ze="Home",Ie="End",Oe=" ",Ae="Tab",Se={ArrowDown:xe,ArrowLeft:ye,ArrowRight:$e,ArrowUp:Ce}
|
|
431
431
|
var Ee
|
|
432
|
-
function He(t,e,
|
|
432
|
+
function He(t,e,s){return Math.min(Math.max(s,t),e)}function Me(t,e,s=0){return[e,s]=[e,s].sort(((t,e)=>t-e)),e<=t&&t<s}!function(t){t.ltr="ltr",t.rtl="rtl"}(Ee||(Ee={}))
|
|
433
433
|
let Ve=0
|
|
434
434
|
function Le(t=""){return`${t}${Ve++}`}class Te{}_t([tt({attribute:"aria-atomic"})],Te.prototype,"ariaAtomic",void 0),_t([tt({attribute:"aria-busy"})],Te.prototype,"ariaBusy",void 0),_t([tt({attribute:"aria-controls"})],Te.prototype,"ariaControls",void 0),_t([tt({attribute:"aria-current"})],Te.prototype,"ariaCurrent",void 0),_t([tt({attribute:"aria-describedby"})],Te.prototype,"ariaDescribedby",void 0),_t([tt({attribute:"aria-details"})],Te.prototype,"ariaDetails",void 0),_t([tt({attribute:"aria-disabled"})],Te.prototype,"ariaDisabled",void 0),_t([tt({attribute:"aria-errormessage"})],Te.prototype,"ariaErrormessage",void 0),_t([tt({attribute:"aria-flowto"})],Te.prototype,"ariaFlowto",void 0),_t([tt({attribute:"aria-haspopup"})],Te.prototype,"ariaHaspopup",void 0),_t([tt({attribute:"aria-hidden"})],Te.prototype,"ariaHidden",void 0),_t([tt({attribute:"aria-invalid"})],Te.prototype,"ariaInvalid",void 0),_t([tt({attribute:"aria-keyshortcuts"})],Te.prototype,"ariaKeyshortcuts",void 0),_t([tt({attribute:"aria-label"})],Te.prototype,"ariaLabel",void 0),_t([tt({attribute:"aria-labelledby"})],Te.prototype,"ariaLabelledby",void 0),_t([tt({attribute:"aria-live"})],Te.prototype,"ariaLive",void 0),_t([tt({attribute:"aria-owns"})],Te.prototype,"ariaOwns",void 0),_t([tt({attribute:"aria-relevant"})],Te.prototype,"ariaRelevant",void 0),_t([tt({attribute:"aria-roledescription"})],Te.prototype,"ariaRoledescription",void 0)
|
|
435
435
|
class Pe extends le{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var t
|
|
@@ -437,8 +437,8 @@ window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")
|
|
|
437
437
|
class Re{}_t([tt({attribute:"aria-expanded"})],Re.prototype,"ariaExpanded",void 0),de(Re,Te),de(Pe,$t,Re)
|
|
438
438
|
const De=t=>{const e=t.closest("[dir]")
|
|
439
439
|
return null!==e&&"rtl"===e.dir?Ee.rtl:Ee.ltr}
|
|
440
|
-
class
|
|
441
|
-
return void 0!==e&&void 0!==
|
|
440
|
+
class Be extends le{constructor(){super(...arguments),this.anchor="",this.viewport="",this.horizontalPositioningMode="uncontrolled",this.horizontalDefaultPosition="unset",this.horizontalViewportLock=!1,this.horizontalInset=!1,this.horizontalScaling="content",this.verticalPositioningMode="uncontrolled",this.verticalDefaultPosition="unset",this.verticalViewportLock=!1,this.verticalInset=!1,this.verticalScaling="content",this.fixedPlacement=!1,this.autoUpdateMode="anchor",this.anchorElement=null,this.viewportElement=null,this.initialLayoutComplete=!1,this.resizeDetector=null,this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.pendingPositioningUpdate=!1,this.pendingReset=!1,this.currentDirection=Ee.ltr,this.regionVisible=!1,this.forceUpdate=!1,this.updateThreshold=.5,this.update=()=>{this.pendingPositioningUpdate||this.requestPositionUpdates()},this.startObservers=()=>{this.stopObservers(),null!==this.anchorElement&&(this.requestPositionUpdates(),null!==this.resizeDetector&&(this.resizeDetector.observe(this.anchorElement),this.resizeDetector.observe(this)))},this.requestPositionUpdates=()=>{null===this.anchorElement||this.pendingPositioningUpdate||(Be.intersectionService.requestPosition(this,this.handleIntersection),Be.intersectionService.requestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&Be.intersectionService.requestPosition(this.viewportElement,this.handleIntersection),this.pendingPositioningUpdate=!0)},this.stopObservers=()=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,Be.intersectionService.cancelRequestPosition(this,this.handleIntersection),null!==this.anchorElement&&Be.intersectionService.cancelRequestPosition(this.anchorElement,this.handleIntersection),null!==this.viewportElement&&Be.intersectionService.cancelRequestPosition(this.viewportElement,this.handleIntersection)),null!==this.resizeDetector&&this.resizeDetector.disconnect()},this.getViewport=()=>"string"!=typeof this.viewport||""===this.viewport?document.documentElement:document.getElementById(this.viewport),this.getAnchor=()=>document.getElementById(this.anchor),this.handleIntersection=t=>{this.pendingPositioningUpdate&&(this.pendingPositioningUpdate=!1,this.applyIntersectionEntries(t)&&this.updateLayout())},this.applyIntersectionEntries=t=>{const e=t.find((t=>t.target===this)),s=t.find((t=>t.target===this.anchorElement)),i=t.find((t=>t.target===this.viewportElement))
|
|
441
|
+
return void 0!==e&&void 0!==i&&void 0!==s&&(!!(!this.regionVisible||this.forceUpdate||void 0===this.regionRect||void 0===this.anchorRect||void 0===this.viewportRect||this.isRectDifferent(this.anchorRect,s.boundingClientRect)||this.isRectDifferent(this.viewportRect,i.boundingClientRect)||this.isRectDifferent(this.regionRect,e.boundingClientRect))&&(this.regionRect=e.boundingClientRect,this.anchorRect=s.boundingClientRect,this.viewportElement===document.documentElement?this.viewportRect=new DOMRectReadOnly(i.boundingClientRect.x+document.documentElement.scrollLeft,i.boundingClientRect.y+document.documentElement.scrollTop,i.boundingClientRect.width,i.boundingClientRect.height):this.viewportRect=i.boundingClientRect,this.updateRegionOffset(),this.forceUpdate=!1,!0))},this.updateRegionOffset=()=>{this.anchorRect&&this.regionRect&&(this.baseHorizontalOffset=this.baseHorizontalOffset+(this.anchorRect.left-this.regionRect.left)+(this.translateX-this.baseHorizontalOffset),this.baseVerticalOffset=this.baseVerticalOffset+(this.anchorRect.top-this.regionRect.top)+(this.translateY-this.baseVerticalOffset))},this.isRectDifferent=(t,e)=>Math.abs(t.top-e.top)>this.updateThreshold||Math.abs(t.right-e.right)>this.updateThreshold||Math.abs(t.bottom-e.bottom)>this.updateThreshold||Math.abs(t.left-e.left)>this.updateThreshold,this.handleResize=t=>{this.update()},this.reset=()=>{this.pendingReset&&(this.pendingReset=!1,null===this.anchorElement&&(this.anchorElement=this.getAnchor()),null===this.viewportElement&&(this.viewportElement=this.getViewport()),this.currentDirection=De(this),this.startObservers())},this.updateLayout=()=>{let t,e
|
|
442
442
|
if("uncontrolled"!==this.horizontalPositioningMode){const t=this.getPositioningOptions(this.horizontalInset)
|
|
443
443
|
if("center"===this.horizontalDefaultPosition)e="center"
|
|
444
444
|
else if("unset"!==this.horizontalDefaultPosition){let t=this.horizontalDefaultPosition
|
|
@@ -446,61 +446,61 @@ if("start"===t||"end"===t){const e=De(this)
|
|
|
446
446
|
if(e!==this.currentDirection)return this.currentDirection=e,void this.initialize()
|
|
447
447
|
t=this.currentDirection===Ee.ltr?"start"===t?"left":"right":"start"===t?"right":"left"}switch(t){case"left":e=this.horizontalInset?"insetStart":"start"
|
|
448
448
|
break
|
|
449
|
-
case"right":e=this.horizontalInset?"insetEnd":"end"}}const
|
|
449
|
+
case"right":e=this.horizontalInset?"insetEnd":"end"}}const s=void 0!==this.horizontalThreshold?this.horizontalThreshold:void 0!==this.regionRect?this.regionRect.width:0,i=void 0!==this.anchorRect?this.anchorRect.left:0,o=void 0!==this.anchorRect?this.anchorRect.right:0,n=void 0!==this.anchorRect?this.anchorRect.width:0,r=void 0!==this.viewportRect?this.viewportRect.left:0,a=void 0!==this.viewportRect?this.viewportRect.right:0;(void 0===e||"locktodefault"!==this.horizontalPositioningMode&&this.getAvailableSpace(e,i,o,n,r,a)<s)&&(e=this.getAvailableSpace(t[0],i,o,n,r,a)>this.getAvailableSpace(t[1],i,o,n,r,a)?t[0]:t[1])}if("uncontrolled"!==this.verticalPositioningMode){const e=this.getPositioningOptions(this.verticalInset)
|
|
450
450
|
if("center"===this.verticalDefaultPosition)t="center"
|
|
451
451
|
else if("unset"!==this.verticalDefaultPosition)switch(this.verticalDefaultPosition){case"top":t=this.verticalInset?"insetStart":"start"
|
|
452
452
|
break
|
|
453
|
-
case"bottom":t=this.verticalInset?"insetEnd":"end"}const
|
|
454
|
-
if(this.setHorizontalPosition(e,
|
|
455
|
-
this.regionVisible||(this.regionVisible=!0,this.style.removeProperty("pointer-events"),this.style.removeProperty("opacity"),this.classList.toggle("loaded",!0),this.$emit("loaded",this,{bubbles:!1})),this.updatePositionClasses(),
|
|
456
|
-
let
|
|
457
|
-
switch(this.horizontalScaling){case"anchor":case"fill":
|
|
453
|
+
case"bottom":t=this.verticalInset?"insetEnd":"end"}const s=void 0!==this.verticalThreshold?this.verticalThreshold:void 0!==this.regionRect?this.regionRect.height:0,i=void 0!==this.anchorRect?this.anchorRect.top:0,o=void 0!==this.anchorRect?this.anchorRect.bottom:0,n=void 0!==this.anchorRect?this.anchorRect.height:0,r=void 0!==this.viewportRect?this.viewportRect.top:0,a=void 0!==this.viewportRect?this.viewportRect.bottom:0;(void 0===t||"locktodefault"!==this.verticalPositioningMode&&this.getAvailableSpace(t,i,o,n,r,a)<s)&&(t=this.getAvailableSpace(e[0],i,o,n,r,a)>this.getAvailableSpace(e[1],i,o,n,r,a)?e[0]:e[1])}const s=this.getNextRegionDimension(e,t),i=this.horizontalPosition!==e||this.verticalPosition!==t
|
|
454
|
+
if(this.setHorizontalPosition(e,s),this.setVerticalPosition(t,s),this.updateRegionStyle(),!this.initialLayoutComplete)return this.initialLayoutComplete=!0,void this.requestPositionUpdates()
|
|
455
|
+
this.regionVisible||(this.regionVisible=!0,this.style.removeProperty("pointer-events"),this.style.removeProperty("opacity"),this.classList.toggle("loaded",!0),this.$emit("loaded",this,{bubbles:!1})),this.updatePositionClasses(),i&&this.$emit("positionchange",this,{bubbles:!1})},this.updateRegionStyle=()=>{this.style.width=this.regionWidth,this.style.height=this.regionHeight,this.style.transform=`translate(${this.translateX}px, ${this.translateY}px)`},this.updatePositionClasses=()=>{this.classList.toggle("top","start"===this.verticalPosition),this.classList.toggle("bottom","end"===this.verticalPosition),this.classList.toggle("inset-top","insetStart"===this.verticalPosition),this.classList.toggle("inset-bottom","insetEnd"===this.verticalPosition),this.classList.toggle("vertical-center","center"===this.verticalPosition),this.classList.toggle("left","start"===this.horizontalPosition),this.classList.toggle("right","end"===this.horizontalPosition),this.classList.toggle("inset-left","insetStart"===this.horizontalPosition),this.classList.toggle("inset-right","insetEnd"===this.horizontalPosition),this.classList.toggle("horizontal-center","center"===this.horizontalPosition)},this.setHorizontalPosition=(t,e)=>{if(void 0===t||void 0===this.regionRect||void 0===this.anchorRect||void 0===this.viewportRect)return
|
|
456
|
+
let s=0
|
|
457
|
+
switch(this.horizontalScaling){case"anchor":case"fill":s=this.horizontalViewportLock?this.viewportRect.width:e.width,this.regionWidth=`${s}px`
|
|
458
458
|
break
|
|
459
|
-
case"content":
|
|
460
|
-
switch(t){case"start":this.translateX=this.baseHorizontalOffset-
|
|
459
|
+
case"content":s=this.regionRect.width,this.regionWidth="unset"}let i=0
|
|
460
|
+
switch(t){case"start":this.translateX=this.baseHorizontalOffset-s,this.horizontalViewportLock&&this.anchorRect.left>this.viewportRect.right&&(this.translateX=this.translateX-(this.anchorRect.left-this.viewportRect.right))
|
|
461
461
|
break
|
|
462
|
-
case"insetStart":this.translateX=this.baseHorizontalOffset-
|
|
462
|
+
case"insetStart":this.translateX=this.baseHorizontalOffset-s+this.anchorRect.width,this.horizontalViewportLock&&this.anchorRect.right>this.viewportRect.right&&(this.translateX=this.translateX-(this.anchorRect.right-this.viewportRect.right))
|
|
463
463
|
break
|
|
464
464
|
case"insetEnd":this.translateX=this.baseHorizontalOffset,this.horizontalViewportLock&&this.anchorRect.left<this.viewportRect.left&&(this.translateX=this.translateX-(this.anchorRect.left-this.viewportRect.left))
|
|
465
465
|
break
|
|
466
466
|
case"end":this.translateX=this.baseHorizontalOffset+this.anchorRect.width,this.horizontalViewportLock&&this.anchorRect.right<this.viewportRect.left&&(this.translateX=this.translateX-(this.anchorRect.right-this.viewportRect.left))
|
|
467
467
|
break
|
|
468
|
-
case"center":if(
|
|
468
|
+
case"center":if(i=(this.anchorRect.width-s)/2,this.translateX=this.baseHorizontalOffset+i,this.horizontalViewportLock){const t=this.anchorRect.left+i,e=this.anchorRect.right-i
|
|
469
469
|
t<this.viewportRect.left&&!(e>this.viewportRect.right)?this.translateX=this.translateX-(t-this.viewportRect.left):e>this.viewportRect.right&&!(t<this.viewportRect.left)&&(this.translateX=this.translateX-(e-this.viewportRect.right))}}this.horizontalPosition=t},this.setVerticalPosition=(t,e)=>{if(void 0===t||void 0===this.regionRect||void 0===this.anchorRect||void 0===this.viewportRect)return
|
|
470
|
-
let
|
|
471
|
-
switch(this.verticalScaling){case"anchor":case"fill":
|
|
470
|
+
let s=0
|
|
471
|
+
switch(this.verticalScaling){case"anchor":case"fill":s=this.verticalViewportLock?this.viewportRect.height:e.height,this.regionHeight=`${s}px`
|
|
472
472
|
break
|
|
473
|
-
case"content":
|
|
474
|
-
switch(t){case"start":this.translateY=this.baseVerticalOffset-
|
|
473
|
+
case"content":s=this.regionRect.height,this.regionHeight="unset"}let i=0
|
|
474
|
+
switch(t){case"start":this.translateY=this.baseVerticalOffset-s,this.verticalViewportLock&&this.anchorRect.top>this.viewportRect.bottom&&(this.translateY=this.translateY-(this.anchorRect.top-this.viewportRect.bottom))
|
|
475
475
|
break
|
|
476
|
-
case"insetStart":this.translateY=this.baseVerticalOffset-
|
|
476
|
+
case"insetStart":this.translateY=this.baseVerticalOffset-s+this.anchorRect.height,this.verticalViewportLock&&this.anchorRect.bottom>this.viewportRect.bottom&&(this.translateY=this.translateY-(this.anchorRect.bottom-this.viewportRect.bottom))
|
|
477
477
|
break
|
|
478
478
|
case"insetEnd":this.translateY=this.baseVerticalOffset,this.verticalViewportLock&&this.anchorRect.top<this.viewportRect.top&&(this.translateY=this.translateY-(this.anchorRect.top-this.viewportRect.top))
|
|
479
479
|
break
|
|
480
480
|
case"end":this.translateY=this.baseVerticalOffset+this.anchorRect.height,this.verticalViewportLock&&this.anchorRect.bottom<this.viewportRect.top&&(this.translateY=this.translateY-(this.anchorRect.bottom-this.viewportRect.top))
|
|
481
481
|
break
|
|
482
|
-
case"center":if(
|
|
483
|
-
t<this.viewportRect.top&&!(e>this.viewportRect.bottom)?this.translateY=this.translateY-(t-this.viewportRect.top):e>this.viewportRect.bottom&&!(t<this.viewportRect.top)&&(this.translateY=this.translateY-(e-this.viewportRect.bottom))}}this.verticalPosition=t},this.getPositioningOptions=t=>t?["insetStart","insetEnd"]:["start","end"],this.getAvailableSpace=(t,e,i,
|
|
482
|
+
case"center":if(i=(this.anchorRect.height-s)/2,this.translateY=this.baseVerticalOffset+i,this.verticalViewportLock){const t=this.anchorRect.top+i,e=this.anchorRect.bottom-i
|
|
483
|
+
t<this.viewportRect.top&&!(e>this.viewportRect.bottom)?this.translateY=this.translateY-(t-this.viewportRect.top):e>this.viewportRect.bottom&&!(t<this.viewportRect.top)&&(this.translateY=this.translateY-(e-this.viewportRect.bottom))}}this.verticalPosition=t},this.getPositioningOptions=t=>t?["insetStart","insetEnd"]:["start","end"],this.getAvailableSpace=(t,e,s,i,o,n)=>{const r=e-o,a=n-(e+i)
|
|
484
484
|
switch(t){case"start":return r
|
|
485
|
-
case"insetStart":return r+
|
|
486
|
-
case"insetEnd":return a+
|
|
485
|
+
case"insetStart":return r+i
|
|
486
|
+
case"insetEnd":return a+i
|
|
487
487
|
case"end":return a
|
|
488
|
-
case"center":return 2*Math.min(r,a)+
|
|
489
|
-
return void 0!==t&&"fill"===this.horizontalScaling?
|
|
490
|
-
null!==this.intersectionDetector&&(this.observedElements.has(t)?null===(
|
|
491
|
-
if(void 0!==
|
|
492
|
-
const e=[],
|
|
493
|
-
t.forEach((t=>{var
|
|
494
|
-
null===(
|
|
488
|
+
case"center":return 2*Math.min(r,a)+i}},this.getNextRegionDimension=(t,e)=>{const s={height:void 0!==this.regionRect?this.regionRect.height:0,width:void 0!==this.regionRect?this.regionRect.width:0}
|
|
489
|
+
return void 0!==t&&"fill"===this.horizontalScaling?s.width=this.getAvailableSpace(t,void 0!==this.anchorRect?this.anchorRect.left:0,void 0!==this.anchorRect?this.anchorRect.right:0,void 0!==this.anchorRect?this.anchorRect.width:0,void 0!==this.viewportRect?this.viewportRect.left:0,void 0!==this.viewportRect?this.viewportRect.right:0):"anchor"===this.horizontalScaling&&(s.width=void 0!==this.anchorRect?this.anchorRect.width:0),void 0!==e&&"fill"===this.verticalScaling?s.height=this.getAvailableSpace(e,void 0!==this.anchorRect?this.anchorRect.top:0,void 0!==this.anchorRect?this.anchorRect.bottom:0,void 0!==this.anchorRect?this.anchorRect.height:0,void 0!==this.viewportRect?this.viewportRect.top:0,void 0!==this.viewportRect?this.viewportRect.bottom:0):"anchor"===this.verticalScaling&&(s.height=void 0!==this.anchorRect?this.anchorRect.height:0),s},this.startAutoUpdateEventListeners=()=>{window.addEventListener(fe,this.update,{passive:!0}),window.addEventListener(be,this.update,{passive:!0,capture:!0}),null!==this.resizeDetector&&null!==this.viewportElement&&this.resizeDetector.observe(this.viewportElement)},this.stopAutoUpdateEventListeners=()=>{window.removeEventListener(fe,this.update),window.removeEventListener(be,this.update),null!==this.resizeDetector&&null!==this.viewportElement&&this.resizeDetector.unobserve(this.viewportElement)}}anchorChanged(){this.initialLayoutComplete&&(this.anchorElement=this.getAnchor())}viewportChanged(){this.initialLayoutComplete&&(this.viewportElement=this.getViewport())}horizontalPositioningModeChanged(){this.requestReset()}horizontalDefaultPositionChanged(){this.updateForAttributeChange()}horizontalViewportLockChanged(){this.updateForAttributeChange()}horizontalInsetChanged(){this.updateForAttributeChange()}horizontalThresholdChanged(){this.updateForAttributeChange()}horizontalScalingChanged(){this.updateForAttributeChange()}verticalPositioningModeChanged(){this.requestReset()}verticalDefaultPositionChanged(){this.updateForAttributeChange()}verticalViewportLockChanged(){this.updateForAttributeChange()}verticalInsetChanged(){this.updateForAttributeChange()}verticalThresholdChanged(){this.updateForAttributeChange()}verticalScalingChanged(){this.updateForAttributeChange()}fixedPlacementChanged(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.initialize()}autoUpdateModeChanged(t,e){this.$fastController.isConnected&&this.initialLayoutComplete&&("auto"===t&&this.stopAutoUpdateEventListeners(),"auto"===e&&this.startAutoUpdateEventListeners())}anchorElementChanged(){this.requestReset()}viewportElementChanged(){this.$fastController.isConnected&&this.initialLayoutComplete&&this.initialize()}connectedCallback(){super.connectedCallback(),"auto"===this.autoUpdateMode&&this.startAutoUpdateEventListeners(),this.initialize()}disconnectedCallback(){super.disconnectedCallback(),"auto"===this.autoUpdateMode&&this.stopAutoUpdateEventListeners(),this.stopObservers(),this.disconnectResizeDetector()}adoptedCallback(){this.initialize()}disconnectResizeDetector(){null!==this.resizeDetector&&(this.resizeDetector.disconnect(),this.resizeDetector=null)}initializeResizeDetector(){this.disconnectResizeDetector(),this.resizeDetector=new window.ResizeObserver(this.handleResize)}updateForAttributeChange(){this.$fastController.isConnected&&this.initialLayoutComplete&&(this.forceUpdate=!0,this.update())}initialize(){this.initializeResizeDetector(),null===this.anchorElement&&(this.anchorElement=this.getAnchor()),this.requestReset()}requestReset(){this.$fastController.isConnected&&!1===this.pendingReset&&(this.setInitialState(),h.queueUpdate((()=>this.reset())),this.pendingReset=!0)}setInitialState(){this.initialLayoutComplete=!1,this.regionVisible=!1,this.translateX=0,this.translateY=0,this.baseHorizontalOffset=0,this.baseVerticalOffset=0,this.viewportRect=void 0,this.regionRect=void 0,this.anchorRect=void 0,this.verticalPosition=void 0,this.horizontalPosition=void 0,this.style.opacity="0",this.style.pointerEvents="none",this.forceUpdate=!1,this.style.position=this.fixedPlacement?"fixed":"absolute",this.updatePositionClasses(),this.updateRegionStyle()}}Be.intersectionService=new class{constructor(){this.intersectionDetector=null,this.observedElements=new Map,this.requestPosition=(t,e)=>{var s
|
|
490
|
+
null!==this.intersectionDetector&&(this.observedElements.has(t)?null===(s=this.observedElements.get(t))||void 0===s||s.push(e):(this.observedElements.set(t,[e]),this.intersectionDetector.observe(t)))},this.cancelRequestPosition=(t,e)=>{const s=this.observedElements.get(t)
|
|
491
|
+
if(void 0!==s){const t=s.indexOf(e);-1!==t&&s.splice(t,1)}},this.initializeIntersectionDetector=()=>{t.IntersectionObserver&&(this.intersectionDetector=new IntersectionObserver(this.handleIntersection,{root:null,rootMargin:"0px",threshold:[0,1]}))},this.handleIntersection=t=>{if(null===this.intersectionDetector)return
|
|
492
|
+
const e=[],s=[]
|
|
493
|
+
t.forEach((t=>{var i
|
|
494
|
+
null===(i=this.intersectionDetector)||void 0===i||i.unobserve(t.target)
|
|
495
495
|
const o=this.observedElements.get(t.target)
|
|
496
|
-
void 0!==o&&(o.forEach((
|
|
497
|
-
class
|
|
496
|
+
void 0!==o&&(o.forEach((i=>{let o=e.indexOf(i);-1===o&&(o=e.length,e.push(i),s.push([])),s[o].push(t)})),this.observedElements.delete(t.target))})),e.forEach(((t,e)=>{t(s[e])}))},this.initializeIntersectionDetector()}},_t([tt],Be.prototype,"anchor",void 0),_t([tt],Be.prototype,"viewport",void 0),_t([tt({attribute:"horizontal-positioning-mode"})],Be.prototype,"horizontalPositioningMode",void 0),_t([tt({attribute:"horizontal-default-position"})],Be.prototype,"horizontalDefaultPosition",void 0),_t([tt({attribute:"horizontal-viewport-lock",mode:"boolean"})],Be.prototype,"horizontalViewportLock",void 0),_t([tt({attribute:"horizontal-inset",mode:"boolean"})],Be.prototype,"horizontalInset",void 0),_t([tt({attribute:"horizontal-threshold"})],Be.prototype,"horizontalThreshold",void 0),_t([tt({attribute:"horizontal-scaling"})],Be.prototype,"horizontalScaling",void 0),_t([tt({attribute:"vertical-positioning-mode"})],Be.prototype,"verticalPositioningMode",void 0),_t([tt({attribute:"vertical-default-position"})],Be.prototype,"verticalDefaultPosition",void 0),_t([tt({attribute:"vertical-viewport-lock",mode:"boolean"})],Be.prototype,"verticalViewportLock",void 0),_t([tt({attribute:"vertical-inset",mode:"boolean"})],Be.prototype,"verticalInset",void 0),_t([tt({attribute:"vertical-threshold"})],Be.prototype,"verticalThreshold",void 0),_t([tt({attribute:"vertical-scaling"})],Be.prototype,"verticalScaling",void 0),_t([tt({attribute:"fixed-placement",mode:"boolean"})],Be.prototype,"fixedPlacement",void 0),_t([tt({attribute:"auto-update-mode"})],Be.prototype,"autoUpdateMode",void 0),_t([v],Be.prototype,"anchorElement",void 0),_t([v],Be.prototype,"viewportElement",void 0),_t([v],Be.prototype,"initialLayoutComplete",void 0)
|
|
497
|
+
class Fe extends Pe{constructor(){super(...arguments),this.separator=!0}}_t([v],Fe.prototype,"separator",void 0),de(Fe,$t,Re)
|
|
498
498
|
class Ne extends le{slottedBreadcrumbItemsChanged(){if(this.$fastController.isConnected){if(void 0===this.slottedBreadcrumbItems||0===this.slottedBreadcrumbItems.length)return
|
|
499
499
|
const t=this.slottedBreadcrumbItems[this.slottedBreadcrumbItems.length-1]
|
|
500
|
-
this.slottedBreadcrumbItems.forEach((e=>{const
|
|
501
|
-
this.setItemSeparator(e,
|
|
502
|
-
return t.childElementCount>0?t.querySelector("a[href]"):(null===(e=t.shadowRoot)||void 0===e?void 0:e.childElementCount)?null===(
|
|
503
|
-
null===
|
|
500
|
+
this.slottedBreadcrumbItems.forEach((e=>{const s=e===t
|
|
501
|
+
this.setItemSeparator(e,s),this.setAriaCurrent(e,s)}))}}setItemSeparator(t,e){t instanceof Fe&&(t.separator=!e)}findChildWithHref(t){var e,s
|
|
502
|
+
return t.childElementCount>0?t.querySelector("a[href]"):(null===(e=t.shadowRoot)||void 0===e?void 0:e.childElementCount)?null===(s=t.shadowRoot)||void 0===s?void 0:s.querySelector("a[href]"):null}setAriaCurrent(t,e){const s=this.findChildWithHref(t)
|
|
503
|
+
null===s&&t.hasAttribute("href")&&t instanceof Fe?e?t.setAttribute("aria-current","page"):t.removeAttribute("aria-current"):null!==s&&(e?s.setAttribute("aria-current","page"):s.removeAttribute("aria-current"))}}_t([v],Ne.prototype,"slottedBreadcrumbItems",void 0)
|
|
504
504
|
const je=(t,e)=>q`
|
|
505
505
|
<button
|
|
506
506
|
class="control"
|
|
@@ -547,15 +547,15 @@ const je=(t,e)=>q`
|
|
|
547
547
|
</button>
|
|
548
548
|
`,qe="form-associated-proxy",Ue="ElementInternals",Ke=Ue in window&&"setFormValue"in window.ElementInternals.prototype,We=new WeakMap
|
|
549
549
|
function Xe(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 Ke}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))
|
|
550
|
-
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}']`)),
|
|
551
|
-
return Object.freeze(
|
|
550
|
+
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}']`)),s=t?e.concat(Array.from(t)):e
|
|
551
|
+
return Object.freeze(s)}return i}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),h.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),h.queueUpdate((()=>this.classList.toggle("required",this.required))),this.validate()}get elementInternals(){if(!Ke)return null
|
|
552
552
|
let t=We.get(this)
|
|
553
|
-
return t||(t=this.attachInternals(),We.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(){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,
|
|
553
|
+
return t||(t=this.attachInternals(),We.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(){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,s){this.elementInternals?this.elementInternals.setValidity(t,e,s):"string"==typeof e&&this.proxy.setCustomValidity(e)}formDisabledCallback(t){this.disabled=t}formResetCallback(){this.value=this.initialValue,this.dirtyValue=!1}attachProxy(){var t
|
|
554
554
|
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",qe),this.proxySlot=document.createElement("slot"),this.proxySlot.setAttribute("name",qe)),null===(t=this.shadowRoot)||void 0===t||t.appendChild(this.proxySlot),this.appendChild(this.proxy)}detachProxy(){var t
|
|
555
555
|
this.removeChild(this.proxy),null===(t=this.shadowRoot)||void 0===t||t.removeChild(this.proxySlot)}validate(){this.proxy instanceof HTMLElement&&this.setValidity(this.proxy.validity,this.proxy.validationMessage)}setFormValue(t,e){this.elementInternals&&this.elementInternals.setFormValue(t,e||t)}_keypressHandler(t){switch(t.key){case ke:if(this.form instanceof HTMLFormElement){const t=this.form.querySelector("[type=submit]")
|
|
556
556
|
null==t||t.click()}}}stopPropagation(t){t.stopPropagation()}}
|
|
557
|
-
return tt({mode:"boolean"})(e.prototype,"disabled"),tt({mode:"fromView",attribute:"value"})(e.prototype,"initialValue"),tt({attribute:"current-value"})(e.prototype,"currentValue"),tt(e.prototype,"name"),tt({mode:"boolean"})(e.prototype,"required"),v(e.prototype,"value"),e}function Ye(t){class e extends(Xe(t)){}class
|
|
558
|
-
this.setFormValue(t,t)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return tt({attribute:"checked",mode:"boolean"})(
|
|
557
|
+
return tt({mode:"boolean"})(e.prototype,"disabled"),tt({mode:"fromView",attribute:"value"})(e.prototype,"initialValue"),tt({attribute:"current-value"})(e.prototype,"currentValue"),tt(e.prototype,"name"),tt({mode:"boolean"})(e.prototype,"required"),v(e.prototype,"value"),e}function Ye(t){class e extends(Xe(t)){}class s extends e{constructor(...t){super(t),this.dirtyChecked=!1,this.checkedAttribute=!1,this.checked=!1,this.dirtyChecked=!1}checkedAttributeChanged(){this.defaultChecked=this.checkedAttribute}defaultCheckedChanged(){this.dirtyChecked||(this.checked=this.defaultChecked,this.dirtyChecked=!1)}checkedChanged(t,e){this.dirtyChecked||(this.dirtyChecked=!0),this.currentChecked=this.checked,this.updateForm(),this.proxy instanceof HTMLInputElement&&(this.proxy.checked=this.checked),void 0!==t&&this.$emit("change"),this.validate()}currentCheckedChanged(t,e){this.checked=this.currentChecked}updateForm(){const t=this.checked?this.value:null
|
|
558
|
+
this.setFormValue(t,t)}connectedCallback(){super.connectedCallback(),this.updateForm()}formResetCallback(){super.formResetCallback(),this.checked=!!this.checkedAttribute,this.dirtyChecked=!1}}return tt({attribute:"checked",mode:"boolean"})(s.prototype,"checkedAttribute"),tt({attribute:"current-checked",converter:Q})(s.prototype,"currentChecked"),v(s.prototype,"defaultChecked"),v(s.prototype,"checked"),s}class Ge extends le{}class Qe extends(Xe(Ge)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Je extends Qe{constructor(){super(...arguments),this.handleClick=t=>{var e
|
|
559
559
|
this.disabled&&(null===(e=this.defaultSlottedContent)||void 0===e?void 0:e.length)<=1&&t.stopPropagation()},this.handleSubmission=()=>{if(!this.form)return
|
|
560
560
|
const t=this.proxy.isConnected
|
|
561
561
|
t||this.attachProxy(),"function"==typeof this.form.requestSubmit?this.form.requestSubmit(this.proxy):this.proxy.click(),t||this.detachProxy()},this.handleFormReset=()=>{var t
|
|
@@ -568,22 +568,22 @@ super.disconnectedCallback()
|
|
|
568
568
|
const e=Array.from(null===(t=this.control)||void 0===t?void 0:t.children)
|
|
569
569
|
e&&e.forEach((t=>{t.removeEventListener("click",this.handleClick)}))}}_t([tt({mode:"boolean"})],Je.prototype,"autofocus",void 0),_t([tt({attribute:"form"})],Je.prototype,"formId",void 0),_t([tt],Je.prototype,"formaction",void 0),_t([tt],Je.prototype,"formenctype",void 0),_t([tt],Je.prototype,"formmethod",void 0),_t([tt({mode:"boolean"})],Je.prototype,"formnovalidate",void 0),_t([tt],Je.prototype,"formtarget",void 0),_t([tt],Je.prototype,"type",void 0),_t([v],Je.prototype,"defaultSlottedContent",void 0)
|
|
570
570
|
class Ze{}_t([tt({attribute:"aria-expanded"})],Ze.prototype,"ariaExpanded",void 0),_t([tt({attribute:"aria-pressed"})],Ze.prototype,"ariaPressed",void 0),de(Ze,Te),de(Je,$t,Ze)
|
|
571
|
-
class
|
|
572
|
-
class
|
|
571
|
+
class ts extends le{}class es extends(Ye(ts)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class ss extends es{constructor(){super(),this.initialValue="on",this.indeterminate=!1,this.keypressHandler=t=>{if(!this.readOnly)switch(t.key){case Oe:this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked}},this.clickHandler=t=>{this.disabled||this.readOnly||(this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}}function is(t){return ve(t)&&("option"===t.getAttribute("role")||t instanceof HTMLOptionElement)}_t([tt({attribute:"readonly",mode:"boolean"})],ss.prototype,"readOnly",void 0),_t([v],ss.prototype,"defaultSlottedNodes",void 0),_t([v],ss.prototype,"indeterminate",void 0)
|
|
572
|
+
class os extends le{constructor(t,e,s,i){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,t&&(this.textContent=t),e&&(this.initialValue=e),s&&(this.defaultSelected=s),i&&(this.selected=i),this.proxy=new Option(`${this.textContent}`,this.initialValue,this.defaultSelected,this.selected),this.proxy.disabled=this.disabled}checkedChanged(t,e){this.ariaChecked="boolean"!=typeof e?null:e?"true":"false"}contentChanged(t,e){this.proxy instanceof HTMLOptionElement&&(this.proxy.textContent=this.textContent),this.$emit("contentchange",null,{bubbles:!0})}defaultSelectedChanged(){this.dirtySelected||(this.selected=this.defaultSelected,this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.defaultSelected))}disabledChanged(t,e){this.ariaDisabled=this.disabled?"true":"false",this.proxy instanceof HTMLOptionElement&&(this.proxy.disabled=this.disabled)}selectedAttributeChanged(){this.defaultSelected=this.selectedAttribute,this.proxy instanceof HTMLOptionElement&&(this.proxy.defaultSelected=this.defaultSelected)}selectedChanged(){this.ariaSelected=this.selected?"true":"false",this.dirtySelected||(this.dirtySelected=!0),this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.selected)}initialValueChanged(t,e){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){var t
|
|
573
573
|
return null!==(t=this.value)&&void 0!==t?t:this.text}get text(){var t,e
|
|
574
574
|
return null!==(e=null===(t=this.textContent)||void 0===t?void 0:t.replace(/\s+/g," ").trim())&&void 0!==e?e:""}set value(t){const e=`${null!=t?t:""}`
|
|
575
575
|
this._value=e,this.dirtyValue=!0,this.proxy instanceof HTMLOptionElement&&(this.proxy.value=e),p.notify(this,"value")}get value(){var t
|
|
576
|
-
return p.track(this,"value"),null!==(t=this._value)&&void 0!==t?t:this.text}get form(){return this.proxy?this.proxy.form:null}}_t([v],
|
|
577
|
-
class
|
|
578
|
-
class
|
|
576
|
+
return p.track(this,"value"),null!==(t=this._value)&&void 0!==t?t:this.text}get form(){return this.proxy?this.proxy.form:null}}_t([v],os.prototype,"checked",void 0),_t([v],os.prototype,"content",void 0),_t([v],os.prototype,"defaultSelected",void 0),_t([tt({mode:"boolean"})],os.prototype,"disabled",void 0),_t([tt({attribute:"selected",mode:"boolean"})],os.prototype,"selectedAttribute",void 0),_t([v],os.prototype,"selected",void 0),_t([tt({attribute:"value",mode:"fromView"})],os.prototype,"initialValue",void 0)
|
|
577
|
+
class ns{}_t([v],ns.prototype,"ariaChecked",void 0),_t([v],ns.prototype,"ariaPosInSet",void 0),_t([v],ns.prototype,"ariaSelected",void 0),_t([v],ns.prototype,"ariaSetSize",void 0),de(ns,Te),de(os,$t,ns)
|
|
578
|
+
class rs extends le{constructor(){super(...arguments),this._options=[],this.selectedIndex=-1,this.selectedOptions=[],this.shouldSkipFocus=!1,this.typeaheadBuffer="",this.typeaheadExpired=!0,this.typeaheadTimeout=-1}get firstSelectedOption(){var t
|
|
579
579
|
return null!==(t=this.selectedOptions[0])&&void 0!==t?t:null}get hasSelectableOptions(){return this.options.length>0&&!this.options.every((t=>t.disabled))}get length(){var t,e
|
|
580
580
|
return null!==(e=null===(t=this.options)||void 0===t?void 0:t.length)&&void 0!==e?e:0}get options(){return p.track(this,"options"),this._options}set options(t){this._options=t,p.notify(this,"options")}get typeAheadExpired(){return this.typeaheadExpired}set typeAheadExpired(t){this.typeaheadExpired=t}clickHandler(t){const e=t.target.closest("option,[role=option]")
|
|
581
581
|
if(e&&!e.disabled)return this.selectedIndex=this.options.indexOf(e),!0}focusAndScrollOptionIntoView(t=this.firstSelectedOption){this.contains(document.activeElement)&&null!==t&&(t.focus(),requestAnimationFrame((()=>{t.scrollIntoView({block:"nearest"})})))}focusinHandler(t){this.shouldSkipFocus||t.target!==t.currentTarget||(this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}getTypeaheadMatches(){const t=this.typeaheadBuffer.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),e=new RegExp(`^${t}`,"gi")
|
|
582
|
-
return this.options.filter((t=>t.text.trim().match(e)))}getSelectableIndex(t=this.selectedIndex,e){const
|
|
582
|
+
return this.options.filter((t=>t.text.trim().match(e)))}getSelectableIndex(t=this.selectedIndex,e){const s=t>e?-1:t<e?1:0,i=t+s
|
|
583
583
|
let o=null
|
|
584
|
-
switch(
|
|
584
|
+
switch(s){case-1:o=this.options.reduceRight(((t,e,s)=>!t&&!e.disabled&&s<i?e:t),o)
|
|
585
585
|
break
|
|
586
|
-
case 1:o=this.options.reduce(((t,e,
|
|
586
|
+
case 1:o=this.options.reduce(((t,e,s)=>!t&&!e.disabled&&s>i?e:t),o)}return this.options.indexOf(o)}handleChange(t,e){switch(e){case"selected":rs.slottedOptionFilter(t)&&(this.selectedIndex=this.options.indexOf(t)),this.setSelectedOptions()}}handleTypeAhead(t){this.typeaheadTimeout&&window.clearTimeout(this.typeaheadTimeout),this.typeaheadTimeout=window.setTimeout((()=>this.typeaheadExpired=!0),rs.TYPE_AHEAD_TIMEOUT_MS),t.length>1||(this.typeaheadBuffer=`${this.typeaheadExpired?"":this.typeaheadBuffer}${t}`)}keydownHandler(t){if(this.disabled)return!0
|
|
587
587
|
this.shouldSkipFocus=!1
|
|
588
588
|
const e=t.key
|
|
589
589
|
switch(e){case ze:t.shiftKey||(t.preventDefault(),this.selectFirstOption())
|
|
@@ -597,30 +597,30 @@ break
|
|
|
597
597
|
case Ae:return this.focusAndScrollOptionIntoView(),!0
|
|
598
598
|
case ke:case _e:return!0
|
|
599
599
|
case Oe:if(this.typeaheadExpired)return!0
|
|
600
|
-
default:return 1===e.length&&this.handleTypeAhead(`${e}`),!0}}mousedownHandler(t){return this.shouldSkipFocus=!this.contains(document.activeElement),!0}multipleChanged(t,e){this.ariaMultiSelectable=e?"true":null}selectedIndexChanged(t,e){var
|
|
601
|
-
if(this.hasSelectableOptions){if((null===(
|
|
602
|
-
return this.selectedIndex=
|
|
603
|
-
const
|
|
604
|
-
null===(
|
|
605
|
-
e.unsubscribe(this,"selected"),t.selected=
|
|
606
|
-
this.disabled||(this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex((t=>!t.disabled)))&&void 0!==e?e:-1)}selectLastOption(){this.disabled||(this.selectedIndex=function(t,e){let
|
|
607
|
-
for(;
|
|
600
|
+
default:return 1===e.length&&this.handleTypeAhead(`${e}`),!0}}mousedownHandler(t){return this.shouldSkipFocus=!this.contains(document.activeElement),!0}multipleChanged(t,e){this.ariaMultiSelectable=e?"true":null}selectedIndexChanged(t,e){var s
|
|
601
|
+
if(this.hasSelectableOptions){if((null===(s=this.options[this.selectedIndex])||void 0===s?void 0:s.disabled)&&"number"==typeof t){const s=this.getSelectableIndex(t,e),i=s>-1?s:t
|
|
602
|
+
return this.selectedIndex=i,void(e===i&&this.selectedIndexChanged(e,i))}this.setSelectedOptions()}else this.selectedIndex=-1}selectedOptionsChanged(t,e){var s
|
|
603
|
+
const i=e.filter(rs.slottedOptionFilter)
|
|
604
|
+
null===(s=this.options)||void 0===s||s.forEach((t=>{const e=p.getNotifier(t)
|
|
605
|
+
e.unsubscribe(this,"selected"),t.selected=i.includes(t),e.subscribe(this,"selected")}))}selectFirstOption(){var t,e
|
|
606
|
+
this.disabled||(this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex((t=>!t.disabled)))&&void 0!==e?e:-1)}selectLastOption(){this.disabled||(this.selectedIndex=function(t,e){let s=t.length
|
|
607
|
+
for(;s--;)if(e(t[s],s,t))return s
|
|
608
608
|
return-1}(this.options,(t=>!t.disabled)))}selectNextOption(){!this.disabled&&this.selectedIndex<this.options.length-1&&(this.selectedIndex+=1)}selectPreviousOption(){!this.disabled&&this.selectedIndex>0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){var t,e
|
|
609
|
-
this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex((t=>t.defaultSelected)))&&void 0!==e?e:-1}setSelectedOptions(){var t,e,
|
|
610
|
-
const
|
|
611
|
-
this.options.forEach(((t,e)=>{t.id||(t.id=Le("option-")),t.ariaPosInSet=`${e+1}`,t.ariaSetSize=
|
|
609
|
+
this.selectedIndex=null!==(e=null===(t=this.options)||void 0===t?void 0:t.findIndex((t=>t.defaultSelected)))&&void 0!==e?e:-1}setSelectedOptions(){var t,e,s;(null===(t=this.options)||void 0===t?void 0:t.length)&&(this.selectedOptions=[this.options[this.selectedIndex]],this.ariaActiveDescendant=null!==(s=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.id)&&void 0!==s?s:"",this.focusAndScrollOptionIntoView())}slottedOptionsChanged(t,e){this.options=e.reduce(((t,e)=>(is(e)&&t.push(e),t)),[])
|
|
610
|
+
const s=`${this.options.length}`
|
|
611
|
+
this.options.forEach(((t,e)=>{t.id||(t.id=Le("option-")),t.ariaPosInSet=`${e+1}`,t.ariaSetSize=s})),this.$fastController.isConnected&&(this.setSelectedOptions(),this.setDefaultSelectedOption())}typeaheadBufferChanged(t,e){if(this.$fastController.isConnected){const t=this.getTypeaheadMatches()
|
|
612
612
|
if(t.length){const e=this.options.indexOf(t[0])
|
|
613
|
-
e>-1&&(this.selectedIndex=e)}this.typeaheadExpired=!1}}}
|
|
614
|
-
class
|
|
615
|
-
const
|
|
616
|
-
class
|
|
617
|
-
class
|
|
618
|
-
this.ariaControls="",this.ariaExpanded="false"}get options(){return p.track(this,"options"),this.filteredOptions.length?this.filteredOptions:this._options}set options(t){this._options=t,p.notify(this,"options")}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}get value(){return p.track(this,"value"),this._value}set value(t){var e,i
|
|
613
|
+
e>-1&&(this.selectedIndex=e)}this.typeaheadExpired=!1}}}rs.slottedOptionFilter=t=>is(t)&&!t.hidden,rs.TYPE_AHEAD_TIMEOUT_MS=1e3,_t([tt({mode:"boolean"})],rs.prototype,"disabled",void 0),_t([v],rs.prototype,"selectedIndex",void 0),_t([v],rs.prototype,"selectedOptions",void 0),_t([v],rs.prototype,"slottedOptions",void 0),_t([v],rs.prototype,"typeaheadBuffer",void 0)
|
|
614
|
+
class as{}_t([v],as.prototype,"ariaActiveDescendant",void 0),_t([v],as.prototype,"ariaDisabled",void 0),_t([v],as.prototype,"ariaExpanded",void 0),_t([v],as.prototype,"ariaMultiSelectable",void 0),de(as,Te),de(rs,as)
|
|
615
|
+
const ls="above",cs="below"
|
|
616
|
+
class hs extends rs{}class ds extends(Xe(hs)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const us="inline",ps="list",vs="both",gs="none"
|
|
617
|
+
class ms extends ds{constructor(){super(...arguments),this._value="",this.filteredOptions=[],this.filter="",this.forcedPosition=!1,this.listboxId=Le("listbox-"),this.maxHeight=0,this.open=!1}formResetCallback(){super.formResetCallback(),this.setDefaultSelectedOption(),this.updateValue()}get isAutocompleteInline(){return this.autocomplete===us||this.isAutocompleteBoth}get isAutocompleteList(){return this.autocomplete===ps||this.isAutocompleteBoth}get isAutocompleteBoth(){return this.autocomplete===vs}openChanged(){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),void h.queueUpdate((()=>this.focus()))
|
|
618
|
+
this.ariaControls="",this.ariaExpanded="false"}get options(){return p.track(this,"options"),this.filteredOptions.length?this.filteredOptions:this._options}set options(t){this._options=t,p.notify(this,"options")}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}get value(){return p.track(this,"value"),this._value}set value(t){var e,s,i
|
|
619
619
|
const o=`${this._value}`
|
|
620
|
-
if(this.$fastController.isConnected&&this.options){const o=this.options.findIndex((e=>e.text.toLowerCase()===t.toLowerCase())),n=null===(e=this.options[this.selectedIndex])||void 0===e?void 0:e.text,r=null===(
|
|
621
|
-
this.selectedIndex=n!==r?o:this.selectedIndex,t=(null===(
|
|
620
|
+
if(this.$fastController.isConnected&&this.options){const o=this.options.findIndex((e=>e.text.toLowerCase()===t.toLowerCase())),n=null===(e=this.options[this.selectedIndex])||void 0===e?void 0:e.text,r=null===(s=this.options[o])||void 0===s?void 0:s.text
|
|
621
|
+
this.selectedIndex=n!==r?o:this.selectedIndex,t=(null===(i=this.firstSelectedOption)||void 0===i?void 0:i.text)||t}o!==t&&(this._value=t,super.valueChanged(o,t),p.notify(this,"value"))}clickHandler(t){if(!this.disabled){if(this.open){const e=t.target.closest("option,[role=option]")
|
|
622
622
|
if(!e||e.disabled)return
|
|
623
|
-
this.selectedOptions=[e],this.control.value=e.text,this.clearSelectionRange(),this.updateValue(!0)}return this.open=!this.open,this.open&&this.control.focus(),!0}}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.value&&(this.initialValue=this.value)}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}filterOptions(){this.autocomplete&&this.autocomplete!==
|
|
623
|
+
this.selectedOptions=[e],this.control.value=e.text,this.clearSelectionRange(),this.updateValue(!0)}return this.open=!this.open,this.open&&this.control.focus(),!0}}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.value&&(this.initialValue=this.value)}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}filterOptions(){this.autocomplete&&this.autocomplete!==gs||(this.filter="")
|
|
624
624
|
const t=this.filter.toLowerCase()
|
|
625
625
|
this.filteredOptions=this._options.filter((t=>t.text.toLowerCase().startsWith(this.filter.toLowerCase()))),this.isAutocompleteList&&(this.filteredOptions.length||t||(this.filteredOptions=this._options),this._options.forEach((t=>{t.hidden=!this.filteredOptions.includes(t)})))}focusAndScrollOptionIntoView(){this.contains(document.activeElement)&&(this.control.focus(),this.firstSelectedOption&&requestAnimationFrame((()=>{var t
|
|
626
626
|
null===(t=this.firstSelectedOption)||void 0===t||t.scrollIntoView({block:"nearest"})})))}focusoutHandler(t){if(this.syncValue(),!this.open)return!0
|
|
@@ -644,156 +644,156 @@ super.selectedIndexChanged(t,e)}}selectPreviousOption(){!this.disabled&&this.sel
|
|
|
644
644
|
this.selectedIndex=t,!this.dirtyValue&&this.firstSelectedOption&&(this.value=this.firstSelectedOption.text),this.setSelectedOptions()}}setInputToSelection(){this.firstSelectedOption&&(this.control.value=this.firstSelectedOption.text,this.control.focus())}setInlineSelection(){this.firstSelectedOption&&(this.setInputToSelection(),this.control.setSelectionRange(this.filter.length,this.control.value.length,"backward"))}syncValue(){var t
|
|
645
645
|
const e=this.selectedIndex>-1?null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text:this.control.value
|
|
646
646
|
this.updateValue(this.value!==e)}setPositioning(){const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom
|
|
647
|
-
this.position=this.forcedPosition?this.positionAttribute:t.top>e?
|
|
647
|
+
this.position=this.forcedPosition?this.positionAttribute:t.top>e?ls:cs,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===ls?~~t.top:~~e}selectedOptionsChanged(t,e){this.$fastController.isConnected&&this._options.forEach((t=>{t.selected=e.includes(t)}))}slottedOptionsChanged(t,e){super.slottedOptionsChanged(t,e),this.updateValue()}updateValue(t){var e
|
|
648
648
|
this.$fastController.isConnected&&(this.value=(null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text)||this.control.value,this.control.value=this.value),t&&this.$emit("change")}clearSelectionRange(){const t=this.control.value.length
|
|
649
|
-
this.control.setSelectionRange(t,t)}}_t([tt({attribute:"autocomplete",mode:"fromView"})],
|
|
650
|
-
class
|
|
651
|
-
function
|
|
649
|
+
this.control.setSelectionRange(t,t)}}_t([tt({attribute:"autocomplete",mode:"fromView"})],ms.prototype,"autocomplete",void 0),_t([v],ms.prototype,"maxHeight",void 0),_t([tt({attribute:"open",mode:"boolean"})],ms.prototype,"open",void 0),_t([tt],ms.prototype,"placeholder",void 0),_t([tt({attribute:"position"})],ms.prototype,"positionAttribute",void 0),_t([v],ms.prototype,"position",void 0)
|
|
650
|
+
class fs{}_t([v],fs.prototype,"ariaAutoComplete",void 0),_t([v],fs.prototype,"ariaControls",void 0),de(fs,as),de(ms,$t,fs)
|
|
651
|
+
function bs(t){const e=t.parentElement
|
|
652
652
|
if(e)return e
|
|
653
653
|
{const e=t.getRootNode()
|
|
654
|
-
if(e.host instanceof HTMLElement)return e.host}return null}const
|
|
655
|
-
class
|
|
654
|
+
if(e.host instanceof HTMLElement)return e.host}return null}const ws=document.createElement("div")
|
|
655
|
+
class xs{setProperty(t,e){h.queueUpdate((()=>this.target.setProperty(t,e)))}removeProperty(t){h.queueUpdate((()=>this.target.removeProperty(t)))}}class ys extends xs{constructor(){super()
|
|
656
656
|
const t=new CSSStyleSheet
|
|
657
|
-
this.target=t.cssRules[t.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,t]}}class $
|
|
657
|
+
this.target=t.cssRules[t.insertRule(":root{}")].style,document.adoptedStyleSheets=[...document.adoptedStyleSheets,t]}}class $s extends xs{constructor(){super(),this.style=document.createElement("style"),document.head.appendChild(this.style)
|
|
658
658
|
const{sheet:t}=this.style
|
|
659
659
|
if(t){const e=t.insertRule(":root{}",t.cssRules.length)
|
|
660
|
-
this.target=t.cssRules[e].style}}}class
|
|
660
|
+
this.target=t.cssRules[e].style}}}class Cs{constructor(t){this.store=new Map,this.target=null
|
|
661
661
|
const e=t.$fastController
|
|
662
|
-
this.style=document.createElement("style"),e.addStyles(this.style),p.getNotifier(e).subscribe(this,"isConnected"),this.handleChange(e,"isConnected")}targetChanged(){if(null!==this.target)for(const[t,e]of this.store.entries())this.target.setProperty(t,e)}setProperty(t,e){this.store.set(t,e),h.queueUpdate((()=>{null!==this.target&&this.target.setProperty(t,e)}))}removeProperty(t){this.store.delete(t),h.queueUpdate((()=>{null!==this.target&&this.target.removeProperty(t)}))}handleChange(t,e){const{sheet:
|
|
663
|
-
if(
|
|
664
|
-
this.target=
|
|
665
|
-
class
|
|
666
|
-
for(const
|
|
667
|
-
for(const e of
|
|
662
|
+
this.style=document.createElement("style"),e.addStyles(this.style),p.getNotifier(e).subscribe(this,"isConnected"),this.handleChange(e,"isConnected")}targetChanged(){if(null!==this.target)for(const[t,e]of this.store.entries())this.target.setProperty(t,e)}setProperty(t,e){this.store.set(t,e),h.queueUpdate((()=>{null!==this.target&&this.target.setProperty(t,e)}))}removeProperty(t){this.store.delete(t),h.queueUpdate((()=>{null!==this.target&&this.target.removeProperty(t)}))}handleChange(t,e){const{sheet:s}=this.style
|
|
663
|
+
if(s){const t=s.insertRule(":host{}",s.cssRules.length)
|
|
664
|
+
this.target=s.cssRules[t].style}else this.target=null}}_t([v],Cs.prototype,"target",void 0)
|
|
665
|
+
class ks{constructor(t){this.target=t.style}setProperty(t,e){h.queueUpdate((()=>this.target.setProperty(t,e)))}removeProperty(t){h.queueUpdate((()=>this.target.removeProperty(t)))}}class _s{setProperty(t,e){_s.properties[t]=e
|
|
666
|
+
for(const s of _s.roots.values())Os.getOrCreate(_s.normalizeRoot(s)).setProperty(t,e)}removeProperty(t){delete _s.properties[t]
|
|
667
|
+
for(const e of _s.roots.values())Os.getOrCreate(_s.normalizeRoot(e)).removeProperty(t)}static registerRoot(t){const{roots:e}=_s
|
|
668
668
|
if(!e.has(t)){e.add(t)
|
|
669
|
-
const
|
|
670
|
-
for(const t in
|
|
669
|
+
const s=Os.getOrCreate(this.normalizeRoot(t))
|
|
670
|
+
for(const t in _s.properties)s.setProperty(t,_s.properties[t])}}static unregisterRoot(t){const{roots:e}=_s
|
|
671
671
|
if(e.has(t)){e.delete(t)
|
|
672
|
-
const
|
|
673
|
-
for(const t in
|
|
674
|
-
const
|
|
672
|
+
const s=Os.getOrCreate(_s.normalizeRoot(t))
|
|
673
|
+
for(const t in _s.properties)s.removeProperty(t)}}static normalizeRoot(t){return t===ws?document:t}}_s.roots=new Set,_s.properties={}
|
|
674
|
+
const zs=new WeakMap,Is=h.supportsAdoptedStyleSheets?class extends xs{constructor(t){super()
|
|
675
675
|
const e=new CSSStyleSheet
|
|
676
|
-
this.target=e.cssRules[e.insertRule(":host{}")].style,t.$fastController.addStyles(U.create([e]))}}:
|
|
676
|
+
this.target=e.cssRules[e.insertRule(":host{}")].style,t.$fastController.addStyles(U.create([e]))}}:Cs,Os=Object.freeze({getOrCreate(t){if(zs.has(t))return zs.get(t)
|
|
677
677
|
let e
|
|
678
|
-
return t===
|
|
679
|
-
class
|
|
678
|
+
return t===ws?e=new _s:t instanceof Document?e=h.supportsAdoptedStyleSheets?new ys:new $s:e=t instanceof ht?new Is(t):new ks(t),zs.set(t,e),e}})
|
|
679
|
+
class As extends dt{constructor(t){super(),this.subscribers=new WeakMap,this._appliedTo=new Set,this.name=t.name,null!==t.cssCustomPropertyName&&(this.cssCustomProperty=`--${t.cssCustomPropertyName}`,this.cssVar=`var(${this.cssCustomProperty})`),this.id=As.uniqueId(),As.tokensById.set(this.id,this)}get appliedTo(){return[...this._appliedTo]}static from(t){return new As({name:"string"==typeof t?t:t.name,cssCustomPropertyName:"string"==typeof t?t:void 0===t.cssCustomPropertyName?t.name:t.cssCustomPropertyName})}static isCSSDesignToken(t){return"string"==typeof t.cssCustomProperty}static isDerivedDesignTokenValue(t){return"function"==typeof t}static getTokenById(t){return As.tokensById.get(t)}getOrCreateSubscriberSet(t=this){return this.subscribers.get(t)||this.subscribers.set(t,new Set)&&this.subscribers.get(t)}createCSS(){return this.cssVar||""}getValueFor(t){const e=Vs.getOrCreate(t).get(this)
|
|
680
680
|
if(void 0!==e)return e
|
|
681
|
-
throw new Error(`Value could not be retrieved for token named "${this.name}". Ensure the value is set for ${t} or an ancestor of ${t}.`)}setValueFor(t,e){return this._appliedTo.add(t),e instanceof
|
|
682
|
-
e&&!
|
|
683
|
-
|
|
684
|
-
this.subscribers.has(this)&&this.subscribers.get(this).forEach((t=>t.handleChange(e))),this.subscribers.has(t)&&this.subscribers.get(t).forEach((t=>t.handleChange(e)))}alias(t){return e=>t.getValueFor(e)}}
|
|
685
|
-
return()=>(t++,t.toString(16))})(),
|
|
686
|
-
class
|
|
687
|
-
class
|
|
688
|
-
if(
|
|
689
|
-
if(e){const o=e.get(
|
|
690
|
-
o===n||
|
|
691
|
-
for(;null!==e;){if(
|
|
692
|
-
e=
|
|
693
|
-
do{if(
|
|
694
|
-
|
|
695
|
-
return null}get parent(){return
|
|
681
|
+
throw new Error(`Value could not be retrieved for token named "${this.name}". Ensure the value is set for ${t} or an ancestor of ${t}.`)}setValueFor(t,e){return this._appliedTo.add(t),e instanceof As&&(e=this.alias(e)),Vs.getOrCreate(t).set(this,e),this}deleteValueFor(t){return this._appliedTo.delete(t),Vs.existsFor(t)&&Vs.getOrCreate(t).delete(this),this}withDefault(t){return this.setValueFor(ws,t),this}subscribe(t,e){const s=this.getOrCreateSubscriberSet(e)
|
|
682
|
+
e&&!Vs.existsFor(e)&&Vs.getOrCreate(e),s.has(t)||s.add(t)}unsubscribe(t,e){const s=this.subscribers.get(e||this)
|
|
683
|
+
s&&s.has(t)&&s.delete(t)}notify(t){const e=Object.freeze({token:this,target:t})
|
|
684
|
+
this.subscribers.has(this)&&this.subscribers.get(this).forEach((t=>t.handleChange(e))),this.subscribers.has(t)&&this.subscribers.get(t).forEach((t=>t.handleChange(e)))}alias(t){return e=>t.getValueFor(e)}}As.uniqueId=(()=>{let t=0
|
|
685
|
+
return()=>(t++,t.toString(16))})(),As.tokensById=new Map
|
|
686
|
+
class Ss{constructor(t,e,s){this.source=t,this.token=e,this.node=s,this.dependencies=new Set,this.observer=p.binding(t,this,!1),this.observer.handleChange=this.observer.call,this.handleChange()}disconnect(){this.observer.disconnect()}handleChange(){this.node.store.set(this.token,this.observer.observe(this.node.target,f))}}class Es{constructor(){this.values=new Map}set(t,e){this.values.get(t)!==e&&(this.values.set(t,e),p.getNotifier(this).notify(t.id))}get(t){return p.track(this,t.id),this.values.get(t)}delete(t){this.values.delete(t)}all(){return this.values.entries()}}const Hs=new WeakMap,Ms=new WeakMap
|
|
687
|
+
class Vs{constructor(t){this.target=t,this.store=new Es,this.children=[],this.assignedValues=new Map,this.reflecting=new Set,this.bindingObservers=new Map,this.tokenValueChangeHandler={handleChange:(t,e)=>{const s=As.getTokenById(e)
|
|
688
|
+
if(s&&(s.notify(this.target),As.isCSSDesignToken(s))){const e=this.parent,i=this.isReflecting(s)
|
|
689
|
+
if(e){const o=e.get(s),n=t.get(s)
|
|
690
|
+
o===n||i?o===n&&i&&this.stopReflectToCSS(s):this.reflectToCSS(s)}else i||this.reflectToCSS(s)}}},Hs.set(t,this),p.getNotifier(this.store).subscribe(this.tokenValueChangeHandler),t instanceof ht?t.$fastController.addBehaviors([this]):t.isConnected&&this.bind()}static getOrCreate(t){return Hs.get(t)||new Vs(t)}static existsFor(t){return Hs.has(t)}static findParent(t){if(ws!==t.target){let e=bs(t.target)
|
|
691
|
+
for(;null!==e;){if(Hs.has(e))return Hs.get(e)
|
|
692
|
+
e=bs(e)}return Vs.getOrCreate(ws)}return null}static findClosestAssignedNode(t,e){let s=e
|
|
693
|
+
do{if(s.has(t))return s
|
|
694
|
+
s=s.parent?s.parent:s.target!==ws?Vs.getOrCreate(ws):null}while(null!==s)
|
|
695
|
+
return null}get parent(){return Ms.get(this)||null}has(t){return this.assignedValues.has(t)}get(t){const e=this.store.get(t)
|
|
696
696
|
if(void 0!==e)return e
|
|
697
|
-
const
|
|
698
|
-
return void 0!==
|
|
699
|
-
return this.assignedValues.has(t)?this.assignedValues.get(t):null===(e=
|
|
697
|
+
const s=this.getRaw(t)
|
|
698
|
+
return void 0!==s?(this.hydrate(t,s),this.get(t)):void 0}getRaw(t){var e
|
|
699
|
+
return this.assignedValues.has(t)?this.assignedValues.get(t):null===(e=Vs.findClosestAssignedNode(t,this))||void 0===e?void 0:e.getRaw(t)}set(t,e){As.isDerivedDesignTokenValue(this.assignedValues.get(t))&&this.tearDownBindingObserver(t),this.assignedValues.set(t,e),As.isDerivedDesignTokenValue(e)?this.setupBindingObserver(t,e):this.store.set(t,e)}delete(t){this.assignedValues.delete(t),this.tearDownBindingObserver(t)
|
|
700
700
|
const e=this.getRaw(t)
|
|
701
|
-
e?this.hydrate(t,e):this.store.delete(t)}bind(){const t=
|
|
701
|
+
e?this.hydrate(t,e):this.store.delete(t)}bind(){const t=Vs.findParent(this)
|
|
702
702
|
t&&t.appendChild(this)
|
|
703
|
-
for(const t of this.assignedValues.keys())t.notify(this.target)}unbind(){if(this.parent){
|
|
703
|
+
for(const t of this.assignedValues.keys())t.notify(this.target)}unbind(){if(this.parent){Ms.get(this).removeChild(this)}}appendChild(t){t.parent&&Ms.get(t).removeChild(t)
|
|
704
704
|
const e=this.children.filter((e=>t.contains(e)))
|
|
705
|
-
|
|
706
|
-
for(const[e,
|
|
707
|
-
return-1!==e&&this.children.splice(e,1),p.getNotifier(this.store).unsubscribe(t),t.parent===this&&
|
|
708
|
-
for(;null!==
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
return this.bindingObservers.set(t,
|
|
713
|
-
this.add(e,
|
|
714
|
-
const
|
|
715
|
-
let
|
|
716
|
-
const
|
|
705
|
+
Ms.set(t,this),this.children.push(t),e.forEach((e=>t.appendChild(e))),p.getNotifier(this.store).subscribe(t)
|
|
706
|
+
for(const[e,s]of this.store.all())t.hydrate(e,this.bindingObservers.has(e)?this.getRaw(e):s)}removeChild(t){const e=this.children.indexOf(t)
|
|
707
|
+
return-1!==e&&this.children.splice(e,1),p.getNotifier(this.store).unsubscribe(t),t.parent===this&&Ms.delete(t)}contains(t){return function(t,e){let s=e
|
|
708
|
+
for(;null!==s;){if(s===t)return!0
|
|
709
|
+
s=bs(s)}return!1}(this.target,t.target)}reflectToCSS(t){this.isReflecting(t)||(this.reflecting.add(t),Vs.cssCustomPropertyReflector.startReflection(t,this.target))}stopReflectToCSS(t){this.isReflecting(t)&&(this.reflecting.delete(t),Vs.cssCustomPropertyReflector.stopReflection(t,this.target))}isReflecting(t){return this.reflecting.has(t)}handleChange(t,e){const s=As.getTokenById(e)
|
|
710
|
+
s&&this.hydrate(s,this.getRaw(s))}hydrate(t,e){if(!this.has(t)){const s=this.bindingObservers.get(t)
|
|
711
|
+
As.isDerivedDesignTokenValue(e)?s?s.source!==e&&(this.tearDownBindingObserver(t),this.setupBindingObserver(t,e)):this.setupBindingObserver(t,e):(s&&this.tearDownBindingObserver(t),this.store.set(t,e))}}setupBindingObserver(t,e){const s=new Ss(e,t,this)
|
|
712
|
+
return this.bindingObservers.set(t,s),s}tearDownBindingObserver(t){return!!this.bindingObservers.has(t)&&(this.bindingObservers.get(t).disconnect(),this.bindingObservers.delete(t),!0)}}Vs.cssCustomPropertyReflector=new class{startReflection(t,e){t.subscribe(this,e),this.handleChange({token:t,target:e})}stopReflection(t,e){t.unsubscribe(this,e),this.remove(t,e)}handleChange(t){const{token:e,target:s}=t
|
|
713
|
+
this.add(e,s)}add(t,e){Os.getOrCreate(e).setProperty(t.cssCustomProperty,this.resolveCSSValue(Vs.getOrCreate(e).get(t)))}remove(t,e){Os.getOrCreate(e).removeProperty(t.cssCustomProperty)}resolveCSSValue(t){return t&&"function"==typeof t.createCSS?t.createCSS():t}},_t([v],Vs.prototype,"children",void 0)
|
|
714
|
+
const Ls=Object.freeze({create:function(t){return As.from(t)},notifyConnection:t=>!(!t.isConnected||!Vs.existsFor(t))&&(Vs.getOrCreate(t).bind(),!0),notifyDisconnection:t=>!(t.isConnected||!Vs.existsFor(t))&&(Vs.getOrCreate(t).unbind(),!0),registerRoot(t=ws){_s.registerRoot(t)},unregisterRoot(t=ws){_s.unregisterRoot(t)}}),Ts=Object.freeze({definitionCallbackOnly:null,ignoreDuplicate:Symbol()}),Ps=new Map,Rs=new Map
|
|
715
|
+
let Ds=null
|
|
716
|
+
const Bs=Vt.createInterface((t=>t.cachedCallback((t=>(null===Ds&&(Ds=new Ns(null,t)),Ds))))),Fs=Object.freeze({tagFor:t=>Rs.get(t),responsibleFor(t){const e=t.$$designSystem$$
|
|
717
717
|
if(e)return e
|
|
718
|
-
return Vt.findResponsibleContainer(t).get(
|
|
718
|
+
return Vt.findResponsibleContainer(t).get(Bs)},getOrCreate(t){if(!t)return null===Ds&&(Ds=Vt.getOrCreateDOMContainer().get(Bs)),Ds
|
|
719
719
|
const e=t.$$designSystem$$
|
|
720
720
|
if(e)return e
|
|
721
|
-
const
|
|
722
|
-
if(
|
|
723
|
-
{const e=new
|
|
724
|
-
return
|
|
725
|
-
class
|
|
726
|
-
let{type:d}=a,u=l,p=
|
|
727
|
-
for(;p;){const t=
|
|
728
|
-
switch(t){case
|
|
729
|
-
case
|
|
721
|
+
const s=Vt.getOrCreateDOMContainer(t)
|
|
722
|
+
if(s.has(Bs,!1))return s.get(Bs)
|
|
723
|
+
{const e=new Ns(t,s)
|
|
724
|
+
return s.register(Gt.instance(Bs,e)),e}}})
|
|
725
|
+
class Ns{constructor(t,e){this.owner=t,this.container=e,this.designTokensInitialized=!1,this.prefix="fast",this.shadowRootMode=void 0,this.disambiguate=()=>Ts.definitionCallbackOnly,null!==t&&(t.$$designSystem$$=this)}withPrefix(t){return this.prefix=t,this}withShadowRootMode(t){return this.shadowRootMode=t,this}withElementDisambiguation(t){return this.disambiguate=t,this}withDesignTokenRoot(t){return this.designTokenRoot=t,this}register(...t){const e=this.container,s=[],i=this.disambiguate,o=this.shadowRootMode,n={elementPrefix:this.prefix,tryDefineElement(t,n,r){const a=function(t,e,s){return"string"==typeof t?{name:t,type:e,callback:s}:t}(t,n,r),{name:l,callback:c,baseClass:h}=a
|
|
726
|
+
let{type:d}=a,u=l,p=Ps.get(u),v=!0
|
|
727
|
+
for(;p;){const t=i(u,d,p)
|
|
728
|
+
switch(t){case Ts.ignoreDuplicate:return
|
|
729
|
+
case Ts.definitionCallbackOnly:v=!1,p=void 0
|
|
730
730
|
break
|
|
731
|
-
default:u=t,p=
|
|
732
|
-
this.designTokensInitialized||(this.designTokensInitialized=!0,null!==this.designTokenRoot&&
|
|
733
|
-
for(const t of
|
|
734
|
-
return this}}class
|
|
731
|
+
default:u=t,p=Ps.get(u)}}v&&((Rs.has(d)||d===le)&&(d=class extends d{}),Ps.set(u,d),Rs.set(d,u),h&&Rs.set(h,u)),s.push(new js(e,u,d,o,c,v))}}
|
|
732
|
+
this.designTokensInitialized||(this.designTokensInitialized=!0,null!==this.designTokenRoot&&Ls.registerRoot(this.designTokenRoot)),e.registerWithContext(n,...t)
|
|
733
|
+
for(const t of s)t.callback(t),t.willDefine&&null!==t.definition&&t.definition.define()
|
|
734
|
+
return this}}class js{constructor(t,e,s,i,o,n){this.container=t,this.name=e,this.type=s,this.shadowRootMode=i,this.callback=o,this.willDefine=n,this.definition=null}definePresentation(t){re.define(this.name,t,this.container)}defineElement(t){this.definition=new ot(this.type,Object.assign(Object.assign({},t),{name:this.name}))}tagFor(t){return Fs.tagFor(t)}}
|
|
735
735
|
/*!
|
|
736
736
|
* tabbable 5.2.1
|
|
737
737
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
738
738
|
*/
|
|
739
|
-
var
|
|
740
|
-
var e,
|
|
741
|
-
if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=
|
|
742
|
-
else try{e=
|
|
743
|
-
return!o||o===t}(t)},
|
|
744
|
-
var
|
|
745
|
-
if(
|
|
746
|
-
if(e&&"full"!==e){if("non-zero-area"===e){var
|
|
739
|
+
var qs=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Us=qs.join(","),Ks="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ws=function(t){return"INPUT"===t.tagName},Xs=function(t){return function(t){return Ws(t)&&"radio"===t.type}(t)&&!function(t){if(!t.name)return!0
|
|
740
|
+
var e,s=t.form||t.ownerDocument,i=function(t){return s.querySelectorAll('input[type="radio"][name="'+t+'"]')}
|
|
741
|
+
if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)e=i(window.CSS.escape(t.name))
|
|
742
|
+
else try{e=i(t.name)}catch(t){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",t.message),!1}var o=function(t,e){for(var s=0;s<t.length;s++)if(t[s].checked&&t[s].form===e)return t[s]}(e,t.form)
|
|
743
|
+
return!o||o===t}(t)},Ys=function(t,e){return!(e.disabled||function(t){return Ws(t)&&"hidden"===t.type}(e)||function(t,e){if("hidden"===getComputedStyle(t).visibility)return!0
|
|
744
|
+
var s=Ks.call(t,"details>summary:first-of-type")?t.parentElement:t
|
|
745
|
+
if(Ks.call(s,"details:not([open]) *"))return!0
|
|
746
|
+
if(e&&"full"!==e){if("non-zero-area"===e){var i=t.getBoundingClientRect(),o=i.width,n=i.height
|
|
747
747
|
return 0===o&&0===n}}else for(;t;){if("none"===getComputedStyle(t).display)return!0
|
|
748
|
-
t=t.parentElement}return!1}(e,t.displayCheck)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(
|
|
749
|
-
if("LEGEND"===
|
|
750
|
-
return isNaN(e)?function(t){return"true"===t.contentEditable}(t)?0:"AUDIO"!==t.nodeName&&"VIDEO"!==t.nodeName&&"DETAILS"!==t.nodeName||null!==t.getAttribute("tabindex")?t.tabIndex:0:e}(e)<0)},
|
|
751
|
-
return!1!==
|
|
752
|
-
return!1!==
|
|
753
|
-
class
|
|
748
|
+
t=t.parentElement}return!1}(e,t.displayCheck)||function(t){return"DETAILS"===t.tagName&&Array.prototype.slice.apply(t.children).some((function(t){return"SUMMARY"===t.tagName}))}(e)||function(t){if(Ws(t)||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||"BUTTON"===t.tagName)for(var e=t.parentElement;e;){if("FIELDSET"===e.tagName&&e.disabled){for(var s=0;s<e.children.length;s++){var i=e.children.item(s)
|
|
749
|
+
if("LEGEND"===i.tagName)return!i.contains(t)}return!0}e=e.parentElement}return!1}(e))},Gs=function(t,e){return!(!Ys(t,e)||Xs(e)||function(t){var e=parseInt(t.getAttribute("tabindex"),10)
|
|
750
|
+
return isNaN(e)?function(t){return"true"===t.contentEditable}(t)?0:"AUDIO"!==t.nodeName&&"VIDEO"!==t.nodeName&&"DETAILS"!==t.nodeName||null!==t.getAttribute("tabindex")?t.tabIndex:0:e}(e)<0)},Qs=function(t,e){if(e=e||{},!t)throw new Error("No node provided")
|
|
751
|
+
return!1!==Ks.call(t,Us)&&Gs(e,t)},Js=qs.concat("iframe").join(","),Zs=function(t,e){if(e=e||{},!t)throw new Error("No node provided")
|
|
752
|
+
return!1!==Ks.call(t,Js)&&Ys(e,t)}
|
|
753
|
+
class ti extends le{constructor(){super(...arguments),this.modal=!0,this.hidden=!1,this.trapFocus=!0,this.trapFocusChanged=()=>{this.$fastController.isConnected&&this.updateTrapFocus()},this.isTrappingFocus=!1,this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&!this.hidden)switch(t.key){case _e:this.dismiss(),t.preventDefault()
|
|
754
754
|
break
|
|
755
755
|
case Ae:this.handleTabKeyDown(t)}},this.handleDocumentFocus=t=>{!t.defaultPrevented&&this.shouldForceFocus(t.target)&&(this.focusFirstElement(),t.preventDefault())},this.handleTabKeyDown=t=>{if(!this.trapFocus||this.hidden)return
|
|
756
756
|
const e=this.getTabQueueBounds()
|
|
757
|
-
return 0!==e.length?1===e.length?(e[0].focus(),void t.preventDefault()):void(t.shiftKey&&t.target===e[0]?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||t.target!==e[e.length-1]||(e[0].focus(),t.preventDefault())):void 0},this.getTabQueueBounds=()=>
|
|
757
|
+
return 0!==e.length?1===e.length?(e[0].focus(),void t.preventDefault()):void(t.shiftKey&&t.target===e[0]?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||t.target!==e[e.length-1]||(e[0].focus(),t.preventDefault())):void 0},this.getTabQueueBounds=()=>ti.reduceTabbableItems([],this),this.focusFirstElement=()=>{const t=this.getTabQueueBounds()
|
|
758
758
|
t.length>0?t[0].focus():this.dialog instanceof HTMLElement&&this.dialog.focus()},this.shouldForceFocus=t=>this.isTrappingFocus&&!this.contains(t),this.shouldTrapFocus=()=>this.trapFocus&&!this.hidden,this.updateTrapFocus=t=>{const e=void 0===t?this.shouldTrapFocus():t
|
|
759
|
-
e&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),h.queueUpdate((()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()}))):!e&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}dismiss(){this.$emit("dismiss"),this.$emit("cancel")}show(){this.hidden=!1}hide(){this.hidden=!0,this.$emit("close")}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),this.notifier=p.getNotifier(this),this.notifier.subscribe(this,"hidden"),this.updateTrapFocus()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1),this.notifier.unsubscribe(this,"hidden")}handleChange(t,e){switch(e){case"hidden":this.updateTrapFocus()}}static reduceTabbableItems(t,e){return"-1"===e.getAttribute("tabindex")?t:
|
|
760
|
-
return!!(null===(
|
|
761
|
-
return Array.from(null!==(
|
|
762
|
-
class
|
|
763
|
-
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 i
|
|
764
|
-
this.ariaActiveDescendant=null!==(
|
|
759
|
+
e&&!this.isTrappingFocus?(this.isTrappingFocus=!0,document.addEventListener("focusin",this.handleDocumentFocus),h.queueUpdate((()=>{this.shouldForceFocus(document.activeElement)&&this.focusFirstElement()}))):!e&&this.isTrappingFocus&&(this.isTrappingFocus=!1,document.removeEventListener("focusin",this.handleDocumentFocus))}}dismiss(){this.$emit("dismiss"),this.$emit("cancel")}show(){this.hidden=!1}hide(){this.hidden=!0,this.$emit("close")}connectedCallback(){super.connectedCallback(),document.addEventListener("keydown",this.handleDocumentKeydown),this.notifier=p.getNotifier(this),this.notifier.subscribe(this,"hidden"),this.updateTrapFocus()}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("keydown",this.handleDocumentKeydown),this.updateTrapFocus(!1),this.notifier.unsubscribe(this,"hidden")}handleChange(t,e){switch(e){case"hidden":this.updateTrapFocus()}}static reduceTabbableItems(t,e){return"-1"===e.getAttribute("tabindex")?t:Qs(e)||ti.isFocusableFastElement(e)&&ti.hasTabbableShadow(e)?(t.push(e),t):e.childElementCount?t.concat(Array.from(e.children).reduce(ti.reduceTabbableItems,[])):t}static isFocusableFastElement(t){var e,s
|
|
760
|
+
return!!(null===(s=null===(e=t.$fastController)||void 0===e?void 0:e.definition.shadowOptions)||void 0===s?void 0:s.delegatesFocus)}static hasTabbableShadow(t){var e,s
|
|
761
|
+
return Array.from(null!==(s=null===(e=t.shadowRoot)||void 0===e?void 0:e.querySelectorAll("*"))&&void 0!==s?s:[]).some((t=>Qs(t)))}}_t([tt({mode:"boolean"})],ti.prototype,"modal",void 0),_t([tt({mode:"boolean"})],ti.prototype,"hidden",void 0),_t([tt({attribute:"trap-focus",mode:"boolean"})],ti.prototype,"trapFocus",void 0),_t([tt({attribute:"aria-describedby"})],ti.prototype,"ariaDescribedby",void 0),_t([tt({attribute:"aria-labelledby"})],ti.prototype,"ariaLabelledby",void 0),_t([tt({attribute:"aria-label"})],ti.prototype,"ariaLabel",void 0)
|
|
762
|
+
class ei extends rs{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var t
|
|
763
|
+
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 s,i
|
|
764
|
+
this.ariaActiveDescendant=null!==(i=null===(s=this.options[e])||void 0===s?void 0:s.id)&&void 0!==i?i:"",this.focusAndScrollOptionIntoView()}checkActiveIndex(){if(!this.multiple)return
|
|
765
765
|
const t=this.activeOption
|
|
766
766
|
t&&(t.checked=!0)}checkFirstOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex+1),this.options.forEach(((t,e)=>{t.checked=Me(e,this.rangeStartIndex)}))):this.uncheckAllOptions(),this.activeIndex=0,this.checkActiveIndex()}checkLastOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach(((t,e)=>{t.checked=Me(e,this.rangeStartIndex,this.options.length)}))):this.uncheckAllOptions(),this.activeIndex=this.options.length-1,this.checkActiveIndex()}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.focusoutHandler)}disconnectedCallback(){this.removeEventListener("focusout",this.focusoutHandler),super.disconnectedCallback()}checkNextOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach(((t,e)=>{t.checked=Me(e,this.rangeStartIndex,this.activeIndex+1)}))):this.uncheckAllOptions(),this.activeIndex+=this.activeIndex<this.options.length-1?1:0,this.checkActiveIndex()}checkPreviousOption(t=!1){t?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),1===this.checkedOptions.length&&(this.rangeStartIndex+=1),this.options.forEach(((t,e)=>{t.checked=Me(e,this.activeIndex,this.rangeStartIndex)}))):this.uncheckAllOptions(),this.activeIndex-=this.activeIndex>0?1:0,this.checkActiveIndex()}clickHandler(t){var e
|
|
767
767
|
if(!this.multiple)return super.clickHandler(t)
|
|
768
|
-
const
|
|
769
|
-
return
|
|
768
|
+
const s=null===(e=t.target)||void 0===e?void 0:e.closest("[role=option]")
|
|
769
|
+
return s&&!s.disabled?(this.uncheckAllOptions(),this.activeIndex=this.options.indexOf(s),this.checkActiveIndex(),this.toggleSelectedForAllCheckedOptions(),!0):void 0}focusAndScrollOptionIntoView(){super.focusAndScrollOptionIntoView(this.activeOption)}focusinHandler(t){if(!this.multiple)return super.focusinHandler(t)
|
|
770
770
|
this.shouldSkipFocus||t.target!==t.currentTarget||(this.uncheckAllOptions(),-1===this.activeIndex&&(this.activeIndex=-1!==this.firstSelectedOptionIndex?this.firstSelectedOptionIndex:0),this.checkActiveIndex(),this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}focusoutHandler(t){this.multiple&&this.uncheckAllOptions()}keydownHandler(t){if(!this.multiple)return super.keydownHandler(t)
|
|
771
771
|
if(this.disabled)return!0
|
|
772
|
-
const{key:e,shiftKey:
|
|
773
|
-
switch(this.shouldSkipFocus=!1,e){case ze:return void this.checkFirstOption(
|
|
774
|
-
case xe:return void this.checkNextOption(
|
|
775
|
-
case Ce:return void this.checkPreviousOption(
|
|
776
|
-
case Ie:return void this.checkLastOption(
|
|
772
|
+
const{key:e,shiftKey:s}=t
|
|
773
|
+
switch(this.shouldSkipFocus=!1,e){case ze:return void this.checkFirstOption(s)
|
|
774
|
+
case xe:return void this.checkNextOption(s)
|
|
775
|
+
case Ce:return void this.checkPreviousOption(s)
|
|
776
|
+
case Ie:return void this.checkLastOption(s)
|
|
777
777
|
case Ae:return this.focusAndScrollOptionIntoView(),!0
|
|
778
778
|
case _e:return this.uncheckAllOptions(),this.checkActiveIndex(),!0
|
|
779
779
|
case Oe:if(t.preventDefault(),this.typeAheadExpired)return void this.toggleSelectedForAllCheckedOptions()
|
|
780
|
-
default:return 1===e.length&&this.handleTypeAhead(`${e}`),!0}}mousedownHandler(t){if(t.offsetX>=0&&t.offsetX<=this.scrollWidth)return super.mousedownHandler(t)}multipleChanged(t,e){var
|
|
781
|
-
this.ariaMultiSelectable=e?"true":null,null===(
|
|
782
|
-
const
|
|
783
|
-
|
|
780
|
+
default:return 1===e.length&&this.handleTypeAhead(`${e}`),!0}}mousedownHandler(t){if(t.offsetX>=0&&t.offsetX<=this.scrollWidth)return super.mousedownHandler(t)}multipleChanged(t,e){var s
|
|
781
|
+
this.ariaMultiSelectable=e?"true":null,null===(s=this.options)||void 0===s||s.forEach((t=>{t.checked=!e&&void 0})),this.setSelectedOptions()}setSelectedOptions(){this.multiple?this.$fastController.isConnected&&this.options&&(this.selectedOptions=this.options.filter((t=>t.selected)),this.focusAndScrollOptionIntoView()):super.setSelectedOptions()}sizeChanged(t,e){var s
|
|
782
|
+
const i=Math.max(0,parseInt(null!==(s=null==e?void 0:e.toFixed())&&void 0!==s?s:"",10))
|
|
783
|
+
i!==e&&h.queueUpdate((()=>{this.size=i}))}toggleSelectedForAllCheckedOptions(){const t=this.checkedOptions.filter((t=>!t.disabled)),e=!t.every((t=>t.selected))
|
|
784
784
|
t.forEach((t=>t.selected=e)),this.selectedIndex=this.options.indexOf(t[t.length-1]),this.setSelectedOptions()}typeaheadBufferChanged(t,e){if(this.multiple){if(this.$fastController.isConnected){const t=this.getTypeaheadMatches(),e=this.options.indexOf(t[0])
|
|
785
|
-
e>-1&&(this.activeIndex=e,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(t,e)}uncheckAllOptions(t=!1){this.options.forEach((t=>t.checked=!this.multiple&&void 0)),t||(this.rangeStartIndex=-1)}}_t([v],
|
|
786
|
-
const
|
|
787
|
-
class
|
|
785
|
+
e>-1&&(this.activeIndex=e,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(t,e)}uncheckAllOptions(t=!1){this.options.forEach((t=>t.checked=!this.multiple&&void 0)),t||(this.rangeStartIndex=-1)}}_t([v],ei.prototype,"activeIndex",void 0),_t([tt({mode:"boolean"})],ei.prototype,"multiple",void 0),_t([tt({converter:J})],ei.prototype,"size",void 0)
|
|
786
|
+
const si="menuitem",ii="menuitemcheckbox",oi="menuitemradio",ni={[si]:"menuitem",[ii]:"menuitemcheckbox",[oi]:"menuitemradio"}
|
|
787
|
+
class ri extends le{constructor(){super(...arguments),this.role=si,this.hasSubmenu=!1,this.currentDirection=Ee.ltr,this.focusSubmenuOnLoad=!1,this.handleMenuItemKeyDown=t=>{if(t.defaultPrevented)return!1
|
|
788
788
|
switch(t.key){case ke:case Oe:return this.invoke(),!1
|
|
789
789
|
case $e:return this.expandAndFocus(),!1
|
|
790
|
-
case ye:if(this.expanded)return this.expanded=!1,this.focus(),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.hasSubmenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=t=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=t=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case
|
|
790
|
+
case ye:if(this.expanded)return this.expanded=!1,this.focus(),!1}return!0},this.handleMenuItemClick=t=>(t.defaultPrevented||this.disabled||this.invoke(),!1),this.submenuLoaded=()=>{this.focusSubmenuOnLoad&&(this.focusSubmenuOnLoad=!1,this.hasSubmenu&&(this.submenu.focus(),this.setAttribute("tabindex","-1")))},this.handleMouseOver=t=>(this.disabled||!this.hasSubmenu||this.expanded||(this.expanded=!0),!1),this.handleMouseOut=t=>(!this.expanded||this.contains(document.activeElement)||(this.expanded=!1),!1),this.expandAndFocus=()=>{this.hasSubmenu&&(this.focusSubmenuOnLoad=!0,this.expanded=!0)},this.invoke=()=>{if(!this.disabled)switch(this.role){case ii:this.checked=!this.checked
|
|
791
791
|
break
|
|
792
|
-
case
|
|
792
|
+
case si:this.updateSubmenu(),this.hasSubmenu?this.expandAndFocus():this.$emit("change")
|
|
793
793
|
break
|
|
794
|
-
case
|
|
795
|
-
!1===this.expanded?this.submenu.collapseExpandedItem():this.currentDirection=De(this),this.$emit("expanded-change",this,{bubbles:!1})}}checkedChanged(t,e){this.$fastController.isConnected&&this.$emit("change")}connectedCallback(){super.connectedCallback(),h.queueUpdate((()=>{this.updateSubmenu()})),this.startColumnCount||(this.startColumnCount=1),this.observer=new MutationObserver(this.updateSubmenu)}disconnectedCallback(){super.disconnectedCallback(),this.submenu=void 0,void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0)}domChildren(){return Array.from(this.children).filter((t=>!t.hasAttribute("hidden")))}}_t([tt({mode:"boolean"})],
|
|
796
|
-
class
|
|
794
|
+
case oi:this.checked||(this.checked=!0)}},this.updateSubmenu=()=>{this.submenu=this.domChildren().find((t=>"menu"===t.getAttribute("role"))),this.hasSubmenu=void 0!==this.submenu}}expandedChanged(t){if(this.$fastController.isConnected){if(void 0===this.submenu)return
|
|
795
|
+
!1===this.expanded?this.submenu.collapseExpandedItem():this.currentDirection=De(this),this.$emit("expanded-change",this,{bubbles:!1})}}checkedChanged(t,e){this.$fastController.isConnected&&this.$emit("change")}connectedCallback(){super.connectedCallback(),h.queueUpdate((()=>{this.updateSubmenu()})),this.startColumnCount||(this.startColumnCount=1),this.observer=new MutationObserver(this.updateSubmenu)}disconnectedCallback(){super.disconnectedCallback(),this.submenu=void 0,void 0!==this.observer&&(this.observer.disconnect(),this.observer=void 0)}domChildren(){return Array.from(this.children).filter((t=>!t.hasAttribute("hidden")))}}_t([tt({mode:"boolean"})],ri.prototype,"disabled",void 0),_t([tt({mode:"boolean"})],ri.prototype,"expanded",void 0),_t([v],ri.prototype,"startColumnCount",void 0),_t([tt],ri.prototype,"role",void 0),_t([tt({mode:"boolean"})],ri.prototype,"checked",void 0),_t([v],ri.prototype,"submenuRegion",void 0),_t([v],ri.prototype,"hasSubmenu",void 0),_t([v],ri.prototype,"currentDirection",void 0),_t([v],ri.prototype,"submenu",void 0),de(ri,$t)
|
|
796
|
+
class ai extends le{constructor(){super(...arguments),this.expandedItem=null,this.focusIndex=-1,this.isNestedMenu=()=>null!==this.parentElement&&ve(this.parentElement)&&"menuitem"===this.parentElement.getAttribute("role"),this.handleFocusOut=t=>{if(!this.contains(t.relatedTarget)&&void 0!==this.menuItems){this.collapseExpandedItem()
|
|
797
797
|
const t=this.menuItems.findIndex(this.isFocusableElement)
|
|
798
798
|
this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.menuItems[t].setAttribute("tabindex","0"),this.focusIndex=t}},this.handleItemFocus=t=>{const e=t.target
|
|
799
799
|
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.indexOf(t.target)<0)return
|
|
@@ -803,53 +803,53 @@ null===this.expandedItem||e!==this.expandedItem||!1!==e.expanded?e.expanded&&(nu
|
|
|
803
803
|
this.removeItemListeners(),this.menuItems=t
|
|
804
804
|
const e=this.menuItems.filter(this.isMenuItemElement)
|
|
805
805
|
e.length&&(this.focusIndex=0)
|
|
806
|
-
const
|
|
807
|
-
return e!==
|
|
808
|
-
return t>
|
|
809
|
-
e.forEach(((t,e)=>{t.setAttribute("tabindex",0===e?"0":"-1"),t.addEventListener("expanded-change",this.handleExpandedChanged),t.addEventListener("focus",this.handleItemFocus),t instanceof
|
|
810
|
-
const e=t.target,
|
|
811
|
-
if(-1!==
|
|
812
|
-
if(
|
|
813
|
-
for(let e=
|
|
814
|
-
if(
|
|
806
|
+
const s=e.reduce(((t,e)=>{const s=function(t){const e=t.getAttribute("role"),s=t.querySelector("[slot=start]")
|
|
807
|
+
return e!==si&&null===s||e===si&&null!==s?1:e!==si&&null!==s?2:0}(e)
|
|
808
|
+
return t>s?t:s}),0)
|
|
809
|
+
e.forEach(((t,e)=>{t.setAttribute("tabindex",0===e?"0":"-1"),t.addEventListener("expanded-change",this.handleExpandedChanged),t.addEventListener("focus",this.handleItemFocus),t instanceof ri&&(t.startColumnCount=s)}))},this.changeHandler=t=>{if(void 0===this.menuItems)return
|
|
810
|
+
const e=t.target,s=this.menuItems.indexOf(e)
|
|
811
|
+
if(-1!==s&&"menuitemradio"===e.role&&!0===e.checked){for(let t=s-1;t>=0;--t){const e=this.menuItems[t],s=e.getAttribute("role")
|
|
812
|
+
if(s===oi&&(e.checked=!1),"separator"===s)break}const t=this.menuItems.length-1
|
|
813
|
+
for(let e=s+1;e<=t;++e){const t=this.menuItems[e],s=t.getAttribute("role")
|
|
814
|
+
if(s===oi&&(t.checked=!1),"separator"===s)break}}},this.isMenuItemElement=t=>ve(t)&&ai.focusableElementRoles.hasOwnProperty(t.getAttribute("role")),this.isFocusableElement=t=>this.isMenuItemElement(t)}itemsChanged(t,e){this.$fastController.isConnected&&void 0!==this.menuItems&&this.setItems()}connectedCallback(){super.connectedCallback(),h.queueUpdate((()=>{this.setItems()})),this.addEventListener("change",this.changeHandler)}disconnectedCallback(){super.disconnectedCallback(),this.removeItemListeners(),this.menuItems=void 0,this.removeEventListener("change",this.changeHandler)}focus(){this.setFocus(0,1)}collapseExpandedItem(){null!==this.expandedItem&&(this.expandedItem.expanded=!1,this.expandedItem=null)}handleMenuKeyDown(t){if(!t.defaultPrevented&&void 0!==this.menuItems)switch(t.key){case xe:return void this.setFocus(this.focusIndex+1,1)
|
|
815
815
|
case Ce:return void this.setFocus(this.focusIndex-1,-1)
|
|
816
816
|
case Ie:return void this.setFocus(this.menuItems.length-1,-1)
|
|
817
817
|
case ze:return void this.setFocus(0,1)
|
|
818
|
-
default:return!0}}domChildren(){return Array.from(this.children).filter((t=>!t.hasAttribute("hidden")))}setFocus(t,e){if(void 0!==this.menuItems)for(;t>=0&&t<this.menuItems.length;){const
|
|
819
|
-
if(this.isFocusableElement(
|
|
820
|
-
break}t+=e}}}
|
|
821
|
-
class
|
|
822
|
-
class
|
|
823
|
-
class
|
|
824
|
-
class
|
|
825
|
-
this.max=Math.max(e,null!==(
|
|
826
|
-
const
|
|
827
|
-
void 0!==this.min&&this.min!==
|
|
828
|
-
this.min=Math.min(e,null!==(
|
|
829
|
-
const
|
|
830
|
-
void 0!==this.max&&this.max!==
|
|
831
|
-
let
|
|
832
|
-
return isNaN(
|
|
818
|
+
default:return!0}}domChildren(){return Array.from(this.children).filter((t=>!t.hasAttribute("hidden")))}setFocus(t,e){if(void 0!==this.menuItems)for(;t>=0&&t<this.menuItems.length;){const s=this.menuItems[t]
|
|
819
|
+
if(this.isFocusableElement(s)){this.focusIndex>-1&&this.menuItems.length>=this.focusIndex-1&&this.menuItems[this.focusIndex].setAttribute("tabindex","-1"),this.focusIndex=t,s.setAttribute("tabindex","0"),s.focus()
|
|
820
|
+
break}t+=e}}}ai.focusableElementRoles=ni,_t([v],ai.prototype,"items",void 0)
|
|
821
|
+
class li extends le{}class ci extends(Xe(li)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}const hi="text"
|
|
822
|
+
class di extends ci{constructor(){super(...arguments),this.type=hi}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly,this.validate())}autofocusChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.autofocus=this.autofocus,this.validate())}placeholderChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.placeholder=this.placeholder)}typeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type,this.validate())}listChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.setAttribute("list",this.list),this.validate())}maxlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.maxLength=this.maxlength,this.validate())}minlengthChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.minLength=this.minlength,this.validate())}patternChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.pattern=this.pattern,this.validate())}sizeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.size=this.size)}spellcheckChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.spellcheck=this.spellcheck)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type",this.type),this.validate(),this.autofocus&&h.queueUpdate((()=>{this.focus()}))}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.value=this.control.value}handleChange(){this.$emit("change")}}_t([tt({attribute:"readonly",mode:"boolean"})],di.prototype,"readOnly",void 0),_t([tt({mode:"boolean"})],di.prototype,"autofocus",void 0),_t([tt],di.prototype,"placeholder",void 0),_t([tt],di.prototype,"type",void 0),_t([tt],di.prototype,"list",void 0),_t([tt({converter:J})],di.prototype,"maxlength",void 0),_t([tt({converter:J})],di.prototype,"minlength",void 0),_t([tt],di.prototype,"pattern",void 0),_t([tt({converter:J})],di.prototype,"size",void 0),_t([tt({mode:"boolean"})],di.prototype,"spellcheck",void 0),_t([v],di.prototype,"defaultSlottedNodes",void 0)
|
|
823
|
+
class ui{}de(ui,Te),de(di,$t,ui)
|
|
824
|
+
class pi extends le{}class vi extends(Xe(pi)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class gi extends vi{constructor(){super(...arguments),this.hideStep=!1,this.step=1,this.isUserInput=!1}maxChanged(t,e){var s
|
|
825
|
+
this.max=Math.max(e,null!==(s=this.min)&&void 0!==s?s:e)
|
|
826
|
+
const i=Math.min(this.min,this.max)
|
|
827
|
+
void 0!==this.min&&this.min!==i&&(this.min=i),this.value=this.getValidValue(this.value)}minChanged(t,e){var s
|
|
828
|
+
this.min=Math.min(e,null!==(s=this.max)&&void 0!==s?s:e)
|
|
829
|
+
const i=Math.max(this.min,this.max)
|
|
830
|
+
void 0!==this.max&&this.max!==i&&(this.max=i),this.value=this.getValidValue(this.value)}get valueAsNumber(){return parseFloat(super.value)}set valueAsNumber(t){this.value=t.toString()}valueChanged(t,e){this.value=this.getValidValue(e),e===this.value&&(this.control&&!this.isUserInput&&(this.control.value=this.value),super.valueChanged(t,this.value),void 0===t||this.isUserInput||(this.$emit("input"),this.$emit("change")),this.isUserInput=!1)}getValidValue(t){var e,s
|
|
831
|
+
let i=parseFloat(parseFloat(t).toPrecision(12))
|
|
832
|
+
return isNaN(i)?i="":(i=Math.min(i,null!==(e=this.max)&&void 0!==e?e:i),i=Math.max(i,null!==(s=this.min)&&void 0!==s?s:i).toString()),i}stepUp(){const t=parseFloat(this.value),e=isNaN(t)?this.min>0?this.min:this.max<0?this.max:this.min?0:this.step:t+this.step
|
|
833
833
|
this.value=e.toString()}stepDown(){const t=parseFloat(this.value),e=isNaN(t)?this.min>0?this.min:this.max<0?this.max:this.min?0:0-this.step:t-this.step
|
|
834
834
|
this.value=e.toString()}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute("type","number"),this.validate(),this.control.value=this.value,this.autofocus&&h.queueUpdate((()=>{this.focus()}))}select(){this.control.select(),this.$emit("select")}handleTextInput(){this.control.value=this.control.value.replace(/[^0-9\-+e.]/g,""),this.isUserInput=!0,this.value=this.control.value}handleChange(){this.$emit("change")}handleKeyDown(t){switch(t.key){case Ce:return this.stepUp(),!1
|
|
835
|
-
case xe:return this.stepDown(),!1}return!0}handleBlur(){this.control.value=this.value}}function
|
|
836
|
-
class
|
|
837
|
-
this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get value(){return p.track(this,"value"),this._value}set value(t){var e,i,
|
|
835
|
+
case xe:return this.stepDown(),!1}return!0}handleBlur(){this.control.value=this.value}}function mi(t,e,s){return t.nodeType!==Node.TEXT_NODE||"string"==typeof t.nodeValue&&!!t.nodeValue.trim().length}_t([tt({attribute:"readonly",mode:"boolean"})],gi.prototype,"readOnly",void 0),_t([tt({mode:"boolean"})],gi.prototype,"autofocus",void 0),_t([tt({attribute:"hide-step",mode:"boolean"})],gi.prototype,"hideStep",void 0),_t([tt],gi.prototype,"placeholder",void 0),_t([tt],gi.prototype,"list",void 0),_t([tt({converter:J})],gi.prototype,"maxlength",void 0),_t([tt({converter:J})],gi.prototype,"minlength",void 0),_t([tt({converter:J})],gi.prototype,"size",void 0),_t([tt({converter:J})],gi.prototype,"step",void 0),_t([tt({converter:J})],gi.prototype,"max",void 0),_t([tt({converter:J})],gi.prototype,"min",void 0),_t([v],gi.prototype,"defaultSlottedNodes",void 0),de(gi,$t,ui)
|
|
836
|
+
class fi extends ei{}class bi extends(Xe(fi)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}class wi extends bi{constructor(){super(...arguments),this.open=!1,this.forcedPosition=!1,this.listboxId=Le("listbox-"),this.maxHeight=0}openChanged(t,e){if(this.collapsible){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),this.indexWhenOpened=this.selectedIndex,void h.queueUpdate((()=>this.focus()))
|
|
837
|
+
this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get value(){return p.track(this,"value"),this._value}set value(t){var e,s,i,o,n,r,a
|
|
838
838
|
const l=`${this._value}`
|
|
839
|
-
if(null===(e=this._options)||void 0===e?void 0:e.length){const e=this._options.findIndex((e=>e.value===t)),l=null!==(
|
|
840
|
-
this.$fastController.isConnected&&(this.value=null!==(
|
|
841
|
-
this.position=this.forcedPosition?this.positionAttribute:t.top>e?
|
|
839
|
+
if(null===(e=this._options)||void 0===e?void 0:e.length){const e=this._options.findIndex((e=>e.value===t)),l=null!==(i=null===(s=this._options[this.selectedIndex])||void 0===s?void 0:s.value)&&void 0!==i?i:null,c=null!==(n=null===(o=this._options[e])||void 0===o?void 0:o.value)&&void 0!==n?n:null;-1!==e&&l===c||(t="",this.selectedIndex=e),t=null!==(a=null===(r=this.firstSelectedOption)||void 0===r?void 0:r.value)&&void 0!==a?a:t}l!==t&&(this._value=t,super.valueChanged(l,t),p.notify(this,"value"),this.updateDisplayValue())}updateValue(t){var e,s
|
|
840
|
+
this.$fastController.isConnected&&(this.value=null!==(s=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.value)&&void 0!==s?s:""),t&&(this.$emit("input"),this.$emit("change",this,{bubbles:!0,composed:void 0}))}selectedIndexChanged(t,e){super.selectedIndexChanged(t,e),this.updateValue()}positionChanged(t,e){this.positionAttribute=e,this.setPositioning()}setPositioning(){const t=this.getBoundingClientRect(),e=window.innerHeight-t.bottom
|
|
841
|
+
this.position=this.forcedPosition?this.positionAttribute:t.top>e?ls:cs,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===ls?~~t.top:~~e}get displayValue(){var t,e
|
|
842
842
|
return p.track(this,"displayValue"),null!==(e=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.text)&&void 0!==e?e:""}disabledChanged(t,e){super.disabledChanged&&super.disabledChanged(t,e),this.ariaDisabled=this.disabled?"true":"false"}formResetCallback(){this.setProxyOptions(),super.setDefaultSelectedOption(),-1===this.selectedIndex&&(this.selectedIndex=0)}clickHandler(t){if(!this.disabled){if(this.open){const e=t.target.closest("option,[role=option]")
|
|
843
843
|
if(e&&e.disabled)return}return super.clickHandler(t),this.open=this.collapsible&&!this.open,this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}}focusoutHandler(t){var e
|
|
844
844
|
if(super.focusoutHandler(t),!this.open)return!0
|
|
845
|
-
const
|
|
846
|
-
this.isSameNode(
|
|
847
|
-
return t.offsetX>=0&&t.offsetX<=(null===(e=this.listbox)||void 0===e?void 0:e.scrollWidth)?super.mousedownHandler(t):this.collapsible}multipleChanged(t,e){super.multipleChanged(t,e),this.proxy&&(this.proxy.multiple=e)}selectedOptionsChanged(t,e){var
|
|
848
|
-
super.selectedOptionsChanged(t,e),null===(
|
|
849
|
-
const
|
|
850
|
-
|
|
851
|
-
const e=null!==(t=this.options)&&void 0!==t?t:Array.from(this.children).filter(
|
|
852
|
-
this.selectedIndex=-1===
|
|
845
|
+
const s=t.relatedTarget
|
|
846
|
+
this.isSameNode(s)?this.focus():(null===(e=this.options)||void 0===e?void 0:e.includes(s))||(this.open=!1,this.indexWhenOpened!==this.selectedIndex&&this.updateValue(!0))}handleChange(t,e){super.handleChange(t,e),"value"===e&&this.updateValue()}slottedOptionsChanged(t,e){this.options.forEach((t=>{p.getNotifier(t).unsubscribe(this,"value")})),super.slottedOptionsChanged(t,e),this.options.forEach((t=>{p.getNotifier(t).subscribe(this,"value")})),this.setProxyOptions(),this.updateValue()}mousedownHandler(t){var e
|
|
847
|
+
return t.offsetX>=0&&t.offsetX<=(null===(e=this.listbox)||void 0===e?void 0:e.scrollWidth)?super.mousedownHandler(t):this.collapsible}multipleChanged(t,e){super.multipleChanged(t,e),this.proxy&&(this.proxy.multiple=e)}selectedOptionsChanged(t,e){var s
|
|
848
|
+
super.selectedOptionsChanged(t,e),null===(s=this.options)||void 0===s||s.forEach(((t,e)=>{var s
|
|
849
|
+
const i=null===(s=this.proxy)||void 0===s?void 0:s.options.item(e)
|
|
850
|
+
i&&(i.selected=t.selected)}))}setDefaultSelectedOption(){var t
|
|
851
|
+
const e=null!==(t=this.options)&&void 0!==t?t:Array.from(this.children).filter(rs.slottedOptionFilter),s=null==e?void 0:e.findIndex((t=>t.hasAttribute("selected")||t.selected||t.value===this.value))
|
|
852
|
+
this.selectedIndex=-1===s?0:s}setProxyOptions(){this.proxy instanceof HTMLSelectElement&&this.options&&(this.proxy.options.length=0,this.options.forEach((t=>{const e=t.proxy||(t instanceof HTMLOptionElement?t.cloneNode():null)
|
|
853
853
|
e&&this.proxy.options.add(e)})))}keydownHandler(t){super.keydownHandler(t)
|
|
854
854
|
const e=t.key||t.key.charCodeAt(0)
|
|
855
855
|
switch(e){case Oe:t.preventDefault(),this.collapsible&&this.typeAheadExpired&&(this.open=!this.open)
|
|
@@ -860,17 +860,17 @@ case ke:t.preventDefault(),this.open=!this.open
|
|
|
860
860
|
break
|
|
861
861
|
case _e:this.collapsible&&this.open&&(t.preventDefault(),this.open=!1)
|
|
862
862
|
break
|
|
863
|
-
case Ae:return this.collapsible&&this.open&&(t.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!(e===xe||e===Ce)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(t,e){super.sizeChanged(t,e),this.proxy&&(this.proxy.size=e)}updateDisplayValue(){this.collapsible&&p.notify(this,"displayValue")}}_t([tt({attribute:"open",mode:"boolean"})],
|
|
864
|
-
class
|
|
865
|
-
class
|
|
866
|
-
class
|
|
867
|
-
const
|
|
868
|
-
class
|
|
869
|
-
this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach(((t,e)=>{if("tab"===t.slot){const
|
|
863
|
+
case Ae:return this.collapsible&&this.open&&(t.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!(e===xe||e===Ce)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(t,e){super.sizeChanged(t,e),this.proxy&&(this.proxy.size=e)}updateDisplayValue(){this.collapsible&&p.notify(this,"displayValue")}}_t([tt({attribute:"open",mode:"boolean"})],wi.prototype,"open",void 0),_t([function(t,e,s){return Object.assign({},s,{get:function(){return p.trackVolatile(),s.get.apply(this)}})}],wi.prototype,"collapsible",null),_t([v],wi.prototype,"control",void 0),_t([tt({attribute:"position"})],wi.prototype,"positionAttribute",void 0),_t([v],wi.prototype,"position",void 0),_t([v],wi.prototype,"maxHeight",void 0)
|
|
864
|
+
class xi{}_t([v],xi.prototype,"ariaControls",void 0),de(xi,as),de(wi,$t,xi)
|
|
865
|
+
class yi extends le{}class $i extends(Ye(yi)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class Ci extends $i{constructor(){super(),this.initialValue="on",this.keypressHandler=t=>{switch(t.key){case ke:case Oe:this.checked=!this.checked}},this.clickHandler=t=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedChanged(t,e){super.checkedChanged(t,e),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}_t([tt({attribute:"readonly",mode:"boolean"})],Ci.prototype,"readOnly",void 0),_t([v],Ci.prototype,"defaultSlottedNodes",void 0)
|
|
866
|
+
class ki extends le{}class _i extends le{}_t([tt({mode:"boolean"})],_i.prototype,"disabled",void 0)
|
|
867
|
+
const zi="horizontal"
|
|
868
|
+
class Ii extends le{constructor(){super(...arguments),this.orientation=zi,this.activeindicator=!0,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=t=>"true"===t.getAttribute("aria-disabled"),this.isFocusableElement=t=>!this.isDisabledElement(t),this.setTabs=()=>{const t="gridColumn",e="gridRow",s=this.isHorizontal()?t:e
|
|
869
|
+
this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach(((t,e)=>{if("tab"===t.slot){const s=this.activeTabIndex===e&&this.isFocusableElement(t)
|
|
870
870
|
this.activeindicator&&this.isFocusableElement(t)&&(this.showActiveIndicator=!0)
|
|
871
|
-
const
|
|
872
|
-
t.setAttribute("id",
|
|
873
|
-
t.setAttribute("id",
|
|
871
|
+
const i=this.tabIds[e],o=this.tabpanelIds[e]
|
|
872
|
+
t.setAttribute("id",i),t.setAttribute("aria-selected",s?"true":"false"),t.setAttribute("aria-controls",o),t.addEventListener("click",this.handleTabClick),t.addEventListener("keydown",this.handleTabKeyDown),t.setAttribute("tabindex",s?"0":"-1"),s&&(this.activetab=t)}t.style.gridColumn="",t.style.gridRow="",t.style[s]=`${e+1}`,this.isHorizontal()?t.classList.remove("vertical"):t.classList.add("vertical")}))},this.setTabPanels=()=>{this.tabpanels.forEach(((t,e)=>{const s=this.tabIds[e],i=this.tabpanelIds[e]
|
|
873
|
+
t.setAttribute("id",i),t.setAttribute("aria-labelledby",s),this.activeTabIndex!==e?t.setAttribute("hidden",""):t.removeAttribute("hidden")}))},this.handleTabClick=t=>{const e=t.currentTarget
|
|
874
874
|
1===e.nodeType&&this.isFocusableElement(e)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(e),this.setComponent())},this.handleTabKeyDown=t=>{if(this.isHorizontal())switch(t.key){case ye:t.preventDefault(),this.adjustBackward(t)
|
|
875
875
|
break
|
|
876
876
|
case $e:t.preventDefault(),this.adjustForward(t)}else switch(t.key){case Ce:t.preventDefault(),this.adjustBackward(t)
|
|
@@ -878,101 +878,101 @@ break
|
|
|
878
878
|
case xe:t.preventDefault(),this.adjustForward(t)}switch(t.key){case ze:t.preventDefault(),this.adjust(-this.activeTabIndex)
|
|
879
879
|
break
|
|
880
880
|
case Ie:t.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=t=>{const e=this.tabs
|
|
881
|
-
let
|
|
882
|
-
for(
|
|
883
|
-
break}if(this.activetab&&
|
|
884
|
-
|
|
885
|
-
let
|
|
886
|
-
for(
|
|
887
|
-
break}
|
|
888
|
-
this.activetab=
|
|
881
|
+
let s=0
|
|
882
|
+
for(s=this.activetab?e.indexOf(this.activetab)+1:1,s===e.length&&(s=0);s<e.length&&e.length>1;){if(this.isFocusableElement(e[s])){this.moveToTabByIndex(e,s)
|
|
883
|
+
break}if(this.activetab&&s===e.indexOf(this.activetab))break
|
|
884
|
+
s+1>=e.length?s=0:s+=1}},this.adjustBackward=t=>{const e=this.tabs
|
|
885
|
+
let s=0
|
|
886
|
+
for(s=this.activetab?e.indexOf(this.activetab)-1:0,s=s<0?e.length-1:s;s>=0&&e.length>1;){if(this.isFocusableElement(e[s])){this.moveToTabByIndex(e,s)
|
|
887
|
+
break}s-1<0?s=e.length-1:s-=1}},this.moveToTabByIndex=(t,e)=>{const s=t[e]
|
|
888
|
+
this.activetab=s,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=e,s.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}activeidChanged(t,e){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex((e=>e.id===t)),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map((t=>{var e
|
|
889
889
|
return null!==(e=t.getAttribute("id"))&&void 0!==e?e:`tab-${Le()}`}))}getTabPanelIds(){return this.tabpanels.map((t=>{var e
|
|
890
|
-
return null!==(e=t.getAttribute("id"))&&void 0!==e?e:`panel-${Le()}`}))}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===
|
|
891
|
-
const t=this.isHorizontal()?"gridColumn":"gridRow",e=this.isHorizontal()?"translateX":"translateY",
|
|
890
|
+
return null!==(e=t.getAttribute("id"))&&void 0!==e?e:`panel-${Le()}`}))}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===zi}handleActiveIndicatorPosition(){this.showActiveIndicator&&this.activeindicator&&this.activeTabIndex!==this.prevActiveTabIndex&&(this.ticking?this.ticking=!1:(this.ticking=!0,this.animateActiveIndicator()))}animateActiveIndicator(){this.ticking=!0
|
|
891
|
+
const t=this.isHorizontal()?"gridColumn":"gridRow",e=this.isHorizontal()?"translateX":"translateY",s=this.isHorizontal()?"offsetLeft":"offsetTop",i=this.activeIndicatorRef[s]
|
|
892
892
|
this.activeIndicatorRef.style[t]=`${this.activeTabIndex+1}`
|
|
893
|
-
const o=this.activeIndicatorRef[
|
|
893
|
+
const o=this.activeIndicatorRef[s]
|
|
894
894
|
this.activeIndicatorRef.style[t]=`${this.prevActiveTabIndex+1}`
|
|
895
|
-
const n=o-
|
|
896
|
-
this.activeIndicatorRef.style.transform=`${e}(${n}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",(()=>{this.ticking=!1,this.activeIndicatorRef.style[t]=`${this.activeTabIndex+1}`,this.activeIndicatorRef.style.transform=`${e}(0px)`,this.activeIndicatorRef.classList.remove("activeIndicatorTransition")}))}adjust(t){var e,i
|
|
897
|
-
this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=(e=0,
|
|
898
|
-
class
|
|
899
|
-
class
|
|
900
|
-
const
|
|
901
|
-
class
|
|
902
|
-
const
|
|
903
|
-
return
|
|
904
|
-
e&&!this.contains(e)&&this.setFocusedElement()}getDirectionalIncrementer(t){var e,i,
|
|
905
|
-
return null!==(n=null!==(
|
|
895
|
+
const n=o-i
|
|
896
|
+
this.activeIndicatorRef.style.transform=`${e}(${n}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",(()=>{this.ticking=!1,this.activeIndicatorRef.style[t]=`${this.activeTabIndex+1}`,this.activeIndicatorRef.style.transform=`${e}(0px)`,this.activeIndicatorRef.classList.remove("activeIndicatorTransition")}))}adjust(t){var e,s,i
|
|
897
|
+
this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=(e=0,s=this.tabs.length-1,(i=this.activeTabIndex+t)<e?s:i>s?e:i),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}_t([tt],Ii.prototype,"orientation",void 0),_t([tt],Ii.prototype,"activeid",void 0),_t([v],Ii.prototype,"tabs",void 0),_t([v],Ii.prototype,"tabpanels",void 0),_t([tt({mode:"boolean"})],Ii.prototype,"activeindicator",void 0),_t([v],Ii.prototype,"activeIndicatorRef",void 0),_t([v],Ii.prototype,"showActiveIndicator",void 0),de(Ii,$t)
|
|
898
|
+
class Oi extends le{}class Ai extends(Xe(Oi)){constructor(){super(...arguments),this.proxy=document.createElement("textarea")}}const Si="none"
|
|
899
|
+
class Ei extends Ai{constructor(){super(...arguments),this.resize=Si,this.cols=20,this.handleTextInput=()=>{this.value=this.control.value}}readOnlyChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.readOnly=this.readOnly)}autofocusChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.autofocus=this.autofocus)}listChanged(){this.proxy instanceof HTMLTextAreaElement&&this.proxy.setAttribute("list",this.list)}maxlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.maxLength=this.maxlength)}minlengthChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.minLength=this.minlength)}spellcheckChanged(){this.proxy instanceof HTMLTextAreaElement&&(this.proxy.spellcheck=this.spellcheck)}select(){this.control.select(),this.$emit("select")}handleChange(){this.$emit("change")}}_t([tt({mode:"boolean"})],Ei.prototype,"readOnly",void 0),_t([tt],Ei.prototype,"resize",void 0),_t([tt({mode:"boolean"})],Ei.prototype,"autofocus",void 0),_t([tt({attribute:"form"})],Ei.prototype,"formId",void 0),_t([tt],Ei.prototype,"list",void 0),_t([tt({converter:J})],Ei.prototype,"maxlength",void 0),_t([tt({converter:J})],Ei.prototype,"minlength",void 0),_t([tt],Ei.prototype,"name",void 0),_t([tt],Ei.prototype,"placeholder",void 0),_t([tt({converter:J,mode:"fromView"})],Ei.prototype,"cols",void 0),_t([tt({converter:J,mode:"fromView"})],Ei.prototype,"rows",void 0),_t([tt({mode:"boolean"})],Ei.prototype,"spellcheck",void 0),_t([v],Ei.prototype,"defaultSlottedNodes",void 0),de(Ei,ui)
|
|
900
|
+
const Hi=Object.freeze({[Se.ArrowUp]:{[pe]:-1},[Se.ArrowDown]:{[pe]:1},[Se.ArrowLeft]:{[ue]:{[Ee.ltr]:-1,[Ee.rtl]:1}},[Se.ArrowRight]:{[ue]:{[Ee.ltr]:1,[Ee.rtl]:-1}}})
|
|
901
|
+
class Mi extends le{constructor(){super(...arguments),this._activeIndex=0,this.direction=Ee.ltr,this.orientation=ue}get activeIndex(){return p.track(this,"activeIndex"),this._activeIndex}set activeIndex(t){this.$fastController.isConnected&&(this._activeIndex=He(0,this.focusableElements.length-1,t),p.notify(this,"activeIndex"))}slottedItemsChanged(){this.$fastController.isConnected&&this.reduceFocusableElements()}clickHandler(t){var e
|
|
902
|
+
const s=null===(e=this.focusableElements)||void 0===e?void 0:e.indexOf(t.target)
|
|
903
|
+
return s>-1&&this.activeIndex!==s&&this.setFocusedElement(s),!0}childItemsChanged(t,e){this.$fastController.isConnected&&this.reduceFocusableElements()}connectedCallback(){super.connectedCallback(),this.direction=De(this)}focusinHandler(t){const e=t.relatedTarget
|
|
904
|
+
e&&!this.contains(e)&&this.setFocusedElement()}getDirectionalIncrementer(t){var e,s,i,o,n
|
|
905
|
+
return null!==(n=null!==(i=null===(s=null===(e=Hi[t])||void 0===e?void 0:e[this.orientation])||void 0===s?void 0:s[this.direction])&&void 0!==i?i:null===(o=Hi[t])||void 0===o?void 0:o[this.orientation])&&void 0!==n?n:0}keydownHandler(t){const e=t.key
|
|
906
906
|
if(!(e in Se)||t.defaultPrevented||t.shiftKey)return!0
|
|
907
|
-
const
|
|
908
|
-
if(!
|
|
909
|
-
const
|
|
910
|
-
return this.focusableElements[
|
|
907
|
+
const s=this.getDirectionalIncrementer(e)
|
|
908
|
+
if(!s)return!t.target.closest("[role=radiogroup]")
|
|
909
|
+
const i=this.activeIndex+s
|
|
910
|
+
return this.focusableElements[i]&&t.preventDefault(),this.setFocusedElement(i),!0}get allSlottedItems(){return[...this.start.assignedElements(),...this.slottedItems,...this.end.assignedElements()]}reduceFocusableElements(){var t
|
|
911
911
|
const e=null===(t=this.focusableElements)||void 0===t?void 0:t[this.activeIndex]
|
|
912
|
-
this.focusableElements=this.allSlottedItems.reduce(
|
|
913
|
-
const
|
|
914
|
-
this.activeIndex=Math.max(0,
|
|
915
|
-
this.activeIndex=t,this.setFocusableElements(),null===(e=this.focusableElements[this.activeIndex])||void 0===e||e.focus()}static reduceFocusableItems(t,e){var i,
|
|
916
|
-
const r="radio"===e.getAttribute("role"),a=null===(
|
|
917
|
-
return e.hasAttribute("disabled")||e.hasAttribute("hidden")||!(
|
|
918
|
-
class
|
|
919
|
-
const
|
|
920
|
-
class
|
|
912
|
+
this.focusableElements=this.allSlottedItems.reduce(Mi.reduceFocusableItems,[])
|
|
913
|
+
const s=this.focusableElements.indexOf(e)
|
|
914
|
+
this.activeIndex=Math.max(0,s),this.setFocusableElements()}setFocusedElement(t=this.activeIndex){var e
|
|
915
|
+
this.activeIndex=t,this.setFocusableElements(),null===(e=this.focusableElements[this.activeIndex])||void 0===e||e.focus()}static reduceFocusableItems(t,e){var s,i,o,n
|
|
916
|
+
const r="radio"===e.getAttribute("role"),a=null===(i=null===(s=e.$fastController)||void 0===s?void 0:s.definition.shadowOptions)||void 0===i?void 0:i.delegatesFocus,l=Array.from(null!==(n=null===(o=e.shadowRoot)||void 0===o?void 0:o.querySelectorAll("*"))&&void 0!==n?n:[]).some((t=>Zs(t)))
|
|
917
|
+
return e.hasAttribute("disabled")||e.hasAttribute("hidden")||!(Zs(e)||r||a||l)?e.childElementCount?t.concat(Array.from(e.children).reduce(Mi.reduceFocusableItems,[])):t:(t.push(e),t)}setFocusableElements(){this.$fastController.isConnected&&this.focusableElements.length>0&&this.focusableElements.forEach(((t,e)=>{t.tabIndex=this.activeIndex===e?0:-1}))}}_t([v],Mi.prototype,"direction",void 0),_t([tt],Mi.prototype,"orientation",void 0),_t([v],Mi.prototype,"slottedItems",void 0),_t([v],Mi.prototype,"slottedLabel",void 0),_t([v],Mi.prototype,"childItems",void 0)
|
|
918
|
+
class Vi{}_t([tt({attribute:"aria-labelledby"})],Vi.prototype,"ariaLabelledby",void 0),_t([tt({attribute:"aria-label"})],Vi.prototype,"ariaLabel",void 0),de(Vi,Te),de(Mi,$t,Vi)
|
|
919
|
+
const Li="top",Ti="right",Pi="bottom",Ri="left",Di="start",Bi="end",Fi="top-left",Ni="top-right",ji="bottom-left",qi="bottom-right",Ui="top-start",Ki="top-end",Wi="bottom-start",Xi="bottom-end"
|
|
920
|
+
class Yi extends le{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=Ee.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()
|
|
921
921
|
return t instanceof ShadowRoot?t.getElementById(this.anchor):document.getElementById(this.anchor)},this.handleDocumentKeydown=t=>{if(!t.defaultPrevented&&this.tooltipVisible)switch(t.key){case _e:this.isAnchorHoveredFocused=!1,this.updateTooltipVisibility(),this.$emit("dismiss")}},this.updateTooltipVisibility=()=>{if(!1===this.visible)this.hideTooltip()
|
|
922
922
|
else{if(!0===this.visible)return void this.showTooltip()
|
|
923
923
|
if(this.isAnchorHoveredFocused||this.isRegionHovered)return void this.showTooltip()
|
|
924
924
|
this.hideTooltip()}},this.showTooltip=()=>{this.tooltipVisible||(this.currentDirection=De(this),this.tooltipVisible=!0,document.addEventListener("keydown",this.handleDocumentKeydown),h.queueUpdate(this.setRegionProps))},this.hideTooltip=()=>{this.tooltipVisible&&(this.clearHideDelayTimer(),null!==this.region&&void 0!==this.region&&(this.region.removeEventListener("positionchange",this.handlePositionChange),this.region.viewportElement=null,this.region.anchorElement=null,this.region.removeEventListener("mouseover",this.handleRegionMouseOver),this.region.removeEventListener("mouseout",this.handleRegionMouseOut)),document.removeEventListener("keydown",this.handleDocumentKeydown),this.tooltipVisible=!1)},this.setRegionProps=()=>{this.tooltipVisible&&(this.region.viewportElement=this.viewportElement,this.region.anchorElement=this.anchorElement,this.region.addEventListener("positionchange",this.handlePositionChange),this.region.addEventListener("mouseover",this.handleRegionMouseOver,{passive:!0}),this.region.addEventListener("mouseout",this.handleRegionMouseOut,{passive:!0}))}}visibleChanged(){this.$fastController.isConnected&&(this.updateTooltipVisibility(),this.updateLayout())}anchorChanged(){this.$fastController.isConnected&&(this.anchorElement=this.getAnchor())}positionChanged(){this.$fastController.isConnected&&this.updateLayout()}anchorElementChanged(t){if(this.$fastController.isConnected){if(null!=t&&(t.removeEventListener("mouseover",this.handleAnchorMouseOver),t.removeEventListener("mouseout",this.handleAnchorMouseOut),t.removeEventListener("focusin",this.handleAnchorFocusIn),t.removeEventListener("focusout",this.handleAnchorFocusOut)),null!==this.anchorElement&&void 0!==this.anchorElement){this.anchorElement.addEventListener("mouseover",this.handleAnchorMouseOver,{passive:!0}),this.anchorElement.addEventListener("mouseout",this.handleAnchorMouseOut,{passive:!0}),this.anchorElement.addEventListener("focusin",this.handleAnchorFocusIn,{passive:!0}),this.anchorElement.addEventListener("focusout",this.handleAnchorFocusOut,{passive:!0})
|
|
925
925
|
const t=this.anchorElement.id
|
|
926
|
-
null!==this.anchorElement.parentElement&&this.anchorElement.parentElement.querySelectorAll(":hover").forEach((e=>{e.id===t&&this.startShowDelayTimer()}))}null!==this.region&&void 0!==this.region&&this.tooltipVisible&&(this.region.anchorElement=this.anchorElement),this.updateLayout()}}viewportElementChanged(){null!==this.region&&void 0!==this.region&&(this.region.viewportElement=this.viewportElement),this.updateLayout()}connectedCallback(){super.connectedCallback(),this.anchorElement=this.getAnchor(),this.updateTooltipVisibility()}disconnectedCallback(){this.hideTooltip(),this.clearShowDelayTimer(),this.clearHideDelayTimer(),super.disconnectedCallback()}updateLayout(){switch(this.verticalPositioningMode="locktodefault",this.horizontalPositioningMode="locktodefault",this.position){case
|
|
926
|
+
null!==this.anchorElement.parentElement&&this.anchorElement.parentElement.querySelectorAll(":hover").forEach((e=>{e.id===t&&this.startShowDelayTimer()}))}null!==this.region&&void 0!==this.region&&this.tooltipVisible&&(this.region.anchorElement=this.anchorElement),this.updateLayout()}}viewportElementChanged(){null!==this.region&&void 0!==this.region&&(this.region.viewportElement=this.viewportElement),this.updateLayout()}connectedCallback(){super.connectedCallback(),this.anchorElement=this.getAnchor(),this.updateTooltipVisibility()}disconnectedCallback(){this.hideTooltip(),this.clearShowDelayTimer(),this.clearHideDelayTimer(),super.disconnectedCallback()}updateLayout(){switch(this.verticalPositioningMode="locktodefault",this.horizontalPositioningMode="locktodefault",this.position){case Li:case Pi:this.verticalDefaultPosition=this.position,this.horizontalDefaultPosition="center"
|
|
927
927
|
break
|
|
928
|
-
case
|
|
928
|
+
case Ti:case Ri:case Di:case Bi:this.verticalDefaultPosition="center",this.horizontalDefaultPosition=this.position
|
|
929
929
|
break
|
|
930
|
-
case
|
|
930
|
+
case Fi:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="left"
|
|
931
931
|
break
|
|
932
|
-
case
|
|
932
|
+
case Ni:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="right"
|
|
933
933
|
break
|
|
934
|
-
case
|
|
934
|
+
case ji:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="left"
|
|
935
935
|
break
|
|
936
|
-
case
|
|
936
|
+
case qi:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="right"
|
|
937
937
|
break
|
|
938
|
-
case
|
|
938
|
+
case Ui:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="start"
|
|
939
939
|
break
|
|
940
|
-
case
|
|
940
|
+
case Ki:this.verticalDefaultPosition="top",this.horizontalDefaultPosition="end"
|
|
941
941
|
break
|
|
942
|
-
case
|
|
942
|
+
case Wi:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="start"
|
|
943
943
|
break
|
|
944
|
-
case
|
|
944
|
+
case Xi:this.verticalDefaultPosition="bottom",this.horizontalDefaultPosition="end"
|
|
945
945
|
break
|
|
946
|
-
default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}_t([tt({mode:"boolean"})],
|
|
947
|
-
function
|
|
948
|
-
return t?t.length:0}}_t([tt({mode:"boolean"})],
|
|
949
|
-
class
|
|
946
|
+
default:this.verticalPositioningMode="dynamic",this.horizontalPositioningMode="dynamic",this.verticalDefaultPosition=void 0,this.horizontalDefaultPosition="center"}}}_t([tt({mode:"boolean"})],Yi.prototype,"visible",void 0),_t([tt],Yi.prototype,"anchor",void 0),_t([tt],Yi.prototype,"delay",void 0),_t([tt],Yi.prototype,"position",void 0),_t([tt({attribute:"auto-update-mode"})],Yi.prototype,"autoUpdateMode",void 0),_t([tt({attribute:"horizontal-viewport-lock"})],Yi.prototype,"horizontalViewportLock",void 0),_t([tt({attribute:"vertical-viewport-lock"})],Yi.prototype,"verticalViewportLock",void 0),_t([v],Yi.prototype,"anchorElement",void 0),_t([v],Yi.prototype,"viewportElement",void 0),_t([v],Yi.prototype,"verticalPositioningMode",void 0),_t([v],Yi.prototype,"horizontalPositioningMode",void 0),_t([v],Yi.prototype,"horizontalInset",void 0),_t([v],Yi.prototype,"verticalInset",void 0),_t([v],Yi.prototype,"horizontalScaling",void 0),_t([v],Yi.prototype,"verticalScaling",void 0),_t([v],Yi.prototype,"verticalDefaultPosition",void 0),_t([v],Yi.prototype,"horizontalDefaultPosition",void 0),_t([v],Yi.prototype,"tooltipVisible",void 0),_t([v],Yi.prototype,"currentDirection",void 0)
|
|
947
|
+
function Gi(t){return ve(t)&&"treeitem"===t.getAttribute("role")}class Qi extends le{constructor(){super(...arguments),this.expanded=!1,this.focusable=!1,this.isNestedItem=()=>Gi(this.parentElement),this.handleExpandCollapseButtonClick=t=>{this.disabled||t.defaultPrevented||(this.expanded=!this.expanded)},this.handleFocus=t=>{this.setAttribute("tabindex","0")},this.handleBlur=t=>{this.setAttribute("tabindex","-1")}}expandedChanged(){this.$fastController.isConnected&&this.$emit("expanded-change",this)}selectedChanged(){this.$fastController.isConnected&&this.$emit("selected-change",this)}itemsChanged(t,e){this.$fastController.isConnected&&this.items.forEach((t=>{Gi(t)&&(t.nested=!0)}))}static focusItem(t){t.focusable=!0,t.focus()}childItemLength(){const t=this.childItems.filter((t=>Gi(t)))
|
|
948
|
+
return t?t.length:0}}_t([tt({mode:"boolean"})],Qi.prototype,"expanded",void 0),_t([tt({mode:"boolean"})],Qi.prototype,"selected",void 0),_t([tt({mode:"boolean"})],Qi.prototype,"disabled",void 0),_t([v],Qi.prototype,"focusable",void 0),_t([v],Qi.prototype,"childItems",void 0),_t([v],Qi.prototype,"items",void 0),_t([v],Qi.prototype,"nested",void 0),_t([v],Qi.prototype,"renderCollapsedChildren",void 0),de(Qi,$t)
|
|
949
|
+
class Ji extends le{constructor(){super(...arguments),this.currentFocused=null,this.handleFocus=t=>{if(!(this.slottedTreeItems.length<1))return t.target===this?(null===this.currentFocused&&(this.currentFocused=this.getValidFocusableItem()),void(null!==this.currentFocused&&Qi.focusItem(this.currentFocused))):void(this.contains(t.target)&&(this.setAttribute("tabindex","-1"),this.currentFocused=t.target))},this.handleBlur=t=>{t.target instanceof HTMLElement&&(null===t.relatedTarget||!this.contains(t.relatedTarget))&&this.setAttribute("tabindex","0")},this.handleKeyDown=t=>{if(t.defaultPrevented)return
|
|
950
950
|
if(this.slottedTreeItems.length<1)return!0
|
|
951
951
|
const e=this.getVisibleNodes()
|
|
952
|
-
switch(t.key){case ze:return void(e.length&&
|
|
953
|
-
case Ie:return void(e.length&&
|
|
952
|
+
switch(t.key){case ze:return void(e.length&&Qi.focusItem(e[0]))
|
|
953
|
+
case Ie:return void(e.length&&Qi.focusItem(e[e.length-1]))
|
|
954
954
|
case ye:if(t.target&&this.isFocusableElement(t.target)){const e=t.target
|
|
955
|
-
e instanceof
|
|
955
|
+
e instanceof Qi&&e.childItemLength()>0&&e.expanded?e.expanded=!1:e instanceof Qi&&e.parentElement instanceof Qi&&Qi.focusItem(e.parentElement)}return!1
|
|
956
956
|
case $e:if(t.target&&this.isFocusableElement(t.target)){const e=t.target
|
|
957
|
-
e instanceof
|
|
957
|
+
e instanceof Qi&&e.childItemLength()>0&&!e.expanded?e.expanded=!0:e instanceof Qi&&e.childItemLength()>0&&this.focusNextNode(1,t.target)}return
|
|
958
958
|
case xe:return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(1,t.target))
|
|
959
959
|
case Ce:return void(t.target&&this.isFocusableElement(t.target)&&this.focusNextNode(-1,t.target))
|
|
960
960
|
case ke:return void this.handleClick(t)}return!0},this.handleSelectedChange=t=>{if(t.defaultPrevented)return
|
|
961
|
-
if(!(t.target instanceof Element&&
|
|
961
|
+
if(!(t.target instanceof Element&&Gi(t.target)))return!0
|
|
962
962
|
const e=t.target
|
|
963
963
|
e.selected?(this.currentSelected&&this.currentSelected!==e&&(this.currentSelected.selected=!1),this.currentSelected=e):e.selected||this.currentSelected!==e||(this.currentSelected=null)},this.setItems=()=>{const t=this.treeView.querySelector("[aria-selected='true']")
|
|
964
964
|
this.currentSelected=t,null!==this.currentFocused&&this.contains(this.currentFocused)||(this.currentFocused=this.getValidFocusableItem()),this.nested=this.checkForNestedItems()
|
|
965
|
-
this.getVisibleNodes().forEach((t=>{
|
|
966
|
-
if(!(t.target instanceof Element&&
|
|
965
|
+
this.getVisibleNodes().forEach((t=>{Gi(t)&&(t.nested=this.nested)}))},this.isFocusableElement=t=>Gi(t),this.isSelectedElement=t=>t.selected}slottedTreeItemsChanged(){this.$fastController.isConnected&&this.setItems()}connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","0"),h.queueUpdate((()=>{this.setItems()}))}handleClick(t){if(t.defaultPrevented)return
|
|
966
|
+
if(!(t.target instanceof Element&&Gi(t.target)))return!0
|
|
967
967
|
const e=t.target
|
|
968
|
-
e.disabled||(e.selected=!e.selected)}focusNextNode(t,e){const
|
|
969
|
-
if(!
|
|
970
|
-
const s
|
|
971
|
-
ve(
|
|
968
|
+
e.disabled||(e.selected=!e.selected)}focusNextNode(t,e){const s=this.getVisibleNodes()
|
|
969
|
+
if(!s)return
|
|
970
|
+
const i=s[s.indexOf(e)+t]
|
|
971
|
+
ve(i)&&Qi.focusItem(i)}getValidFocusableItem(){const t=this.getVisibleNodes()
|
|
972
972
|
let e=t.findIndex(this.isSelectedElement)
|
|
973
|
-
return-1===e&&(e=t.findIndex(this.isFocusableElement)),-1!==e?t[e]:null}checkForNestedItems(){return this.slottedTreeItems.some((t=>
|
|
974
|
-
return Array.from(t.querySelectorAll(e)).filter((t=>null!==t.offsetParent))}(this,"[role='treeitem']")||[]}}_t([tt({attribute:"render-collapsed-nodes"})],
|
|
975
|
-
function
|
|
973
|
+
return-1===e&&(e=t.findIndex(this.isFocusableElement)),-1!==e?t[e]:null}checkForNestedItems(){return this.slottedTreeItems.some((t=>Gi(t)&&t.querySelector("[role='treeitem']")))}getVisibleNodes(){return function(t,e){if(!t||!e||!ve(t))return
|
|
974
|
+
return Array.from(t.querySelectorAll(e)).filter((t=>null!==t.offsetParent))}(this,"[role='treeitem']")||[]}}_t([tt({attribute:"render-collapsed-nodes"})],Ji.prototype,"renderCollapsedNodes",void 0),_t([v],Ji.prototype,"currentSelected",void 0),_t([v],Ji.prototype,"slottedTreeItems",void 0)
|
|
975
|
+
function Zi(t){return`:host([hidden]){display:none}:host{display:${t}}`}const to=function(){if("boolean"==typeof ge)return ge
|
|
976
976
|
if("undefined"==typeof window||!window.document||!window.document.createElement)return ge=!1,ge
|
|
977
977
|
const t=document.createElement("style"),e=function(){const t=document.querySelector('meta[property="csp-nonce"]')
|
|
978
978
|
return t?t.getAttribute("content"):null}()
|
|
@@ -984,21 +984,21 @@ try{t.sheet.insertRule("foo:focus-visible {color:inherit}",0),ge=!0}catch(t){ge=
|
|
|
984
984
|
z-index: 1000;
|
|
985
985
|
}
|
|
986
986
|
`
|
|
987
|
-
class
|
|
987
|
+
class so extends Be{}const io=so.compose({baseName:"anchored-region",baseClass:Be,template:(t,e)=>q`
|
|
988
988
|
<template class="${t=>t.initialLayoutComplete?"loaded":""}">
|
|
989
989
|
${gt((t=>t.initialLayoutComplete),q`
|
|
990
990
|
<slot></slot>
|
|
991
991
|
`)}
|
|
992
992
|
</template>
|
|
993
993
|
`,styles:eo})
|
|
994
|
-
|
|
994
|
+
Fs.getOrCreate().withPrefix("nimble").register(io())
|
|
995
995
|
const oo="#a46eff",no="#804ad9",ro="#ff8126",ao="#009921",lo="#00c12b",co="#f1f1f2",ho="#f5f5f5",uo="#ffffff",po="#363738",vo="#505153",go="#161617",mo="#074023",fo="#009b65",bo="#d63434",wo="#ff4b00",xo="#006b46",yo="#32eb96",$o="14px",Co=new RegExp("[^#a-f\\d]","gi"),ko=new RegExp("^#?[a-f\\d]{3}[a-f\\d]?$|^#?[a-f\\d]{6}([a-f\\d]{2})?$","i")
|
|
996
996
|
function _o(t,e={}){if("string"!=typeof t||Co.test(t)||!ko.test(t))throw new TypeError("Expected a valid hex string")
|
|
997
|
-
let
|
|
998
|
-
8===(t=t.replace(/^#/,"")).length&&(
|
|
999
|
-
const
|
|
997
|
+
let s=1
|
|
998
|
+
8===(t=t.replace(/^#/,"")).length&&(s=Number.parseInt(t.slice(6,8),16)/255,t=t.slice(0,6)),4===t.length&&(s=Number.parseInt(t.slice(3,4).repeat(2),16)/255,t=t.slice(0,3)),3===t.length&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2])
|
|
999
|
+
const i=Number.parseInt(t,16),o=i>>16,n=i>>8&255,r=255&i,a="number"==typeof e.alpha?e.alpha:s
|
|
1000
1000
|
if("array"===e.format)return[o,n,r,a]
|
|
1001
|
-
if("css"===e.format){return`rgb(${o} ${n} ${r}${1===a?"":` / ${Number((100*a).toFixed(2))}%`})`}return{red:o,green:n,blue:r,alpha:a}}const zo="light",Io="dark",Oo="color",Ao="action-rgb-partial-color",So="application-background-color",Eo="divider-background-color",Ho="header-background-color",Mo="section-background-color",Vo="fill-selected-color",Lo="fill-selected-rgb-partial-color",To="fill-hover-selected-color",Po="fill-hover-color",Ro="fill-down-color",Do="border-color",
|
|
1001
|
+
if("css"===e.format){return`rgb(${o} ${n} ${r}${1===a?"":` / ${Number((100*a).toFixed(2))}%`})`}return{red:o,green:n,blue:r,alpha:a}}const zo="light",Io="dark",Oo="color",Ao="action-rgb-partial-color",So="application-background-color",Eo="divider-background-color",Ho="header-background-color",Mo="section-background-color",Vo="fill-selected-color",Lo="fill-selected-rgb-partial-color",To="fill-hover-selected-color",Po="fill-hover-color",Ro="fill-down-color",Do="border-color",Bo="border-rgb-partial-color",Fo="fail-color",No="warning-color",jo="pass-color",qo="information-color",Uo="border-hover-color",Ko="icon-color",Wo="popup-box-shadow-color",Xo="popup-border-color",Yo="control-height",Go="small-padding",Qo="standard-padding",Jo="label-height",Zo="border-width",tn="icon-size",en="group-header-text-transform",sn="drawer-width",on="small-delay",nn="medium-delay",rn="large-delay",an="headline-plus-1-font",ln="headline-font",cn="title-plus-2-font",hn="title-plus-1-font",dn="title-font",un="subtitle-plus-1-font",pn="subtitle-font",vn="link-standard-font",gn="placeholder-font",mn="body-emphasized-font",fn="body-font",bn="group-header-font",wn="control-label-font",xn="button-label-font",yn="tooltip-caption-font",$n="tooltip-background-color",Cn="error-text-font",kn=t=>`ni-nimble-${t}`
|
|
1002
1002
|
/*! *****************************************************************************
|
|
1003
1003
|
Copyright (c) Microsoft Corporation.
|
|
1004
1004
|
|
|
@@ -1013,44 +1013,44 @@ if("css"===e.format){return`rgb(${o} ${n} ${r}${1===a?"":` / ${Number((100*a).to
|
|
|
1013
1013
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1014
1014
|
PERFORMANCE OF THIS SOFTWARE.
|
|
1015
1015
|
***************************************************************************** */
|
|
1016
|
-
function _n(t,e,i
|
|
1017
|
-
if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,i
|
|
1018
|
-
else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,
|
|
1019
|
-
return n>3&&r&&Object.defineProperty(e,
|
|
1016
|
+
function _n(t,e,s,i){var o,n=arguments.length,r=n<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i
|
|
1017
|
+
if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,i)
|
|
1018
|
+
else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(r=(n<3?o(r):n>3?o(e,s,r):o(e,s))||r)
|
|
1019
|
+
return n>3&&r&&Object.defineProperty(e,s,r),r}const zn=q`<slot></slot>`,In=ut`
|
|
1020
1020
|
:host {
|
|
1021
1021
|
display: contents;
|
|
1022
1022
|
}
|
|
1023
|
-
`,On=
|
|
1023
|
+
`,On=Ls.create({name:"direction",cssCustomPropertyName:null}).withDefault(Ee.ltr),An=Ls.create({name:"theme",cssCustomPropertyName:null}).withDefault(zo)
|
|
1024
1024
|
class Sn extends le{constructor(){super(...arguments),this.direction=Ee.ltr,this.theme=zo}directionChanged(t,e){null!=e?On.setValueFor(this,e):On.deleteValueFor(this)}themeChanged(t,e){null!=e?An.setValueFor(this,e):An.deleteValueFor(this)}}_n([tt({attribute:"direction"})],Sn.prototype,"direction",void 0),_n([tt({attribute:"theme"})],Sn.prototype,"theme",void 0)
|
|
1025
1025
|
const En=Sn.compose({baseName:"theme-provider",styles:In,template:zn})
|
|
1026
|
-
function Hn(t,e){const{red:
|
|
1027
|
-
return`rgba(${
|
|
1028
|
-
const Mn=
|
|
1029
|
-
|
|
1030
|
-
const Ln=
|
|
1031
|
-
|
|
1032
|
-
const Tn=
|
|
1033
|
-
|
|
1034
|
-
const Rn=
|
|
1035
|
-
|
|
1036
|
-
const Xn=
|
|
1026
|
+
function Hn(t,e){const{red:s,green:i,blue:o}=_o(t)
|
|
1027
|
+
return`rgba(${s}, ${i}, ${o}, ${e})`}Fs.getOrCreate().withPrefix("nimble").register(En())
|
|
1028
|
+
const Mn=Ls.create(kn(Ao)).withDefault((t=>$a(ka(t,go,co,uo)))),Vn=Ls.create(kn(So)).withDefault((t=>ka(t,uo,po,mo)))
|
|
1029
|
+
Ls.create(kn(Ho)).withDefault((t=>ka(t,ho,"#252526",mo))),Ls.create(kn(Mo)).withDefault((t=>ka(t,co,vo,mo))),Ls.create(kn(Eo)).withDefault((t=>ka(t,co,vo,mo)))
|
|
1030
|
+
const Ln=Ls.create(kn(Vo)).withDefault((t=>Hn(Oa(t),.2)))
|
|
1031
|
+
Ls.create(kn(Lo)).withDefault((t=>$a(Oa(t))))
|
|
1032
|
+
const Tn=Ls.create(kn(To)).withDefault((t=>Hn(Oa(t),.15))),Pn=Ls.create(kn(Po)).withDefault((t=>Hn(function(t){return ka(t,go,co,uo)}(t),.1)))
|
|
1033
|
+
Ls.create(kn(Ro)).withDefault((t=>Hn(function(t){return ka(t,go,co,uo)}(t),.15)))
|
|
1034
|
+
const Rn=Ls.create(kn(Do)).withDefault((t=>za(t))),Dn=Ls.create(kn(Bo)).withDefault((t=>$a(za(t)))),Bn=Ls.create(kn(Fo)).withDefault((t=>_a(t))),Fn=Ls.create(kn(No)).withDefault((t=>function(t){return ka(t,wo,ro,uo)}(t))),Nn=Ls.create(kn(jo)).withDefault((t=>function(t){return ka(t,ao,lo,uo)}(t))),jn=Ls.create(kn(qo)).withDefault((t=>function(t){return ka(t,no,oo,uo)}(t))),qn=Ls.create(kn(Uo)).withDefault((t=>ka(t,fo,fo,uo))),Un=Ls.create(kn(Ko)).withDefault((t=>ka(t,go,co,uo))),Kn=Ls.create(kn(Wo)).withDefault((t=>Hn(ka(t,"#818386",po,po),.3))),Wn=Ls.create(kn(Xo)).withDefault((t=>Hn(ka(t,go,co,uo),.3)))
|
|
1035
|
+
Ls.create(kn($n)).withDefault((t=>ka(t,co,po,mo)))
|
|
1036
|
+
const Xn=Ls.create(kn(Yo)).withDefault("32px"),Yn=Ls.create(kn(Go)).withDefault("4px"),Gn=Ls.create(kn(Qo)).withDefault("16px"),Qn=Ls.create(kn(Jo)).withDefault("16px"),Jn=Ls.create(kn(Zo)).withDefault("1px"),Zn=Ls.create(kn(tn)).withDefault("16px"),tr=Ls.create(kn(sn)).withDefault("784px")
|
|
1037
1037
|
Ca(ln,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Noto Serif","400","25px","32px","serif"),Ca(an,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Noto Serif","400","29.100000381469727px","40px","serif"),Ca(cn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","25px","32px","sans-serif")
|
|
1038
|
-
const[er,ir,
|
|
1038
|
+
const[er,sr,ir,or,nr,rr,ar,lr]=Ca(hn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","22px","28px","sans-serif")
|
|
1039
1039
|
Ca(dn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","19px","24px","sans-serif"),Ca(un,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","300","16px","20px","sans-serif"),Ca(pn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","300","12.800000190734863px","16px","sans-serif"),Ca(vn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","14px","18px","sans-serif")
|
|
1040
|
-
const[cr,hr,dr,ur,pr,vr,gr,mr]=Ca(gn,(t=>Hn(Ia(t),.6)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","14px","18px","sans-serif"),[fr,br,wr,xr,yr,$r,Cr,kr]=Ca(mn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","600","14px","18px","sans-serif"),[_r,zr,Ir,Or,Ar,Sr,Er,Hr]=Ca(fn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","14px","18px","sans-serif"),[Mr,Vr,Lr,Tr,Pr,Rr,Dr,
|
|
1041
|
-
|
|
1042
|
-
const ya=
|
|
1043
|
-
function $a(t){const{red:e,green:
|
|
1044
|
-
return`${e}, ${
|
|
1045
|
-
const l=
|
|
1040
|
+
const[cr,hr,dr,ur,pr,vr,gr,mr]=Ca(gn,(t=>Hn(Ia(t),.6)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","14px","18px","sans-serif"),[fr,br,wr,xr,yr,$r,Cr,kr]=Ca(mn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","600","14px","18px","sans-serif"),[_r,zr,Ir,Or,Ar,Sr,Er,Hr]=Ca(fn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","14px","18px","sans-serif"),[Mr,Vr,Lr,Tr,Pr,Rr,Dr,Br]=Ca(bn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","600","11px","16px","sans-serif"),[Fr,Nr,jr,qr,Ur,Kr,Wr,Xr]=Ca(wn,(t=>Hn(Ia(t),.6)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","600","11px","16px","sans-serif"),[Yr,Gr,Qr,Jr,Zr,ta,ea,sa]=Ca(xn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","12.800000190734863px","16px","sans-serif"),[ia,oa,na,ra,aa,la,ca,ha]=Ca(yn,(t=>Ia(t)),(t=>Hn(Ia(t),.3)),"Source Sans Pro","400","11px",$o,"sans-serif"),[da,ua,pa,va,ga,ma,fa,ba]=Ca(Cn,(t=>_a(t)),(t=>Hn(_a(t),.3)),"Source Sans Pro","400","9px",$o,"sans-serif"),wa=Ls.create(kn(en)).withDefault("uppercase"),xa=Ls.create(kn(on)).withDefault("0.075s")
|
|
1041
|
+
Ls.create(kn(nn)).withDefault("0.15s")
|
|
1042
|
+
const ya=Ls.create(kn(rn)).withDefault("0.25s")
|
|
1043
|
+
function $a(t){const{red:e,green:s,blue:i}=_o(t)
|
|
1044
|
+
return`${e}, ${s}, ${i}`}function Ca(t,e,s,i,o,n,r,a){if(""===t||""===i||""===o||""===n||""===r||""===a)throw new Error("createFontTokens parameter unexpectedly set to empty string")
|
|
1045
|
+
const l=Ls.create(kn(t)).withDefault(`${o} ${n}/${r} ${i}, ${a}`),c=t.split("-font"),h=c[0]
|
|
1046
1046
|
if(void 0===h||""!==c[1])throw new Error(`fontTokenName value of ${t} did not have the expected '-font' suffix`)
|
|
1047
|
-
return[l,
|
|
1048
|
-
case Io:return
|
|
1049
|
-
case Oo:return
|
|
1050
|
-
default:return e}}function _a(t){return ka(t,"#c4000c","#ff4646",uo)}function za(t){return ka(t,go,co,uo)}function Ia(t){return ka(t,go,co,uo)}function Oa(t){return ka(t,fo,fo,uo)}class Aa{constructor(t,e,
|
|
1047
|
+
return[l,Ls.create(kn(`${h}-font-color`)).withDefault((t=>e(t))),Ls.create(kn(`${h}-disabled-font-color`)).withDefault((t=>s(t))),Ls.create(kn(`${h}-font-family`)).withDefault(`${i}`),Ls.create(kn(`${h}-font-weight`)).withDefault(`${o}`),Ls.create(kn(`${h}-font-size`)).withDefault(`${n}`),Ls.create(kn(`${h}-font-line-height`)).withDefault(`${r}`),Ls.create(kn(`${h}-fallback-font-family`)).withDefault(`${a}`)]}function ka(t,e,s,i){switch(An.getValueFor(t)){case zo:return e
|
|
1048
|
+
case Io:return s
|
|
1049
|
+
case Oo:return i
|
|
1050
|
+
default:return e}}function _a(t){return ka(t,"#c4000c","#ff4646",uo)}function za(t){return ka(t,go,co,uo)}function Ia(t){return ka(t,go,co,uo)}function Oa(t){return ka(t,fo,fo,uo)}class Aa{constructor(t,e,s){this.value=t,this.styles=e,this.source=s}handleChange(){const t=An.getValueFor(this.source);(Array.isArray(this.value)?this.value.includes(t):this.value===t)?this.source.$fastController.addStyles(this.styles):this.source.$fastController.removeStyles(this.styles)}}class Sa{constructor(t,e){this.theme=t,this.styles=e,this.cache=new WeakMap}bind(t){const e=this.cache.get(t)||new Aa(this.theme,this.styles,t)
|
|
1051
1051
|
An.subscribe(e,t),e.handleChange(),this.cache.set(t,e)}unbind(t){const e=this.cache.get(t)
|
|
1052
1052
|
e&&An.unsubscribe(e)}}const Ea=(t,e)=>new Sa(t,e),Ha=ut`
|
|
1053
|
-
${
|
|
1053
|
+
${Zi("inline-block")}
|
|
1054
1054
|
|
|
1055
1055
|
:host {
|
|
1056
1056
|
box-sizing: border-box;
|
|
@@ -1108,9 +1108,9 @@ const Ma=class extends Ne{}.compose({baseName:"breadcrumb",baseClass:Ne,template
|
|
|
1108
1108
|
</div>
|
|
1109
1109
|
</template>
|
|
1110
1110
|
`,styles:Ha})
|
|
1111
|
-
|
|
1112
|
-
const Va={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 7H9V3H7v4H3v2h4v4h2V9h4V7z"/></svg>'},La={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 class="cls-1" d="M13.171 13.933l-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"/></svg>'},Ta={name:"arrow_expander_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.5 4.737l1.11-.732 3.357 5.472L11.397 4l1.103.743L7.955 12 3.5 4.737z"/></svg>'},Pa={name:"arrow_expander_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11.263 3.5l.732 1.11-5.472 3.357L12 11.397l-.743 1.103L4 7.955 11.263 3.5z"/></svg>'},Ra={name:"arrow_expander_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.737 12.5l-.732-1.11 5.472-3.357L4 4.603 4.743 3.5 12 8.045 4.737 12.5z"/></svg>'},Da={name:"arrow_expander_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.5 11.263l-1.11.732-3.357-5.472L4.603 12 3.5 11.257 8.045 4l4.455 7.263z"/></svg>'},Fa={name:"arrow_left_from_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 14h2V2h-2zM2 7.982L7.9 5 6.588 7.004 11 7v2H6.613L7.9 11z"/></svg>'},Ba={name:"arrow_partial_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 11.988a3.086 3.086 0 003.143-3.025 3.08 3.08 0 00-3.085-3.02v.088l.826 2.067-5.598-2.796L8.884 2.5l-.742 1.932a4.619 4.619 0 014.572 4.53A4.629 4.629 0 018 13.5z"/></svg>'},Na={name:"arrow_right_to_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 14h2V2h-2zm-6.9-3l1.287-2H2V7l4.412.004L5.1 5 11 7.982z"/></svg>'},ja={name:"arrow_rotate_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.9 2.773v1.715a3.366 3.366 0 013.3 3.428 3.366 3.366 0 01-3.3 3.429 3.36 3.36 0 01-3.293-3.366h.095l2.255.901-3.05-6.107L1.85 8.88l2.108-.808A5.039 5.039 0 008.9 13.059a5.05 5.05 0 004.95-5.143A5.05 5.05 0 008.9 2.773z"/></svg>'},qa={name:"arrow_u_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.857 9.453l-2.571-1.68v.908a3 3 0 003 3 3 3 0 003-3V3.11H14v5.571a4.714 4.714 0 01-4.714 4.715A4.714 4.714 0 014.57 8.68v-.908L2 9.453l3.403-6.849z"/></svg>'},Ua={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 class="cls-1" d="M4.195 4.977l-.451 2.296L2 2l5.256 1.762-2.301.458 6.849 6.803.452-2.296L14 14l-5.256-1.762 2.301-.458-6.85-6.803z"/></svg>'},Ka={name:"arrows_maximize_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.26 8.735L14 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.03.457-2.295z"/></svg>'},Wa={name:"arrows_repeat_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.75 11.75L10 14l-6-3 6-3-1.25 2.25zM8 11h1a4 4 0 004-4M7.25 5.75L6 8l6-3-6-3 1.25 2.25zM8 5H7a4 4 0 00-4 4"/></svg>'},Xa={name:"bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 13v-2h12v2zm0-4V7h12v2zm0-4V3h12v2z"/></svg>'},Ya={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 14a2.05 2.05 0 01-2-2h4a2.05 2.05 0 01-2 2zm-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"/></svg>'},Ga={name:"bell_and_comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.836 4.75H9.57a.71.71 0 00-.71.71v2.032a.71.71 0 00.71.711h.356L9.57 9.625l2.488-1.422h1.778a.71.71 0 00.71-.71V5.46a.71.71 0 00-.71-.711zM8.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 00-1.71 1.71v2.032a1.712 1.712 0 00.844 1.475zM6 12h4a2.05 2.05 0 01-2 2 2.05 2.05 0 01-2-2zm7.25-1H9.18l2.868-1.64c.198.527.431.894.702.894.5 0 .5.746.5.746z"/></svg>'},Qa={name:"bell_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.042 11h2a1 1 0 01-2 0zm4.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.497zm-3.5-7.5a5.5 5.5 0 11-5.5 5.5 5.506 5.506 0 015.5-5.5m0-1a6.5 6.5 0 106.5 6.5 6.5 6.5 0 00-6.5-6.5z"/></svg>'},Ja={name:"bell_solid_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M1.5 8A6.5 6.5 0 008 14.5 6.5 6.5 0 0014.5 8 6.5 6.5 0 008 1.5 6.5 6.5 0 001.5 8zM8 12a1.025 1.025 0 01-1-1h2a1.025 1.025 0 01-1 1zm-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"/></svg>'},Za={name:"block_with_ribbon_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v10h4.762A4.496 4.496 0 0113 5.762V2zm12 7.5a3.5 3.5 0 10-6 2.442V14l2.5-1.667L13 14v-2.058A3.485 3.485 0 0014 9.5zM10.5 8A1.5 1.5 0 119 9.5 1.5 1.5 0 0110.5 8z"/></svg>'},tl={name:"calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 4.023V2.977A.976.976 0 014.977 2h.046A.976.976 0 016 2.977v1.046A.977.977 0 015.023 5h-.046A.977.977 0 014 4.023zM13 4v.023A1.98 1.98 0 0111.023 6h-.046A1.98 1.98 0 019 4.023V4H7v.023A1.98 1.98 0 015.023 6h-.046A1.98 1.98 0 013 4.023V4a1 1 0 00-1 1v8a1 1 0 001 1h10a1 1 0 001-1V5a1 1 0 00-1-1zm-7 8H4v-1h2zm.001-1.999H4V9h2.001zm0-2.001H4V7h2.001zM9 12H7v-1h2zm0-1.999H7V9h2zM9 8H7V7h2zm3 4h-2v-1h2zm.001-1.999H10V9h2.001zm0-2.001H10V7h2.001zM10 4.023V2.977A.976.976 0 0110.977 2h.046a.976.976 0 01.977.977v1.046a.977.977 0 01-.977.977h-.046A.977.977 0 0110 4.023z"/></svg>'},el={name:"chart_diagram_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3z"/></svg>'},il={name:"chart_diagram_child_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3zm-8 2H3v-1h1zm4 0H7v-1h1zm4 0h-1v-1h1z"/></svg>'},sl={name:"chart_diagram_parent_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3zM7 4V3h1v1z"/></svg>'},ol={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 class="cls-1" d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3zm-6 2H4v-1h1zm6 0h-1v-1h1z"/></svg>'},nl={name:"check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 5.287L6.182 12 3 8.867l1.363-1.343L6.24 9.37 11.693 4z"/></svg>'},rl={name:"check_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle class="cls-1" cx="12.5" cy="11.5" r="1.5"/><path class="cls-2" d="M14 4.693l-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545z"/></svg>'},al={name:"circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm0 9.429A3.429 3.429 0 1111.429 8 3.429 3.429 0 018 11.429z"/></svg>'},ll={name:"circle_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 14A6.1 6.1 0 017 2v2.686a3.475 3.475 0 000 6.628zM9 2v2.686a3.475 3.475 0 010 6.628V14A6.1 6.1 0 009 2z"/></svg>'},cl={name:"circle_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm-1.212 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013z"/></svg>'},hl={name:"circle_partial_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 2v2.686a3.475 3.475 0 010 6.628V14A6.1 6.1 0 009 2z"/><path class="cls-2" d="M7 11.314a3.475 3.475 0 010-6.628V2a6.1 6.1 0 000 12z"/></svg>'},dl={name:"circle_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm.075 1.714a4.281 4.281 0 013.573 6.647L5.714 4.427a4.262 4.262 0 012.36-.713zM3.789 8a4.261 4.261 0 01.713-2.36l5.934 5.933A4.281 4.281 0 013.789 8z"/></svg>'},ul={name:"circle_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm.075 1.714a4.263 4.263 0 012.409.743l-2.37 2.37-2.4-2.4a4.262 4.262 0 012.36-.713zM4.502 5.64l2.4 2.4-2.37 2.37a4.273 4.273 0 01-.03-4.77zm3.573 6.647a4.256 4.256 0 01-2.31-.685l2.349-2.35 2.322 2.322a4.261 4.261 0 01-2.361.713zm3.573-1.925L9.326 8.039l2.35-2.349a4.251 4.251 0 01-.028 4.67z"/></svg>'},pl={name:"clipboard_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 5H5a2 2 0 012-2V2a1 1 0 012 0v1a2 2 0 012 2zm1-2v9H4V3H3a1 1 0 00-1 1v9a1 1 0 001 1h10a1 1 0 001-1V4a1 1 0 00-1-1zm-2 4H5v1h5zM8 9H5v1h3z"/></svg>'},vl={name:"clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6m.576 4.87l1.555-1.557a1.635 1.635 0 01.84-.256 1.979 1.979 0 01-.23.791c-.115.163-1.356 1.41-1.571 1.626a1.278 1.278 0 010 1.085l2.376 2.38a1.597 1.597 0 01.458 1.072 1.621 1.621 0 01-1.222-.613c-.456-.456-1.94-1.963-2.207-2.235a1.275 1.275 0 110-2.293"/></svg>'},gl={name:"clock_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.108 7.392l.955-.957a1.004 1.004 0 01.516-.157 1.215 1.215 0 01-.14.486c-.072.1-.834.866-.966.999a.785.785 0 010 .666l1.341 1.344a.981.981 0 01.281.658.996.996 0 01-.75-.376c-.28-.28-1.073-1.088-1.237-1.255a.783.783 0 110-1.408m5.69 2.292L14 7.324l-1.327-.113a4.76 4.76 0 00-.402-1.26l1.02-.86-1.527-1.811-1.019.86a4.726 4.726 0 00-.563-.344 4.61 4.61 0 00-.612-.265l.114-1.329L7.324 2l-.113 1.329a4.77 4.77 0 00-1.26.401l-.86-1.02L3.28 4.237l.858 1.02A4.771 4.771 0 003.53 6.43l-1.329-.114L2 8.676l1.329.114a4.69 4.69 0 00.401 1.26l-1.02.86 1.526 1.811 1.02-.859a4.666 4.666 0 001.175.608l-.113 1.33 2.358.2.114-1.328a4.688 4.688 0 001.26-.4l.86 1.02 1.81-1.527-.858-1.02a4.687 4.687 0 00.608-1.175zM8 11.45A3.45 3.45 0 1111.45 8 3.45 3.45 0 018 11.45z"/></svg>'},ml={name:"clock_triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 3a4.951 4.951 0 00-2.152.505L7.096 6H3.422A4.997 4.997 0 108 3zm2.003 7.616a453.75 453.75 0 01-1.675-1.7 1.061 1.061 0 110-1.907l1.294-1.297a1.36 1.36 0 01.699-.212 1.646 1.646 0 01-.19.658c-.097.136-1.13 1.173-1.309 1.353a1.063 1.063 0 010 .903l1.817 1.82a1.33 1.33 0 01.381.891 1.35 1.35 0 01-1.017-.51z"/><path class="cls-2" d="M5.477 5H1.522L3.5 1.045 5.477 5z"/></svg>'},fl={name:"clone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6z"/></svg>'},bl={name:"cloud_upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.476 7.298l-1.927 3.848 1.48-.568v3.407h.948v-3.407l1.42.568zM15 9.005a2.374 2.374 0 01-2.371 2.371h-.998l-.5-1h1.498a1.371 1.371 0 10-.516-2.64A3.77 3.77 0 104.797 5.99 2.238 2.238 0 002 8.148a2.223 2.223 0 002.057 2.22l1.758.009-.448.894a10.567 10.567 0 01-2.31-.121 3.224 3.224 0 01.993-6.225 4.77 4.77 0 019.236 1.68c0 .04 0 .081-.002.121A2.375 2.375 0 0115 9.006z"/></svg>'},wl={name:"cloud_with_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.429 10.1l.001-.101A3.998 3.998 0 004.69 8.59a2.715 2.715 0 00-2.557 2.7 2.782 2.782 0 001.725 2.516 4.854 4.854 0 001.225.19h.004c.19.006 6.792 0 6.792 0a1.987 1.987 0 00.55-3.897zm-.55 3.06l-7.183-.008a1.867 1.867 0 01.156-3.728 1.891 1.891 0 01.464.06 3.16 3.16 0 116.13 1.462 1.149 1.149 0 11.433 2.213zM4.5 4.5a1 1 0 111-1 1 1 0 01-1 1zm5.138.681l.496-1.241H7v-.828h3.134l-.496-1.293L13 3.502z"/></svg>'},xl={name:"cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.823 2l-2.217.914.516 1.25a4.743 4.743 0 00-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.82 4.82 0 00-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.824 4.824 0 00.945.949l-.518 1.247 2.214.921.519-1.246a4.68 4.68 0 00.674.048 4.74 4.74 0 00.666-.047L9.176 14l2.218-.914-.515-1.248a4.828 4.828 0 00.95-.945l1.245.518.922-2.214-1.247-.519a4.73 4.73 0 00.002-1.34L14 6.824l-.914-2.218-1.25.515a4.739 4.739 0 00-.944-.949l.518-1.246-2.212-.922-.52 1.247a4.714 4.714 0 00-.676-.049 4.808 4.808 0 00-.663.047zm1.175 9a2.999 2.999 0 112.77-1.847 2.984 2.984 0 01-2.77 1.846M8 6.801a1.2 1.2 0 10.46.093A1.198 1.198 0 008 6.8"/></svg>'},yl={name:"cog_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.147 11.648c-.01.006-.02.014-.032.02a4.1 4.1 0 01-.46.224l-.012.005c-.033.015-.068.028-.103.042-.051.019-.11.036-.162.055-.094.034-.186.068-.285.099-.034.01-.064.024-.1.033-.019.007-.042.012-.062.019q-.279.078-.58.144l-.133.03q-.324.068-.668.12l-.135.02c-.214.03-.431.057-.653.079l-.103.012a17.446 17.446 0 01-.903.06c-.254.01-.507.018-.759.018a18.75 18.75 0 01-1.66-.078l-.105-.012a15.901 15.901 0 01-.65-.08l-.134-.018c-.23-.036-.455-.076-.67-.122l-.132-.029a9.372 9.372 0 01-.582-.145l-.059-.017c-.036-.01-.067-.023-.1-.034a7.034 7.034 0 01-.285-.1c-.054-.018-.112-.035-.165-.055l-.101-.041-.01-.005a4.076 4.076 0 01-.462-.223l-.03-.02a2.343 2.343 0 01-.334-.24c-.014-.012-.033-.022-.045-.033v1.013c0 .364.524.749 1.427 1.051a8.098 8.098 0 00.697.197 14.793 14.793 0 003.4.363 14.818 14.818 0 003.403-.362 8.38 8.38 0 00.697-.197c.904-.303 1.43-.688 1.43-1.052v-1.013c-.015.012-.034.022-.047.034a2.478 2.478 0 01-.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.052a9.254 9.254 0 00.698.197 14.8 14.8 0 003.399.362 14.817 14.817 0 003.401-.362 8.375 8.375 0 00.7-.197c.902-.302 1.428-.687 1.428-1.052M3.931 7.697L2.802 7.6l.171-1.979 1.129.095a3.984 3.984 0 01.516-.985l-.729-.856 1.537-1.28.73.855a4.085 4.085 0 011.071-.336L7.323 2l2.004.17-.097 1.114a3.949 3.949 0 01.52.223 4.027 4.027 0 01.478.288l.866-.721 1.296 1.52-.866.72a3.961 3.961 0 01.341 1.058l1.127.095-.133 1.539a10.211 10.211 0 00-2.482-.618c.007-.048.021-.094.026-.143a2.48 2.48 0 00-1.346-2.416 2.543 2.543 0 00-2.938.45 2.408 2.408 0 00-.698 2.14 11.88 11.88 0 00-1.482.311l-.008-.033zm4.067-.468c-.331 0-.697.012-1.077.035a.972.972 0 01-.026-.314.99.99 0 01.292-.618 1.011 1.011 0 011.174-.18.992.992 0 01.539.967.923.923 0 01-.036.132 17.817 17.817 0 00-.866-.022z"/></svg>'},$l={name:"cog_database_inset_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.751 7.338L14 6.824l-.914-2.218-1.25.515a4.74 4.74 0 00-.944-.949l.518-1.246-2.212-.922-.52 1.247a4.715 4.715 0 00-.676-.049 4.803 4.803 0 00-.663.047L6.823 2l-2.217.914.516 1.25a4.741 4.741 0 00-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.816 4.816 0 00-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.823 4.823 0 00.945.949l-.518 1.247 2.214.921.519-1.246a4.673 4.673 0 00.674.048 4.737 4.737 0 00.666-.047L9.176 14l2.218-.914-.515-1.248a4.826 4.826 0 00.95-.945l1.245.518.922-2.214-1.247-.519a4.729 4.729 0 00.002-1.34zm-1.06 2.418c0 .244-.35.5-.954.703a5.157 5.157 0 01-.466.131 9.896 9.896 0 01-2.273.243 9.88 9.88 0 01-2.271-.243 5.454 5.454 0 01-.466-.131c-.603-.202-.953-.46-.953-.703V9.08c.008.008.02.015.03.023a1.567 1.567 0 00.223.16l.02.013a2.725 2.725 0 00.309.15l.006.002.068.028c.035.013.074.025.11.037.062.023.125.046.19.066.023.008.043.016.067.023l.04.011c.123.036.253.069.389.098l.087.02c.144.03.295.057.448.08l.09.012c.142.021.286.038.434.054l.07.008c.162.014.327.027.491.035l.112.005a11.63 11.63 0 001.013 0l.11-.005c.165-.008.33-.02.493-.035l.069-.008c.148-.015.293-.033.436-.054l.09-.012q.23-.035.447-.08l.088-.02c.135-.03.264-.062.388-.097l.042-.012.066-.023c.066-.02.128-.043.19-.066.036-.012.075-.024.109-.037l.069-.028.007-.003a2.744 2.744 0 00.308-.149l.022-.014a1.651 1.651 0 00.222-.159l.03-.023zm0-1.76c0 .243-.35.5-.954.703a5.157 5.157 0 01-.466.13 9.897 9.897 0 01-2.273.243 9.88 9.88 0 01-2.271-.242 5.44 5.44 0 01-.466-.132c-.603-.202-.953-.459-.953-.703V7.32c.008.008.02.014.03.022a1.566 1.566 0 00.223.16l.02.013a2.716 2.716 0 00.309.15l.006.003c.022.01.046.018.068.027l.11.038c.062.022.125.045.19.066.023.007.043.016.067.023l.04.011c.123.035.253.067.389.097l.087.02c.144.03.295.057.448.08l.09.013c.142.02.286.038.434.053l.07.008a11.715 11.715 0 001.726.035c.165-.008.33-.02.493-.035l.069-.008c.148-.015.293-.033.436-.053l.09-.012q.23-.036.447-.081l.088-.02q.202-.044.388-.097c.014-.004.029-.007.042-.012.023-.006.043-.015.067-.022.065-.02.127-.044.19-.066l.108-.037.069-.028.008-.003a2.735 2.735 0 00.307-.15l.022-.013a1.657 1.657 0 00.222-.16c.009-.007.021-.014.03-.022zm-.953-1.05a5.625 5.625 0 01-.467.132 9.896 9.896 0 01-2.272.24 9.885 9.885 0 01-2.271-.24 6.179 6.179 0 01-.466-.133c-.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.702z"/></svg>'},Cl={name:"cog_small_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.712 5.956a.76.76 0 01-.224.477.787.787 0 01-.909.139.762.762 0 01-.19-1.224.781.781 0 01.907-.14.767.767 0 01.416.748zM14 11.61l-.441 1.088-.62-.246a2.276 2.276 0 01-.232.268 2.386 2.386 0 01-.23.2l.263.606-1.09.46-.263-.606a2.353 2.353 0 01-.662.008l-.248.612-1.1-.435.249-.612a2.273 2.273 0 01-.256-.215 2.358 2.358 0 01-.218-.243l-.614.26-.466-1.077.614-.259a2.287 2.287 0 01-.008-.654l-.62-.246.44-1.087.62.246a2.38 2.38 0 01.234-.27 2.463 2.463 0 01.229-.198l-.263-.606 1.09-.46.263.605a2.422 2.422 0 01.662-.008l.248-.612 1.1.436-.248.612a2.351 2.351 0 01.473.458l.614-.26.466 1.076-.613.26a2.339 2.339 0 01.008.654zm-1.934-1.591a1.495 1.495 0 00-2.085.011 1.454 1.454 0 00.01 2.081 1.479 1.479 0 00.486.313 1.495 1.495 0 001.6-.324 1.454 1.454 0 00-.01-2.081zM9.036 8.33l-1.189.99-.564-.661a3.104 3.104 0 01-.827.26l-.075.86-1.547-.13.074-.862a3.075 3.075 0 01-.77-.394l-.671.557-1.001-1.174.67-.557a3.015 3.015 0 01-.264-.817L2 6.328 2.132 4.8l.872.074a3.08 3.08 0 01.4-.762l-.564-.66 1.188-.99.565.66a3.159 3.159 0 01.827-.26L5.494 2l1.548.131-.074.861a3.046 3.046 0 01.402.172 3.111 3.111 0 01.369.223l.669-.557L9.41 4.004l-.67.557a3.06 3.06 0 01.264.818l.871.073-.132 1.53-.872-.074a3.026 3.026 0 01-.4.762zM7.874 6.054a1.916 1.916 0 00-1.04-1.868 1.965 1.965 0 00-2.27.348 1.907 1.907 0 00.478 3.06 1.965 1.965 0 002.27-.347 1.903 1.903 0 00.562-1.193zm3.376 4.467a.6.6 0 00-.64.13.591.591 0 00-.131.196.584.584 0 00.33.761.597.597 0 00.64-.13.59.59 0 00.13-.195.583.583 0 00-.135-.637.596.596 0 00-.194-.125z"/></svg>'},kl={name:"cog_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 3.11l-1.178-.632-1.875 2.133a5.424 5.424 0 00-.716-.094L8.766 2l-2.138.627.2 2.863a5.226 5.226 0 00-.527.47l-2.77-.738-1.056 1.95L4.656 9.04a5.188 5.188 0 00-.087.704L2 11.144l.659 2.1 2.914-.197a4.961 4.961 0 00.453.525l-.13.427h7.232a.818.818 0 00.87-.759L14 13.2zm-1.335 7.876a2.877 2.877 0 01-3.741 1.477 2.768 2.768 0 01-1.51-3.66 2.876 2.876 0 013.729-1.482 2.76 2.76 0 011.535 3.637z"/></svg>'},_l={name:"comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 3.5v6a1.5 1.5 0 01-1.5 1.5H8.75L3.5 14l.75-3H3.5A1.5 1.5 0 012 9.5v-6A1.5 1.5 0 013.5 2h9A1.5 1.5 0 0114 3.5z"/></svg>'},zl={name:"computer_and_monitor_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 12V6H5v6h4v1H7v1h5v-1h-2v-1zm-8-1V7h7v4zm1-6H4V4h3zm1 0V3H3v7h1v3h2v1H3a1 1 0 01-1-1V3a1 1 0 011-1h5a1 1 0 011 1v2z"/></svg>'},Il={name:"copy_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6zm7 7H7V7h6z"/></svg>'},Ol={name:"copy_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6zm7 7H7V7h6zm-1-4H8V8h4zm-1 2H8v-1h3z"/></svg>'},Al={name:"dashboard_builder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.646 6.646L7 4.293l2 2 1.646-1.646.707.707L9 7.707l-2-2-1.646 1.647zM14 2v12H2V2zM8 9H4v3h4zm4 2H9v1h3zm0-2H9v1h3zm0-5H4v4h8V4zm-5 6H5v1h2z"/></svg>'},Sl={name:"dashboard_builder_legend_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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"/></svg>'},El={name:"dashboard_builder_templates_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm11 11H3V3h10z"/><path class="cls-1" d="M9 9h3v1H9zM12 4H4v4h8zm-1 3H5V5h6zM8 9H4v3h4zm-1 2H5v-1h2zM9 11h3v1H9z"/></svg>'},Hl={name:"dashboard_builder_tile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.646 10.646L7 8.293l2 2 1.646-1.646.707.707L9 11.707l-2-2-1.646 1.647zM14 2v12H2V2zM4 7h3V4H4zm8 1H4v4h8V8zm0-4H8v3h4z"/></svg>'},Ml={name:"database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.588 11.46a2.69 2.69 0 00.36-.257c.015-.012.036-.023.051-.036v1.093c0 .395-.57.81-1.551 1.137a9.133 9.133 0 01-.757.212A16.17 16.17 0 017.997 14a16.144 16.144 0 01-3.69-.391 8.83 8.83 0 01-.757-.213C2.57 13.069 2 12.655 2 12.26v-1.093c.013.013.033.023.049.036a2.61 2.61 0 00.362.26c.012.006.021.013.033.02a4.294 4.294 0 00.502.241l.01.005.11.046c.058.02.121.039.18.06.1.036.202.073.308.106.037.012.07.026.11.037.018.006.042.011.063.017.2.06.412.11.633.159l.142.031c.234.049.478.092.727.13.048.008.098.014.146.02a17.346 17.346 0 00.82.1 24.659 24.659 0 00.98.065c.273.01.55.019.822.019.273 0 .548-.008.824-.02.06-.003.119-.006.179-.007.268-.014.536-.034.801-.057l.112-.014c.24-.023.476-.052.708-.086.048-.006.098-.012.147-.02.25-.038.491-.081.725-.13.05-.012.096-.021.144-.031.219-.049.429-.1.63-.157.022-.008.047-.013.069-.02.037-.01.07-.024.108-.036.107-.034.206-.07.309-.107.057-.02.12-.038.176-.06.037-.014.075-.028.111-.045l.013-.005a4.316 4.316 0 00.5-.241.415.415 0 00.035-.022m0-2.845l-.035.022a4.46 4.46 0 01-.5.241l-.013.005c-.036.016-.074.03-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.025-.107.036-.022.007-.047.012-.069.02a10.638 10.638 0 01-.774.187q-.35.075-.725.13c-.049.009-.099.014-.147.021-.232.034-.468.063-.708.086L9.8 9.59c-.265.024-.533.044-.801.057l-.18.008c-.275.012-.55.02-.823.02a19 19 0 01-.823-.02l-.18-.008a20.583 20.583 0 01-.8-.057l-.113-.013c-.241-.024-.475-.052-.706-.086-.048-.006-.098-.012-.146-.02a12.62 12.62 0 01-1.502-.32c-.021-.006-.045-.01-.063-.017-.04-.012-.073-.025-.11-.037a7.688 7.688 0 01-.309-.107c-.058-.02-.121-.039-.179-.06l-.11-.045-.01-.005a4.436 4.436 0 01-.502-.241c-.012-.007-.02-.014-.033-.02a2.544 2.544 0 01-.362-.26c-.016-.013-.036-.023-.049-.036v1.093c0 .394.57.81 1.55 1.136a8.83 8.83 0 00.757.213 16.145 16.145 0 003.69.39 16.171 16.171 0 003.694-.39 9.133 9.133 0 00.757-.213c.98-.327 1.551-.742 1.551-1.136V8.322c-.015.013-.036.024-.05.036a2.69 2.69 0 01-.361.258m0-2.845l-.035.022a4.463 4.463 0 01-.5.241l-.013.005c-.036.016-.074.03-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.026-.107.036-.022.007-.047.012-.069.02q-.302.084-.63.156l-.144.031q-.351.075-.725.132c-.049.006-.099.012-.147.02-.232.032-.468.061-.708.085l-.112.013a19.05 19.05 0 01-.98.066c-.276.01-.55.018-.824.018a20.457 20.457 0 01-1.802-.084l-.114-.013c-.241-.024-.475-.053-.706-.086l-.146-.02c-.249-.038-.493-.081-.727-.13-.05-.01-.094-.022-.142-.032-.22-.048-.432-.1-.633-.157l-.063-.018c-.04-.011-.073-.025-.11-.037a7.688 7.688 0 01-.309-.107l-.179-.06-.11-.045-.01-.005a4.438 4.438 0 01-.502-.241c-.012-.007-.02-.014-.033-.02a2.544 2.544 0 01-.362-.26C2.033 5.5 2.013 5.488 2 5.476V6.57c0 .394.57.81 1.55 1.136a8.83 8.83 0 00.757.213 16.144 16.144 0 003.69.39 16.17 16.17 0 003.694-.39 9.133 9.133 0 00.757-.213c.98-.327 1.551-.742 1.551-1.136V5.477c-.015.013-.036.024-.05.036a2.69 2.69 0 01-.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.135.113.039.23.074.355.11q.192.053.402.103a16.152 16.152 0 003.69.39 16.17 16.17 0 003.692-.39 9.13 9.13 0 00.759-.213C13.429 4.548 14 4.132 14 3.738"/></svg>'},Vl={name:"database_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.919 12.103a11.87 11.87 0 01-1.594-.26 7.445 7.445 0 01-.644-.182c-.835-.28-1.32-.635-1.32-.973v-.936c.011.01.029.02.042.031a2.226 2.226 0 00.308.222l.028.018a3.65 3.65 0 00.428.206l.009.005.093.038c.049.019.103.034.153.051.086.032.173.063.262.092.032.01.06.022.094.032l.054.014c.17.05.35.095.538.136l.121.027c.2.042.408.078.62.111.041.007.083.012.124.018.197.028.396.052.6.073l.038.005-.613.613zm-2.238-7.74a8.567 8.567 0 00.645.182 13.68 13.68 0 003.143.334 13.697 13.697 0 003.144-.334 7.753 7.753 0 00.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.973zm5.047 6.495l.008.007.008-.008zm-5.047-4.07a7.471 7.471 0 00.644.182 13.675 13.675 0 003.143.335 13.697 13.697 0 003.146-.335 7.694 7.694 0 00.644-.181c.835-.28 1.321-.636 1.321-.973v-.937c-.013.012-.03.02-.043.032a2.29 2.29 0 01-.307.22.353.353 0 01-.03.02 3.788 3.788 0 01-.426.206l-.01.004c-.031.014-.064.026-.096.039-.047.017-.101.033-.15.05-.087.032-.172.064-.263.092-.032.01-.06.023-.092.032l-.058.016q-.257.073-.537.134l-.122.027q-.3.063-.618.112l-.124.017c-.198.029-.399.053-.604.074l-.095.01a16.15 16.15 0 01-.835.057c-.235.01-.468.016-.701.016a17.43 17.43 0 01-1.535-.072l-.097-.011a14.698 14.698 0 01-.6-.074l-.125-.017c-.212-.033-.42-.07-.62-.112l-.12-.027a8.673 8.673 0 01-.54-.134c-.018-.006-.037-.01-.053-.016-.034-.01-.062-.022-.094-.032a6.551 6.551 0 01-.262-.091c-.05-.018-.104-.034-.153-.052l-.093-.038-.01-.004a3.768 3.768 0 01-.427-.207l-.028-.017a2.167 2.167 0 01-.308-.223c-.013-.011-.031-.02-.042-.03v.936c0 .337.485.692 1.32.972zm0 2.436a7.471 7.471 0 00.644.182 13.147 13.147 0 002.644.328l.318-.318.323.324a14.377 14.377 0 002.473-.222l1.753-1.753-.063.028-.01.004c-.031.014-.063.027-.096.04-.047.017-.101.033-.15.05-.087.032-.171.063-.263.091-.032.01-.06.022-.092.032-.018.006-.04.01-.058.017a9.015 9.015 0 01-.66.16q-.298.064-.617.112l-.124.017c-.198.029-.399.054-.604.074l-.095.011c-.225.02-.454.037-.682.049l-.153.007a16.115 16.115 0 01-1.402 0l-.154-.007a17.43 17.43 0 01-.68-.049l-.097-.011a14.689 14.689 0 01-.6-.074c-.042-.006-.084-.01-.125-.017a10.679 10.679 0 01-1.28-.274l-.053-.015c-.034-.01-.062-.021-.094-.032a6.551 6.551 0 01-.262-.09c-.05-.018-.104-.034-.153-.053-.03-.012-.063-.024-.093-.038l-.01-.004a3.77 3.77 0 01-.427-.207l-.028-.017a2.169 2.169 0 01-.308-.223c-.014-.01-.031-.02-.042-.03v.936c0 .337.485.693 1.32.972zm9.269-1.6L8.736 11.84l-1.449-1.45-1.053 1.055 2.458 2.458 5.268-5.268z"/></svg>'},Ll={name:"desktop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 3H2v8h5v1H5v1h6v-1H9v-1h5V3zm0 7H3V4h10z"/></svg>'},Tl={name:"donut_chart_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.872 10.956a4.123 4.123 0 01-6.997-2.962v-.007H2v.007a5.995 5.995 0 0010.301 4.182zM8.372 2v1.884a4.13 4.13 0 012.992 6.501l1.429 1.224A6.008 6.008 0 008.37 2zM2.048 7.236h1.897a4.117 4.117 0 013.675-3.352V2A6.012 6.012 0 002.05 7.236z"/></svg>'},Pl={name:"dot_solid_dot_stroke_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 8a3 3 0 11-3-3 3 3 0 013 3zm5-2a2 2 0 102 2 2.002 2.002 0 00-2-2m0-1a3 3 0 11-3 3 3 3 0 013-3z"/></svg>'},Rl={name:"download_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 9v5H2V9h1v4h10V9zm-5.982 2L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1z"/></svg>'},Dl={name:"electronic_chip_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 14H7.333V9.333a2 2 0 012-2H14V13a1 1 0 01-1 1zM12 2a.667.667 0 00-.667.667v2h1.334v-2A.667.667 0 0012 2zM8.444 2a.667.667 0 00-.666.667v2H9.11v-2A.667.667 0 008.444 2zM2 8.444a.667.667 0 00.667.667h2V7.778h-2A.667.667 0 002 8.444zM2 12a.667.667 0 00.667.667h2v-1.334h-2A.667.667 0 002 12zm11.556-8.222v.889a.444.444 0 01-.445.444H10.89a.444.444 0 01-.445-.444v-.89H10v.89a.444.444 0 01-.444.444H7.333a.444.444 0 01-.444-.444v-.89H4.667a.889.889 0 00-.89.89v2.222h.89a.444.444 0 01.444.444v2.223a.444.444 0 01-.444.444h-.89v.444h.89a.444.444 0 01.444.445v2.222a.444.444 0 01-.444.445h-.89V14H6.89V8.222A1.333 1.333 0 018.222 6.89H14V3.778z"/></svg>'},Fl={name:"exclamation_mark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.371 11.873h3.256V14H6.37zM6.316 2l.37 8.542h2.628L9.684 2z"/></svg>'},Bl={name:"eye_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.856 3.657A7.004 7.004 0 001 8.001a7.588 7.588 0 007.146 4.342A7.002 7.002 0 0015 8a7.586 7.586 0 00-7.144-4.344m-1.199 7.289A5.108 5.108 0 012.443 8s.665-2.585 4.33-3.037a2.786 2.786 0 00-1.414 1.223l2.787 1.22H4.977a3.47 3.47 0 00-.053.576 3.348 3.348 0 001.734 2.962m2.85.02a3.4 3.4 0 00.107-5.908 5.006 5.006 0 013.942 2.944s-.603 2.44-4.05 2.963"/></svg>'},Nl={name:"fancy_a_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.597 9.844H7.865A7.465 7.465 0 016.19 11.96a3.323 3.323 0 01-2.042.667 2.835 2.835 0 01-1.964-.753L2 11.706l1.153-1.152.157.251a1.347 1.347 0 001.2.716 1.976 1.976 0 001.385-.625 11.546 11.546 0 001.722-2.403l2.252-3.88a7.585 7.585 0 00-.679-.037 2.365 2.365 0 00-1.66.54 1.967 1.967 0 00-.556 1.51V6.7l-.067.106-1.564.762.045-.423a3.845 3.845 0 01.645-1.874 3.312 3.312 0 011.34-1.177 6.74 6.74 0 012.208-.443c.127 0 .277-.013.471-.029l.369-.03 1.387-.257.087 2.154.33 3.886a4.862 4.862 0 00.29 1.701.498.498 0 00.528.31c.057 0 .277 0 .641-.03L14 11.33l-.172.83-3.003.506zm-.086-.896l-.275-3.22-1.855 3.22z"/></svg>'},jl={name:"file_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 3v10h8V7H8V3zm5 0v3h3z"/></svg>'},ql={name:"file_drawer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 4v10h12V4zm8 4H6V6h4zm4-5H2V2h12z"/></svg>'},Ul={name:"file_search_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 6v6h-3.333a3.662 3.662 0 00.249-1.302A3.701 3.701 0 007.22 7 3.654 3.654 0 006 7.223V2h4v4zm-3-4v3h3zm-1.126 8.698a2.697 2.697 0 01-4.73 1.772L2.521 14l-.48-.823 2.613-1.523a2.698 2.698 0 115.22-.956zm-.952 0a1.745 1.745 0 10-1.745 1.745 1.747 1.747 0 001.745-1.745z"/></svg>'},Kl={name:"filter_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 3.045v1.29h.787a2.069 2.069 0 102.907 2.903l1.32 2.173v4.522l1.973-1.846V9.411l3.878-5.076h1.134v-1.29zm2.033 4.059a1.154 1.154 0 010-2.308c.023 0 .045.006.068.007l1.002 1.575a1.154 1.154 0 01-1.07.726z"/></svg>'},Wl={name:"floppy_disk_checkmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.455 5h-1.041l-1.005 1H12v3H4V6h3.782L6.79 5H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm2-10.99L9.091 5.9 7 3.79l.919-.89 1.164 1.208L12.128 1.1l.872.91"/></svg>'},Xl={name:"floppy_disk_star_arrow_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.5 2.5a1 1 0 10-1 1 1 1 0 001-1zm7.5.002L9.638.819l.496 1.293H7v.828h3.134L9.638 4.18zM12.455 5H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm1-4H4V6h8z"/></svg>'},Yl={name:"floppy_disk_three_dots_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6 3a1 1 0 10-1 1 1 1 0 001-1zm3 0a1 1 0 10-1 1 1 1 0 001-1zm3 0a1 1 0 10-1 1 1 1 0 001-1zm.455 2H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm1-4H4V6h8z"/></svg>'},Gl={name:"folder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 4V3H2v10h12V4zm6 2H3V5h10z"/></svg>'},Ql={name:"folder_open_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 3v1.002h6V6h-1V5H3v1H2V3zM2 13h11l1-6H2z"/></svg>'},Jl={name:"forward_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.027 14l2.5-12h1.5l-2.5 12h-1.5z"/></svg>'},Zl={name:"four_dots_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.5 11A1.5 1.5 0 115 9.5 1.5 1.5 0 016.5 11zM5 3.5A1.5 1.5 0 106.5 5 1.5 1.5 0 005 3.5zm7.5 7.5A1.5 1.5 0 1111 9.5a1.5 1.5 0 011.5 1.5zM11 3.5A1.5 1.5 0 1012.5 5 1.5 1.5 0 0011 3.5z"/></svg>'},tc={name:"function_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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.141 3.141 0 00-.394-.1 2.455 2.455 0 00-.483-.05 1.32 1.32 0 00-.832.241 1.334 1.334 0 00-.405.895l-.128.937h1.846v1.282H6.812l-.376 2.462a3.578 3.578 0 01-.462 1.357 2.583 2.583 0 01-.784.808 3.015 3.015 0 01-.938.387A4.823 4.823 0 013.184 13q-.275 0-.629-.03A3.529 3.529 0 012 12.892v-1.815h.12a.56.56 0 00.424.244 2.538 2.538 0 00.5.052 1.304 1.304 0 00.898-.29 1.584 1.584 0 00.424-.985l.33-2.226H3.256V6.59H5.05l.178-1.162a2.942 2.942 0 01.444-1.244 2.516 2.516 0 01.76-.734 2.643 2.643 0 01.94-.356A5.61 5.61 0 018.357 3q.294 0 .588.025t.599.076z"/></svg>'},ec={name:"gauge_simple_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.969 5.196a1.763 1.763 0 011.142-.49 1.763 1.763 0 01-.49 1.142L9.205 8.263l.008.025.065.184.03.093a1.352 1.352 0 01.032.295 1.385 1.385 0 01-2.769 0 1.343 1.343 0 01.033-.294l.034-.11.055-.16.012-.033.014-.014a1.389 1.389 0 01.625-.625l.015-.015.033-.011.16-.055.11-.035a1.32 1.32 0 01.588 0l.11.035.16.055.033.011zM14 8.86a5.979 5.979 0 01-1.799 4.28l-1.309-1.308a4.085 4.085 0 00.83-4.78l.55-.55a2.576 2.576 0 00.64-1.082A5.968 5.968 0 0114 8.86zm-6-6a5.998 5.998 0 00-4.201 10.28l1.308-1.308a4.14 4.14 0 014.645-6.725l.564-.564a2.57 2.57 0 011.07-.635A5.97 5.97 0 008 2.86z"/></svg>'},ic={name:"grid_three_by_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 3v10a1 1 0 001 1h10a1 1 0 001-1V3a1 1 0 00-1-1H3a1 1 0 00-1 1zm4 9H4v-2h2zm.001-2.999H4V7h2.001zm0-3.001H4V4h2.001zM9 12H7v-2h2zm0-2.999H7V7h2zM9 6H7V4h2zm3 6h-2v-2h2zm.001-2.999H10V7h2.001zm0-3.001H10V4h2.001z"/></svg>'},sc={name:"grid_two_by_two_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 9h3v3H4zm5 0h3v3H9zM4 4h3v3H4zm5 0h3v3H9zM2 14h12V2H2z"/></svg>'},oc={name:"hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 14H6V8h3zM8.875 2H6.723A1.991 1.991 0 015 3a2.486 2.486 0 01-2-1H2v4h1a1.797 1.797 0 011.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 2z"/></svg>'},nc={name:"hashtag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.76 14l.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"/></svg>'},rc={name:"home_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.988 2L2.5 9H4v5h3v-3h2v3h3V9h1.5L7.988 2z"/></svg>'},ac={name:"hourglass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.774 13.4h-.047v-.49h-.404a2.491 2.491 0 00.355-1.258c0-1.826-2.083-2.886-2.083-3.652s2.083-1.826 2.083-3.652a2.491 2.491 0 00-.355-1.257h.404V2.6h.047a.556.556 0 00.499-.6H4.727a.556.556 0 00.499.6h.047v.49h.404a2.491 2.491 0 00-.355 1.258c0 1.826 2.083 2.87 2.083 3.652s-2.083 1.826-2.083 3.652a2.491 2.491 0 00.355 1.257h-.404v.491h-.047a.556.556 0 00-.499.6h6.546a.556.556 0 00-.499-.6zM8 12.957c-1.565 0-1.975-.585-1.975-1.305a7.183 7.183 0 011.723-.656c.268 0 .289-3.513 0-3.779l-.988-1h2.454l-.962 1c-.268.286-.275 3.779 0 3.779a7.651 7.651 0 011.738.656c0 .72-.409 1.305-1.99 1.305z"/></svg>'},lc={name:"indeterminant_checkbox_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 3a1.001 1.001 0 011 1v8a1.001 1.001 0 01-1 1H4a1.001 1.001 0 01-1-1V4a1.001 1.001 0 011-1h8m0-1H4a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2V4a2 2 0 00-2-2zM4 4v8h8V4zm6 6H6V6h4z"/></svg>'},cc={name:"info_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.415 7.75v3.69H6.376v1.576h4.24V11.44H9.6V6.175H6.376V7.75zm.276-2.698a1.19 1.19 0 002.035-.838 1.164 1.164 0 00-.346-.846 1.193 1.193 0 00-1.693 0 1.158 1.158 0 00-.35.846 1.144 1.144 0 00.354.838z"/></svg>'},hc={name:"info_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm-.697 2.28a.951.951 0 011.35 0 .928.928 0 01.276.675.952.952 0 01-1.905 0 .924.924 0 01.279-.674zM9.7 12H6.3v-1.264h.833V7.777H6.3V6.513h2.584v4.223H9.7z"/></svg>'},dc={name:"key_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.045 7.348l-.652-.652 1.444-.14zm-3.818.698l-4.912 4.912-.395-.396 4.12-4.12zm4.734-2.918l-1.697.136-.395-.395L11 3.176l.72-.067 1.304 1.304zm-3.524-.386l-.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"/></svg>'},uc={name:"laptop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 11V3H3v8H2v2h12v-2zm-2 1H5v-1h6zm1-1.996H4V4h8z"/></svg>'},pc={name:"layer_group_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.555 9.546l.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.11l.89-.444 5.333 2.667 1.778-.89.889.448v1.33L9.778 10.88 3.555 7.768z"/></svg>'},vc={name:"lightning_bolt_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.732 7.953L6.909 2h3.636L8.364 7.013h2.909L4.727 14l2.21-6.049z"/></svg>'},gc={name:"link_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.465 5.592A2.908 2.908 0 019.963 7.02l-1.06 1.065c-.053-.103-.095-.192-.144-.276a1.48 1.48 0 00-1.277-.769 1.43 1.43 0 00-.977.394c-.75.694-1.469 1.421-2.165 2.168a1.431 1.431 0 00.054 2.038 1.507 1.507 0 001.039.432 1.28 1.28 0 00.953-.417c.103-.11.435-.44.81-.805a3.458 3.458 0 001.908.188c-1.006 1.035-2.179 2.187-2.996 2.38a2.982 2.982 0 01-.693.082 2.91 2.91 0 01-2.182-4.842A46.793 46.793 0 015.53 6.356a2.826 2.826 0 011.935-.764M10.583 2.5a3.001 3.001 0 00-.69.081 10.376 10.376 0 00-2.996 2.377 3.474 3.474 0 01.568-.054 3.58 3.58 0 011.31.249c.38-.332.701-.646.875-.834a1.221 1.221 0 01.913-.395 1.513 1.513 0 011.074.469 1.433 1.433 0 01.022 2.005c-.7.743-1.42 1.47-2.165 2.167a1.419 1.419 0 01-.975.395 1.483 1.483 0 01-1.28-.768c-.048-.085-.089-.175-.151-.298L6.043 8.987a2.882 2.882 0 002.493 1.42 2.808 2.808 0 001.93-.76 54.2 54.2 0 002.266-2.266A2.911 2.911 0 0010.583 2.5"/></svg>'},mc={name:"link_cancel_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9.202 9.45a2.638 2.638 0 01.687 2.519l-1.364.002c.032-.1.062-.183.085-.269a1.343 1.343 0 00-.326-1.312 1.297 1.297 0 00-.88-.374 37.657 37.657 0 00-2.779.002 1.298 1.298 0 00-1.273 1.341 1.367 1.367 0 00.39.944 1.162 1.162 0 00.878.344c.137-.005.562-.002 1.036.004a3.137 3.137 0 001.104 1.344 8.133 8.133 0 01-3.45-.395 2.705 2.705 0 01-.496-.392A2.64 2.64 0 014.52 8.702a42.45 42.45 0 012.951-.003 2.564 2.564 0 011.731.751m3.984.017a2.723 2.723 0 00-.495-.39 9.414 9.414 0 00-3.447-.398 3.151 3.151 0 01.4.33 3.247 3.247 0 01.68 1c.457.031.864.035 1.096.027a1.108 1.108 0 01.839.331 1.373 1.373 0 01.389.99 1.3 1.3 0 01-1.272 1.3c-.926.028-1.854.033-2.78.002a1.287 1.287 0 01-.878-.372 1.345 1.345 0 01-.328-1.313c.023-.086.054-.17.093-.289l-1.371.031a2.614 2.614 0 00.688 2.51 2.547 2.547 0 001.726.751c.968.033 1.94.025 2.908 0a2.641 2.641 0 001.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"/></svg>'},fc={name:"list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 13H2v-2h2zm10-2H6v2h8zM4 7H2v2h2zm10 0H6v2h8zM4 3H2v2h2zm10 0H6v2h8z"/></svg>'},bc={name:"list_tree_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 5v2h4v2h-4v2h4v2H8V5H5V3h9v2zM2 5h2V3H2zm5 6H5v2h2zm0-4H5v2h2z"/></svg>'},wc={name:"list_tree_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.953 11.81c.013-.011.032-.02.046-.031v.917c0 .33-.523.678-1.42.953a8.234 8.234 0 01-.694.178 16.116 16.116 0 01-3.382.328 16.089 16.089 0 01-3.38-.328 8.77 8.77 0 01-.693-.179c-.898-.274-1.42-.622-1.42-.952v-.917c.012.01.031.02.045.03a2.34 2.34 0 00.332.218l.03.017a4.235 4.235 0 00.46.202l.01.005.1.037c.053.018.11.034.164.05.093.031.186.062.283.09.033.01.064.022.1.031l.058.015c.184.048.378.092.58.132.043.009.084.018.13.026.214.042.438.078.666.11l.134.017c.21.028.425.051.646.072l.104.01c.242.021.487.037.731.049l.166.007c.251.01.504.016.754.016s.501-.007.754-.016l.164-.007c.246-.012.491-.028.734-.048l.102-.011c.22-.02.436-.044.649-.072.044-.006.09-.01.134-.017q.343-.048.664-.11c.046-.008.088-.017.132-.026q.3-.06.577-.13c.02-.007.043-.012.063-.017.034-.009.064-.021.099-.031.098-.028.189-.059.283-.09.052-.017.11-.032.16-.05.035-.012.07-.024.103-.037l.012-.005a4.252 4.252 0 00.457-.202c.013-.006.022-.013.032-.018a2.468 2.468 0 00.33-.216zm-5.45-2.946c-3.237 0-5.492.767-5.492 1.457 0 .33.523.679 1.42.952a9.998 9.998 0 00.694.179 16.101 16.101 0 003.378.327 16.12 16.12 0 003.382-.327 8.892 8.892 0 00.694-.18C13.477 11 14 10.652 14 10.322c0-.69-2.257-1.457-5.497-1.457zM14 6V5H5V3h2V2H2v1h2v5.581a9.632 9.632 0 011-.255V6h3v2h6V7H9V6z"/></svg>'},xc={name:"lock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 8V7a3.888 3.888 0 00-4-4 3.822 3.822 0 00-2.81 1.078A4.349 4.349 0 004.062 7v1H3v6h10V8zM6.062 6.986a2.407 2.407 0 01.566-1.516A1.834 1.834 0 018 5a1.883 1.883 0 012 2v1H6.062z"/></svg>'},yc={name:"magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.073 12.29l-2.926-2.926a3.971 3.971 0 10-.783.783l2.927 2.926zM7.01 9.84a2.83 2.83 0 112.83-2.83 2.833 2.833 0 01-2.83 2.83z"/></svg>'},$c={name:"markdown_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14.25 3H1.75a.74.74 0 00-.75.73v8.54a.74.74 0 00.75.73h12.5a.74.74 0 00.75-.73V3.73a.74.74 0 00-.75-.73zm-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"/></svg>'},Cc={name:"minus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 7h8v2H4z"/></svg>'},kc={name:"minus_wide_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3 7h10v2H3z"/></svg>'},_c={name:"mobile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.462 2.077H4.538A.54.54 0 004 2.615v10.77a.54.54 0 00.538.538h5.924a.54.54 0 00.538-.538V2.615a.54.54 0 00-.538-.538zM10 12H5V3h5z"/></svg>'},zc={name:"notebook_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 2h1v3h-1zm0 8h1V6h-1zm0 4h1v-3h-1zM4 7h6V6H4zm0-2h6V4H4zM2 2h10v12H2z"/></svg>'},Ic={name:"paste_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 5V3H3v6h2v1H2V2h8v3zM6 6v8h8V6z"/></svg>'},Oc={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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.493l2.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"/></svg>'},Ac={name:"pot_with_lid_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 4V2H5v2H2v1h12V4zM6 4V3h4v1zm-4 9h1v1h10v-1h1V6H2z"/></svg>'},Sc={name:"question_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11.303 5.594a3.294 3.294 0 01-.195 1.176 2.63 2.63 0 01-.549.885 3.96 3.96 0 01-.852.672 7.46 7.46 0 01-1.121.54v1.501H6.27V8.15q.467-.125.845-.256a3.199 3.199 0 00.793-.429 2.098 2.098 0 00.608-.612 1.45 1.45 0 00.22-.791 1.042 1.042 0 00-.423-.939 2.163 2.163 0 00-1.195-.28 3.338 3.338 0 00-1.068.204 4.853 4.853 0 00-1.09.526h-.263V3.566a8.148 8.148 0 011.296-.372A8.205 8.205 0 017.77 3a4.196 4.196 0 012.579.718 2.241 2.241 0 01.954 1.876zM8.77 13H6.112v-1.737H8.77z"/></svg>'},Ec={name:"running_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 7.985l-8.002 4.013L8 8 5.998 3.987zM3.995 2.997L2 2l3 6-3 6 2.002-1.005L6.5 8z"/></svg>'},Hc={name:"server_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 3H3v3h10zM9 5H4V4h5zM3 7v3h10V7zm6 2H4V8h5zm3 4H3v-2h10v1a1 1 0 01-1 1z"/></svg>'},Mc={name:"share_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.984 2.012l-2.069 6.153-.565-2.722-3.544 3.544-.822-.822 3.544-3.544-2.723-.566zM2 4v10h10v-4h-2v2H4V6h2V4z"/></svg>'},Vc={name:"shield_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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"/></svg>'},Lc={name:"shield_xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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"/></svg>'},Tc={name:"signal_bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 14H2V2h2zm3-9H5v9h2zm3 3H8v6h2zm3 3h-2v3h2z"/></svg>'},Pc={name:"sine_graph_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 12H2v-1.63a4.61 4.61 0 001.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.189 1.453 0 2.15-1.163 2.764-2.189a6.459 6.459 0 01.9-1.267zm0-6.054a4.613 4.613 0 00-1.764 1.967c-.635 1.061-1.08 1.705-1.9 1.705-.82 0-1.266-.644-1.902-1.705-.615-1.026-1.312-2.189-2.766-2.189S3.517 6.887 2.902 7.913A6.468 6.468 0 012 9.18V4h12z"/></svg>'},Rc={name:"skip_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.002 8.29L2 12.304v-8.01zM14 2h-2v12h2z"/></svg>'},Dc={name:"spinner",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.967 7.143h-.762a4.885 4.885 0 013.938-3.94v.771a4.123 4.123 0 00-3.176 3.169zM8 2v1.875A4.125 4.125 0 113.875 8H2a6 6 0 106-6z"/></svg>'},Fc={name:"square_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm4.788 9.2L4 8.387 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013z"/></svg>'},Bc={name:"square_t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm9.033 4.199l-.016-.076a2.34 2.34 0 00-.497-1.18 2.108 2.108 0 00-1.281-.26h-.56v5.941c0 .552.11.718.176.768a1.793 1.793 0 00.88.196l.09.006V12H6.193v-.405l.09-.007c.59-.046.8-.144.87-.218.06-.06.158-.255.158-.884V4.683h-.565a2.19 2.19 0 00-1.274.262 2.015 2.015 0 00-.498 1.174l-.015.08H4.49L4.565 4h6.859l.07 2.199z"/></svg>'},Nc={name:"t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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 00-1.477.291 2.262 2.262 0 00-.563 1.36l-.038.196h-.797L3.704 3h8.6l.092 2.925h-.784l-.021-.095a2.817 2.817 0 00-.589-1.466c-.147-.131-.523-.286-1.48-.286H8.96V11.2c0 .679.138.819.165.84a2.092 2.092 0 001.01.213l.223.018V13z"/></svg>'},jc={name:"tablet_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.5 2h-9a.501.501 0 00-.5.5v11a.501.501 0 00.5.5h9a.501.501 0 00.5-.5v-11a.501.501 0 00-.5-.5zM8 13.25a.75.75 0 11.75-.75.752.752 0 01-.75.75zM12 11H4V3h8z"/></svg>'},qc={name:"tag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path class="cls-1" d="M8.044 3.588L5.23 3 3 5.229l.588 2.816L8.543 13 13 8.543zM6.5 6.499a1.082 1.082 0 11-.013-1.516A1.072 1.072 0 016.499 6.5z"/></svg>'},Uc={name:"tags_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path class="cls-1" d="M8.044 2.338L5.23 1.75 3 3.979l.588 2.816 4.955 4.955L13 7.293zM6.5 5.249a1.082 1.082 0 11-.013-1.516 1.072 1.072 0 01.013 1.516zm6.251 4.794L8.543 14.25 4.257 9.964l-.283-1.369 4.569 4.57L12.207 9.5z"/></svg>'},Kc={name:"target_crosshairs_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 6.01a2 2 0 102 2 2 2 0 00-2-2zm4.9.99A5.005 5.005 0 009 3.1V1H7v2.1A5.005 5.005 0 003.1 7H1v2h2.1A5.005 5.005 0 007 12.9V15h2v-2.1A5.005 5.005 0 0012.9 9H15V7zM8 12a4 4 0 114-4 4.005 4.005 0 01-4 4z"/></svg>'},Wc={name:"target_crosshairs_progress_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M15 7v2h-2.1A5.005 5.005 0 019 12.9V15H7v-2.108a4.99 4.99 0 01-3.898-3.985l-1.52.583 2.003-4 1.998 4L4.11 8.9A3.999 3.999 0 107 4.13V1h2v2.1A5.005 5.005 0 0112.9 7zm-5 1.01a2 2 0 11-2-2 2 2 0 012 2z"/></svg>'},Xc={name:"three_dots_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 6.5A1.5 1.5 0 116.5 8 1.5 1.5 0 018 6.5zM.5 8A1.5 1.5 0 102 6.5 1.5 1.5 0 00.5 8zm12 0A1.5 1.5 0 1014 6.5 1.5 1.5 0 0012.5 8z"/></svg>'},Yc={name:"thumbtack_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 7l-.625-5H10V1H5v1h.625L5 7a2 2 0 00-2 2h4v4l.5 2 .5-2V9h4a2 2 0 00-2-2z"/></svg>'},Gc={name:"tile_size_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 8h6v6H2zm0-6v5h2V4h8v8H9v2h5V2z"/></svg>'},Qc={name:"times_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 9.103L5.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 12 8 9.103z"/></svg>'},Jc={name:"trash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 4V2H6v2H3v2h1v8h8V6h1V4zm-3 9H6V6h1zm2-9H7V3h2zm1 9H9V6h1z"/></svg>'},Zc={name:"triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2L2 14h12zm0 4.875l2.438 4.875H5.585z"/></svg>'},th={name:"true_false_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.4 3.003H2.6a1.6 1.6 0 00-1.6 1.6v6.8a1.595 1.595 0 001.6 1.594h10.8a1.595 1.595 0 001.6-1.594v-6.8a1.6 1.6 0 00-1.6-1.6zM7.587 6.58H6.141v3.736H4.946V6.58H3.5v-.896h4.087zm4.913 0h-2.13v.862h1.974v.896H10.37v1.978H9.181V5.684H12.5z"/></svg>'},eh={name:"unlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.126 8.585c-.581.123-1.117.241-1.362.303a1.547 1.547 0 00-1.182 1.51l.01.155.021.193a1.69 1.69 0 00.216.54l.02.038.105.134.127.144.054.047a1.509 1.509 0 00.992.36h.049a1.306 1.306 0 00.224-.034l.03.015.006-.001c.463-.088.925-.186 1.387-.287l.343 1.538c-.488.11-.976.221-1.467.314a3.112 3.112 0 01-.571.053 3.148 3.148 0 01-2.99-2.258l-.011-.045a3.04 3.04 0 01-.076-.35 3.127 3.127 0 01-.03-.206l-.004-.089a3.112 3.112 0 01-.016-.336A3.164 3.164 0 014.35 7.356c.272-.068.808-.203.802-.206l.623-.137zm4.31-1.544l-.353 1.575c.737.176 1.38.334 1.413.346a1.514 1.514 0 01.789.768l.029.066.053.185.038.164.002.045a1.667 1.667 0 01-.035.58l-.064.185-.056.142a1.546 1.546 0 01-1.4.893 1.661 1.661 0 01-.313-.03 54.946 54.946 0 01-1.15-.24l-.347 1.55.406.097-.013-.017c.276.057.55.118.826.173a3.02 3.02 0 00.578.056 3.188 3.188 0 002.811-1.74 3.018 3.018 0 00.129-.311l.033-.083.061-.197a3.047 3.047 0 00.082-.351l.008-.044a3.132 3.132 0 00-2.281-3.513c-.297-.077-.777-.19-1.245-.299M7.932 2.393L6.875 6.075h.75l.3 3.032 1.2-3.782h-.75z"/></svg>'},ih={name:"unlock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.062 8V5.986a2.407 2.407 0 01.566-1.516A1.834 1.834 0 018 4a1.883 1.883 0 012 2h2a3.888 3.888 0 00-4-4 3.822 3.822 0 00-2.81 1.078A4.349 4.349 0 004.062 6v2H3v6h10V8z"/></svg>'},sh={name:"upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 9v5H2V9h1v4h10V9zM7.982 2L5 7.9l2.004-1.312L7 11h2V6.613L11 7.9z"/></svg>'},oh={name:"user_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.004 2a2.18 2.18 0 012.184 2.182v1.09c.647 0 .378.932 0 1.455a4.275 4.275 0 01-.335.364 8.55 8.55 0 01-.31.742l.208 1.076h.437l2.75 1.527A2.148 2.148 0 0114 12.291V14H2v-1.673a2.163 2.163 0 011.063-1.869l2.758-1.55h.437l.21-1.068a8.52 8.52 0 01-.312-.749 4.275 4.275 0 01-.335-.364c-.378-.523-.647-1.454 0-1.454v-1.09A2.18 2.18 0 018.004 2"/></svg>'},nh={name:"watch_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.57 7.28l-.06.013a4.556 4.556 0 00-1.38-2.609V3.44a.481.481 0 00-.48-.48h-.48V2H5.85v.96h-.48a.481.481 0 00-.48.48v1.24a4.545 4.545 0 000 6.64v1.24a.481.481 0 00.48.48h.48V14h4.32v-.96h.48a.481.481 0 00.48-.48v-1.24a4.547 4.547 0 001.379-2.612l.061.012a.481.481 0 00.48-.48v-.48a.481.481 0 00-.48-.48zm-2.3 2.662a1.59 1.59 0 00-.182-.26L8.747 8.338a.785.785 0 000-.666c.132-.133.894-.899.965-1a1.216 1.216 0 00.14-.485 1.004 1.004 0 00-.515.157l-.955.957a.784.784 0 100 1.408c.163.167.956.974 1.236 1.254a1.477 1.477 0 00.36.276 3.055 3.055 0 11.291-.297z"/></svg>'},rh={name:"waveform_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9.77 11.225c-1.582 0-2.076-1.262-2.512-2.376l-.17-.426a26.242 26.242 0 01-.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.443c.082.205.155.396.221.572.345.905.427 1.03.684 1.03.259 0 .409-.317.742-1.157.08-.201.167-.42.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.472z"/></svg>'},ah={name:"webvi_custom_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm4.089 2.526h-1.868a5.598 5.598 0 00-.854-1.712 5.363 5.363 0 012.722 1.712zm-2.722 8.66a5.599 5.599 0 00.854-1.712h1.868a5.363 5.363 0 01-2.722 1.712zm3.181-2.344h-2.146a10.644 10.644 0 00.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.018 5.018 0 00.663 1.21 5.363 5.363 0 01-2.722-1.712h.317a.955.955 0 01-.017-.17v-.462h-.76a5.33 5.33 0 01-.804-2.526h1.564v-.632H2.646a5.33 5.33 0 01.805-2.526h.759V4.69a.95.95 0 01.016-.164h-.316a5.363 5.363 0 012.722-1.712 5.017 5.017 0 00-.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.344a10.66 10.66 0 00-.208-1.186h2.146a5.33 5.33 0 01.804 2.526h-.67a.92.92 0 01-.001.632h.671a5.33 5.33 0 01-.804 2.526zM12.105 8a.326.326 0 01-.19.296l-6.598 3.3-.148.036a.327.327 0 01-.327-.328V4.69a.327.327 0 01.492-.281l6.595 3.302a.326.326 0 01.176.29z"/></svg>'},lh={name:"webvi_host_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm4.09 2.526H10.22a5.6 5.6 0 00-.854-1.712 5.364 5.364 0 012.722 1.712zm-2.723 8.66a5.6 5.6 0 00.854-1.712h1.868a5.363 5.363 0 01-2.722 1.712zm3.181-2.344h-2.146a10.657 10.657 0 00.208-1.187L9.923 10a9.85 9.85 0 01-.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.02 5.02 0 00.663 1.21 5.363 5.363 0 01-2.722-1.712h.317a.96.96 0 01-.017-.17v-.462h-.76a5.33 5.33 0 01-.804-2.526H4.21v-.632H2.647a5.33 5.33 0 01.805-2.526h.759V4.69a.95.95 0 01.016-.164h-.316a5.364 5.364 0 012.722-1.712 5.02 5.02 0 00-.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.344a10.646 10.646 0 00-.208-1.186h2.146a5.33 5.33 0 01.804 2.526h-.67a.92.92 0 01-.001.632h.671a5.33 5.33 0 01-.804 2.526zm-.619-3.131L5.334 4.409a.327.327 0 00-.492.281v6.613a.327.327 0 00.327.328l.148-.035 6.598-3.3a.326.326 0 00.014-.585zm-6.087 2.505V5.78L10.274 8z"/></svg>'},ch={name:"window_code_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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"/></svg>'},hh={name:"window_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm11 11H3V5h10zM7 8H4V6h3zm5 2H4V9h8zm0 2H4v-1h8z"/></svg>'},dh={name:"wrench_hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.286 11.714l-5.791-5.79a2.504 2.504 0 00.17-.755 2.149 2.149 0 00-.095-.814 2.12 2.12 0 00-.55-.904 2.328 2.328 0 00-1.76-.685h-.045a2.104 2.104 0 00-.718.155l1.102 1.104.32.32.244.245a1.864 1.864 0 01-.22.854 1.043 1.043 0 01-.114.145 1.648 1.648 0 01-1.003.335L2.61 4.704l-.449-.449a2.074 2.074 0 00-.135.545l-.015.105a2.337 2.337 0 00.384 1.518 2.51 2.51 0 00.295.36 2.205 2.205 0 001.576.65 2.453 2.453 0 00.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"/></svg>'},uh={name:"xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 4.667L9.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"/></svg>'},ph={name:"xmark_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.033 14.026L4.9 10.866 6.277 9.53l1.744 1.81 4.562-4.507 1.307 1.363zm1.155-10.68l-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"/></svg>'},vh=`:${to}`,gh=ut`
|
|
1113
|
-
${
|
|
1111
|
+
Fs.getOrCreate().withPrefix("nimble").register(Ma())
|
|
1112
|
+
const Va={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 7H9V3H7v4H3v2h4v4h2V9h4V7z"/></svg>'},La={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 class="cls-1" d="M13.171 13.933l-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"/></svg>'},Ta={name:"arrow_expander_down_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.5 4.737l1.11-.732 3.357 5.472L11.397 4l1.103.743L7.955 12 3.5 4.737z"/></svg>'},Pa={name:"arrow_expander_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11.263 3.5l.732 1.11-5.472 3.357L12 11.397l-.743 1.103L4 7.955 11.263 3.5z"/></svg>'},Ra={name:"arrow_expander_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.737 12.5l-.732-1.11 5.472-3.357L4 4.603 4.743 3.5 12 8.045 4.737 12.5z"/></svg>'},Da={name:"arrow_expander_up_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.5 11.263l-1.11.732-3.357-5.472L4.603 12 3.5 11.257 8.045 4l4.455 7.263z"/></svg>'},Ba={name:"arrow_left_from_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 14h2V2h-2zM2 7.982L7.9 5 6.588 7.004 11 7v2H6.613L7.9 11z"/></svg>'},Fa={name:"arrow_partial_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 11.988a3.086 3.086 0 003.143-3.025 3.08 3.08 0 00-3.085-3.02v.088l.826 2.067-5.598-2.796L8.884 2.5l-.742 1.932a4.619 4.619 0 014.572 4.53A4.629 4.629 0 018 13.5z"/></svg>'},Na={name:"arrow_right_to_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 14h2V2h-2zm-6.9-3l1.287-2H2V7l4.412.004L5.1 5 11 7.982z"/></svg>'},ja={name:"arrow_rotate_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.9 2.773v1.715a3.366 3.366 0 013.3 3.428 3.366 3.366 0 01-3.3 3.429 3.36 3.36 0 01-3.293-3.366h.095l2.255.901-3.05-6.107L1.85 8.88l2.108-.808A5.039 5.039 0 008.9 13.059a5.05 5.05 0 004.95-5.143A5.05 5.05 0 008.9 2.773z"/></svg>'},qa={name:"arrow_u_rotate_left_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.857 9.453l-2.571-1.68v.908a3 3 0 003 3 3 3 0 003-3V3.11H14v5.571a4.714 4.714 0 01-4.714 4.715A4.714 4.714 0 014.57 8.68v-.908L2 9.453l3.403-6.849z"/></svg>'},Ua={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 class="cls-1" d="M4.195 4.977l-.451 2.296L2 2l5.256 1.762-2.301.458 6.849 6.803.452-2.296L14 14l-5.256-1.762 2.301-.458-6.85-6.803z"/></svg>'},Ka={name:"arrows_maximize_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.26 8.735L14 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.03.457-2.295z"/></svg>'},Wa={name:"arrows_repeat_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.75 11.75L10 14l-6-3 6-3-1.25 2.25zM8 11h1a4 4 0 004-4M7.25 5.75L6 8l6-3-6-3 1.25 2.25zM8 5H7a4 4 0 00-4 4"/></svg>'},Xa={name:"bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 13v-2h12v2zm0-4V7h12v2zm0-4V3h12v2z"/></svg>'},Ya={name:"bell_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 14a2.05 2.05 0 01-2-2h4a2.05 2.05 0 01-2 2zm-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"/></svg>'},Ga={name:"bell_and_comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.836 4.75H9.57a.71.71 0 00-.71.71v2.032a.71.71 0 00.71.711h.356L9.57 9.625l2.488-1.422h1.778a.71.71 0 00.71-.71V5.46a.71.71 0 00-.71-.711zM8.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 00-1.71 1.71v2.032a1.712 1.712 0 00.844 1.475zM6 12h4a2.05 2.05 0 01-2 2 2.05 2.05 0 01-2-2zm7.25-1H9.18l2.868-1.64c.198.527.431.894.702.894.5 0 .5.746.5.746z"/></svg>'},Qa={name:"bell_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.042 11h2a1 1 0 01-2 0zm4.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.497zm-3.5-7.5a5.5 5.5 0 11-5.5 5.5 5.506 5.506 0 015.5-5.5m0-1a6.5 6.5 0 106.5 6.5 6.5 6.5 0 00-6.5-6.5z"/></svg>'},Ja={name:"bell_solid_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M1.5 8A6.5 6.5 0 008 14.5 6.5 6.5 0 0014.5 8 6.5 6.5 0 008 1.5 6.5 6.5 0 001.5 8zM8 12a1.025 1.025 0 01-1-1h2a1.025 1.025 0 01-1 1zm-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"/></svg>'},Za={name:"block_with_ribbon_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v10h4.762A4.496 4.496 0 0113 5.762V2zm12 7.5a3.5 3.5 0 10-6 2.442V14l2.5-1.667L13 14v-2.058A3.485 3.485 0 0014 9.5zM10.5 8A1.5 1.5 0 119 9.5 1.5 1.5 0 0110.5 8z"/></svg>'},tl={name:"book_magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6 10c0-.347.058-.678.142-1H5V8h1.556c.22-.378.498-.714.826-1H5V6h5c.732 0 1.41.212 2 .556V2H3v11h4.382A3.975 3.975 0 016 10zM5 4h5v1H5V4z"/><path class="cls-1" d="M9.99 7.01l-.076.002a3 3 0 101.799 5.452l1.593 1.53.69-.725-1.58-1.516a2.973 2.973 0 00.57-1.816A3 3 0 009.99 7.01zM10 12c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2z"/></svg>'},el={name:"calendar_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 4.023V2.977A.976.976 0 014.977 2h.046A.976.976 0 016 2.977v1.046A.977.977 0 015.023 5h-.046A.977.977 0 014 4.023zM13 4v.023A1.98 1.98 0 0111.023 6h-.046A1.98 1.98 0 019 4.023V4H7v.023A1.98 1.98 0 015.023 6h-.046A1.98 1.98 0 013 4.023V4a1 1 0 00-1 1v8a1 1 0 001 1h10a1 1 0 001-1V5a1 1 0 00-1-1zm-7 8H4v-1h2zm.001-1.999H4V9h2.001zm0-2.001H4V7h2.001zM9 12H7v-1h2zm0-1.999H7V9h2zM9 8H7V7h2zm3 4h-2v-1h2zm.001-1.999H10V9h2.001zm0-2.001H10V7h2.001zM10 4.023V2.977A.976.976 0 0110.977 2h.046a.976.976 0 01.977.977v1.046a.977.977 0 01-.977.977h-.046A.977.977 0 0110 4.023z"/></svg>'},sl={name:"chart_diagram_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3z"/></svg>'},il={name:"chart_diagram_child_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3zm-8 2H3v-1h1zm4 0H7v-1h1zm4 0h-1v-1h1z"/></svg>'},ol={name:"chart_diagram_parent_focus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 10V7H8V5h1V2H6v3h1v2H3v3H2v3h3v-3H4V8h3v2H6v3h3v-3H8V8h3v2h-1v3h3v-3zM7 4V3h1v1z"/></svg>'},nl={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 class="cls-1" d="M11 10V7H8V5h1V2H6v3h1v2H4v3H3v3h3v-3H5V8h5v2H9v3h3v-3zm-6 2H4v-1h1zm6 0h-1v-1h1z"/></svg>'},rl={name:"check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 5.287L6.182 12 3 8.867l1.363-1.343L6.24 9.37 11.693 4z"/></svg>'},al={name:"check_dot_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle class="cls-1" cx="12.5" cy="11.5" r="1.5"/><path class="cls-2" d="M14 4.693l-8.182 8.182L2 9.057 3.636 7.42l2.25 2.25 6.546-6.545z"/></svg>'},ll={name:"circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm0 9.429A3.429 3.429 0 1111.429 8 3.429 3.429 0 018 11.429z"/></svg>'},cl={name:"circle_filled_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><circle class="cls-1" cx="8" cy="8" r="4"/></svg>'},hl={name:"circle_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 14A6.1 6.1 0 017 2v2.686a3.475 3.475 0 000 6.628zM9 2v2.686a3.475 3.475 0 010 6.628V14A6.1 6.1 0 009 2z"/></svg>'},dl={name:"circle_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm-1.212 9.2L4 8.388 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013z"/></svg>'},ul={name:"circle_partial_broken_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 2v2.686a3.475 3.475 0 010 6.628V14A6.1 6.1 0 009 2z"/><path class="cls-2" d="M7 11.314a3.475 3.475 0 010-6.628V2a6.1 6.1 0 000 12z"/></svg>'},pl={name:"circle_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm.075 1.714a4.281 4.281 0 013.573 6.647L5.714 4.427a4.262 4.262 0 012.36-.713zM3.789 8a4.261 4.261 0 01.713-2.36l5.934 5.933A4.281 4.281 0 013.789 8z"/></svg>'},vl={name:"circle_x_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm.075 1.714a4.263 4.263 0 012.409.743l-2.37 2.37-2.4-2.4a4.262 4.262 0 012.36-.713zM4.502 5.64l2.4 2.4-2.37 2.37a4.273 4.273 0 01-.03-4.77zm3.573 6.647a4.256 4.256 0 01-2.31-.685l2.349-2.35 2.322 2.322a4.261 4.261 0 01-2.361.713zm3.573-1.925L9.326 8.039l2.35-2.349a4.251 4.251 0 01-.028 4.67z"/></svg>'},gl={name:"clipboard_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 5H5a2 2 0 012-2V2a1 1 0 012 0v1a2 2 0 012 2zm1-2v9H4V3H3a1 1 0 00-1 1v9a1 1 0 001 1h10a1 1 0 001-1V4a1 1 0 00-1-1zm-2 4H5v1h5zM8 9H5v1h3z"/></svg>'},ml={name:"clock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6m.576 4.87l1.555-1.557a1.635 1.635 0 01.84-.256 1.979 1.979 0 01-.23.791c-.115.163-1.356 1.41-1.571 1.626a1.278 1.278 0 010 1.085l2.376 2.38a1.597 1.597 0 01.458 1.072 1.621 1.621 0 01-1.222-.613c-.456-.456-1.94-1.963-2.207-2.235a1.275 1.275 0 110-2.293"/></svg>'},fl={name:"clock_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.108 7.392l.955-.957a1.004 1.004 0 01.516-.157 1.215 1.215 0 01-.14.486c-.072.1-.834.866-.966.999a.785.785 0 010 .666l1.341 1.344a.981.981 0 01.281.658.996.996 0 01-.75-.376c-.28-.28-1.073-1.088-1.237-1.255a.783.783 0 110-1.408m5.69 2.292L14 7.324l-1.327-.113a4.76 4.76 0 00-.402-1.26l1.02-.86-1.527-1.811-1.019.86a4.726 4.726 0 00-.563-.344 4.61 4.61 0 00-.612-.265l.114-1.329L7.324 2l-.113 1.329a4.77 4.77 0 00-1.26.401l-.86-1.02L3.28 4.237l.858 1.02A4.771 4.771 0 003.53 6.43l-1.329-.114L2 8.676l1.329.114a4.69 4.69 0 00.401 1.26l-1.02.86 1.526 1.811 1.02-.859a4.666 4.666 0 001.175.608l-.113 1.33 2.358.2.114-1.328a4.688 4.688 0 001.26-.4l.86 1.02 1.81-1.527-.858-1.02a4.687 4.687 0 00.608-1.175zM8 11.45A3.45 3.45 0 1111.45 8 3.45 3.45 0 018 11.45z"/></svg>'},bl={name:"clock_triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 3a4.951 4.951 0 00-2.152.505L7.096 6H3.422A4.997 4.997 0 108 3zm2.003 7.616a453.75 453.75 0 01-1.675-1.7 1.061 1.061 0 110-1.907l1.294-1.297a1.36 1.36 0 01.699-.212 1.646 1.646 0 01-.19.658c-.097.136-1.13 1.173-1.309 1.353a1.063 1.063 0 010 .903l1.817 1.82a1.33 1.33 0 01.381.891 1.35 1.35 0 01-1.017-.51z"/><path class="cls-2" d="M5.477 5H1.522L3.5 1.045 5.477 5z"/></svg>'},wl={name:"clone_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6z"/></svg>'},xl={name:"cloud_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.08 11.977a5.123 5.123 0 01-1.295-.2C2.754 11.46 1.883 10.2 1.883 9.022a2.963 2.963 0 012.63-2.937A4.203 4.203 0 018.432 3.48a4.254 4.254 0 014.249 4.17 2.251 2.251 0 011.437 2.09 2.24 2.24 0 01-2.238 2.237l-4.947.003c-1.01 0-1.79-.001-1.853-.003zm-.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 000-1.799.883.883 0 00-.337.067l-.493.202.159-.508a2.914 2.914 0 00-2.777-3.783 2.897 2.897 0 00-2.868 2.436l-.044.268-.264-.067a1.641 1.641 0 00-.403-.051z"/></svg>'},yl={name:"cloud_upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.476 7.298l-1.927 3.848 1.48-.568v3.407h.948v-3.407l1.42.568zM15 9.005a2.374 2.374 0 01-2.371 2.371h-.998l-.5-1h1.498a1.371 1.371 0 10-.516-2.64A3.77 3.77 0 104.797 5.99 2.238 2.238 0 002 8.148a2.223 2.223 0 002.057 2.22l1.758.009-.448.894a10.567 10.567 0 01-2.31-.121 3.224 3.224 0 01.993-6.225 4.77 4.77 0 019.236 1.68c0 .04 0 .081-.002.121A2.375 2.375 0 0115 9.006z"/></svg>'},$l={name:"cloud_with_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.429 10.1l.001-.101A3.998 3.998 0 004.69 8.59a2.715 2.715 0 00-2.557 2.7 2.782 2.782 0 001.725 2.516 4.854 4.854 0 001.225.19h.004c.19.006 6.792 0 6.792 0a1.987 1.987 0 00.55-3.897zm-.55 3.06l-7.183-.008a1.867 1.867 0 01.156-3.728 1.891 1.891 0 01.464.06 3.16 3.16 0 116.13 1.462 1.149 1.149 0 11.433 2.213zM4.5 4.5a1 1 0 111-1 1 1 0 01-1 1zm5.138.681l.496-1.241H7v-.828h3.134l-.496-1.293L13 3.502z"/></svg>'},Cl={name:"cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.823 2l-2.217.914.516 1.25a4.743 4.743 0 00-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.82 4.82 0 00-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.824 4.824 0 00.945.949l-.518 1.247 2.214.921.519-1.246a4.68 4.68 0 00.674.048 4.74 4.74 0 00.666-.047L9.176 14l2.218-.914-.515-1.248a4.828 4.828 0 00.95-.945l1.245.518.922-2.214-1.247-.519a4.73 4.73 0 00.002-1.34L14 6.824l-.914-2.218-1.25.515a4.739 4.739 0 00-.944-.949l.518-1.246-2.212-.922-.52 1.247a4.714 4.714 0 00-.676-.049 4.808 4.808 0 00-.663.047zm1.175 9a2.999 2.999 0 112.77-1.847 2.984 2.984 0 01-2.77 1.846M8 6.801a1.2 1.2 0 10.46.093A1.198 1.198 0 008 6.8"/></svg>'},kl={name:"cog_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.147 11.648c-.01.006-.02.014-.032.02a4.1 4.1 0 01-.46.224l-.012.005c-.033.015-.068.028-.103.042-.051.019-.11.036-.162.055-.094.034-.186.068-.285.099-.034.01-.064.024-.1.033-.019.007-.042.012-.062.019q-.279.078-.58.144l-.133.03q-.324.068-.668.12l-.135.02c-.214.03-.431.057-.653.079l-.103.012a17.446 17.446 0 01-.903.06c-.254.01-.507.018-.759.018a18.75 18.75 0 01-1.66-.078l-.105-.012a15.901 15.901 0 01-.65-.08l-.134-.018c-.23-.036-.455-.076-.67-.122l-.132-.029a9.372 9.372 0 01-.582-.145l-.059-.017c-.036-.01-.067-.023-.1-.034a7.034 7.034 0 01-.285-.1c-.054-.018-.112-.035-.165-.055l-.101-.041-.01-.005a4.076 4.076 0 01-.462-.223l-.03-.02a2.343 2.343 0 01-.334-.24c-.014-.012-.033-.022-.045-.033v1.013c0 .364.524.749 1.427 1.051a8.098 8.098 0 00.697.197 14.793 14.793 0 003.4.363 14.818 14.818 0 003.403-.362 8.38 8.38 0 00.697-.197c.904-.303 1.43-.688 1.43-1.052v-1.013c-.015.012-.034.022-.047.034a2.478 2.478 0 01-.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.052a9.254 9.254 0 00.698.197 14.8 14.8 0 003.399.362 14.817 14.817 0 003.401-.362 8.375 8.375 0 00.7-.197c.902-.302 1.428-.687 1.428-1.052M3.931 7.697L2.802 7.6l.171-1.979 1.129.095a3.984 3.984 0 01.516-.985l-.729-.856 1.537-1.28.73.855a4.085 4.085 0 011.071-.336L7.323 2l2.004.17-.097 1.114a3.949 3.949 0 01.52.223 4.027 4.027 0 01.478.288l.866-.721 1.296 1.52-.866.72a3.961 3.961 0 01.341 1.058l1.127.095-.133 1.539a10.211 10.211 0 00-2.482-.618c.007-.048.021-.094.026-.143a2.48 2.48 0 00-1.346-2.416 2.543 2.543 0 00-2.938.45 2.408 2.408 0 00-.698 2.14 11.88 11.88 0 00-1.482.311l-.008-.033zm4.067-.468c-.331 0-.697.012-1.077.035a.972.972 0 01-.026-.314.99.99 0 01.292-.618 1.011 1.011 0 011.174-.18.992.992 0 01.539.967.923.923 0 01-.036.132 17.817 17.817 0 00-.866-.022z"/></svg>'},_l={name:"cog_database_inset_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.751 7.338L14 6.824l-.914-2.218-1.25.515a4.74 4.74 0 00-.944-.949l.518-1.246-2.212-.922-.52 1.247a4.715 4.715 0 00-.676-.049 4.803 4.803 0 00-.663.047L6.823 2l-2.217.914.516 1.25a4.741 4.741 0 00-.95.944L2.925 4.59l-.922 2.212 1.247.52a4.816 4.816 0 00-.002 1.34L2 9.176l.914 2.218 1.248-.515a4.823 4.823 0 00.945.949l-.518 1.247 2.214.921.519-1.246a4.673 4.673 0 00.674.048 4.737 4.737 0 00.666-.047L9.176 14l2.218-.914-.515-1.248a4.826 4.826 0 00.95-.945l1.245.518.922-2.214-1.247-.519a4.729 4.729 0 00.002-1.34zm-1.06 2.418c0 .244-.35.5-.954.703a5.157 5.157 0 01-.466.131 9.896 9.896 0 01-2.273.243 9.88 9.88 0 01-2.271-.243 5.454 5.454 0 01-.466-.131c-.603-.202-.953-.46-.953-.703V9.08c.008.008.02.015.03.023a1.567 1.567 0 00.223.16l.02.013a2.725 2.725 0 00.309.15l.006.002.068.028c.035.013.074.025.11.037.062.023.125.046.19.066.023.008.043.016.067.023l.04.011c.123.036.253.069.389.098l.087.02c.144.03.295.057.448.08l.09.012c.142.021.286.038.434.054l.07.008c.162.014.327.027.491.035l.112.005a11.63 11.63 0 001.013 0l.11-.005c.165-.008.33-.02.493-.035l.069-.008c.148-.015.293-.033.436-.054l.09-.012q.23-.035.447-.08l.088-.02c.135-.03.264-.062.388-.097l.042-.012.066-.023c.066-.02.128-.043.19-.066.036-.012.075-.024.109-.037l.069-.028.007-.003a2.744 2.744 0 00.308-.149l.022-.014a1.651 1.651 0 00.222-.159l.03-.023zm0-1.76c0 .243-.35.5-.954.703a5.157 5.157 0 01-.466.13 9.897 9.897 0 01-2.273.243 9.88 9.88 0 01-2.271-.242 5.44 5.44 0 01-.466-.132c-.603-.202-.953-.459-.953-.703V7.32c.008.008.02.014.03.022a1.566 1.566 0 00.223.16l.02.013a2.716 2.716 0 00.309.15l.006.003c.022.01.046.018.068.027l.11.038c.062.022.125.045.19.066.023.007.043.016.067.023l.04.011c.123.035.253.067.389.097l.087.02c.144.03.295.057.448.08l.09.013c.142.02.286.038.434.053l.07.008a11.715 11.715 0 001.726.035c.165-.008.33-.02.493-.035l.069-.008c.148-.015.293-.033.436-.053l.09-.012q.23-.036.447-.081l.088-.02q.202-.044.388-.097c.014-.004.029-.007.042-.012.023-.006.043-.015.067-.022.065-.02.127-.044.19-.066l.108-.037.069-.028.008-.003a2.735 2.735 0 00.307-.15l.022-.013a1.657 1.657 0 00.222-.16c.009-.007.021-.014.03-.022zm-.953-1.05a5.625 5.625 0 01-.467.132 9.896 9.896 0 01-2.272.24 9.885 9.885 0 01-2.271-.24 6.179 6.179 0 01-.466-.133c-.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.702z"/></svg>'},zl={name:"cog_small_cog_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.712 5.956a.76.76 0 01-.224.477.787.787 0 01-.909.139.762.762 0 01-.19-1.224.781.781 0 01.907-.14.767.767 0 01.416.748zM14 11.61l-.441 1.088-.62-.246a2.276 2.276 0 01-.232.268 2.386 2.386 0 01-.23.2l.263.606-1.09.46-.263-.606a2.353 2.353 0 01-.662.008l-.248.612-1.1-.435.249-.612a2.273 2.273 0 01-.256-.215 2.358 2.358 0 01-.218-.243l-.614.26-.466-1.077.614-.259a2.287 2.287 0 01-.008-.654l-.62-.246.44-1.087.62.246a2.38 2.38 0 01.234-.27 2.463 2.463 0 01.229-.198l-.263-.606 1.09-.46.263.605a2.422 2.422 0 01.662-.008l.248-.612 1.1.436-.248.612a2.351 2.351 0 01.473.458l.614-.26.466 1.076-.613.26a2.339 2.339 0 01.008.654zm-1.934-1.591a1.495 1.495 0 00-2.085.011 1.454 1.454 0 00.01 2.081 1.479 1.479 0 00.486.313 1.495 1.495 0 001.6-.324 1.454 1.454 0 00-.01-2.081zM9.036 8.33l-1.189.99-.564-.661a3.104 3.104 0 01-.827.26l-.075.86-1.547-.13.074-.862a3.075 3.075 0 01-.77-.394l-.671.557-1.001-1.174.67-.557a3.015 3.015 0 01-.264-.817L2 6.328 2.132 4.8l.872.074a3.08 3.08 0 01.4-.762l-.564-.66 1.188-.99.565.66a3.159 3.159 0 01.827-.26L5.494 2l1.548.131-.074.861a3.046 3.046 0 01.402.172 3.111 3.111 0 01.369.223l.669-.557L9.41 4.004l-.67.557a3.06 3.06 0 01.264.818l.871.073-.132 1.53-.872-.074a3.026 3.026 0 01-.4.762zM7.874 6.054a1.916 1.916 0 00-1.04-1.868 1.965 1.965 0 00-2.27.348 1.907 1.907 0 00.478 3.06 1.965 1.965 0 002.27-.347 1.903 1.903 0 00.562-1.193zm3.376 4.467a.6.6 0 00-.64.13.591.591 0 00-.131.196.584.584 0 00.33.761.597.597 0 00.64-.13.59.59 0 00.13-.195.583.583 0 00-.135-.637.596.596 0 00-.194-.125z"/></svg>'},Il={name:"cog_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 3.11l-1.178-.632-1.875 2.133a5.424 5.424 0 00-.716-.094L8.766 2l-2.138.627.2 2.863a5.226 5.226 0 00-.527.47l-2.77-.738-1.056 1.95L4.656 9.04a5.188 5.188 0 00-.087.704L2 11.144l.659 2.1 2.914-.197a4.961 4.961 0 00.453.525l-.13.427h7.232a.818.818 0 00.87-.759L14 13.2zm-1.335 7.876a2.877 2.877 0 01-3.741 1.477 2.768 2.768 0 01-1.51-3.66 2.876 2.876 0 013.729-1.482 2.76 2.76 0 011.535 3.637z"/></svg>'},Ol={name:"comment_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 3.5v6a1.5 1.5 0 01-1.5 1.5H8.75L3.5 14l.75-3H3.5A1.5 1.5 0 012 9.5v-6A1.5 1.5 0 013.5 2h9A1.5 1.5 0 0114 3.5z"/></svg>'},Al={name:"computer_and_monitor_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 12V6H5v6h4v1H7v1h5v-1h-2v-1zm-8-1V7h7v4zm1-6H4V4h3zm1 0V3H3v7h1v3h2v1H3a1 1 0 01-1-1V3a1 1 0 011-1h5a1 1 0 011 1v2z"/></svg>'},Sl={name:"copy_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6zm7 7H7V7h6z"/></svg>'},El={name:"copy_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5 5h5V2H2v8h3zm1 1v8h8V6zm7 7H7V7h6zm-1-4H8V8h4zm-1 2H8v-1h3z"/></svg>'},Hl={name:"dashboard_builder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.646 6.646L7 4.293l2 2 1.646-1.646.707.707L9 7.707l-2-2-1.646 1.647zM14 2v12H2V2zM8 9H4v3h4zm4 2H9v1h3zm0-2H9v1h3zm0-5H4v4h8V4zm-5 6H5v1h2z"/></svg>'},Ml={name:"dashboard_builder_legend_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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"/></svg>'},Vl={name:"dashboard_builder_templates_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm11 11H3V3h10z"/><path class="cls-1" d="M9 9h3v1H9zM12 4H4v4h8zm-1 3H5V5h6zM8 9H4v3h4zm-1 2H5v-1h2zM9 11h3v1H9z"/></svg>'},Ll={name:"dashboard_builder_tile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.646 10.646L7 8.293l2 2 1.646-1.646.707.707L9 11.707l-2-2-1.646 1.647zM14 2v12H2V2zM4 7h3V4H4zm8 1H4v4h8V8zm0-4H8v3h4z"/></svg>'},Tl={name:"database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.588 11.46a2.69 2.69 0 00.36-.257c.015-.012.036-.023.051-.036v1.093c0 .395-.57.81-1.551 1.137a9.133 9.133 0 01-.757.212A16.17 16.17 0 017.997 14a16.144 16.144 0 01-3.69-.391 8.83 8.83 0 01-.757-.213C2.57 13.069 2 12.655 2 12.26v-1.093c.013.013.033.023.049.036a2.61 2.61 0 00.362.26c.012.006.021.013.033.02a4.294 4.294 0 00.502.241l.01.005.11.046c.058.02.121.039.18.06.1.036.202.073.308.106.037.012.07.026.11.037.018.006.042.011.063.017.2.06.412.11.633.159l.142.031c.234.049.478.092.727.13.048.008.098.014.146.02a17.346 17.346 0 00.82.1 24.659 24.659 0 00.98.065c.273.01.55.019.822.019.273 0 .548-.008.824-.02.06-.003.119-.006.179-.007.268-.014.536-.034.801-.057l.112-.014c.24-.023.476-.052.708-.086.048-.006.098-.012.147-.02.25-.038.491-.081.725-.13.05-.012.096-.021.144-.031.219-.049.429-.1.63-.157.022-.008.047-.013.069-.02.037-.01.07-.024.108-.036.107-.034.206-.07.309-.107.057-.02.12-.038.176-.06.037-.014.075-.028.111-.045l.013-.005a4.316 4.316 0 00.5-.241.415.415 0 00.035-.022m0-2.845l-.035.022a4.46 4.46 0 01-.5.241l-.013.005c-.036.016-.074.03-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.025-.107.036-.022.007-.047.012-.069.02a10.638 10.638 0 01-.774.187q-.35.075-.725.13c-.049.009-.099.014-.147.021-.232.034-.468.063-.708.086L9.8 9.59c-.265.024-.533.044-.801.057l-.18.008c-.275.012-.55.02-.823.02a19 19 0 01-.823-.02l-.18-.008a20.583 20.583 0 01-.8-.057l-.113-.013c-.241-.024-.475-.052-.706-.086-.048-.006-.098-.012-.146-.02a12.62 12.62 0 01-1.502-.32c-.021-.006-.045-.01-.063-.017-.04-.012-.073-.025-.11-.037a7.688 7.688 0 01-.309-.107c-.058-.02-.121-.039-.179-.06l-.11-.045-.01-.005a4.436 4.436 0 01-.502-.241c-.012-.007-.02-.014-.033-.02a2.544 2.544 0 01-.362-.26c-.016-.013-.036-.023-.049-.036v1.093c0 .394.57.81 1.55 1.136a8.83 8.83 0 00.757.213 16.145 16.145 0 003.69.39 16.171 16.171 0 003.694-.39 9.133 9.133 0 00.757-.213c.98-.327 1.551-.742 1.551-1.136V8.322c-.015.013-.036.024-.05.036a2.69 2.69 0 01-.361.258m0-2.845l-.035.022a4.463 4.463 0 01-.5.241l-.013.005c-.036.016-.074.03-.111.045l-.176.06c-.103.037-.202.073-.31.107-.037.012-.07.026-.107.036-.022.007-.047.012-.069.02q-.302.084-.63.156l-.144.031q-.351.075-.725.132c-.049.006-.099.012-.147.02-.232.032-.468.061-.708.085l-.112.013a19.05 19.05 0 01-.98.066c-.276.01-.55.018-.824.018a20.457 20.457 0 01-1.802-.084l-.114-.013c-.241-.024-.475-.053-.706-.086l-.146-.02c-.249-.038-.493-.081-.727-.13-.05-.01-.094-.022-.142-.032-.22-.048-.432-.1-.633-.157l-.063-.018c-.04-.011-.073-.025-.11-.037a7.688 7.688 0 01-.309-.107l-.179-.06-.11-.045-.01-.005a4.438 4.438 0 01-.502-.241c-.012-.007-.02-.014-.033-.02a2.544 2.544 0 01-.362-.26C2.033 5.5 2.013 5.488 2 5.476V6.57c0 .394.57.81 1.55 1.136a8.83 8.83 0 00.757.213 16.144 16.144 0 003.69.39 16.17 16.17 0 003.694-.39 9.133 9.133 0 00.757-.213c.98-.327 1.551-.742 1.551-1.136V5.477c-.015.013-.036.024-.05.036a2.69 2.69 0 01-.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.135.113.039.23.074.355.11q.192.053.402.103a16.152 16.152 0 003.69.39 16.17 16.17 0 003.692-.39 9.13 9.13 0 00.759-.213C13.429 4.548 14 4.132 14 3.738"/></svg>'},Pl={name:"database_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.919 12.103a11.87 11.87 0 01-1.594-.26 7.445 7.445 0 01-.644-.182c-.835-.28-1.32-.635-1.32-.973v-.936c.011.01.029.02.042.031a2.226 2.226 0 00.308.222l.028.018a3.65 3.65 0 00.428.206l.009.005.093.038c.049.019.103.034.153.051.086.032.173.063.262.092.032.01.06.022.094.032l.054.014c.17.05.35.095.538.136l.121.027c.2.042.408.078.62.111.041.007.083.012.124.018.197.028.396.052.6.073l.038.005-.613.613zm-2.238-7.74a8.567 8.567 0 00.645.182 13.68 13.68 0 003.143.334 13.697 13.697 0 003.144-.334 7.753 7.753 0 00.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.973zm5.047 6.495l.008.007.008-.008zm-5.047-4.07a7.471 7.471 0 00.644.182 13.675 13.675 0 003.143.335 13.697 13.697 0 003.146-.335 7.694 7.694 0 00.644-.181c.835-.28 1.321-.636 1.321-.973v-.937c-.013.012-.03.02-.043.032a2.29 2.29 0 01-.307.22.353.353 0 01-.03.02 3.788 3.788 0 01-.426.206l-.01.004c-.031.014-.064.026-.096.039-.047.017-.101.033-.15.05-.087.032-.172.064-.263.092-.032.01-.06.023-.092.032l-.058.016q-.257.073-.537.134l-.122.027q-.3.063-.618.112l-.124.017c-.198.029-.399.053-.604.074l-.095.01a16.15 16.15 0 01-.835.057c-.235.01-.468.016-.701.016a17.43 17.43 0 01-1.535-.072l-.097-.011a14.698 14.698 0 01-.6-.074l-.125-.017c-.212-.033-.42-.07-.62-.112l-.12-.027a8.673 8.673 0 01-.54-.134c-.018-.006-.037-.01-.053-.016-.034-.01-.062-.022-.094-.032a6.551 6.551 0 01-.262-.091c-.05-.018-.104-.034-.153-.052l-.093-.038-.01-.004a3.768 3.768 0 01-.427-.207l-.028-.017a2.167 2.167 0 01-.308-.223c-.013-.011-.031-.02-.042-.03v.936c0 .337.485.692 1.32.972zm0 2.436a7.471 7.471 0 00.644.182 13.147 13.147 0 002.644.328l.318-.318.323.324a14.377 14.377 0 002.473-.222l1.753-1.753-.063.028-.01.004c-.031.014-.063.027-.096.04-.047.017-.101.033-.15.05-.087.032-.171.063-.263.091-.032.01-.06.022-.092.032-.018.006-.04.01-.058.017a9.015 9.015 0 01-.66.16q-.298.064-.617.112l-.124.017c-.198.029-.399.054-.604.074l-.095.011c-.225.02-.454.037-.682.049l-.153.007a16.115 16.115 0 01-1.402 0l-.154-.007a17.43 17.43 0 01-.68-.049l-.097-.011a14.689 14.689 0 01-.6-.074c-.042-.006-.084-.01-.125-.017a10.679 10.679 0 01-1.28-.274l-.053-.015c-.034-.01-.062-.021-.094-.032a6.551 6.551 0 01-.262-.09c-.05-.018-.104-.034-.153-.053-.03-.012-.063-.024-.093-.038l-.01-.004a3.77 3.77 0 01-.427-.207l-.028-.017a2.169 2.169 0 01-.308-.223c-.014-.01-.031-.02-.042-.03v.936c0 .337.485.693 1.32.972zm9.269-1.6L8.736 11.84l-1.449-1.45-1.053 1.055 2.458 2.458 5.268-5.268z"/></svg>'},Rl={name:"desktop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 3H2v8h5v1H5v1h6v-1H9v-1h5V3zm0 7H3V4h10z"/></svg>'},Dl={name:"donut_chart_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.872 10.956a4.123 4.123 0 01-6.997-2.962v-.007H2v.007a5.995 5.995 0 0010.301 4.182zM8.372 2v1.884a4.13 4.13 0 012.992 6.501l1.429 1.224A6.008 6.008 0 008.37 2zM2.048 7.236h1.897a4.117 4.117 0 013.675-3.352V2A6.012 6.012 0 002.05 7.236z"/></svg>'},Bl={name:"dot_solid_dot_stroke_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 8a3 3 0 11-3-3 3 3 0 013 3zm5-2a2 2 0 102 2 2.002 2.002 0 00-2-2m0-1a3 3 0 11-3 3 3 3 0 013-3z"/></svg>'},Fl={name:"download_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 9v5H2V9h1v4h10V9zm-5.982 2L11 5.1 8.996 6.412 9 2H7v4.387L5 5.1z"/></svg>'},Nl={name:"electronic_chip_zoomed_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 14H7.333V9.333a2 2 0 012-2H14V13a1 1 0 01-1 1zM12 2a.667.667 0 00-.667.667v2h1.334v-2A.667.667 0 0012 2zM8.444 2a.667.667 0 00-.666.667v2H9.11v-2A.667.667 0 008.444 2zM2 8.444a.667.667 0 00.667.667h2V7.778h-2A.667.667 0 002 8.444zM2 12a.667.667 0 00.667.667h2v-1.334h-2A.667.667 0 002 12zm11.556-8.222v.889a.444.444 0 01-.445.444H10.89a.444.444 0 01-.445-.444v-.89H10v.89a.444.444 0 01-.444.444H7.333a.444.444 0 01-.444-.444v-.89H4.667a.889.889 0 00-.89.89v2.222h.89a.444.444 0 01.444.444v2.223a.444.444 0 01-.444.444h-.89v.444h.89a.444.444 0 01.444.445v2.222a.444.444 0 01-.444.445h-.89V14H6.89V8.222A1.333 1.333 0 018.222 6.89H14V3.778z"/></svg>'},jl={name:"exclamation_mark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.371 11.873h3.256V14H6.37zM6.316 2l.37 8.542h2.628L9.684 2z"/></svg>'},ql={name:"eye_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.856 3.657A7.004 7.004 0 001 8.001a7.588 7.588 0 007.146 4.342A7.002 7.002 0 0015 8a7.586 7.586 0 00-7.144-4.344m-1.199 7.289A5.108 5.108 0 012.443 8s.665-2.585 4.33-3.037a2.786 2.786 0 00-1.414 1.223l2.787 1.22H4.977a3.47 3.47 0 00-.053.576 3.348 3.348 0 001.734 2.962m2.85.02a3.4 3.4 0 00.107-5.908 5.006 5.006 0 013.942 2.944s-.603 2.44-4.05 2.963"/></svg>'},Ul={name:"fancy_a_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.597 9.844H7.865A7.465 7.465 0 016.19 11.96a3.323 3.323 0 01-2.042.667 2.835 2.835 0 01-1.964-.753L2 11.706l1.153-1.152.157.251a1.347 1.347 0 001.2.716 1.976 1.976 0 001.385-.625 11.546 11.546 0 001.722-2.403l2.252-3.88a7.585 7.585 0 00-.679-.037 2.365 2.365 0 00-1.66.54 1.967 1.967 0 00-.556 1.51V6.7l-.067.106-1.564.762.045-.423a3.845 3.845 0 01.645-1.874 3.312 3.312 0 011.34-1.177 6.74 6.74 0 012.208-.443c.127 0 .277-.013.471-.029l.369-.03 1.387-.257.087 2.154.33 3.886a4.862 4.862 0 00.29 1.701.498.498 0 00.528.31c.057 0 .277 0 .641-.03L14 11.33l-.172.83-3.003.506zm-.086-.896l-.275-3.22-1.855 3.22z"/></svg>'},Kl={name:"file_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 3v10h8V7H8V3zm5 0v3h3z"/></svg>'},Wl={name:"file_drawer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 4v10h12V4zm8 4H6V6h4zm4-5H2V2h12z"/></svg>'},Xl={name:"file_search_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 6v6h-3.333a3.662 3.662 0 00.249-1.302A3.701 3.701 0 007.22 7 3.654 3.654 0 006 7.223V2h4v4zm-3-4v3h3zm-1.126 8.698a2.697 2.697 0 01-4.73 1.772L2.521 14l-.48-.823 2.613-1.523a2.698 2.698 0 115.22-.956zm-.952 0a1.745 1.745 0 10-1.745 1.745 1.747 1.747 0 001.745-1.745z"/></svg>'},Yl={name:"filter_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 3.045v1.29h.787a2.069 2.069 0 102.907 2.903l1.32 2.173v4.522l1.973-1.846V9.411l3.878-5.076h1.134v-1.29zm2.033 4.059a1.154 1.154 0 010-2.308c.023 0 .045.006.068.007l1.002 1.575a1.154 1.154 0 01-1.07.726z"/></svg>'},Gl={name:"floppy_disk_checkmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.455 5h-1.041l-1.005 1H12v3H4V6h3.782L6.79 5H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm2-10.99L9.091 5.9 7 3.79l.919-.89 1.164 1.208L12.128 1.1l.872.91"/></svg>'},Ql={name:"floppy_disk_star_arrow_right_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M5.5 2.5a1 1 0 10-1 1 1 1 0 001-1zm7.5.002L9.638.819l.496 1.293H7v.828h3.134L9.638 4.18zM12.455 5H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm1-4H4V6h8z"/></svg>'},Jl={name:"floppy_disk_three_dots_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6 3a1 1 0 10-1 1 1 1 0 001-1zm3 0a1 1 0 10-1 1 1 1 0 001-1zm3 0a1 1 0 10-1 1 1 1 0 001-1zm.455 2H3.583A.585.585 0 003 5.598V12.5l1.5 1.497 7.858.003a.602.602 0 00.6-.6L13 5.545A.513.513 0 0012.455 5zM11 13H8v-2H6v2H5v-3h6zm1-4H4V6h8z"/></svg>'},Zl={name:"folder_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 4V3H2v10h12V4zm6 2H3V5h10z"/></svg>'},tc={name:"folder_open_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7 3v1.002h6V6h-1V5H3v1H2V3zM2 13h11l1-6H2z"/></svg>'},ec={name:"forward_slash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.027 14l2.5-12h1.5l-2.5 12h-1.5z"/></svg>'},sc={name:"four_dots_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.5 11A1.5 1.5 0 115 9.5 1.5 1.5 0 016.5 11zM5 3.5A1.5 1.5 0 106.5 5 1.5 1.5 0 005 3.5zm7.5 7.5A1.5 1.5 0 1111 9.5a1.5 1.5 0 011.5 1.5zM11 3.5A1.5 1.5 0 1012.5 5 1.5 1.5 0 0011 3.5z"/></svg>'},ic={name:"function_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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.141 3.141 0 00-.394-.1 2.455 2.455 0 00-.483-.05 1.32 1.32 0 00-.832.241 1.334 1.334 0 00-.405.895l-.128.937h1.846v1.282H6.812l-.376 2.462a3.578 3.578 0 01-.462 1.357 2.583 2.583 0 01-.784.808 3.015 3.015 0 01-.938.387A4.823 4.823 0 013.184 13q-.275 0-.629-.03A3.529 3.529 0 012 12.892v-1.815h.12a.56.56 0 00.424.244 2.538 2.538 0 00.5.052 1.304 1.304 0 00.898-.29 1.584 1.584 0 00.424-.985l.33-2.226H3.256V6.59H5.05l.178-1.162a2.942 2.942 0 01.444-1.244 2.516 2.516 0 01.76-.734 2.643 2.643 0 01.94-.356A5.61 5.61 0 018.357 3q.294 0 .588.025t.599.076z"/></svg>'},oc={name:"gauge_simple_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.969 5.196a1.763 1.763 0 011.142-.49 1.763 1.763 0 01-.49 1.142L9.205 8.263l.008.025.065.184.03.093a1.352 1.352 0 01.032.295 1.385 1.385 0 01-2.769 0 1.343 1.343 0 01.033-.294l.034-.11.055-.16.012-.033.014-.014a1.389 1.389 0 01.625-.625l.015-.015.033-.011.16-.055.11-.035a1.32 1.32 0 01.588 0l.11.035.16.055.033.011zM14 8.86a5.979 5.979 0 01-1.799 4.28l-1.309-1.308a4.085 4.085 0 00.83-4.78l.55-.55a2.576 2.576 0 00.64-1.082A5.968 5.968 0 0114 8.86zm-6-6a5.998 5.998 0 00-4.201 10.28l1.308-1.308a4.14 4.14 0 014.645-6.725l.564-.564a2.57 2.57 0 011.07-.635A5.97 5.97 0 008 2.86z"/></svg>'},nc={name:"grid_three_by_three_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 3v10a1 1 0 001 1h10a1 1 0 001-1V3a1 1 0 00-1-1H3a1 1 0 00-1 1zm4 9H4v-2h2zm.001-2.999H4V7h2.001zm0-3.001H4V4h2.001zM9 12H7v-2h2zm0-2.999H7V7h2zM9 6H7V4h2zm3 6h-2v-2h2zm.001-2.999H10V7h2.001zm0-3.001H10V4h2.001z"/></svg>'},rc={name:"grid_two_by_two_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 9h3v3H4zm5 0h3v3H9zM4 4h3v3H4zm5 0h3v3H9zM2 14h12V2H2z"/></svg>'},ac={name:"hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 14H6V8h3zM8.875 2H6.723A1.991 1.991 0 015 3a2.486 2.486 0 01-2-1H2v4h1a1.797 1.797 0 011.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 2z"/></svg>'},lc={name:"hashtag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.76 14l.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"/></svg>'},cc={name:"home_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.988 2L2.5 9H4v5h3v-3h2v3h3V9h1.5L7.988 2z"/></svg>'},hc={name:"hourglass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.774 13.4h-.047v-.49h-.404a2.491 2.491 0 00.355-1.258c0-1.826-2.083-2.886-2.083-3.652s2.083-1.826 2.083-3.652a2.491 2.491 0 00-.355-1.257h.404V2.6h.047a.556.556 0 00.499-.6H4.727a.556.556 0 00.499.6h.047v.49h.404a2.491 2.491 0 00-.355 1.258c0 1.826 2.083 2.87 2.083 3.652s-2.083 1.826-2.083 3.652a2.491 2.491 0 00.355 1.257h-.404v.491h-.047a.556.556 0 00-.499.6h6.546a.556.556 0 00-.499-.6zM8 12.957c-1.565 0-1.975-.585-1.975-1.305a7.183 7.183 0 011.723-.656c.268 0 .289-3.513 0-3.779l-.988-1h2.454l-.962 1c-.268.286-.275 3.779 0 3.779a7.651 7.651 0 011.738.656c0 .72-.409 1.305-1.99 1.305z"/></svg>'},dc={name:"indeterminant_checkbox_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 3a1.001 1.001 0 011 1v8a1.001 1.001 0 01-1 1H4a1.001 1.001 0 01-1-1V4a1.001 1.001 0 011-1h8m0-1H4a2 2 0 00-2 2v8a2 2 0 002 2h8a2 2 0 002-2V4a2 2 0 00-2-2zM4 4v8h8V4zm6 6H6V6h4z"/></svg>'},uc={name:"info_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.415 7.75v3.69H6.376v1.576h4.24V11.44H9.6V6.175H6.376V7.75zm.276-2.698a1.19 1.19 0 002.035-.838 1.164 1.164 0 00-.346-.846 1.193 1.193 0 00-1.693 0 1.158 1.158 0 00-.35.846 1.144 1.144 0 00.354.838z"/></svg>'},pc={name:"info_circle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm-.697 2.28a.951.951 0 011.35 0 .928.928 0 01.276.675.952.952 0 01-1.905 0 .924.924 0 01.279-.674zM9.7 12H6.3v-1.264h.833V7.777H6.3V6.513h2.584v4.223H9.7z"/></svg>'},vc={name:"key_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.045 7.348l-.652-.652 1.444-.14zm-3.818.698l-4.912 4.912-.395-.396 4.12-4.12zm4.734-2.918l-1.697.136-.395-.395L11 3.176l.72-.067 1.304 1.304zm-3.524-.386l-.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"/></svg>'},gc={name:"laptop_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 11V3H3v8H2v2h12v-2zm-2 1H5v-1h6zm1-1.996H4V4h8z"/></svg>'},mc={name:"layer_group_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.555 9.546l.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.11l.89-.444 5.333 2.667 1.778-.89.889.448v1.33L9.778 10.88 3.555 7.768z"/></svg>'},fc={name:"lightning_bolt_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4.732 7.953L6.909 2h3.636L8.364 7.013h2.909L4.727 14l2.21-6.049z"/></svg>'},bc={name:"link_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M7.465 5.592A2.908 2.908 0 019.963 7.02l-1.06 1.065c-.053-.103-.095-.192-.144-.276a1.48 1.48 0 00-1.277-.769 1.43 1.43 0 00-.977.394c-.75.694-1.469 1.421-2.165 2.168a1.431 1.431 0 00.054 2.038 1.507 1.507 0 001.039.432 1.28 1.28 0 00.953-.417c.103-.11.435-.44.81-.805a3.458 3.458 0 001.908.188c-1.006 1.035-2.179 2.187-2.996 2.38a2.982 2.982 0 01-.693.082 2.91 2.91 0 01-2.182-4.842A46.793 46.793 0 015.53 6.356a2.826 2.826 0 011.935-.764M10.583 2.5a3.001 3.001 0 00-.69.081 10.376 10.376 0 00-2.996 2.377 3.474 3.474 0 01.568-.054 3.58 3.58 0 011.31.249c.38-.332.701-.646.875-.834a1.221 1.221 0 01.913-.395 1.513 1.513 0 011.074.469 1.433 1.433 0 01.022 2.005c-.7.743-1.42 1.47-2.165 2.167a1.419 1.419 0 01-.975.395 1.483 1.483 0 01-1.28-.768c-.048-.085-.089-.175-.151-.298L6.043 8.987a2.882 2.882 0 002.493 1.42 2.808 2.808 0 001.93-.76 54.2 54.2 0 002.266-2.266A2.911 2.911 0 0010.583 2.5"/></svg>'},wc={name:"link_cancel_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9.202 9.45a2.638 2.638 0 01.687 2.519l-1.364.002c.032-.1.062-.183.085-.269a1.343 1.343 0 00-.326-1.312 1.297 1.297 0 00-.88-.374 37.657 37.657 0 00-2.779.002 1.298 1.298 0 00-1.273 1.341 1.367 1.367 0 00.39.944 1.162 1.162 0 00.878.344c.137-.005.562-.002 1.036.004a3.137 3.137 0 001.104 1.344 8.133 8.133 0 01-3.45-.395 2.705 2.705 0 01-.496-.392A2.64 2.64 0 014.52 8.702a42.45 42.45 0 012.951-.003 2.564 2.564 0 011.731.751m3.984.017a2.723 2.723 0 00-.495-.39 9.414 9.414 0 00-3.447-.398 3.151 3.151 0 01.4.33 3.247 3.247 0 01.68 1c.457.031.864.035 1.096.027a1.108 1.108 0 01.839.331 1.373 1.373 0 01.389.99 1.3 1.3 0 01-1.272 1.3c-.926.028-1.854.033-2.78.002a1.287 1.287 0 01-.878-.372 1.345 1.345 0 01-.328-1.313c.023-.086.054-.17.093-.289l-1.371.031a2.614 2.614 0 00.688 2.51 2.547 2.547 0 001.726.751c.968.033 1.94.025 2.908 0a2.641 2.641 0 001.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"/></svg>'},xc={name:"list_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 13H2v-2h2zm10-2H6v2h8zM4 7H2v2h2zm10 0H6v2h8zM4 3H2v2h2zm10 0H6v2h8z"/></svg>'},yc={name:"list_tree_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 5v2h4v2h-4v2h4v2H8V5H5V3h9v2zM2 5h2V3H2zm5 6H5v2h2zm0-4H5v2h2z"/></svg>'},$c={name:"list_tree_database_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.953 11.81c.013-.011.032-.02.046-.031v.917c0 .33-.523.678-1.42.953a8.234 8.234 0 01-.694.178 16.116 16.116 0 01-3.382.328 16.089 16.089 0 01-3.38-.328 8.77 8.77 0 01-.693-.179c-.898-.274-1.42-.622-1.42-.952v-.917c.012.01.031.02.045.03a2.34 2.34 0 00.332.218l.03.017a4.235 4.235 0 00.46.202l.01.005.1.037c.053.018.11.034.164.05.093.031.186.062.283.09.033.01.064.022.1.031l.058.015c.184.048.378.092.58.132.043.009.084.018.13.026.214.042.438.078.666.11l.134.017c.21.028.425.051.646.072l.104.01c.242.021.487.037.731.049l.166.007c.251.01.504.016.754.016s.501-.007.754-.016l.164-.007c.246-.012.491-.028.734-.048l.102-.011c.22-.02.436-.044.649-.072.044-.006.09-.01.134-.017q.343-.048.664-.11c.046-.008.088-.017.132-.026q.3-.06.577-.13c.02-.007.043-.012.063-.017.034-.009.064-.021.099-.031.098-.028.189-.059.283-.09.052-.017.11-.032.16-.05.035-.012.07-.024.103-.037l.012-.005a4.252 4.252 0 00.457-.202c.013-.006.022-.013.032-.018a2.468 2.468 0 00.33-.216zm-5.45-2.946c-3.237 0-5.492.767-5.492 1.457 0 .33.523.679 1.42.952a9.998 9.998 0 00.694.179 16.101 16.101 0 003.378.327 16.12 16.12 0 003.382-.327 8.892 8.892 0 00.694-.18C13.477 11 14 10.652 14 10.322c0-.69-2.257-1.457-5.497-1.457zM14 6V5H5V3h2V2H2v1h2v5.581a9.632 9.632 0 011-.255V6h3v2h6V7H9V6z"/></svg>'},Cc={name:"lock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12 8V7a3.888 3.888 0 00-4-4 3.822 3.822 0 00-2.81 1.078A4.349 4.349 0 004.062 7v1H3v6h10V8zM6.062 6.986a2.407 2.407 0 01.566-1.516A1.834 1.834 0 018 5a1.883 1.883 0 012 2v1H6.062z"/></svg>'},kc={name:"magnifying_glass_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.073 12.29l-2.926-2.926a3.971 3.971 0 10-.783.783l2.927 2.926zM7.01 9.84a2.83 2.83 0 112.83-2.83 2.833 2.833 0 01-2.83 2.83z"/></svg>'},_c={name:"markdown_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14.25 3H1.75a.74.74 0 00-.75.73v8.54a.74.74 0 00.75.73h12.5a.74.74 0 00.75-.73V3.73a.74.74 0 00-.75-.73zm-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"/></svg>'},zc={name:"minus_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 7h8v2H4z"/></svg>'},Ic={name:"minus_wide_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3 7h10v2H3z"/></svg>'},Oc={name:"mobile_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.462 2.077H4.538A.54.54 0 004 2.615v10.77a.54.54 0 00.538.538h5.924a.54.54 0 00.538-.538V2.615a.54.54 0 00-.538-.538zM10 12H5V3h5z"/></svg>'},Ac={name:"notebook_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 2h1v3h-1zm0 8h1V6h-1zm0 4h1v-3h-1zM4 7h6V6H4zm0-2h6V4H4zM2 2h10v12H2z"/></svg>'},Sc={name:"paste_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9 5V3H3v6h2v1H2V2h8v3zM6 6v8h8V6z"/></svg>'},Ec={name:"pencil_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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.493l2.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"/></svg>'},Hc={name:"pot_with_lid_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 4V2H5v2H2v1h12V4zM6 4V3h4v1zm-4 9h1v1h10v-1h1V6H2z"/></svg>'},Mc={name:"question_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11.303 5.594a3.294 3.294 0 01-.195 1.176 2.63 2.63 0 01-.549.885 3.96 3.96 0 01-.852.672 7.46 7.46 0 01-1.121.54v1.501H6.27V8.15q.467-.125.845-.256a3.199 3.199 0 00.793-.429 2.098 2.098 0 00.608-.612 1.45 1.45 0 00.22-.791 1.042 1.042 0 00-.423-.939 2.163 2.163 0 00-1.195-.28 3.338 3.338 0 00-1.068.204 4.853 4.853 0 00-1.09.526h-.263V3.566a8.148 8.148 0 011.296-.372A8.205 8.205 0 017.77 3a4.196 4.196 0 012.579.718 2.241 2.241 0 01.954 1.876zM8.77 13H6.112v-1.737H8.77z"/></svg>'},Vc={name:"running_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 7.985l-8.002 4.013L8 8 5.998 3.987zM3.995 2.997L2 2l3 6-3 6 2.002-1.005L6.5 8z"/></svg>'},Lc={name:"server_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 3H3v3h10zM9 5H4V4h5zM3 7v3h10V7zm6 2H4V8h5zm3 4H3v-2h10v1a1 1 0 01-1 1z"/></svg>'},Tc={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 000-.836l4.544-2.273c.367.42.9.691 1.501.691a2 2 0 10-1.955-1.582L5.501 6.691C5.134 6.27 4.6 6 4 6a2 2 0 100 4c.601 0 1.134-.27 1.5-.69l4.545 2.272A2 2 0 1012 10z"/></svg>'},Pc={name:"share_square_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.984 2.012l-2.069 6.153-.565-2.722-3.544 3.544-.822-.822 3.544-3.544-2.723-.566zM2 4v10h10v-4h-2v2H4V6h2V4z"/></svg>'},Rc={name:"shield_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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"/></svg>'},Dc={name:"shield_xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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"/></svg>'},Bc={name:"signal_bars_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M4 14H2V2h2zm3-9H5v9h2zm3 3H8v6h2zm3 3h-2v3h2z"/></svg>'},Fc={name:"sine_graph_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 12H2v-1.63a4.61 4.61 0 001.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.189 1.453 0 2.15-1.163 2.764-2.189a6.459 6.459 0 01.9-1.267zm0-6.054a4.613 4.613 0 00-1.764 1.967c-.635 1.061-1.08 1.705-1.9 1.705-.82 0-1.266-.644-1.902-1.705-.615-1.026-1.312-2.189-2.766-2.189S3.517 6.887 2.902 7.913A6.468 6.468 0 012 9.18V4h12z"/></svg>'},Nc={name:"skip_arrow_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10.002 8.29L2 12.304v-8.01zM14 2h-2v12h2z"/></svg>'},jc={name:"spinner",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M3.967 7.143h-.762a4.885 4.885 0 013.938-3.94v.771a4.123 4.123 0 00-3.176 3.169zM8 2v1.875A4.125 4.125 0 113.875 8H2a6 6 0 106-6z"/></svg>'},qc={name:"square_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm4.788 9.2L4 8.387 5.225 7.2l1.553 1.61 4.06-4.01L12 6.013z"/></svg>'},Uc={name:"square_t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm9.033 4.199l-.016-.076a2.34 2.34 0 00-.497-1.18 2.108 2.108 0 00-1.281-.26h-.56v5.941c0 .552.11.718.176.768a1.793 1.793 0 00.88.196l.09.006V12H6.193v-.405l.09-.007c.59-.046.8-.144.87-.218.06-.06.158-.255.158-.884V4.683h-.565a2.19 2.19 0 00-1.274.262 2.015 2.015 0 00-.498 1.174l-.015.08H4.49L4.565 4h6.859l.07 2.199z"/></svg>'},Kc={name:"t_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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 00-1.477.291 2.262 2.262 0 00-.563 1.36l-.038.196h-.797L3.704 3h8.6l.092 2.925h-.784l-.021-.095a2.817 2.817 0 00-.589-1.466c-.147-.131-.523-.286-1.48-.286H8.96V11.2c0 .679.138.819.165.84a2.092 2.092 0 001.01.213l.223.018V13z"/></svg>'},Wc={name:"tablet_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.5 2h-9a.501.501 0 00-.5.5v11a.501.501 0 00.5.5h9a.501.501 0 00.5-.5v-11a.501.501 0 00-.5-.5zM8 13.25a.75.75 0 11.75-.75.752.752 0 01-.75.75zM12 11H4V3h8z"/></svg>'},Xc={name:"tag_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path class="cls-1" d="M8.044 3.588L5.23 3 3 5.229l.588 2.816L8.543 13 13 8.543zM6.5 6.499a1.082 1.082 0 11-.013-1.516A1.072 1.072 0 016.499 6.5z"/></svg>'},Yc={name:"tags_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 16"><path class="cls-1" d="M8.044 2.338L5.23 1.75 3 3.979l.588 2.816 4.955 4.955L13 7.293zM6.5 5.249a1.082 1.082 0 11-.013-1.516 1.072 1.072 0 01.013 1.516zm6.251 4.794L8.543 14.25 4.257 9.964l-.283-1.369 4.569 4.57L12.207 9.5z"/></svg>'},Gc={name:"target_crosshairs_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 6.01a2 2 0 102 2 2 2 0 00-2-2zm4.9.99A5.005 5.005 0 009 3.1V1H7v2.1A5.005 5.005 0 003.1 7H1v2h2.1A5.005 5.005 0 007 12.9V15h2v-2.1A5.005 5.005 0 0012.9 9H15V7zM8 12a4 4 0 114-4 4.005 4.005 0 01-4 4z"/></svg>'},Qc={name:"target_crosshairs_progress_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M15 7v2h-2.1A5.005 5.005 0 019 12.9V15H7v-2.108a4.99 4.99 0 01-3.898-3.985l-1.52.583 2.003-4 1.998 4L4.11 8.9A3.999 3.999 0 107 4.13V1h2v2.1A5.005 5.005 0 0112.9 7zm-5 1.01a2 2 0 11-2-2 2 2 0 012 2z"/></svg>'},Jc={name:"three_dots_line_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 6.5A1.5 1.5 0 116.5 8 1.5 1.5 0 018 6.5zM.5 8A1.5 1.5 0 102 6.5 1.5 1.5 0 00.5 8zm12 0A1.5 1.5 0 1014 6.5 1.5 1.5 0 0012.5 8z"/></svg>'},Zc={name:"three_vertical_lines_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M11 3h2v10h-2zM7 3h2v10H7zM3 3h2v10H3z"/></svg>'},th={name:"thumbtack_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 7l-.625-5H10V1H5v1h.625L5 7a2 2 0 00-2 2h4v4l.5 2 .5-2V9h4a2 2 0 00-2-2z"/></svg>'},eh={name:"tile_size_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 8h6v6H2zm0-6v5h2V4h8v8H9v2h5V2z"/></svg>'},sh={name:"times_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 9.103L5.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 12 8 9.103z"/></svg>'},ih={name:"trash_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M10 4V2H6v2H3v2h1v8h8V6h1V4zm-3 9H6V6h1zm2-9H7V3h2zm1 9H9V6h1z"/></svg>'},oh={name:"triangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2L2 14h12zm0 4.875l2.438 4.875H5.585z"/></svg>'},nh={name:"true_false_rectangle_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13.4 3.003H2.6a1.6 1.6 0 00-1.6 1.6v6.8a1.595 1.595 0 001.6 1.594h10.8a1.595 1.595 0 001.6-1.594v-6.8a1.6 1.6 0 00-1.6-1.6zM7.587 6.58H6.141v3.736H4.946V6.58H3.5v-.896h4.087zm4.913 0h-2.13v.862h1.974v.896H10.37v1.978H9.181V5.684H12.5z"/></svg>'},rh={name:"unlink_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.126 8.585c-.581.123-1.117.241-1.362.303a1.547 1.547 0 00-1.182 1.51l.01.155.021.193a1.69 1.69 0 00.216.54l.02.038.105.134.127.144.054.047a1.509 1.509 0 00.992.36h.049a1.306 1.306 0 00.224-.034l.03.015.006-.001c.463-.088.925-.186 1.387-.287l.343 1.538c-.488.11-.976.221-1.467.314a3.112 3.112 0 01-.571.053 3.148 3.148 0 01-2.99-2.258l-.011-.045a3.04 3.04 0 01-.076-.35 3.127 3.127 0 01-.03-.206l-.004-.089a3.112 3.112 0 01-.016-.336A3.164 3.164 0 014.35 7.356c.272-.068.808-.203.802-.206l.623-.137zm4.31-1.544l-.353 1.575c.737.176 1.38.334 1.413.346a1.514 1.514 0 01.789.768l.029.066.053.185.038.164.002.045a1.667 1.667 0 01-.035.58l-.064.185-.056.142a1.546 1.546 0 01-1.4.893 1.661 1.661 0 01-.313-.03 54.946 54.946 0 01-1.15-.24l-.347 1.55.406.097-.013-.017c.276.057.55.118.826.173a3.02 3.02 0 00.578.056 3.188 3.188 0 002.811-1.74 3.018 3.018 0 00.129-.311l.033-.083.061-.197a3.047 3.047 0 00.082-.351l.008-.044a3.132 3.132 0 00-2.281-3.513c-.297-.077-.777-.19-1.245-.299M7.932 2.393L6.875 6.075h.75l.3 3.032 1.2-3.782h-.75z"/></svg>'},ah={name:"unlock_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M6.062 8V5.986a2.407 2.407 0 01.566-1.516A1.834 1.834 0 018 4a1.883 1.883 0 012 2h2a3.888 3.888 0 00-4-4 3.822 3.822 0 00-2.81 1.078A4.349 4.349 0 004.062 6v2H3v6h10V8z"/></svg>'},lh={name:"upload_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M14 9v5H2V9h1v4h10V9zM7.982 2L5 7.9l2.004-1.312L7 11h2V6.613L11 7.9z"/></svg>'},ch={name:"user_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.004 2a2.18 2.18 0 012.184 2.182v1.09c.647 0 .378.932 0 1.455a4.275 4.275 0 01-.335.364 8.55 8.55 0 01-.31.742l.208 1.076h.437l2.75 1.527A2.148 2.148 0 0114 12.291V14H2v-1.673a2.163 2.163 0 011.063-1.869l2.758-1.55h.437l.21-1.068a8.52 8.52 0 01-.312-.749 4.275 4.275 0 01-.335-.364c-.378-.523-.647-1.454 0-1.454v-1.09A2.18 2.18 0 018.004 2"/></svg>'},hh={name:"watch_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.57 7.28l-.06.013a4.556 4.556 0 00-1.38-2.609V3.44a.481.481 0 00-.48-.48h-.48V2H5.85v.96h-.48a.481.481 0 00-.48.48v1.24a4.545 4.545 0 000 6.64v1.24a.481.481 0 00.48.48h.48V14h4.32v-.96h.48a.481.481 0 00.48-.48v-1.24a4.547 4.547 0 001.379-2.612l.061.012a.481.481 0 00.48-.48v-.48a.481.481 0 00-.48-.48zm-2.3 2.662a1.59 1.59 0 00-.182-.26L8.747 8.338a.785.785 0 000-.666c.132-.133.894-.899.965-1a1.216 1.216 0 00.14-.485 1.004 1.004 0 00-.515.157l-.955.957a.784.784 0 100 1.408c.163.167.956.974 1.236 1.254a1.477 1.477 0 00.36.276 3.055 3.055 0 11.291-.297z"/></svg>'},dh={name:"waveform_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M9.77 11.225c-1.582 0-2.076-1.262-2.512-2.376l-.17-.426a26.242 26.242 0 01-.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.443c.082.205.155.396.221.572.345.905.427 1.03.684 1.03.259 0 .409-.317.742-1.157.08-.201.167-.42.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.472z"/></svg>'},uh={name:"webvi_custom_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm4.089 2.526h-1.868a5.598 5.598 0 00-.854-1.712 5.363 5.363 0 012.722 1.712zm-2.722 8.66a5.599 5.599 0 00.854-1.712h1.868a5.363 5.363 0 01-2.722 1.712zm3.181-2.344h-2.146a10.644 10.644 0 00.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.018 5.018 0 00.663 1.21 5.363 5.363 0 01-2.722-1.712h.317a.955.955 0 01-.017-.17v-.462h-.76a5.33 5.33 0 01-.804-2.526h1.564v-.632H2.646a5.33 5.33 0 01.805-2.526h.759V4.69a.95.95 0 01.016-.164h-.316a5.363 5.363 0 012.722-1.712 5.017 5.017 0 00-.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.344a10.66 10.66 0 00-.208-1.186h2.146a5.33 5.33 0 01.804 2.526h-.67a.92.92 0 01-.001.632h.671a5.33 5.33 0 01-.804 2.526zM12.105 8a.326.326 0 01-.19.296l-6.598 3.3-.148.036a.327.327 0 01-.327-.328V4.69a.327.327 0 01.492-.281l6.595 3.302a.326.326 0 01.176.29z"/></svg>'},ph={name:"webvi_host_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8 2a6 6 0 106 6 6 6 0 00-6-6zm4.09 2.526H10.22a5.6 5.6 0 00-.854-1.712 5.364 5.364 0 012.722 1.712zm-2.723 8.66a5.6 5.6 0 00.854-1.712h1.868a5.363 5.363 0 01-2.722 1.712zm3.181-2.344h-2.146a10.657 10.657 0 00.208-1.187L9.923 10a9.85 9.85 0 01-.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.02 5.02 0 00.663 1.21 5.363 5.363 0 01-2.722-1.712h.317a.96.96 0 01-.017-.17v-.462h-.76a5.33 5.33 0 01-.804-2.526H4.21v-.632H2.647a5.33 5.33 0 01.805-2.526h.759V4.69a.95.95 0 01.016-.164h-.316a5.364 5.364 0 012.722-1.712 5.02 5.02 0 00-.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.344a10.646 10.646 0 00-.208-1.186h2.146a5.33 5.33 0 01.804 2.526h-.67a.92.92 0 01-.001.632h.671a5.33 5.33 0 01-.804 2.526zm-.619-3.131L5.334 4.409a.327.327 0 00-.492.281v6.613a.327.327 0 00.327.328l.148-.035 6.598-3.3a.326.326 0 00.014-.585zm-6.087 2.505V5.78L10.274 8z"/></svg>'},vh={name:"window_code_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" 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"/></svg>'},gh={name:"window_text_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M2 2v12h12V2zm11 11H3V5h10zM7 8H4V6h3zm5 2H4V9h8zm0 2H4v-1h8z"/></svg>'},mh={name:"wrench_hammer_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M12.286 11.714l-5.791-5.79a2.504 2.504 0 00.17-.755 2.149 2.149 0 00-.095-.814 2.12 2.12 0 00-.55-.904 2.328 2.328 0 00-1.76-.685h-.045a2.104 2.104 0 00-.718.155l1.102 1.104.32.32.244.245a1.864 1.864 0 01-.22.854 1.043 1.043 0 01-.114.145 1.648 1.648 0 01-1.003.335L2.61 4.704l-.449-.449a2.074 2.074 0 00-.135.545l-.015.105a2.337 2.337 0 00.384 1.518 2.51 2.51 0 00.295.36 2.205 2.205 0 001.576.65 2.453 2.453 0 00.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"/></svg>'},fh={name:"xmark_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M13 4.667L9.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"/></svg>'},bh={name:"xmark_check_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path class="cls-1" d="M8.033 14.026L4.9 10.866 6.277 9.53l1.744 1.81 4.562-4.507 1.307 1.363zm1.155-10.68l-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"/></svg>'},wh=`:${to}`,xh=ut`
|
|
1113
|
+
${Zi("inline-flex")}
|
|
1114
1114
|
|
|
1115
1115
|
:host {
|
|
1116
1116
|
height: ${Xn};
|
|
@@ -1149,7 +1149,7 @@ const Va={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewB
|
|
|
1149
1149
|
text-decoration: underline;
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
|
-
.control:any-link${
|
|
1152
|
+
.control:any-link${wh} {
|
|
1153
1153
|
border: ${Jn} solid ${qn};
|
|
1154
1154
|
outline: 2px solid ${qn};
|
|
1155
1155
|
outline-offset: 1px;
|
|
@@ -1179,7 +1179,7 @@ const Va={name:"add_16_x_16",data:'<svg xmlns="http://www.w3.org/2000/svg" viewB
|
|
|
1179
1179
|
fill: ${hr};
|
|
1180
1180
|
}
|
|
1181
1181
|
`
|
|
1182
|
-
const
|
|
1182
|
+
const yh=class extends Fe{}.compose({baseName:"breadcrumb-item",baseClass:Fe,template:(t,e)=>q`
|
|
1183
1183
|
<div role="listitem" class="listitem" part="listitem">
|
|
1184
1184
|
${gt((t=>t.href&&t.href.length>0),q`
|
|
1185
1185
|
${((t,e)=>q`
|
|
@@ -1235,10 +1235,10 @@ const mh=class extends Be{}.compose({baseName:"breadcrumb-item",baseClass:Be,tem
|
|
|
1235
1235
|
</span>
|
|
1236
1236
|
`)}
|
|
1237
1237
|
</div>
|
|
1238
|
-
`,styles:
|
|
1239
|
-
|
|
1240
|
-
class
|
|
1241
|
-
${
|
|
1238
|
+
`,styles:xh,separator:ec.data})
|
|
1239
|
+
Fs.getOrCreate().withPrefix("nimble").register(yh())
|
|
1240
|
+
class $h{constructor(t,e,s){this.propertyName=t,this.value=e,this.styles=s}bind(t){p.getNotifier(t).subscribe(this,this.propertyName),this.handleChange(t,this.propertyName)}unbind(t){p.getNotifier(t).unsubscribe(this,this.propertyName),t.$fastController.removeStyles(this.styles)}handleChange(t,e){const s=t[e];(Array.isArray(this.value)?this.value.includes(s):this.value===s)?t.$fastController.addStyles(this.styles):t.$fastController.removeStyles(this.styles)}}function Ch(t,e){return new $h("appearance",t,e)}const kh="outline",_h="ghost",zh="block",Ih=ut`
|
|
1241
|
+
${Zi("inline-flex")}
|
|
1242
1242
|
|
|
1243
1243
|
:host {
|
|
1244
1244
|
background-color: transparent;
|
|
@@ -1295,7 +1295,7 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1295
1295
|
outline: none;
|
|
1296
1296
|
}
|
|
1297
1297
|
|
|
1298
|
-
.control${
|
|
1298
|
+
.control${wh} {
|
|
1299
1299
|
box-shadow: 0px 0px 0px ${Jn} ${qn} inset;
|
|
1300
1300
|
outline: ${Jn} solid ${qn};
|
|
1301
1301
|
outline-offset: -4px;
|
|
@@ -1349,7 +1349,7 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1349
1349
|
:host([content-hidden]) [part='end'] {
|
|
1350
1350
|
display: none;
|
|
1351
1351
|
}
|
|
1352
|
-
`.withBehaviors(
|
|
1352
|
+
`.withBehaviors(Ch(kh,ut`
|
|
1353
1353
|
.control {
|
|
1354
1354
|
background-color: transparent;
|
|
1355
1355
|
border-color: rgba(${Mn}, 0.3);
|
|
@@ -1360,7 +1360,7 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1360
1360
|
border-color: ${qn};
|
|
1361
1361
|
}
|
|
1362
1362
|
|
|
1363
|
-
.control${
|
|
1363
|
+
.control${wh} {
|
|
1364
1364
|
background-color: transparent;
|
|
1365
1365
|
border-color: ${qn};
|
|
1366
1366
|
}
|
|
@@ -1374,7 +1374,7 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1374
1374
|
background-color: transparent;
|
|
1375
1375
|
border-color: rgba(${Dn}, 0.2);
|
|
1376
1376
|
}
|
|
1377
|
-
`),
|
|
1377
|
+
`),Ch(_h,ut`
|
|
1378
1378
|
.control {
|
|
1379
1379
|
background-color: transparent;
|
|
1380
1380
|
border-color: transparent;
|
|
@@ -1385,7 +1385,7 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1385
1385
|
border-color: ${qn};
|
|
1386
1386
|
}
|
|
1387
1387
|
|
|
1388
|
-
.control${
|
|
1388
|
+
.control${wh} {
|
|
1389
1389
|
background-color: transparent;
|
|
1390
1390
|
border-color: ${qn};
|
|
1391
1391
|
}
|
|
@@ -1399,7 +1399,7 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1399
1399
|
background-color: transparent;
|
|
1400
1400
|
border-color: transparent;
|
|
1401
1401
|
}
|
|
1402
|
-
`),
|
|
1402
|
+
`),Ch(zh,ut`
|
|
1403
1403
|
.control {
|
|
1404
1404
|
background-color: rgba(${Dn}, 0.1);
|
|
1405
1405
|
border-color: transparent;
|
|
@@ -1410,12 +1410,12 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1410
1410
|
border-color: ${qn};
|
|
1411
1411
|
}
|
|
1412
1412
|
|
|
1413
|
-
.control${
|
|
1413
|
+
.control${wh} {
|
|
1414
1414
|
background-color: rgba(${Dn}, 0.1);
|
|
1415
1415
|
border-color: ${qn};
|
|
1416
1416
|
}
|
|
1417
1417
|
|
|
1418
|
-
.control${
|
|
1418
|
+
.control${wh}:hover {
|
|
1419
1419
|
background-color: transparent;
|
|
1420
1420
|
}
|
|
1421
1421
|
|
|
@@ -1428,7 +1428,7 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1428
1428
|
background-color: rgba(${Dn}, 0.1);
|
|
1429
1429
|
border-color: transparent;
|
|
1430
1430
|
}
|
|
1431
|
-
`)),
|
|
1431
|
+
`)),Oh=Ih.withBehaviors(Ch(kh,ut`
|
|
1432
1432
|
:host(.primary) .control {
|
|
1433
1433
|
box-shadow: 0px 0px 0px ${Jn} rgba(${Mn}, 0.3) inset;
|
|
1434
1434
|
}
|
|
@@ -1437,7 +1437,7 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1437
1437
|
box-shadow: 0px 0px 0px ${Jn} ${qn} inset;
|
|
1438
1438
|
}
|
|
1439
1439
|
|
|
1440
|
-
:host(.primary) .control${
|
|
1440
|
+
:host(.primary) .control${wh} {
|
|
1441
1441
|
box-shadow: 0px 0px 0px ${Jn} ${qn} inset;
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
@@ -1448,7 +1448,7 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1448
1448
|
:host(.primary) .control[disabled] {
|
|
1449
1449
|
box-shadow: none;
|
|
1450
1450
|
}
|
|
1451
|
-
`),
|
|
1451
|
+
`),Ch(zh,ut`
|
|
1452
1452
|
:host(.primary) .control {
|
|
1453
1453
|
background-clip: padding-box;
|
|
1454
1454
|
border-color: rgba(${Mn}, 0.3);
|
|
@@ -1465,7 +1465,7 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1465
1465
|
box-shadow: none;
|
|
1466
1466
|
}
|
|
1467
1467
|
|
|
1468
|
-
:host(.primary) .control${
|
|
1468
|
+
:host(.primary) .control${wh} {
|
|
1469
1469
|
background-clip: border-box;
|
|
1470
1470
|
border-color: ${qn};
|
|
1471
1471
|
border-width: ${Jn};
|
|
@@ -1473,7 +1473,7 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1473
1473
|
padding: 0 ${Gn};
|
|
1474
1474
|
}
|
|
1475
1475
|
|
|
1476
|
-
:host(.primary[content-hidden]) .control${
|
|
1476
|
+
:host(.primary[content-hidden]) .control${wh} {
|
|
1477
1477
|
padding: 0px;
|
|
1478
1478
|
}
|
|
1479
1479
|
|
|
@@ -1501,11 +1501,11 @@ class fh{constructor(t,e,i){this.propertyName=t,this.value=e,this.styles=i}bind(
|
|
|
1501
1501
|
padding: 0px;
|
|
1502
1502
|
}
|
|
1503
1503
|
`))
|
|
1504
|
-
class
|
|
1505
|
-
const
|
|
1506
|
-
|
|
1507
|
-
const
|
|
1508
|
-
${
|
|
1504
|
+
class Ah extends Je{constructor(){super(...arguments),this.appearance=kh,this.contentHidden=!1}}_n([tt],Ah.prototype,"appearance",void 0),_n([tt({attribute:"content-hidden",mode:"boolean"})],Ah.prototype,"contentHidden",void 0)
|
|
1505
|
+
const Sh=Ah.compose({baseName:"button",baseClass:Je,template:je,styles:Oh,shadowOptions:{delegatesFocus:!0}})
|
|
1506
|
+
Fs.getOrCreate().withPrefix("nimble").register(Sh())
|
|
1507
|
+
const Eh=ut`
|
|
1508
|
+
${Zi("inline-flex")}
|
|
1509
1509
|
|
|
1510
1510
|
:host {
|
|
1511
1511
|
background-color: transparent;
|
|
@@ -1549,7 +1549,7 @@ const zh=ut`
|
|
|
1549
1549
|
background: var(--ni-private-card-button-background-hover-color);
|
|
1550
1550
|
}
|
|
1551
1551
|
|
|
1552
|
-
.control${
|
|
1552
|
+
.control${wh} {
|
|
1553
1553
|
box-shadow: 0px 0px 0px ${Jn} ${qn} inset;
|
|
1554
1554
|
border-color: ${qn};
|
|
1555
1555
|
outline: ${Jn} solid ${qn};
|
|
@@ -1568,7 +1568,7 @@ const zh=ut`
|
|
|
1568
1568
|
border-color: var(--ni-private-card-button-border-selected-color);
|
|
1569
1569
|
}
|
|
1570
1570
|
|
|
1571
|
-
:host([selected]) .control${
|
|
1571
|
+
:host([selected]) .control${wh} {
|
|
1572
1572
|
border-color: ${qn};
|
|
1573
1573
|
}
|
|
1574
1574
|
|
|
@@ -1576,7 +1576,7 @@ const zh=ut`
|
|
|
1576
1576
|
border-color: var(--ni-private-card-button-border-active-color);
|
|
1577
1577
|
}
|
|
1578
1578
|
|
|
1579
|
-
:host([selected]) .control${
|
|
1579
|
+
:host([selected]) .control${wh}:active {
|
|
1580
1580
|
outline: none;
|
|
1581
1581
|
box-shadow: none;
|
|
1582
1582
|
}
|
|
@@ -1633,11 +1633,11 @@ const zh=ut`
|
|
|
1633
1633
|
--ni-private-card-button-border-selected-color: ${Hn(uo,.6)};
|
|
1634
1634
|
}
|
|
1635
1635
|
`))
|
|
1636
|
-
class
|
|
1637
|
-
const
|
|
1638
|
-
|
|
1639
|
-
const
|
|
1640
|
-
${
|
|
1636
|
+
class Hh extends Je{constructor(){super(...arguments),this.selected=!1}}_n([tt({mode:"boolean"})],Hh.prototype,"selected",void 0)
|
|
1637
|
+
const Mh=Hh.compose({baseName:"card-button",template:je,styles:Eh,shadowOptions:{delegatesFocus:!0}})
|
|
1638
|
+
Fs.getOrCreate().withPrefix("nimble").register(Mh())
|
|
1639
|
+
const Vh=ut`
|
|
1640
|
+
${Zi("inline-flex")}
|
|
1641
1641
|
|
|
1642
1642
|
:host {
|
|
1643
1643
|
font: ${Yr};
|
|
@@ -1682,7 +1682,7 @@ const Ah=ut`
|
|
|
1682
1682
|
box-shadow: 0px 0px 0px ${Jn} ${qn} inset;
|
|
1683
1683
|
}
|
|
1684
1684
|
|
|
1685
|
-
:host(${
|
|
1685
|
+
:host(${wh}) .control {
|
|
1686
1686
|
border-color: ${qn};
|
|
1687
1687
|
outline: 2px solid ${qn};
|
|
1688
1688
|
outline-offset: 2px;
|
|
@@ -1740,7 +1740,7 @@ const Ah=ut`
|
|
|
1740
1740
|
fill: rgba(${Dn}, 0.3);
|
|
1741
1741
|
}
|
|
1742
1742
|
`
|
|
1743
|
-
const
|
|
1743
|
+
const Lh=class extends ss{}.compose({baseName:"checkbox",baseClass:ss,template:(t,e)=>q`
|
|
1744
1744
|
<template
|
|
1745
1745
|
role="checkbox"
|
|
1746
1746
|
aria-checked="${t=>t.checked}"
|
|
@@ -1767,18 +1767,18 @@ const Sh=class extends ii{}.compose({baseName:"checkbox",baseClass:ii,template:(
|
|
|
1767
1767
|
<slot ${wt("defaultSlottedNodes")}></slot>
|
|
1768
1768
|
</label>
|
|
1769
1769
|
</template>
|
|
1770
|
-
`,styles:
|
|
1771
|
-
|
|
1772
|
-
const
|
|
1770
|
+
`,styles:Vh,checkedIndicator:rl.data,indeterminateIndicator:zc.data})
|
|
1771
|
+
Fs.getOrCreate().withPrefix("nimble").register(Lh())
|
|
1772
|
+
const Th=q`
|
|
1773
1773
|
<div class="error-text" title="${t=>t.errorText}" aria-live="polite">
|
|
1774
1774
|
${t=>t.errorText}
|
|
1775
1775
|
</div>
|
|
1776
|
-
`,
|
|
1776
|
+
`,Ph=q`
|
|
1777
1777
|
<template>
|
|
1778
1778
|
<div class="icon" :innerHTML=${t=>t.icon.data}></div>
|
|
1779
1779
|
</template
|
|
1780
|
-
`,
|
|
1781
|
-
${
|
|
1780
|
+
`,Rh=ut`
|
|
1781
|
+
${Zi("inline-flex")}
|
|
1782
1782
|
|
|
1783
1783
|
:host {
|
|
1784
1784
|
align-items: center;
|
|
@@ -1793,11 +1793,11 @@ const Eh=q`
|
|
|
1793
1793
|
}
|
|
1794
1794
|
|
|
1795
1795
|
:host(.fail) {
|
|
1796
|
-
${Un.cssCustomProperty}: ${
|
|
1796
|
+
${Un.cssCustomProperty}: ${Bn};
|
|
1797
1797
|
}
|
|
1798
1798
|
|
|
1799
1799
|
:host(.warning) {
|
|
1800
|
-
${Un.cssCustomProperty}: ${
|
|
1800
|
+
${Un.cssCustomProperty}: ${Fn};
|
|
1801
1801
|
}
|
|
1802
1802
|
|
|
1803
1803
|
:host(.pass) {
|
|
@@ -1814,12 +1814,12 @@ const Eh=q`
|
|
|
1814
1814
|
height: 100%;
|
|
1815
1815
|
}
|
|
1816
1816
|
`
|
|
1817
|
-
class
|
|
1818
|
-
|
|
1819
|
-
class
|
|
1820
|
-
|
|
1821
|
-
const
|
|
1822
|
-
${
|
|
1817
|
+
class Dh extends le{constructor(t){super(),this.icon=t}}const Bh=(t,e)=>{const s=e.compose({baseName:t,template:Ph,styles:Rh,baseClass:e})
|
|
1818
|
+
Fs.getOrCreate().withPrefix("nimble").register(s())}
|
|
1819
|
+
class Fh extends Dh{constructor(){super(jl)}}Bh("icon-exclamation-mark",Fh)
|
|
1820
|
+
Bh("icon-arrow-expander-down",class extends Dh{constructor(){super(Ta)}})
|
|
1821
|
+
const Nh="underline",jh="outline",qh="block",Uh=ut`
|
|
1822
|
+
${Zi("inline-flex")}
|
|
1823
1823
|
|
|
1824
1824
|
:host {
|
|
1825
1825
|
box-sizing: border-box;
|
|
@@ -1855,7 +1855,7 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
1855
1855
|
}
|
|
1856
1856
|
}
|
|
1857
1857
|
|
|
1858
|
-
:host(${
|
|
1858
|
+
:host(${wh})::before {
|
|
1859
1859
|
width: calc(100% - 8px);
|
|
1860
1860
|
}
|
|
1861
1861
|
|
|
@@ -1878,7 +1878,7 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
1878
1878
|
}
|
|
1879
1879
|
|
|
1880
1880
|
:host(:hover)::after,
|
|
1881
|
-
:host(${
|
|
1881
|
+
:host(${wh})::after {
|
|
1882
1882
|
width: 100%;
|
|
1883
1883
|
}
|
|
1884
1884
|
|
|
@@ -2003,7 +2003,7 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
2003
2003
|
::slotted(option) {
|
|
2004
2004
|
flex: none;
|
|
2005
2005
|
}
|
|
2006
|
-
`.withBehaviors(
|
|
2006
|
+
`.withBehaviors(Ch(Nh,ut`
|
|
2007
2007
|
.control {
|
|
2008
2008
|
border-bottom-width: ${Jn};
|
|
2009
2009
|
padding-bottom: 0;
|
|
@@ -2012,12 +2012,12 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
2012
2012
|
:host([disabled]) .control {
|
|
2013
2013
|
border-color: rgba(${Dn}, 0.1);
|
|
2014
2014
|
}
|
|
2015
|
-
`),
|
|
2015
|
+
`),Ch(jh,ut`
|
|
2016
2016
|
.control {
|
|
2017
2017
|
border-width: ${Jn};
|
|
2018
2018
|
padding: 0;
|
|
2019
2019
|
}
|
|
2020
|
-
`),
|
|
2020
|
+
`),Ch(qh,ut`
|
|
2021
2021
|
.control {
|
|
2022
2022
|
background-color: rgba(${Dn}, 0.1);
|
|
2023
2023
|
}
|
|
@@ -2030,7 +2030,7 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
2030
2030
|
:host([disabled]) .control {
|
|
2031
2031
|
background-color: rgba(${Dn}, 0.07);
|
|
2032
2032
|
}
|
|
2033
|
-
`)),
|
|
2033
|
+
`)),Kh=ut`
|
|
2034
2034
|
.error-icon {
|
|
2035
2035
|
display: none;
|
|
2036
2036
|
}
|
|
@@ -2049,7 +2049,7 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
2049
2049
|
:host(.invalid) .error-text {
|
|
2050
2050
|
display: block;
|
|
2051
2051
|
font: ${da};
|
|
2052
|
-
color: ${
|
|
2052
|
+
color: ${Bn};
|
|
2053
2053
|
width: 100%;
|
|
2054
2054
|
position: absolute;
|
|
2055
2055
|
top: ${Xn};
|
|
@@ -2066,9 +2066,9 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
2066
2066
|
:host(.invalid) .error-text:empty {
|
|
2067
2067
|
display: none;
|
|
2068
2068
|
}
|
|
2069
|
-
`,
|
|
2070
|
-
${
|
|
2071
|
-
${
|
|
2069
|
+
`,Wh=ut`
|
|
2070
|
+
${Uh}
|
|
2071
|
+
${Kh}
|
|
2072
2072
|
|
|
2073
2073
|
:host {
|
|
2074
2074
|
--ni-private-hover-bottom-border-width: 2px;
|
|
@@ -2085,7 +2085,7 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
2085
2085
|
}
|
|
2086
2086
|
|
|
2087
2087
|
:host(.invalid)::after {
|
|
2088
|
-
border-bottom-color: ${
|
|
2088
|
+
border-bottom-color: ${Bn};
|
|
2089
2089
|
}
|
|
2090
2090
|
|
|
2091
2091
|
.control {
|
|
@@ -2097,7 +2097,7 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
2097
2097
|
}
|
|
2098
2098
|
|
|
2099
2099
|
:host(.invalid) .control {
|
|
2100
|
-
border-bottom: var(--ni-private-bottom-border-width) solid ${
|
|
2100
|
+
border-bottom: var(--ni-private-bottom-border-width) solid ${Bn};
|
|
2101
2101
|
}
|
|
2102
2102
|
|
|
2103
2103
|
:host([disabled]) .control {
|
|
@@ -2106,7 +2106,7 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
2106
2106
|
|
|
2107
2107
|
:host(.invalid[disabled]) .control,
|
|
2108
2108
|
:host(.open.invalid) .control {
|
|
2109
|
-
border-bottom-color: ${
|
|
2109
|
+
border-bottom-color: ${Bn};
|
|
2110
2110
|
}
|
|
2111
2111
|
|
|
2112
2112
|
.selected-value {
|
|
@@ -2123,7 +2123,7 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
2123
2123
|
.selected-value:hover,
|
|
2124
2124
|
.selected-value:disabled,
|
|
2125
2125
|
.selected-value:active,
|
|
2126
|
-
.selected-value${
|
|
2126
|
+
.selected-value${wh} {
|
|
2127
2127
|
outline: none;
|
|
2128
2128
|
}
|
|
2129
2129
|
|
|
@@ -2158,14 +2158,14 @@ const Ph="underline",Rh="outline",Dh="block",Fh=ut`
|
|
|
2158
2158
|
:host(:empty) .listbox {
|
|
2159
2159
|
display: none;
|
|
2160
2160
|
}
|
|
2161
|
-
`.withBehaviors(
|
|
2161
|
+
`.withBehaviors(Ch(qh,ut`
|
|
2162
2162
|
:host(.invalid) .control {
|
|
2163
2163
|
border-bottom-width: ${Jn};
|
|
2164
2164
|
padding-bottom: 0;
|
|
2165
2165
|
}
|
|
2166
2166
|
`))
|
|
2167
|
-
class
|
|
2168
|
-
super.slottedOptionsChanged(t,e),
|
|
2167
|
+
class Xh extends ms{constructor(){super(...arguments),this.appearance=Nh,this.valueUpdatedByInput=!1}setPositioning(){this.$fastController.isConnected&&super.setPositioning()}slottedOptionsChanged(t,e){const s=this.value
|
|
2168
|
+
super.slottedOptionsChanged(t,e),s&&(this.value=s)}connectedCallback(){super.connectedCallback(),this.setPositioning(),this.updateInputAriaLabel()}toggleButtonClickHandler(t){t.stopImmediatePropagation()}toggleButtonChangeHandler(t){this.open=this.dropdownButton.checked,t.stopImmediatePropagation()}toggleButtonKeyDownHandler(t){switch(t.key){case Ce:case xe:case Oe:case ke:return this.open=!0,this.stopPropagation(t),!1
|
|
2169
2169
|
default:return!0}}filterOptions(){super.filterOptions()
|
|
2170
2170
|
const t=this.filteredOptions.filter((t=>!t.disabled))
|
|
2171
2171
|
this.filteredOptions=t}inputHandler(t){const e=super.inputHandler(t)
|
|
@@ -2177,8 +2177,8 @@ case xe:case Ce:this.open&&this.valueUpdatedByInput&&(this.valueUpdatedByInput=!
|
|
|
2177
2177
|
break
|
|
2178
2178
|
default:return e}return e}focusoutHandler(t){const e=super.focusoutHandler(t)
|
|
2179
2179
|
return this.open=!1,this.emitChangeIfValueUpdated(),e}openChanged(){super.openChanged(),this.dropdownButton&&(this.dropdownButton.checked=this.open)}ariaLabelChanged(t,e){this.updateInputAriaLabel()}updateInputAriaLabel(){const t=this.shadowRoot?.querySelector(".selected-value")
|
|
2180
|
-
this.ariaLabel?t?.setAttribute("aria-label",this.ariaLabel):t?.removeAttribute("aria-label")}emitChangeIfValueUpdated(){this.valueUpdatedByInput&&(this.value!==this.valueBeforeTextUpdate&&this.$emit("change"),this.valueUpdatedByInput=!1)}}_n([tt],
|
|
2181
|
-
const
|
|
2180
|
+
this.ariaLabel?t?.setAttribute("aria-label",this.ariaLabel):t?.removeAttribute("aria-label")}emitChangeIfValueUpdated(){this.valueUpdatedByInput&&(this.value!==this.valueBeforeTextUpdate&&this.$emit("change"),this.valueUpdatedByInput=!1)}}_n([tt],Xh.prototype,"appearance",void 0),_n([v],Xh.prototype,"dropdownButton",void 0),_n([tt({attribute:"error-text"})],Xh.prototype,"errorText",void 0)
|
|
2181
|
+
const Yh=Xh.compose({baseName:"combobox",baseClass:ms,template:(t,e)=>q`
|
|
2182
2182
|
<template
|
|
2183
2183
|
aria-disabled="${t=>t.ariaDisabled}"
|
|
2184
2184
|
autocomplete="${t=>t.autocomplete}"
|
|
@@ -2228,11 +2228,11 @@ const qh=jh.compose({baseName:"combobox",baseClass:mi,template:(t,e)=>q`
|
|
|
2228
2228
|
${vt("listbox")}
|
|
2229
2229
|
>
|
|
2230
2230
|
<slot
|
|
2231
|
-
${wt({filter:
|
|
2231
|
+
${wt({filter:rs.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}
|
|
2232
2232
|
></slot>
|
|
2233
2233
|
</div>
|
|
2234
2234
|
</template>
|
|
2235
|
-
`,styles:
|
|
2235
|
+
`,styles:Wh,shadowOptions:{delegatesFocus:!0},end:q`
|
|
2236
2236
|
<div class="end-slot-container">
|
|
2237
2237
|
<nimble-icon-exclamation-mark
|
|
2238
2238
|
class="error-icon fail"
|
|
@@ -2260,11 +2260,11 @@ const qh=jh.compose({baseName:"combobox",baseClass:mi,template:(t,e)=>q`
|
|
|
2260
2260
|
</nimble-icon-arrow-expander-down>
|
|
2261
2261
|
</nimble-toggle-button>
|
|
2262
2262
|
</div>
|
|
2263
|
-
${
|
|
2263
|
+
${Th}
|
|
2264
2264
|
`})
|
|
2265
|
-
|
|
2266
|
-
const
|
|
2267
|
-
${
|
|
2265
|
+
Fs.getOrCreate().withPrefix("nimble").register(Yh())
|
|
2266
|
+
const Gh=ut`
|
|
2267
|
+
${Zi("grid")}
|
|
2268
2268
|
|
|
2269
2269
|
dialog {
|
|
2270
2270
|
background-color: ${Vn};
|
|
@@ -2272,7 +2272,7 @@ const Uh=ut`
|
|
|
2272
2272
|
box-shadow: 0px 2px 3px ${Kn};
|
|
2273
2273
|
max-width: 50%;
|
|
2274
2274
|
}
|
|
2275
|
-
`,
|
|
2275
|
+
`,Qh=q`
|
|
2276
2276
|
<template>
|
|
2277
2277
|
<dialog
|
|
2278
2278
|
${vt("dialogElement")}
|
|
@@ -2284,140 +2284,140 @@ const Uh=ut`
|
|
|
2284
2284
|
<slot></slot>
|
|
2285
2285
|
</dialog>
|
|
2286
2286
|
</template>
|
|
2287
|
-
`,
|
|
2288
|
-
class
|
|
2287
|
+
`,Jh=Symbol("user dismissed")
|
|
2288
|
+
class Zh extends le{constructor(){super(...arguments),this.preventDismiss=!1}get open(){return void 0!==this.resolveShow}async show(){if(this.open)throw new Error("Dialog is already open")
|
|
2289
2289
|
return this.dialogElement.showModal(),new Promise(((t,e)=>{this.resolveShow=t}))}close(t){if(!this.open)throw new Error("Dialog is not open")
|
|
2290
|
-
this.closeReason=t,this.dialogElement.close()}closeHandler(){return this.resolveShow(this.closeReason),this.resolveShow=void 0,!0}cancelHandler(t){return this.preventDismiss?t.preventDefault():this.closeReason=
|
|
2291
|
-
const
|
|
2292
|
-
|
|
2293
|
-
var
|
|
2290
|
+
this.closeReason=t,this.dialogElement.close()}closeHandler(){return this.resolveShow(this.closeReason),this.resolveShow=void 0,!0}cancelHandler(t){return this.preventDismiss?t.preventDefault():this.closeReason=Jh,!0}}_n([tt({attribute:"prevent-dismiss",mode:"boolean"})],Zh.prototype,"preventDismiss",void 0),de(Zh,Te)
|
|
2291
|
+
const td=Zh.compose({baseName:"dialog",template:Qh,styles:Gh,baseClass:Zh})
|
|
2292
|
+
Fs.getOrCreate().withPrefix("nimble").register(td())
|
|
2293
|
+
var ed="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},sd={},id={},od={}
|
|
2294
2294
|
!function(t){var e
|
|
2295
2295
|
Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationMode=void 0,function(t){t[t.animateTo=0]="animateTo",t[t.animateFrom=1]="animateFrom"}(e=t.AnimationMode||(t.AnimationMode={}))
|
|
2296
|
-
var
|
|
2297
|
-
this.effectTiming={fill:"forwards",iterations:1,duration:500},this._keyframes=[],this.play=function(){
|
|
2298
|
-
return Object.keys(t.propertyMap).filter((function(
|
|
2299
|
-
switch(t){case"transform":var
|
|
2300
|
-
if(Array.isArray(
|
|
2296
|
+
var s=function(){function t(t,e,s){var i=this
|
|
2297
|
+
this.effectTiming={fill:"forwards",iterations:1,duration:500},this._keyframes=[],this.play=function(){i.ensureAnimationObjectExists(),i.animation.play()},this.pause=function(){i.ensureAnimationObjectExists(),i.animation.pause()},this.finish=function(){i.ensureAnimationObjectExists(),i.animation.finish()},this.cancel=function(){i.ensureAnimationObjectExists(),i.animation.cancel()},this.reverse=function(){i.ensureAnimationObjectExists(),i.animation.reverse()},this.addKeyframes=function(t){i._keyframes.push(t)},this.animationTarget=t,s&&(this.effectTiming=Object.assign({},this.effectTiming,s)),e&&(e.transformOrigin&&(t.style.transformOrigin=e.transformOrigin),e.transformStyle&&(t.style.transformStyle=e.transformStyle)),this.options=e||{}}return Object.defineProperty(t.prototype,"onFinish",{get:function(){return this._onFinish},set:function(t){this._onFinish=t,this.animation&&(this.animation.onfinish=t)},enumerable:!1,configurable:!0}),t.prototype.ensureAnimationObjectExists=function(){void 0===this.animation&&this.createAnimationObject()},t.prototype.createAnimationObject=function(){this.animation=new Animation(this.keyframeEffect,document.timeline),void 0!==this.onFinish&&(this.animation.onfinish=this.onFinish),void 0!==this.onCancel&&(this.animation.oncancel=this.onCancel)},t.prototype.getPropertiesToAnimate=function(){var e=this
|
|
2298
|
+
return Object.keys(t.propertyMap).filter((function(s){return t.propertyMap[s].reduce((function(t,s){return void 0!==e.options[s]||t}),!1)}))},t.prototype.normalizeInitialValue=function(t,e){if(void 0!==e){var s="0.01"
|
|
2299
|
+
switch(t){case"transform":var i=e.match(/matrix\((.+)\)/)
|
|
2300
|
+
if(Array.isArray(i)){var o=i[1].split(",").map((function(t,i){return 0===parseFloat(e)&&(0===i||3===i)?s:t}))
|
|
2301
2301
|
return"matrix(".concat(o.join(","),")")}break
|
|
2302
|
-
case"opacity":return 0===parseFloat(e)?
|
|
2302
|
+
case"opacity":return 0===parseFloat(e)?s:e}return e}},t.prototype.getInitialKeyframeValues=function(){var t=this
|
|
2303
2303
|
if(!(this.animationTarget instanceof HTMLElement)||"undefined"==typeof window)return{}
|
|
2304
|
-
var e=this.getPropertiesToAnimate(),
|
|
2305
|
-
return e.forEach((function(e){
|
|
2306
|
-
switch(e){case"x":case"y":e="translate".concat(e.toUpperCase()),
|
|
2304
|
+
var e=this.getPropertiesToAnimate(),s=window.getComputedStyle(this.animationTarget),i={}
|
|
2305
|
+
return e.forEach((function(e){i[e]=t.normalizeInitialValue(e,s[e])})),i},t.prototype.formatTransformFunction=function(e,s){if(-1===t.propertyMap.transform.indexOf(e))return""
|
|
2306
|
+
switch(e){case"x":case"y":e="translate".concat(e.toUpperCase()),s="number"==typeof s?s=this.pixelify(s):s
|
|
2307
2307
|
break
|
|
2308
|
-
case"rotate":
|
|
2308
|
+
case"rotate":s="".concat(s.toString(),"deg")
|
|
2309
2309
|
break
|
|
2310
|
-
case"scale":0===
|
|
2311
|
-
return
|
|
2312
|
-
if(void 0===
|
|
2313
|
-
switch(t){case"opacity":return
|
|
2314
|
-
case"top":case"right":case"bottom":case"left":return"number"==typeof
|
|
2315
|
-
default:return e.formatTransformFunction(t,
|
|
2316
|
-
return this.mode===e.animateFrom?t.reverse():t},t.prototype.sortOffsets=function(t){return t.sort((function(t,e){var
|
|
2317
|
-
return i
|
|
2318
|
-
return t.forEach((function(t){t.forEach((function(t,
|
|
2319
|
-
void 0===
|
|
2320
|
-
var o=
|
|
2310
|
+
case"scale":0===s&&(s=.01)}return"string"!=typeof s&&(s=s.toString()),"".concat(e,"(").concat(s,")")},t.prototype.pixelify=function(t){return"".concat(t,"px")},t.prototype.getOptionKeyframeValues=function(){var e=this,s=this.getPropertiesToAnimate(),i={}
|
|
2311
|
+
return s.forEach((function(s){i[s]=t.propertyMap[s].map((function(t){var s=e.options[t]
|
|
2312
|
+
if(void 0===s)return null
|
|
2313
|
+
switch(t){case"opacity":return s.toString()
|
|
2314
|
+
case"top":case"right":case"bottom":case"left":return"number"==typeof s?e.pixelify(s):s
|
|
2315
|
+
default:return e.formatTransformFunction(t,s)}})).filter((function(t){return Boolean(t)})).join(" ")})),i},t.prototype.getOptionKeyframes=function(){var t=[this.getInitialKeyframeValues(),this.getOptionKeyframeValues()]
|
|
2316
|
+
return this.mode===e.animateFrom?t.reverse():t},t.prototype.sortOffsets=function(t){return t.sort((function(t,e){var s=parseFloat(t),i=parseFloat(e)
|
|
2317
|
+
return s<i?-1:s>i?1:0}))},t.prototype.consolidateKeyframes=function(t){var e=[]
|
|
2318
|
+
return t.forEach((function(t){t.forEach((function(t,s){var i=t.offset
|
|
2319
|
+
void 0===i&&(i=0===s?0:1,t.offset=i)
|
|
2320
|
+
var o=i.toString()
|
|
2321
2321
|
e[o]=void 0===e[o]?t:Object.assign(e[o],t)}))})),this.sortOffsets(Object.keys(e)).map((function(t){return e[t]}))},Object.defineProperty(t.prototype,"keyframes",{get:function(){return this.consolidateKeyframes(this._keyframes.concat([this.getOptionKeyframes()]))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"keyframeEffect",{get:function(){return new KeyframeEffect(this.animationTarget,this.keyframes,this.effectTiming)},enumerable:!1,configurable:!0}),t.propertyMap={opacity:["opacity"],transform:["x","y","rotate","scale"],top:["top"],left:["left"],bottom:["bottom"],right:["right"]},t}()
|
|
2322
|
-
t.default=
|
|
2323
|
-
var
|
|
2324
|
-
function
|
|
2325
|
-
Object.defineProperty(
|
|
2326
|
-
var
|
|
2327
|
-
return e.mode=
|
|
2328
|
-
|
|
2329
|
-
var
|
|
2330
|
-
return function(e,
|
|
2331
|
-
function
|
|
2332
|
-
Object.defineProperty(
|
|
2333
|
-
var
|
|
2334
|
-
return e.mode=
|
|
2335
|
-
|
|
2336
|
-
var
|
|
2337
|
-
Object.defineProperty(
|
|
2338
|
-
var
|
|
2339
|
-
this.pause=function(){(0,
|
|
2322
|
+
t.default=s}(od)
|
|
2323
|
+
var nd,rd=ed&&ed.__extends||(nd=function(t,e){return(nd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null")
|
|
2324
|
+
function s(){this.constructor=t}nd(t,e),t.prototype=null===e?Object.create(e):(s.prototype=e.prototype,new s)})
|
|
2325
|
+
Object.defineProperty(id,"__esModule",{value:!0})
|
|
2326
|
+
var ad=od,ld=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this
|
|
2327
|
+
return e.mode=ad.AnimationMode.animateTo,e}return rd(e,t),e}(ad.default)
|
|
2328
|
+
id.default=ld
|
|
2329
|
+
var cd={},hd=ed&&ed.__extends||function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])})(e,s)}
|
|
2330
|
+
return function(e,s){if("function"!=typeof s&&null!==s)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null")
|
|
2331
|
+
function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}()
|
|
2332
|
+
Object.defineProperty(cd,"__esModule",{value:!0})
|
|
2333
|
+
var dd=od,ud=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this
|
|
2334
|
+
return e.mode=dd.AnimationMode.animateFrom,e}return hd(e,t),e}(dd.default)
|
|
2335
|
+
cd.default=ud
|
|
2336
|
+
var pd={},vd={}
|
|
2337
|
+
Object.defineProperty(vd,"__esModule",{value:!0}),vd.invokeFunctionForEach=void 0,vd.invokeFunctionForEach=function(t,e){t.forEach((function(t){return t[e]()}))},Object.defineProperty(pd,"__esModule",{value:!0})
|
|
2338
|
+
var gd=vd,md=function(){function t(t){var e=this
|
|
2339
|
+
this.pause=function(){(0,gd.invokeFunctionForEach)(e.animations,"pause")},this.finish=function(){(0,gd.invokeFunctionForEach)(e.animations,"finish")},this.cancel=function(){(0,gd.invokeFunctionForEach)(e.animations,"cancel")},this.animations=t}return Object.defineProperty(t.prototype,"onFinish",{get:function(){return this._onFinish},set:function(t){var e=this
|
|
2340
2340
|
this._onFinish=t
|
|
2341
|
-
var
|
|
2342
|
-
if("function"==typeof
|
|
2343
|
-
|
|
2344
|
-
return this.animations.reduce((function(e,
|
|
2345
|
-
return t.getAnimationDuration(
|
|
2346
|
-
return(t.delay||0)+(
|
|
2347
|
-
|
|
2348
|
-
var
|
|
2349
|
-
Object.defineProperty(
|
|
2350
|
-
var
|
|
2351
|
-
this.play=function(){e.applySequencedCallback(e.animations,"play")},this.reverse=function(){e.applySequencedCallback(e.animations.reverse(),"reverse")},this.pause=function(){(0,
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
var
|
|
2341
|
+
var s=this.getLongestAnimation()
|
|
2342
|
+
if("function"==typeof s.onFinish){var i=s.onFinish
|
|
2343
|
+
s.onFinish=function(){i(),e._onFinish()}}else s.onFinish=this._onFinish},enumerable:!1,configurable:!0}),t.prototype.play=function(){(0,gd.invokeFunctionForEach)(this.animations,"play")},t.prototype.reverse=function(){(0,gd.invokeFunctionForEach)(this.animations,"reverse")},t.prototype.getLongestAnimation=function(){var t=this
|
|
2344
|
+
return this.animations.reduce((function(e,s){var i=t.getAnimationDuration(e.effectTiming)
|
|
2345
|
+
return t.getAnimationDuration(s.effectTiming)>=i?s:e}))},t.prototype.getAnimationDuration=function(t){var e=t.duration,s="string"==typeof e?parseFloat(e):e
|
|
2346
|
+
return(t.delay||0)+(s||0)},t}()
|
|
2347
|
+
pd.default=md
|
|
2348
|
+
var fd={}
|
|
2349
|
+
Object.defineProperty(fd,"__esModule",{value:!0})
|
|
2350
|
+
var bd=vd,wd=function(){function t(t){var e=this
|
|
2351
|
+
this.play=function(){e.applySequencedCallback(e.animations,"play")},this.reverse=function(){e.applySequencedCallback(e.animations.reverse(),"reverse")},this.pause=function(){(0,bd.invokeFunctionForEach)(e.animations,"pause")},this.finish=function(){(0,bd.invokeFunctionForEach)(e.animations,"finish")},this.cancel=function(){(0,bd.invokeFunctionForEach)(e.animations,"cancel")},this.animations=t}return t.prototype.applySequencedCallback=function(t,e){var s=this,i=t.length
|
|
2352
|
+
i<=0||(t.forEach((function(t,o){t.onFinish=o<i-1?s.animations[o+1][e]:s.onFinish||void 0})),t[0][e]())},t}()
|
|
2353
|
+
fd.default=wd
|
|
2354
|
+
var xd={}
|
|
2355
2355
|
!function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.fadeOut=t.fadeIn=t.applyFade=t.fadeEffectTiming=t.fadeOutKeyframes=t.fadeInKeyframes=void 0
|
|
2356
|
-
var e=
|
|
2357
|
-
function
|
|
2358
|
-
var n=Object.assign({},t.fadeEffectTiming,o),r=new e.default(
|
|
2359
|
-
return r.addKeyframes(
|
|
2360
|
-
var
|
|
2361
|
-
Object.defineProperty(
|
|
2362
|
-
var
|
|
2363
|
-
function
|
|
2364
|
-
var e=t[0],
|
|
2365
|
-
return"cubic-bezier(".concat(e[0],", ").concat(e[1],", ").concat(
|
|
2366
|
-
var
|
|
2367
|
-
Object.defineProperty(
|
|
2356
|
+
var e=id
|
|
2357
|
+
function s(s,i,o){void 0===o&&(o={})
|
|
2358
|
+
var n=Object.assign({},t.fadeEffectTiming,o),r=new e.default(s,null,n)
|
|
2359
|
+
return r.addKeyframes(i),r}t.fadeInKeyframes=[{opacity:"0.01"},{opacity:"1"}],t.fadeOutKeyframes=[{opacity:"1"},{opacity:"0"}],t.fadeEffectTiming={easing:"linear",duration:500},t.applyFade=s,t.fadeIn=function(e,i){return void 0===i&&(i={}),s(e,t.fadeInKeyframes,i)},t.fadeOut=function(e,i){return void 0===i&&(i={}),s(e,t.fadeOutKeyframes,i)}}(xd)
|
|
2360
|
+
var yd={},$d={}
|
|
2361
|
+
Object.defineProperty($d,"__esModule",{value:!0}),$d.navPane=$d.exponentialReversed=$d.fastInFortySevenPercent=$d.exponential=$d.fastInOut=$d.fastOut=$d.fastIn=$d.appToApp=$d.backToApp=$d.drillIn=$d.easeIn=$d.easeOutSmooth=$d.easeOut=$d.linear=void 0,$d.linear=[[0,0],[1,1]],$d.easeOut=[[0,0],[.58,1]],$d.easeOutSmooth=[[0,.35],[.15,1]],$d.easeIn=[[.25,.1],[.25,1]],$d.drillIn=[[.17,.17],[0,1]],$d.backToApp=[[.5,0],[.6,1]],$d.appToApp=[[.5,0],[1,.9]],$d.fastIn=[[.1,.9],[.2,1]],$d.fastOut=[[.9,.1],[1,.2]],$d.fastInOut=[[.8,0],[.2,1]],$d.exponential=[[.1,.25],[.75,.9]],$d.fastInFortySevenPercent=[[.11,.5],[.24,.96]],$d.exponentialReversed=[[.25,.1],[.9,.75]],$d.navPane=[[.1,.7],[.1,1]],Object.defineProperty(yd,"__esModule",{value:!0}),yd.cubicBezier=yd.formatCubicBezier=void 0
|
|
2362
|
+
var Cd=$d
|
|
2363
|
+
function kd(t){if(!Array.isArray(t)||!Array.isArray(t[0])||!Array.isArray(t[1]))return""
|
|
2364
|
+
var e=t[0],s=t[1]
|
|
2365
|
+
return"cubic-bezier(".concat(e[0],", ").concat(e[1],", ").concat(s[0],", ").concat(s[1],")")}yd.formatCubicBezier=kd,yd.cubicBezier=function(t){return t in Cd?kd(Cd[t]):""}
|
|
2366
|
+
var _d={},zd={}
|
|
2367
|
+
Object.defineProperty(zd,"__esModule",{value:!0}),zd.default=function(t){var e=t.getBoundingClientRect()
|
|
2368
2368
|
return e.bottom>=0&&e.right>=0&&e.top<=window.innerHeight&&e.left<=window.innerWidth}
|
|
2369
|
-
var
|
|
2370
|
-
Object.defineProperty(
|
|
2371
|
-
var
|
|
2372
|
-
this.subscriptions=[],this.scrollDistance=0,this.requestFrame=function(){t.requestedFrame&&cancelAnimationFrame(t.requestedFrame),t.requestedFrame=requestAnimationFrame(t.update)},this.lastScrollY=(0,
|
|
2373
|
-
this.scrollDistance=t-this.lastScrollY,this.lastScrollY=t},t.prototype.isSubscribed=function(t,e){return!!this.subscriptions.filter((function(
|
|
2374
|
-
|
|
2375
|
-
var
|
|
2376
|
-
return function(e,
|
|
2377
|
-
function
|
|
2378
|
-
Object.defineProperty(
|
|
2379
|
-
var
|
|
2380
|
-
t.prototype.update.call(this),this.subscriptions.forEach((function(t){var
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
var
|
|
2384
|
-
return function(e,
|
|
2385
|
-
function
|
|
2386
|
-
Object.defineProperty(
|
|
2387
|
-
var
|
|
2388
|
-
t.prototype.update.call(this),this.subscriptions.forEach((function(t,
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
var
|
|
2392
|
-
return function(e,
|
|
2393
|
-
function
|
|
2394
|
-
Object.defineProperty(
|
|
2395
|
-
var
|
|
2396
|
-
t.prototype.update.call(this),this.subscriptions.forEach((function(t,
|
|
2397
|
-
!
|
|
2398
|
-
|
|
2399
|
-
var e=
|
|
2369
|
+
var Id={},Od={}
|
|
2370
|
+
Object.defineProperty(Od,"__esModule",{value:!0}),Od.default=function(){return"undefined"==typeof window?NaN:void 0!==window.scrollY?window.scrollY:window.pageYOffset},Object.defineProperty(Id,"__esModule",{value:!0})
|
|
2371
|
+
var Ad=zd,Sd=Od,Ed=function(){function t(){var t=this
|
|
2372
|
+
this.subscriptions=[],this.scrollDistance=0,this.requestFrame=function(){t.requestedFrame&&cancelAnimationFrame(t.requestedFrame),t.requestedFrame=requestAnimationFrame(t.update)},this.lastScrollY=(0,Sd.default)(),this.update=this.update.bind(this)}return t.prototype.subscribe=function(t,e){t instanceof HTMLElement&&"function"==typeof e&&!this.isSubscribed(t,e)&&(0===this.subscriptions.length&&window.addEventListener("scroll",this.requestFrame),this.subscriptions.push({element:t,callback:e,inView:(0,Ad.default)(t)}))},t.prototype.unsubscribe=function(t,e){this.subscriptions=this.subscriptions.filter((function(s){return!(t===s.element&&e===s.callback)})),0===this.subscriptions.length&&window.removeEventListener("scroll",this.requestFrame)},t.prototype.update=function(){var t=(0,Sd.default)()
|
|
2373
|
+
this.scrollDistance=t-this.lastScrollY,this.lastScrollY=t},t.prototype.isSubscribed=function(t,e){return!!this.subscriptions.filter((function(s){return t===s.element&&e===s.callback})).length},t}()
|
|
2374
|
+
Id.default=Ed
|
|
2375
|
+
var Hd=ed&&ed.__extends||function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])})(e,s)}
|
|
2376
|
+
return function(e,s){if("function"!=typeof s&&null!==s)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null")
|
|
2377
|
+
function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}()
|
|
2378
|
+
Object.defineProperty(_d,"__esModule",{value:!0})
|
|
2379
|
+
var Md=zd,Vd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Hd(e,t),e.prototype.update=function(){var e=this
|
|
2380
|
+
t.prototype.update.call(this),this.subscriptions.forEach((function(t){var s=(0,Md.default)(t.element)
|
|
2381
|
+
s&&t.callback(e.scrollDistance),s!==t.inView&&(t.inView=s)}))},e}(Id.default)
|
|
2382
|
+
_d.default=Vd
|
|
2383
|
+
var Ld={},Td=ed&&ed.__extends||function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])})(e,s)}
|
|
2384
|
+
return function(e,s){if("function"!=typeof s&&null!==s)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null")
|
|
2385
|
+
function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}()
|
|
2386
|
+
Object.defineProperty(Ld,"__esModule",{value:!0})
|
|
2387
|
+
var Pd=zd,Rd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Td(e,t),e.prototype.update=function(){var e=this
|
|
2388
|
+
t.prototype.update.call(this),this.subscriptions.forEach((function(t,s){var i=(0,Pd.default)(t.element)
|
|
2389
|
+
i&&!t.inView&&t.callback(e.scrollDistance),i!==t.inView&&(t.inView=i)}))},e}(Id.default)
|
|
2390
|
+
Ld.default=Rd
|
|
2391
|
+
var Dd={},Bd=ed&&ed.__extends||function(){var t=function(e,s){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])})(e,s)}
|
|
2392
|
+
return function(e,s){if("function"!=typeof s&&null!==s)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null")
|
|
2393
|
+
function i(){this.constructor=e}t(e,s),e.prototype=null===s?Object.create(s):(i.prototype=s.prototype,new i)}}()
|
|
2394
|
+
Object.defineProperty(Dd,"__esModule",{value:!0})
|
|
2395
|
+
var Fd=zd,Nd=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Bd(e,t),e.prototype.update=function(){var e=this
|
|
2396
|
+
t.prototype.update.call(this),this.subscriptions.forEach((function(t,s){var i=(0,Fd.default)(t.element)
|
|
2397
|
+
!i&&t.inView&&t.callback(e.scrollDistance),i!==t.inView&&(t.inView=i)}))},e}(Id.default)
|
|
2398
|
+
Dd.default=Nd,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ViewExitTrigger=t.ViewEnterTrigger=t.ScrollTrigger=t.fadeOut=t.fadeIn=t.cubicBezier=t.AnimateTo=t.AnimateSequence=t.AnimateGroup=t.AnimateFrom=t.Animate=void 0
|
|
2399
|
+
var e=id
|
|
2400
2400
|
t.AnimateTo=e.default
|
|
2401
|
-
var
|
|
2402
|
-
t.AnimateFrom=
|
|
2403
|
-
var
|
|
2404
|
-
t.AnimateGroup=
|
|
2405
|
-
var o=
|
|
2401
|
+
var s=cd
|
|
2402
|
+
t.AnimateFrom=s.default
|
|
2403
|
+
var i=pd
|
|
2404
|
+
t.AnimateGroup=i.default
|
|
2405
|
+
var o=fd
|
|
2406
2406
|
t.AnimateSequence=o.default
|
|
2407
|
-
var n=
|
|
2407
|
+
var n=od
|
|
2408
2408
|
t.Animate=n.default
|
|
2409
|
-
var r=
|
|
2409
|
+
var r=xd
|
|
2410
2410
|
Object.defineProperty(t,"fadeIn",{enumerable:!0,get:function(){return r.fadeIn}}),Object.defineProperty(t,"fadeOut",{enumerable:!0,get:function(){return r.fadeOut}})
|
|
2411
|
-
var a=
|
|
2411
|
+
var a=yd
|
|
2412
2412
|
Object.defineProperty(t,"cubicBezier",{enumerable:!0,get:function(){return a.cubicBezier}})
|
|
2413
|
-
var l=
|
|
2413
|
+
var l=_d
|
|
2414
2414
|
t.ScrollTrigger=l.default
|
|
2415
|
-
var c=
|
|
2415
|
+
var c=Ld
|
|
2416
2416
|
t.ViewEnterTrigger=c.default
|
|
2417
|
-
var h=
|
|
2418
|
-
t.ViewExitTrigger=h.default}(
|
|
2419
|
-
const
|
|
2420
|
-
${
|
|
2417
|
+
var h=Dd
|
|
2418
|
+
t.ViewExitTrigger=h.default}(sd)
|
|
2419
|
+
const jd=window.matchMedia("(prefers-reduced-motion: reduce)"),qd={slideLeftKeyframes:[{transform:"translateX(-100%)",visibility:"hidden",offset:0},{transform:"translateX(-100%)",visibility:"visible",offset:.01},{transform:"translateX(0%)",visibility:"visible",offset:1}],slideRightKeyframes:[{transform:"translateX(100%)",visibility:"hidden",offset:0},{transform:"translateX(100%)",visibility:"visible",offset:.01},{transform:"translateX(0%)",visibility:"visible",offset:1}],fadeOverlayKeyframes:[{opacity:0},{opacity:1}],slideInOptions:{duration:1,easing:"ease-out"},slideOutOptions:{duration:1,easing:"ease-in",direction:"reverse"}},Ud=ut`
|
|
2420
|
+
${Zi("block")}
|
|
2421
2421
|
|
|
2422
2422
|
:host {
|
|
2423
2423
|
position: relative;
|
|
@@ -2521,30 +2521,30 @@ const Rd=window.matchMedia("(prefers-reduced-motion: reduce)"),Dd={slideLeftKeyf
|
|
|
2521
2521
|
justify-content: flex-end;
|
|
2522
2522
|
border-top: ${Jn} solid ${Wn};
|
|
2523
2523
|
}
|
|
2524
|
-
`,
|
|
2525
|
-
class
|
|
2524
|
+
`,Kd="left",Wd="right",Xd="opening",Yd="opened",Gd="closing",Qd="closed"
|
|
2525
|
+
class Jd extends ti{constructor(){super(...arguments),this.location=Kd,this.state=Qd,this.preventDismiss=!1,this.propertiesToWatch=["hidden","location","state"],this.animationDurationMilliseconds=.001}connectedCallback(){this.trapFocus=!1,super.connectedCallback(),this.updateAnimationDuration(),this.animationsEnabledChangedHandler=()=>this.updateAnimationDuration(),jd.addEventListener("change",this.animationsEnabledChangedHandler),this.onStateChanged()
|
|
2526
2526
|
const t=p.getNotifier(this),e={handleChange:(t,e)=>this.onPropertyChange(e)}
|
|
2527
|
-
this.propertiesToWatch.forEach((
|
|
2527
|
+
this.propertiesToWatch.forEach((s=>t.subscribe(e,s))),this.propertyChangeSubscriber=e,this.propertyChangeNotifier=t}disconnectedCallback(){super.disconnectedCallback(),this.cancelCurrentAnimation(),this.propertyChangeNotifier&&this.propertyChangeSubscriber&&(this.propertiesToWatch.forEach((t=>this.propertyChangeNotifier.unsubscribe(this.propertyChangeSubscriber,t))),this.propertyChangeNotifier=void 0,this.propertyChangeSubscriber=void 0),this.animationsEnabledChangedHandler&&(jd.removeEventListener("change",this.animationsEnabledChangedHandler),this.animationsEnabledChangedHandler=void 0)}show(){this.state=Xd}hide(){this.state=Gd}dismiss(){this.$emit("cancel",{},{bubbles:!1,cancelable:!0,composed:!1})&&!this.preventDismiss&&(this.$emit("dismiss"),this.hide())}onPropertyChange(t){switch(t){case"hidden":this.onHiddenChanged()
|
|
2528
2528
|
break
|
|
2529
2529
|
case"location":this.onLocationChanged()
|
|
2530
2530
|
break
|
|
2531
|
-
case"state":this.onStateChanged()}}onHiddenChanged(){this.hidden&&this.state!==
|
|
2531
|
+
case"state":this.onStateChanged()}}onHiddenChanged(){this.hidden&&this.state!==Qd?this.state=Qd:this.hidden||this.state!==Qd||(this.state=Yd)}onLocationChanged(){this.cancelCurrentAnimation()}onStateChanged(){if(this.isConnected){switch(this.cancelCurrentAnimation(),this.state){case Xd:this.animateOpening(),this.hidden=!1
|
|
2532
2532
|
break
|
|
2533
|
-
case
|
|
2533
|
+
case Yd:this.hidden=!1
|
|
2534
2534
|
break
|
|
2535
|
-
case
|
|
2535
|
+
case Gd:this.hidden=!1,this.animateClosing()
|
|
2536
2536
|
break
|
|
2537
|
-
case
|
|
2537
|
+
case Qd:this.hidden=!0
|
|
2538
2538
|
break
|
|
2539
|
-
default:throw new Error("Unsupported state value. Expected: opening/opened/closing/closed")}this.$emit("state-change")}}updateAnimationDuration(){if(
|
|
2539
|
+
default:throw new Error("Unsupported state value. Expected: opening/opened/closing/closed")}this.$emit("state-change")}}updateAnimationDuration(){if(jd.matches)this.animationDurationMilliseconds=.001
|
|
2540
2540
|
else{const t=ya.getValueFor(this),e=parseFloat(t)
|
|
2541
|
-
this.animationDurationMilliseconds=1e3*e}}animateOpening(){this.animateOpenClose(!0)}animateClosing(){this.hidden?this.state=
|
|
2542
|
-
|
|
2543
|
-
const o=[
|
|
2544
|
-
if(n){const t=new
|
|
2545
|
-
t.addKeyframes(
|
|
2546
|
-
r.onFinish=()=>{this.state=t?
|
|
2547
|
-
const
|
|
2541
|
+
this.animationDurationMilliseconds=1e3*e}}animateOpening(){this.animateOpenClose(!0)}animateClosing(){this.hidden?this.state=Qd:this.animateOpenClose(!1)}animateOpenClose(t){const e={...t?qd.slideInOptions:qd.slideOutOptions,duration:this.animationDurationMilliseconds},s=this.location===Wd?qd.slideRightKeyframes:qd.slideLeftKeyframes,i=new sd.AnimateTo(this.dialog,void 0,e)
|
|
2542
|
+
i.addKeyframes(s)
|
|
2543
|
+
const o=[i],n=this.shadowRoot?.querySelector(".overlay")
|
|
2544
|
+
if(n){const t=new sd.AnimateTo(n,void 0,e)
|
|
2545
|
+
t.addKeyframes(qd.fadeOverlayKeyframes),o.push(t)}const r=new sd.AnimateGroup(o)
|
|
2546
|
+
r.onFinish=()=>{this.state=t?Yd:Qd},this.animationGroup=r,r.play()}cancelCurrentAnimation(){this.animationGroup?.cancel()}}_n([tt],Jd.prototype,"location",void 0),_n([tt],Jd.prototype,"state",void 0),_n([tt({attribute:"prevent-dismiss",mode:"boolean"})],Jd.prototype,"preventDismiss",void 0)
|
|
2547
|
+
const Zd=Jd.compose({baseName:"drawer",template:(t,e)=>q`
|
|
2548
2548
|
<div class="positioning-region" part="positioning-region">
|
|
2549
2549
|
${gt((t=>t.modal),q`
|
|
2550
2550
|
<div
|
|
@@ -2568,150 +2568,155 @@ const Xd=Wd.compose({baseName:"drawer",template:(t,e)=>q`
|
|
|
2568
2568
|
<slot></slot>
|
|
2569
2569
|
</div>
|
|
2570
2570
|
</div>
|
|
2571
|
-
`,styles:
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
class
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2571
|
+
`,styles:Ud})
|
|
2572
|
+
Fs.getOrCreate().withPrefix("nimble").register(Zd())
|
|
2573
|
+
Bh("icon-add",class extends Dh{constructor(){super(Va)}})
|
|
2574
|
+
Bh("icon-arrow-down-right-and-arrow-up-left",class extends Dh{constructor(){super(La)}})
|
|
2575
|
+
Bh("icon-arrow-expander-left",class extends Dh{constructor(){super(Pa)}})
|
|
2576
|
+
Bh("icon-arrow-expander-right",class extends Dh{constructor(){super(Ra)}})
|
|
2577
|
+
Bh("icon-arrow-expander-up",class extends Dh{constructor(){super(Da)}})
|
|
2578
|
+
Bh("icon-arrow-left-from-line",class extends Dh{constructor(){super(Ba)}})
|
|
2579
|
+
Bh("icon-arrow-partial-rotate-left",class extends Dh{constructor(){super(Fa)}})
|
|
2580
|
+
Bh("icon-arrow-right-to-line",class extends Dh{constructor(){super(Na)}})
|
|
2581
|
+
Bh("icon-arrow-rotate-right",class extends Dh{constructor(){super(ja)}})
|
|
2582
|
+
Bh("icon-arrow-u-rotate-left",class extends Dh{constructor(){super(qa)}})
|
|
2583
|
+
Bh("icon-arrow-up-left-and-arrow-down-right",class extends Dh{constructor(){super(Ua)}})
|
|
2584
|
+
Bh("icon-arrows-maximize",class extends Dh{constructor(){super(Ka)}})
|
|
2585
|
+
Bh("icon-arrows-repeat",class extends Dh{constructor(){super(Wa)}})
|
|
2586
|
+
Bh("icon-bars",class extends Dh{constructor(){super(Xa)}})
|
|
2587
|
+
Bh("icon-bell",class extends Dh{constructor(){super(Ya)}})
|
|
2588
|
+
Bh("icon-bell-and-comment",class extends Dh{constructor(){super(Ga)}})
|
|
2589
|
+
Bh("icon-bell-circle",class extends Dh{constructor(){super(Qa)}})
|
|
2590
|
+
Bh("icon-bell-solid-circle",class extends Dh{constructor(){super(Ja)}})
|
|
2591
|
+
Bh("icon-block-with-ribbon",class extends Dh{constructor(){super(Za)}})
|
|
2592
|
+
Bh("icon-book-magnifying-glass",class extends Dh{constructor(){super(tl)}})
|
|
2593
|
+
Bh("icon-calendar",class extends Dh{constructor(){super(el)}})
|
|
2594
|
+
Bh("icon-chart-diagram",class extends Dh{constructor(){super(sl)}})
|
|
2595
|
+
Bh("icon-chart-diagram-child-focus",class extends Dh{constructor(){super(il)}})
|
|
2596
|
+
Bh("icon-chart-diagram-parent-focus",class extends Dh{constructor(){super(ol)}})
|
|
2597
|
+
Bh("icon-chart-diagram-parent-focus-two-child",class extends Dh{constructor(){super(nl)}})
|
|
2598
|
+
Bh("icon-check",class extends Dh{constructor(){super(rl)}})
|
|
2599
|
+
Bh("icon-check-dot",class extends Dh{constructor(){super(al)}})
|
|
2600
|
+
Bh("icon-circle",class extends Dh{constructor(){super(ll)}})
|
|
2601
|
+
Bh("icon-circle-filled",class extends Dh{constructor(){super(cl)}})
|
|
2602
|
+
Bh("icon-circle-broken",class extends Dh{constructor(){super(hl)}})
|
|
2603
|
+
Bh("icon-circle-check",class extends Dh{constructor(){super(dl)}})
|
|
2604
|
+
Bh("icon-circle-partial-broken",class extends Dh{constructor(){super(ul)}})
|
|
2605
|
+
Bh("icon-circle-slash",class extends Dh{constructor(){super(pl)}})
|
|
2606
|
+
Bh("icon-circle-x",class extends Dh{constructor(){super(vl)}})
|
|
2607
|
+
Bh("icon-clipboard",class extends Dh{constructor(){super(gl)}})
|
|
2608
|
+
Bh("icon-clock",class extends Dh{constructor(){super(ml)}})
|
|
2609
|
+
Bh("icon-clock-cog",class extends Dh{constructor(){super(fl)}})
|
|
2610
|
+
Bh("icon-clock-triangle",class extends Dh{constructor(){super(bl)}})
|
|
2611
|
+
Bh("icon-clone",class extends Dh{constructor(){super(wl)}})
|
|
2612
|
+
Bh("icon-cloud",class extends Dh{constructor(){super(xl)}})
|
|
2613
|
+
Bh("icon-cloud-upload",class extends Dh{constructor(){super(yl)}})
|
|
2614
|
+
Bh("icon-cloud-with-arrow",class extends Dh{constructor(){super($l)}})
|
|
2615
|
+
Bh("icon-cog",class extends Dh{constructor(){super(Cl)}})
|
|
2616
|
+
Bh("icon-cog-database",class extends Dh{constructor(){super(kl)}})
|
|
2617
|
+
Bh("icon-cog-database-inset",class extends Dh{constructor(){super(_l)}})
|
|
2618
|
+
Bh("icon-cog-small-cog",class extends Dh{constructor(){super(zl)}})
|
|
2619
|
+
Bh("icon-cog-zoomed",class extends Dh{constructor(){super(Il)}})
|
|
2620
|
+
Bh("icon-comment",class extends Dh{constructor(){super(Ol)}})
|
|
2621
|
+
Bh("icon-computer-and-monitor",class extends Dh{constructor(){super(Al)}})
|
|
2622
|
+
Bh("icon-copy",class extends Dh{constructor(){super(Sl)}})
|
|
2623
|
+
Bh("icon-copy-text",class extends Dh{constructor(){super(El)}})
|
|
2624
|
+
Bh("icon-dashboard-builder",class extends Dh{constructor(){super(Hl)}})
|
|
2625
|
+
Bh("icon-dashboard-builder-legend",class extends Dh{constructor(){super(Ml)}})
|
|
2626
|
+
Bh("icon-dashboard-builder-templates",class extends Dh{constructor(){super(Vl)}})
|
|
2627
|
+
Bh("icon-dashboard-builder-tile",class extends Dh{constructor(){super(Ll)}})
|
|
2628
|
+
Bh("icon-database",class extends Dh{constructor(){super(Tl)}})
|
|
2629
|
+
Bh("icon-database-check",class extends Dh{constructor(){super(Pl)}})
|
|
2630
|
+
Bh("icon-desktop",class extends Dh{constructor(){super(Rl)}})
|
|
2631
|
+
Bh("icon-donut-chart",class extends Dh{constructor(){super(Dl)}})
|
|
2632
|
+
Bh("icon-dot-solid-dot-stroke",class extends Dh{constructor(){super(Bl)}})
|
|
2633
|
+
Bh("icon-download",class extends Dh{constructor(){super(Fl)}})
|
|
2634
|
+
Bh("icon-electronic-chip-zoomed",class extends Dh{constructor(){super(Nl)}})
|
|
2635
|
+
Bh("icon-eye",class extends Dh{constructor(){super(ql)}})
|
|
2636
|
+
Bh("icon-fancy-a",class extends Dh{constructor(){super(Ul)}})
|
|
2637
|
+
Bh("icon-file",class extends Dh{constructor(){super(Kl)}})
|
|
2638
|
+
Bh("icon-file-drawer",class extends Dh{constructor(){super(Wl)}})
|
|
2639
|
+
Bh("icon-file-search",class extends Dh{constructor(){super(Xl)}})
|
|
2640
|
+
Bh("icon-filter",class extends Dh{constructor(){super(Yl)}})
|
|
2641
|
+
Bh("icon-floppy-disk-checkmark",class extends Dh{constructor(){super(Gl)}})
|
|
2642
|
+
Bh("icon-floppy-disk-star-arrow-right",class extends Dh{constructor(){super(Ql)}})
|
|
2643
|
+
Bh("icon-floppy-disk-three-dots",class extends Dh{constructor(){super(Jl)}})
|
|
2644
|
+
Bh("icon-folder",class extends Dh{constructor(){super(Zl)}})
|
|
2645
|
+
Bh("icon-folder-open",class extends Dh{constructor(){super(tc)}})
|
|
2646
|
+
Bh("icon-forward-slash",class extends Dh{constructor(){super(ec)}})
|
|
2647
|
+
Bh("icon-four-dots-square",class extends Dh{constructor(){super(sc)}})
|
|
2648
|
+
Bh("icon-function",class extends Dh{constructor(){super(ic)}})
|
|
2649
|
+
Bh("icon-gauge-simple",class extends Dh{constructor(){super(oc)}})
|
|
2650
|
+
Bh("icon-grid-three-by-three",class extends Dh{constructor(){super(nc)}})
|
|
2651
|
+
Bh("icon-grid-two-by-two",class extends Dh{constructor(){super(rc)}})
|
|
2652
|
+
Bh("icon-hammer",class extends Dh{constructor(){super(ac)}})
|
|
2653
|
+
Bh("icon-hashtag",class extends Dh{constructor(){super(lc)}})
|
|
2654
|
+
Bh("icon-home",class extends Dh{constructor(){super(cc)}})
|
|
2655
|
+
Bh("icon-hourglass",class extends Dh{constructor(){super(hc)}})
|
|
2656
|
+
Bh("icon-indeterminant-checkbox",class extends Dh{constructor(){super(dc)}})
|
|
2657
|
+
class tu extends Dh{constructor(){super(uc)}}Bh("icon-info",tu)
|
|
2658
|
+
Bh("icon-info-circle",class extends Dh{constructor(){super(pc)}})
|
|
2659
|
+
Bh("icon-key",class extends Dh{constructor(){super(vc)}})
|
|
2660
|
+
Bh("icon-laptop",class extends Dh{constructor(){super(gc)}})
|
|
2661
|
+
Bh("icon-layer-group",class extends Dh{constructor(){super(mc)}})
|
|
2662
|
+
Bh("icon-lightning-bolt",class extends Dh{constructor(){super(fc)}})
|
|
2663
|
+
Bh("icon-link",class extends Dh{constructor(){super(bc)}})
|
|
2664
|
+
Bh("icon-link-cancel",class extends Dh{constructor(){super(wc)}})
|
|
2665
|
+
Bh("icon-list",class extends Dh{constructor(){super(xc)}})
|
|
2666
|
+
Bh("icon-list-tree",class extends Dh{constructor(){super(yc)}})
|
|
2667
|
+
Bh("icon-list-tree-database",class extends Dh{constructor(){super($c)}})
|
|
2668
|
+
Bh("icon-lock",class extends Dh{constructor(){super(Cc)}})
|
|
2669
|
+
Bh("icon-magnifying-glass",class extends Dh{constructor(){super(kc)}})
|
|
2670
|
+
Bh("icon-markdown",class extends Dh{constructor(){super(_c)}})
|
|
2671
|
+
Bh("icon-minus",class extends Dh{constructor(){super(zc)}})
|
|
2672
|
+
Bh("icon-minus-wide",class extends Dh{constructor(){super(Ic)}})
|
|
2673
|
+
Bh("icon-mobile",class extends Dh{constructor(){super(Oc)}})
|
|
2674
|
+
Bh("icon-notebook",class extends Dh{constructor(){super(Ac)}})
|
|
2675
|
+
Bh("icon-paste",class extends Dh{constructor(){super(Sc)}})
|
|
2676
|
+
Bh("icon-pencil",class extends Dh{constructor(){super(Ec)}})
|
|
2677
|
+
Bh("icon-pot-with-lid",class extends Dh{constructor(){super(Hc)}})
|
|
2678
|
+
Bh("icon-question",class extends Dh{constructor(){super(Mc)}})
|
|
2679
|
+
Bh("icon-running-arrow",class extends Dh{constructor(){super(Vc)}})
|
|
2680
|
+
Bh("icon-server",class extends Dh{constructor(){super(Lc)}})
|
|
2681
|
+
Bh("icon-share-nodes",class extends Dh{constructor(){super(Tc)}})
|
|
2682
|
+
Bh("icon-share-square",class extends Dh{constructor(){super(Pc)}})
|
|
2683
|
+
Bh("icon-shield-check",class extends Dh{constructor(){super(Rc)}})
|
|
2684
|
+
Bh("icon-shield-xmark",class extends Dh{constructor(){super(Dc)}})
|
|
2685
|
+
Bh("icon-signal-bars",class extends Dh{constructor(){super(Bc)}})
|
|
2686
|
+
Bh("icon-sine-graph",class extends Dh{constructor(){super(Fc)}})
|
|
2687
|
+
Bh("icon-skip-arrow",class extends Dh{constructor(){super(Nc)}})
|
|
2688
|
+
Bh("icon-spinner",class extends Dh{constructor(){super(jc)}})
|
|
2689
|
+
Bh("icon-square-check",class extends Dh{constructor(){super(qc)}})
|
|
2690
|
+
Bh("icon-square-t",class extends Dh{constructor(){super(Uc)}})
|
|
2691
|
+
Bh("icon-t",class extends Dh{constructor(){super(Kc)}})
|
|
2692
|
+
Bh("icon-tablet",class extends Dh{constructor(){super(Wc)}})
|
|
2693
|
+
Bh("icon-tag",class extends Dh{constructor(){super(Xc)}})
|
|
2694
|
+
Bh("icon-tags",class extends Dh{constructor(){super(Yc)}})
|
|
2695
|
+
Bh("icon-target-crosshairs",class extends Dh{constructor(){super(Gc)}})
|
|
2696
|
+
Bh("icon-target-crosshairs-progress",class extends Dh{constructor(){super(Qc)}})
|
|
2697
|
+
Bh("icon-three-dots-line",class extends Dh{constructor(){super(Jc)}})
|
|
2698
|
+
Bh("icon-three-vertical-lines",class extends Dh{constructor(){super(Zc)}})
|
|
2699
|
+
Bh("icon-thumbtack",class extends Dh{constructor(){super(th)}})
|
|
2700
|
+
Bh("icon-tile-size",class extends Dh{constructor(){super(eh)}})
|
|
2701
|
+
Bh("icon-times",class extends Dh{constructor(){super(sh)}})
|
|
2702
|
+
Bh("icon-trash",class extends Dh{constructor(){super(ih)}})
|
|
2703
|
+
Bh("icon-triangle",class extends Dh{constructor(){super(oh)}})
|
|
2704
|
+
Bh("icon-true-false-rectangle",class extends Dh{constructor(){super(nh)}})
|
|
2705
|
+
Bh("icon-unlink",class extends Dh{constructor(){super(rh)}})
|
|
2706
|
+
Bh("icon-unlock",class extends Dh{constructor(){super(ah)}})
|
|
2707
|
+
Bh("icon-upload",class extends Dh{constructor(){super(lh)}})
|
|
2708
|
+
Bh("icon-user",class extends Dh{constructor(){super(ch)}})
|
|
2709
|
+
Bh("icon-watch",class extends Dh{constructor(){super(hh)}})
|
|
2710
|
+
Bh("icon-waveform",class extends Dh{constructor(){super(dh)}})
|
|
2711
|
+
Bh("icon-webvi-custom",class extends Dh{constructor(){super(uh)}})
|
|
2712
|
+
Bh("icon-webvi-host",class extends Dh{constructor(){super(ph)}})
|
|
2713
|
+
Bh("icon-window-code",class extends Dh{constructor(){super(vh)}})
|
|
2714
|
+
Bh("icon-window-text",class extends Dh{constructor(){super(gh)}})
|
|
2715
|
+
Bh("icon-wrench-hammer",class extends Dh{constructor(){super(mh)}})
|
|
2716
|
+
Bh("icon-xmark",class extends Dh{constructor(){super(fh)}})
|
|
2717
|
+
Bh("icon-xmark-check",class extends Dh{constructor(){super(bh)}})
|
|
2718
|
+
const eu=ut`
|
|
2719
|
+
${Zi("flex")}
|
|
2715
2720
|
|
|
2716
2721
|
:host {
|
|
2717
2722
|
font: ${_r};
|
|
@@ -2743,7 +2748,7 @@ const Gd=ut`
|
|
|
2743
2748
|
background-color: transparent;
|
|
2744
2749
|
}
|
|
2745
2750
|
|
|
2746
|
-
:host(:${
|
|
2751
|
+
:host(:${wh}) {
|
|
2747
2752
|
box-shadow: 0px 0px 0px 1px ${qn} inset;
|
|
2748
2753
|
outline: 1px solid ${qn};
|
|
2749
2754
|
outline-offset: -4px;
|
|
@@ -2765,7 +2770,7 @@ const Gd=ut`
|
|
|
2765
2770
|
outline: none;
|
|
2766
2771
|
}
|
|
2767
2772
|
`
|
|
2768
|
-
const
|
|
2773
|
+
const su=class extends os{get value(){return super.value}set value(t){super.value=`${t}`,this.$fastController.isConnected&&this.setAttribute("value",this.value)}connectedCallback(){super.connectedCallback(),this.setAttribute("value",this.value)}}.compose({baseName:"list-option",baseClass:os,template:(t,e)=>q`
|
|
2769
2774
|
<template
|
|
2770
2775
|
aria-checked="${t=>t.ariaChecked}"
|
|
2771
2776
|
aria-disabled="${t=>t.ariaDisabled}"
|
|
@@ -2781,10 +2786,10 @@ const Qd=class extends oi{get value(){return super.value}set value(t){super.valu
|
|
|
2781
2786
|
</span>
|
|
2782
2787
|
${Ct(0,e)}
|
|
2783
2788
|
</template>
|
|
2784
|
-
`,styles:
|
|
2785
|
-
|
|
2786
|
-
const
|
|
2787
|
-
${
|
|
2789
|
+
`,styles:eu})
|
|
2790
|
+
Fs.getOrCreate().withPrefix("nimble").register(su())
|
|
2791
|
+
const iu=ut`
|
|
2792
|
+
${Zi("grid")}
|
|
2788
2793
|
|
|
2789
2794
|
:host {
|
|
2790
2795
|
background: ${Vn};
|
|
@@ -2819,7 +2824,7 @@ const Jd=ut`
|
|
|
2819
2824
|
padding-bottom: ${Yn};
|
|
2820
2825
|
}
|
|
2821
2826
|
`
|
|
2822
|
-
const
|
|
2827
|
+
const ou=class extends ai{}.compose({baseName:"menu",baseClass:ai,template:(t,e)=>q`
|
|
2823
2828
|
<template
|
|
2824
2829
|
slot="${t=>t.slot?t.slot:t.isNestedMenu()?"submenu":void 0}"
|
|
2825
2830
|
role="menu"
|
|
@@ -2828,10 +2833,10 @@ const Zd=class extends as{}.compose({baseName:"menu",baseClass:as,template:(t,e)
|
|
|
2828
2833
|
>
|
|
2829
2834
|
<slot ${wt("items")}></slot>
|
|
2830
2835
|
</template>
|
|
2831
|
-
`,styles:
|
|
2832
|
-
|
|
2833
|
-
const
|
|
2834
|
-
${
|
|
2836
|
+
`,styles:iu})
|
|
2837
|
+
Fs.getOrCreate().withPrefix("nimble").register(ou())
|
|
2838
|
+
const nu=ut`
|
|
2839
|
+
${Zi("inline-block")}
|
|
2835
2840
|
|
|
2836
2841
|
:host {
|
|
2837
2842
|
height: ${Xn};
|
|
@@ -2846,8 +2851,8 @@ const tu=ut`
|
|
|
2846
2851
|
margin-top: ${Yn};
|
|
2847
2852
|
margin-bottom: ${Yn};
|
|
2848
2853
|
}
|
|
2849
|
-
`,
|
|
2850
|
-
${
|
|
2854
|
+
`,ru=ut`
|
|
2855
|
+
${Ih}
|
|
2851
2856
|
|
|
2852
2857
|
.control[aria-pressed='true'] {
|
|
2853
2858
|
background-color: ${Ln};
|
|
@@ -2858,7 +2863,7 @@ const tu=ut`
|
|
|
2858
2863
|
background-color: ${Ln};
|
|
2859
2864
|
}
|
|
2860
2865
|
|
|
2861
|
-
.control[aria-pressed='true']${
|
|
2866
|
+
.control[aria-pressed='true']${wh} {
|
|
2862
2867
|
background-color: ${Ln};
|
|
2863
2868
|
}
|
|
2864
2869
|
|
|
@@ -2872,8 +2877,8 @@ const tu=ut`
|
|
|
2872
2877
|
border-color: ${Ln};
|
|
2873
2878
|
}
|
|
2874
2879
|
`
|
|
2875
|
-
class
|
|
2876
|
-
const
|
|
2880
|
+
class au extends Ci{constructor(){super(...arguments),this.appearance=kh,this.contentHidden=!1}}_n([tt],au.prototype,"appearance",void 0),_n([tt({attribute:"content-hidden",mode:"boolean"})],au.prototype,"contentHidden",void 0),de(au,$t,Ze)
|
|
2881
|
+
const lu=au.compose({baseName:"toggle-button",template:(t,e)=>q`
|
|
2877
2882
|
<div
|
|
2878
2883
|
role="button"
|
|
2879
2884
|
part="control"
|
|
@@ -2914,22 +2919,22 @@ const su=iu.compose({baseName:"toggle-button",template:(t,e)=>q`
|
|
|
2914
2919
|
</span>
|
|
2915
2920
|
${Ct(0,e)}
|
|
2916
2921
|
</div>
|
|
2917
|
-
`,styles:
|
|
2918
|
-
|
|
2919
|
-
const
|
|
2920
|
-
class
|
|
2922
|
+
`,styles:ru,shadowOptions:{delegatesFocus:!0}})
|
|
2923
|
+
Fs.getOrCreate().withPrefix("nimble").register(lu())
|
|
2924
|
+
const cu="auto"
|
|
2925
|
+
class hu extends le{constructor(){super(...arguments),this.appearance=kh,this.disabled=!1,this.contentHidden=!1,this.open=!1,this.position=cu,this.focusLastItemWhenOpened=!1,this.menuChangeHandler=()=>{this.open=!1,this.toggleButton.focus()}}disconnectedCallback(){super.disconnectedCallback(),this.region&&this.region.removeEventListener(me,this.menuChangeHandler)}toggleButtonChanged(t,e){this.region&&this.toggleButton&&(this.region.anchorElement=this.toggleButton)}regionChanged(t,e){t&&t.removeEventListener(me,this.menuChangeHandler),this.region&&(this.toggleButton&&(this.region.anchorElement=this.toggleButton),this.region.addEventListener(me,this.menuChangeHandler,{capture:!0}))}openChanged(t,e){this.toggleButton&&(this.toggleButton.checked=this.open),this.open||this.$emit("open-change")}regionLoadedHandler(){this.focusLastItemWhenOpened?(this.focusLastMenuItem(),this.focusLastItemWhenOpened=!1):this.focusMenu(),this.$emit("open-change")}focusoutHandler(t){if(!this.open)return!0
|
|
2921
2926
|
const e=t.relatedTarget
|
|
2922
2927
|
return!!this.contains(e)||(this.open=!1,!1)}toggleButtonCheckedChangeHandler(t){return this.open=this.toggleButton.checked,t.stopPropagation(),!1}toggleButtonKeyDownHandler(t){switch(t.key){case Ce:return this.focusLastItemWhenOpened=!0,this.open=!0,!1
|
|
2923
2928
|
case xe:return this.open=!0,!1
|
|
2924
2929
|
default:return!0}}menuKeyDownHandler(t){switch(t.key){case _e:return this.open=!1,this.toggleButton.focus(),!1
|
|
2925
2930
|
default:return!0}}get menu(){return this.slottedMenus?.length?this.slottedMenus[0]:void 0}focusMenu(){this.menu?.focus()}focusLastMenuItem(){const t=this.menu?.querySelectorAll("[role=menuitem]")
|
|
2926
|
-
if(t?.length){t[t.length-1].focus()}}}_n([tt],
|
|
2927
|
-
const
|
|
2931
|
+
if(t?.length){t[t.length-1].focus()}}}_n([tt],hu.prototype,"appearance",void 0),_n([tt({mode:"boolean"})],hu.prototype,"disabled",void 0),_n([tt({attribute:"content-hidden",mode:"boolean"})],hu.prototype,"contentHidden",void 0),_n([tt({mode:"boolean"})],hu.prototype,"open",void 0),_n([tt({attribute:"position"})],hu.prototype,"position",void 0),_n([v],hu.prototype,"toggleButton",void 0),_n([v],hu.prototype,"region",void 0),_n([v],hu.prototype,"slottedMenus",void 0)
|
|
2932
|
+
const du=hu.compose({baseName:"menu-button",template:t=>q`
|
|
2928
2933
|
<template
|
|
2929
2934
|
?open="${t=>t.open}"
|
|
2930
2935
|
@focusout="${(t,e)=>t.focusoutHandler(e.event)}"
|
|
2931
2936
|
>
|
|
2932
|
-
<${t.tagFor(
|
|
2937
|
+
<${t.tagFor(au)}
|
|
2933
2938
|
part="button"
|
|
2934
2939
|
appearance="${t=>t.appearance}"
|
|
2935
2940
|
?content-hidden="${t=>t.contentHidden}"
|
|
@@ -2946,9 +2951,9 @@ const ru=nu.compose({baseName:"menu-button",template:t=>q`
|
|
|
2946
2951
|
<slot slot="start" name="start"></slot>
|
|
2947
2952
|
<slot></slot>
|
|
2948
2953
|
<slot slot="end" name="end"></slot>
|
|
2949
|
-
</${t.tagFor(
|
|
2954
|
+
</${t.tagFor(au)}>
|
|
2950
2955
|
${gt((t=>t.open),q`
|
|
2951
|
-
<${t.tagFor(
|
|
2956
|
+
<${t.tagFor(so)}
|
|
2952
2957
|
fixed-placement="true"
|
|
2953
2958
|
auto-update-mode="auto"
|
|
2954
2959
|
horizontal-inset="true"
|
|
@@ -2962,13 +2967,13 @@ const ru=nu.compose({baseName:"menu-button",template:t=>q`
|
|
|
2962
2967
|
<span part="menu">
|
|
2963
2968
|
<slot name="menu" ${wt({property:"slottedMenus",filter:mt("[role=menu]")})}></slot>
|
|
2964
2969
|
</span>
|
|
2965
|
-
</${t.tagFor(
|
|
2970
|
+
</${t.tagFor(so)}>
|
|
2966
2971
|
`)}
|
|
2967
2972
|
</template>
|
|
2968
|
-
`,styles:
|
|
2969
|
-
|
|
2970
|
-
const
|
|
2971
|
-
${
|
|
2973
|
+
`,styles:nu,shadowOptions:{delegatesFocus:!0}})
|
|
2974
|
+
Fs.getOrCreate().withPrefix("nimble").register(du())
|
|
2975
|
+
const uu=ut`
|
|
2976
|
+
${Zi("grid")}
|
|
2972
2977
|
|
|
2973
2978
|
:host {
|
|
2974
2979
|
contain: layout;
|
|
@@ -2989,7 +2994,7 @@ const au=ut`
|
|
|
2989
2994
|
cursor: pointer;
|
|
2990
2995
|
font: ${_r};
|
|
2991
2996
|
}
|
|
2992
|
-
:host(${
|
|
2997
|
+
:host(${wh}) {
|
|
2993
2998
|
outline: 2px solid ${qn};
|
|
2994
2999
|
outline-offset: -2px;
|
|
2995
3000
|
}
|
|
@@ -3046,11 +3051,11 @@ const au=ut`
|
|
|
3046
3051
|
grid-column: 3;
|
|
3047
3052
|
}
|
|
3048
3053
|
`
|
|
3049
|
-
const
|
|
3054
|
+
const pu=class extends ri{}.compose({baseName:"menu-item",baseClass:ri,template:(t,e)=>q`
|
|
3050
3055
|
<template
|
|
3051
3056
|
role="${t=>t.role}"
|
|
3052
3057
|
aria-haspopup="${t=>t.hasSubmenu?"menu":void 0}"
|
|
3053
|
-
aria-checked="${t=>t.role!==
|
|
3058
|
+
aria-checked="${t=>t.role!==si?t.checked:void 0}"
|
|
3054
3059
|
aria-disabled="${t=>t.disabled}"
|
|
3055
3060
|
aria-expanded="${t=>t.expanded}"
|
|
3056
3061
|
@keydown="${(t,e)=>t.handleMenuItemKeyDown(e.event)}"
|
|
@@ -3059,7 +3064,7 @@ const lu=class extends rs{}.compose({baseName:"menu-item",baseClass:rs,template:
|
|
|
3059
3064
|
@mouseout="${(t,e)=>t.handleMouseOut(e.event)}"
|
|
3060
3065
|
class="${t=>t.disabled?"disabled":""} ${t=>t.expanded?"expanded":""} ${t=>`indent-${t.startColumnCount}`}"
|
|
3061
3066
|
>
|
|
3062
|
-
${gt((t=>t.role===
|
|
3067
|
+
${gt((t=>t.role===ii),q`
|
|
3063
3068
|
<div part="input-container" class="input-container">
|
|
3064
3069
|
<span part="checkbox" class="checkbox">
|
|
3065
3070
|
<slot name="checkbox-indicator">
|
|
@@ -3068,7 +3073,7 @@ const lu=class extends rs{}.compose({baseName:"menu-item",baseClass:rs,template:
|
|
|
3068
3073
|
</span>
|
|
3069
3074
|
</div>
|
|
3070
3075
|
`)}
|
|
3071
|
-
${gt((t=>t.role===
|
|
3076
|
+
${gt((t=>t.role===oi),q`
|
|
3072
3077
|
<div part="input-container" class="input-container">
|
|
3073
3078
|
<span part="radio" class="radio">
|
|
3074
3079
|
<slot name="radio-indicator">
|
|
@@ -3096,7 +3101,7 @@ const lu=class extends rs{}.compose({baseName:"menu-item",baseClass:rs,template:
|
|
|
3096
3101
|
</div>
|
|
3097
3102
|
`)}
|
|
3098
3103
|
${gt((t=>t.expanded),q`
|
|
3099
|
-
<${t.tagFor(
|
|
3104
|
+
<${t.tagFor(Be)}
|
|
3100
3105
|
:anchorElement="${t=>t}"
|
|
3101
3106
|
vertical-positioning-mode="dynamic"
|
|
3102
3107
|
vertical-default-position="bottom"
|
|
@@ -3110,14 +3115,14 @@ const lu=class extends rs{}.compose({baseName:"menu-item",baseClass:rs,template:
|
|
|
3110
3115
|
part="submenu-region"
|
|
3111
3116
|
>
|
|
3112
3117
|
<slot name="submenu"></slot>
|
|
3113
|
-
</${t.tagFor(
|
|
3118
|
+
</${t.tagFor(Be)}>
|
|
3114
3119
|
`)}
|
|
3115
3120
|
</template>
|
|
3116
|
-
`,styles:
|
|
3117
|
-
|
|
3118
|
-
const
|
|
3119
|
-
${
|
|
3120
|
-
${
|
|
3121
|
+
`,styles:uu,expandCollapseGlyph:Ra.data})
|
|
3122
|
+
Fs.getOrCreate().withPrefix("nimble").register(pu())
|
|
3123
|
+
const vu="underline",gu="outline",mu="block",fu=ut`
|
|
3124
|
+
${Zi("inline-block")}
|
|
3125
|
+
${Kh}
|
|
3121
3126
|
|
|
3122
3127
|
:host {
|
|
3123
3128
|
font: ${_r};
|
|
@@ -3139,7 +3144,7 @@ const cu="underline",hu="outline",du="block",uu=ut`
|
|
|
3139
3144
|
.label {
|
|
3140
3145
|
display: flex;
|
|
3141
3146
|
color: ${Nr};
|
|
3142
|
-
font: ${
|
|
3147
|
+
font: ${Fr};
|
|
3143
3148
|
}
|
|
3144
3149
|
|
|
3145
3150
|
:host([disabled]) .label {
|
|
@@ -3167,7 +3172,7 @@ const cu="underline",hu="outline",du="block",uu=ut`
|
|
|
3167
3172
|
}
|
|
3168
3173
|
|
|
3169
3174
|
:host(.invalid) .root {
|
|
3170
|
-
border-bottom-color: ${
|
|
3175
|
+
border-bottom-color: ${Bn};
|
|
3171
3176
|
}
|
|
3172
3177
|
|
|
3173
3178
|
.root::before {
|
|
@@ -3196,7 +3201,7 @@ const cu="underline",hu="outline",du="block",uu=ut`
|
|
|
3196
3201
|
}
|
|
3197
3202
|
|
|
3198
3203
|
:host(.invalid) .root::after {
|
|
3199
|
-
border-bottom-color: ${
|
|
3204
|
+
border-bottom-color: ${Bn};
|
|
3200
3205
|
}
|
|
3201
3206
|
|
|
3202
3207
|
:host(:hover) .root::after {
|
|
@@ -3264,12 +3269,12 @@ const cu="underline",hu="outline",du="block",uu=ut`
|
|
|
3264
3269
|
order: 1;
|
|
3265
3270
|
padding-right: calc(${Gn} / 4);
|
|
3266
3271
|
}
|
|
3267
|
-
`.withBehaviors(
|
|
3272
|
+
`.withBehaviors(Ch(vu,ut`
|
|
3268
3273
|
.root {
|
|
3269
3274
|
border-bottom-width: ${Jn};
|
|
3270
3275
|
padding-bottom: 0;
|
|
3271
3276
|
}
|
|
3272
|
-
`),
|
|
3277
|
+
`),Ch(mu,ut`
|
|
3273
3278
|
.root {
|
|
3274
3279
|
background-color: rgba(${Dn}, 0.1);
|
|
3275
3280
|
}
|
|
@@ -3287,14 +3292,14 @@ const cu="underline",hu="outline",du="block",uu=ut`
|
|
|
3287
3292
|
:host([disabled]) .root {
|
|
3288
3293
|
background-color: rgba(${Dn}, 0.07);
|
|
3289
3294
|
}
|
|
3290
|
-
`),
|
|
3295
|
+
`),Ch(gu,ut`
|
|
3291
3296
|
.root {
|
|
3292
3297
|
border-width: ${Jn};
|
|
3293
3298
|
padding: 0;
|
|
3294
3299
|
}
|
|
3295
3300
|
`))
|
|
3296
|
-
class
|
|
3297
|
-
const
|
|
3301
|
+
class bu extends gi{constructor(){super(...arguments),this.appearance=vu}connectedCallback(){super.connectedCallback(),this.control.setAttribute("role","spinbutton")}}_n([tt],bu.prototype,"appearance",void 0),_n([tt({attribute:"error-text"})],bu.prototype,"errorText",void 0)
|
|
3302
|
+
const wu=bu.compose({baseName:"number-field",baseClass:gi,template:(t,e)=>q`
|
|
3298
3303
|
<template class="${t=>t.readOnly?"readonly":""}">
|
|
3299
3304
|
<label
|
|
3300
3305
|
part="label"
|
|
@@ -3369,7 +3374,7 @@ const vu=pu.compose({baseName:"number-field",baseClass:gs,template:(t,e)=>q`
|
|
|
3369
3374
|
${Ct(0,e)}
|
|
3370
3375
|
</div>
|
|
3371
3376
|
</template>
|
|
3372
|
-
`,styles:
|
|
3377
|
+
`,styles:fu,shadowOptions:{delegatesFocus:!0},stepDownGlyph:q`
|
|
3373
3378
|
<nimble-button
|
|
3374
3379
|
class="step-up-down-button"
|
|
3375
3380
|
appearance="ghost"
|
|
@@ -3393,15 +3398,15 @@ const vu=pu.compose({baseName:"number-field",baseClass:gs,template:(t,e)=>q`
|
|
|
3393
3398
|
<nimble-icon-exclamation-mark
|
|
3394
3399
|
class="error-icon fail"
|
|
3395
3400
|
></nimble-icon-exclamation-mark>
|
|
3396
|
-
${
|
|
3401
|
+
${Th}
|
|
3397
3402
|
`})
|
|
3398
|
-
|
|
3399
|
-
const
|
|
3400
|
-
${
|
|
3403
|
+
Fs.getOrCreate().withPrefix("nimble").register(wu())
|
|
3404
|
+
const xu=ut`
|
|
3405
|
+
${Uh}
|
|
3401
3406
|
`
|
|
3402
|
-
class
|
|
3403
|
-
super.slottedOptionsChanged(t,e),
|
|
3404
|
-
const
|
|
3407
|
+
class yu extends wi{constructor(){super(...arguments),this.appearance=Nh}setPositioning(){this.$fastController.isConnected&&(super.setPositioning(),this.updateListboxMaxHeightCssVariable())}slottedOptionsChanged(t,e){const s=this.value
|
|
3408
|
+
super.slottedOptionsChanged(t,e),s&&(this.value=s)}maxHeightChanged(){this.updateListboxMaxHeightCssVariable()}updateListboxMaxHeightCssVariable(){this.listbox&&this.listbox.style.setProperty("--ni-private-select-max-height",`${this.maxHeight}px`)}}_n([tt],yu.prototype,"appearance",void 0)
|
|
3409
|
+
const $u=yu.compose({baseName:"select",baseClass:wi,template:(t,e)=>q`
|
|
3405
3410
|
<template
|
|
3406
3411
|
class="${t=>[t.collapsible&&"collapsible",t.collapsible&&t.open&&"open",t.disabled&&"disabled",t.collapsible&&t.position].filter(Boolean).join(" ")}"
|
|
3407
3412
|
aria-activedescendant="${t=>t.ariaActiveDescendant}"
|
|
@@ -3450,14 +3455,14 @@ const fu=mu.compose({baseName:"select",baseClass:ws,template:(t,e)=>q`
|
|
|
3450
3455
|
${vt("listbox")}
|
|
3451
3456
|
>
|
|
3452
3457
|
<slot
|
|
3453
|
-
${wt({filter:
|
|
3458
|
+
${wt({filter:rs.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}
|
|
3454
3459
|
></slot>
|
|
3455
3460
|
</div>
|
|
3456
3461
|
</template>
|
|
3457
|
-
`,styles:
|
|
3458
|
-
|
|
3459
|
-
const
|
|
3460
|
-
${
|
|
3462
|
+
`,styles:xu,indicator:Ta.data})
|
|
3463
|
+
Fs.getOrCreate().withPrefix("nimble").register($u())
|
|
3464
|
+
const Cu=ut`
|
|
3465
|
+
${Zi("inline-flex")}
|
|
3461
3466
|
|
|
3462
3467
|
:host {
|
|
3463
3468
|
outline: none;
|
|
@@ -3479,7 +3484,7 @@ const bu=ut`
|
|
|
3479
3484
|
|
|
3480
3485
|
.label {
|
|
3481
3486
|
color: ${Nr};
|
|
3482
|
-
font: ${
|
|
3487
|
+
font: ${Fr};
|
|
3483
3488
|
}
|
|
3484
3489
|
|
|
3485
3490
|
:host([disabled]) .label {
|
|
@@ -3515,7 +3520,7 @@ const bu=ut`
|
|
|
3515
3520
|
background-color: var(--ni-private-switch-background-disabled-color);
|
|
3516
3521
|
}
|
|
3517
3522
|
|
|
3518
|
-
:host(${
|
|
3523
|
+
:host(${wh}) .switch {
|
|
3519
3524
|
border-color: ${qn};
|
|
3520
3525
|
}
|
|
3521
3526
|
|
|
@@ -3560,7 +3565,7 @@ const bu=ut`
|
|
|
3560
3565
|
var(--ni-private-switch-indicator-border-disabled-color);
|
|
3561
3566
|
}
|
|
3562
3567
|
|
|
3563
|
-
:host(${
|
|
3568
|
+
:host(${wh}) .checked-indicator {
|
|
3564
3569
|
border: ${Jn} solid ${qn};
|
|
3565
3570
|
}
|
|
3566
3571
|
|
|
@@ -3618,7 +3623,7 @@ const bu=ut`
|
|
|
3618
3623
|
--ni-private-switch-indicator-border-color: ${uo};
|
|
3619
3624
|
--ni-private-switch-indicator-border-disabled-color: ${Hn(uo,.3)};
|
|
3620
3625
|
}
|
|
3621
|
-
`)),
|
|
3626
|
+
`)),ku=q`
|
|
3622
3627
|
<template
|
|
3623
3628
|
role="switch"
|
|
3624
3629
|
aria-checked="${t=>t.checked}"
|
|
@@ -3653,10 +3658,10 @@ const bu=ut`
|
|
|
3653
3658
|
</div>
|
|
3654
3659
|
</template>
|
|
3655
3660
|
`
|
|
3656
|
-
const
|
|
3657
|
-
|
|
3658
|
-
const
|
|
3659
|
-
${
|
|
3661
|
+
const _u=class extends Ci{}.compose({baseClass:Ci,baseName:"switch",template:ku,styles:Cu})
|
|
3662
|
+
Fs.getOrCreate().withPrefix("nimble").register(_u())
|
|
3663
|
+
const zu=ut`
|
|
3664
|
+
${Zi("inline-flex")}
|
|
3660
3665
|
|
|
3661
3666
|
:host {
|
|
3662
3667
|
position: relative;
|
|
@@ -3684,7 +3689,7 @@ const yu=ut`
|
|
|
3684
3689
|
background-color: ${Tn};
|
|
3685
3690
|
}
|
|
3686
3691
|
|
|
3687
|
-
:host(${
|
|
3692
|
+
:host(${wh}) {
|
|
3688
3693
|
outline: none;
|
|
3689
3694
|
}
|
|
3690
3695
|
|
|
@@ -3724,7 +3729,7 @@ const yu=ut`
|
|
|
3724
3729
|
}
|
|
3725
3730
|
}
|
|
3726
3731
|
|
|
3727
|
-
:host(${
|
|
3732
|
+
:host(${wh})::before {
|
|
3728
3733
|
width: 100%;
|
|
3729
3734
|
}
|
|
3730
3735
|
|
|
@@ -3749,14 +3754,14 @@ const yu=ut`
|
|
|
3749
3754
|
width: 100%;
|
|
3750
3755
|
}
|
|
3751
3756
|
`
|
|
3752
|
-
const
|
|
3757
|
+
const Iu=class extends _i{}.compose({baseName:"tab",baseClass:_i,template:(t,e)=>q`
|
|
3753
3758
|
<template slot="tab" role="tab" aria-disabled="${t=>t.disabled}">
|
|
3754
3759
|
<slot></slot>
|
|
3755
3760
|
</template>
|
|
3756
|
-
`,styles:
|
|
3757
|
-
|
|
3758
|
-
const
|
|
3759
|
-
${
|
|
3761
|
+
`,styles:zu})
|
|
3762
|
+
Fs.getOrCreate().withPrefix("nimble").register(Iu())
|
|
3763
|
+
const Ou=ut`
|
|
3764
|
+
${Zi("block")}
|
|
3760
3765
|
|
|
3761
3766
|
:host {
|
|
3762
3767
|
box-sizing: border-box;
|
|
@@ -3765,14 +3770,14 @@ const Cu=ut`
|
|
|
3765
3770
|
padding-top: ${Gn};
|
|
3766
3771
|
}
|
|
3767
3772
|
`
|
|
3768
|
-
const
|
|
3773
|
+
const Au=class extends ki{}.compose({baseName:"tab-panel",baseClass:ki,template:(t,e)=>q`
|
|
3769
3774
|
<template slot="tabpanel" role="tabpanel">
|
|
3770
3775
|
<slot></slot>
|
|
3771
3776
|
</template>
|
|
3772
|
-
`,styles:
|
|
3773
|
-
|
|
3774
|
-
const
|
|
3775
|
-
${
|
|
3777
|
+
`,styles:Ou})
|
|
3778
|
+
Fs.getOrCreate().withPrefix("nimble").register(Au())
|
|
3779
|
+
const Su=ut`
|
|
3780
|
+
${Zi("grid")}
|
|
3776
3781
|
|
|
3777
3782
|
:host {
|
|
3778
3783
|
box-sizing: border-box;
|
|
@@ -3794,7 +3799,7 @@ const _u=ut`
|
|
|
3794
3799
|
grid-column-end: 4;
|
|
3795
3800
|
}
|
|
3796
3801
|
`
|
|
3797
|
-
const
|
|
3802
|
+
const Eu=class extends Ii{constructor(){super(),this.activeindicator=!1}}.compose({baseName:"tabs",baseClass:Ii,template:(t,e)=>q`
|
|
3798
3803
|
<template class="${t=>t.orientation}">
|
|
3799
3804
|
${kt(0,e)}
|
|
3800
3805
|
<div class="tablist" part="tablist" role="tablist">
|
|
@@ -3813,10 +3818,10 @@ const zu=class extends Is{constructor(){super(),this.activeindicator=!1}}.compos
|
|
|
3813
3818
|
<slot name="tabpanel" part="tabpanel" ${wt("tabpanels")}></slot>
|
|
3814
3819
|
</div>
|
|
3815
3820
|
</template>
|
|
3816
|
-
`,styles:
|
|
3817
|
-
|
|
3818
|
-
const
|
|
3819
|
-
${
|
|
3821
|
+
`,styles:Su})
|
|
3822
|
+
Fs.getOrCreate().withPrefix("nimble").register(Eu())
|
|
3823
|
+
const Hu=ut`
|
|
3824
|
+
${Zi("flex")}
|
|
3820
3825
|
|
|
3821
3826
|
:host {
|
|
3822
3827
|
align-items: center;
|
|
@@ -3833,16 +3838,16 @@ const Iu=ut`
|
|
|
3833
3838
|
rgba(${Dn}, 0.3);
|
|
3834
3839
|
margin: calc(${Gn} / 4) calc(${Gn} / 2);
|
|
3835
3840
|
}
|
|
3836
|
-
`,
|
|
3841
|
+
`,Mu=q`
|
|
3837
3842
|
<template slot="end">
|
|
3838
3843
|
<div class="separator"></div>
|
|
3839
3844
|
<slot></slot>
|
|
3840
3845
|
</template>
|
|
3841
3846
|
`
|
|
3842
|
-
const
|
|
3843
|
-
|
|
3844
|
-
const
|
|
3845
|
-
${
|
|
3847
|
+
const Vu=class extends le{}.compose({baseName:"tabs-toolbar",template:Mu,styles:Hu})
|
|
3848
|
+
Fs.getOrCreate().withPrefix("nimble").register(Vu())
|
|
3849
|
+
const Lu="outline",Tu="block",Pu=ut`
|
|
3850
|
+
${Zi("inline-flex")}
|
|
3846
3851
|
|
|
3847
3852
|
:host {
|
|
3848
3853
|
font: ${_r};
|
|
@@ -3860,7 +3865,7 @@ const Su="outline",Eu="block",Hu=ut`
|
|
|
3860
3865
|
.label {
|
|
3861
3866
|
display: block;
|
|
3862
3867
|
color: ${Nr};
|
|
3863
|
-
font: ${
|
|
3868
|
+
font: ${Fr};
|
|
3864
3869
|
}
|
|
3865
3870
|
|
|
3866
3871
|
:host([disabled]) .label {
|
|
@@ -3933,12 +3938,12 @@ const Su="outline",Eu="block",Hu=ut`
|
|
|
3933
3938
|
:host([resize='vertical']) .control {
|
|
3934
3939
|
resize: vertical;
|
|
3935
3940
|
}
|
|
3936
|
-
`.withBehaviors(
|
|
3941
|
+
`.withBehaviors(Ch(Lu,ut`
|
|
3937
3942
|
.control {
|
|
3938
3943
|
border-color: rgba(${Dn}, 0.3);
|
|
3939
3944
|
background-color: transparent;
|
|
3940
3945
|
}
|
|
3941
|
-
`),
|
|
3946
|
+
`),Ch(Tu,ut`
|
|
3942
3947
|
.control {
|
|
3943
3948
|
background-color: rgba(${Dn}, 0.1);
|
|
3944
3949
|
}
|
|
@@ -3952,12 +3957,12 @@ const Su="outline",Eu="block",Hu=ut`
|
|
|
3952
3957
|
background-color: rgba(${Dn}, 0.1);
|
|
3953
3958
|
}
|
|
3954
3959
|
`))
|
|
3955
|
-
class
|
|
3956
|
-
const
|
|
3960
|
+
class Ru extends Ei{constructor(){super(...arguments),this.appearance=Lu}}_n([tt],Ru.prototype,"appearance",void 0)
|
|
3961
|
+
const Du=Ru.compose({baseName:"text-area",baseClass:Ei,template:(t,e)=>q`
|
|
3957
3962
|
<template
|
|
3958
3963
|
class="
|
|
3959
3964
|
${t=>t.readOnly?"readonly":""}
|
|
3960
|
-
${t=>t.resize!==
|
|
3965
|
+
${t=>t.resize!==Si?`resize-${t.resize}`:""}"
|
|
3961
3966
|
>
|
|
3962
3967
|
<label
|
|
3963
3968
|
part="label"
|
|
@@ -4008,11 +4013,11 @@ const Vu=Mu.compose({baseName:"text-area",baseClass:Es,template:(t,e)=>q`
|
|
|
4008
4013
|
${vt("control")}
|
|
4009
4014
|
></textarea>
|
|
4010
4015
|
</template>
|
|
4011
|
-
`,styles:
|
|
4012
|
-
|
|
4013
|
-
const
|
|
4014
|
-
${
|
|
4015
|
-
${
|
|
4016
|
+
`,styles:Pu,shadowOptions:{delegatesFocus:!0}})
|
|
4017
|
+
Fs.getOrCreate().withPrefix("nimble").register(Du())
|
|
4018
|
+
const Bu="underline",Fu="outline",Nu="block",ju="frameless",qu=ut`
|
|
4019
|
+
${Zi("inline-block")}
|
|
4020
|
+
${Kh}
|
|
4016
4021
|
|
|
4017
4022
|
:host {
|
|
4018
4023
|
font: ${_r};
|
|
@@ -4034,7 +4039,7 @@ const Lu="underline",Tu="outline",Pu="block",Ru="frameless",Du=ut`
|
|
|
4034
4039
|
.label {
|
|
4035
4040
|
display: flex;
|
|
4036
4041
|
color: ${Nr};
|
|
4037
|
-
font: ${
|
|
4042
|
+
font: ${Fr};
|
|
4038
4043
|
}
|
|
4039
4044
|
|
|
4040
4045
|
:host([disabled]) .label {
|
|
@@ -4064,7 +4069,7 @@ const Lu="underline",Tu="outline",Pu="block",Ru="frameless",Du=ut`
|
|
|
4064
4069
|
}
|
|
4065
4070
|
|
|
4066
4071
|
:host(.invalid) .root {
|
|
4067
|
-
border-bottom-color: ${
|
|
4072
|
+
border-bottom-color: ${Bn};
|
|
4068
4073
|
}
|
|
4069
4074
|
|
|
4070
4075
|
.root:focus-within {
|
|
@@ -4164,7 +4169,7 @@ const Lu="underline",Tu="outline",Pu="block",Ru="frameless",Du=ut`
|
|
|
4164
4169
|
}
|
|
4165
4170
|
|
|
4166
4171
|
:host(.invalid) [part='end']::after {
|
|
4167
|
-
border-bottom-color: ${
|
|
4172
|
+
border-bottom-color: ${Bn};
|
|
4168
4173
|
}
|
|
4169
4174
|
|
|
4170
4175
|
:host(:hover) [part='end']::after {
|
|
@@ -4183,12 +4188,12 @@ const Lu="underline",Tu="outline",Pu="block",Ru="frameless",Du=ut`
|
|
|
4183
4188
|
slot[name='actions']::slotted(*) {
|
|
4184
4189
|
${Xn.cssCustomProperty}: 24px;
|
|
4185
4190
|
}
|
|
4186
|
-
`.withBehaviors(
|
|
4191
|
+
`.withBehaviors(Ch(Bu,ut`
|
|
4187
4192
|
.root {
|
|
4188
4193
|
border-bottom-width: ${Jn};
|
|
4189
4194
|
padding-bottom: 0;
|
|
4190
4195
|
}
|
|
4191
|
-
`),
|
|
4196
|
+
`),Ch(Nu,ut`
|
|
4192
4197
|
.root {
|
|
4193
4198
|
background-color: rgba(${Dn}, 0.1);
|
|
4194
4199
|
}
|
|
@@ -4216,12 +4221,12 @@ const Lu="underline",Tu="outline",Pu="block",Ru="frameless",Du=ut`
|
|
|
4216
4221
|
:host([disabled]) .root {
|
|
4217
4222
|
background-color: rgba(${Dn}, 0.07);
|
|
4218
4223
|
}
|
|
4219
|
-
`),
|
|
4224
|
+
`),Ch(Fu,ut`
|
|
4220
4225
|
.root {
|
|
4221
4226
|
border-width: ${Jn};
|
|
4222
4227
|
padding: 0;
|
|
4223
4228
|
}
|
|
4224
|
-
`),
|
|
4229
|
+
`),Ch(ju,ut`
|
|
4225
4230
|
.control {
|
|
4226
4231
|
padding-left: ${Jn};
|
|
4227
4232
|
padding-right: ${Jn};
|
|
@@ -4239,8 +4244,8 @@ const Lu="underline",Tu="outline",Pu="block",Ru="frameless",Du=ut`
|
|
|
4239
4244
|
filter: invert(100%);
|
|
4240
4245
|
}
|
|
4241
4246
|
`))
|
|
4242
|
-
class
|
|
4243
|
-
const
|
|
4247
|
+
class Uu extends di{constructor(){super(...arguments),this.appearance=Bu}connectedCallback(){super.connectedCallback(),this.control.setAttribute("aria-errormessage","errortext")}}_n([tt],Uu.prototype,"appearance",void 0),_n([tt({attribute:"error-text"})],Uu.prototype,"errorText",void 0)
|
|
4248
|
+
const Ku=Uu.compose({baseName:"text-field",baseClass:di,template:(t,e)=>q`
|
|
4244
4249
|
<template
|
|
4245
4250
|
class="
|
|
4246
4251
|
${t=>t.readOnly?"readonly":""}
|
|
@@ -4252,7 +4257,7 @@ const Bu=Fu.compose({baseName:"text-field",baseClass:ds,template:(t,e)=>q`
|
|
|
4252
4257
|
class="${t=>t.defaultSlottedNodes&&t.defaultSlottedNodes.length?"label":"label label__hidden"}"
|
|
4253
4258
|
>
|
|
4254
4259
|
<slot
|
|
4255
|
-
${wt({property:"defaultSlottedNodes",filter:
|
|
4260
|
+
${wt({property:"defaultSlottedNodes",filter:mi})}
|
|
4256
4261
|
></slot>
|
|
4257
4262
|
</label>
|
|
4258
4263
|
<div class="root" part="root">
|
|
@@ -4300,17 +4305,17 @@ const Bu=Fu.compose({baseName:"text-field",baseClass:ds,template:(t,e)=>q`
|
|
|
4300
4305
|
${Ct(0,e)}
|
|
4301
4306
|
</div>
|
|
4302
4307
|
</template>
|
|
4303
|
-
`,styles:
|
|
4308
|
+
`,styles:qu,shadowOptions:{delegatesFocus:!0},end:q`
|
|
4304
4309
|
<nimble-icon-exclamation-mark
|
|
4305
4310
|
class="error-icon fail"
|
|
4306
4311
|
></nimble-icon-exclamation-mark>
|
|
4307
4312
|
<span part="actions">
|
|
4308
4313
|
<slot name="actions"></slot>
|
|
4309
4314
|
</span>
|
|
4310
|
-
${
|
|
4315
|
+
${Th}
|
|
4311
4316
|
`})
|
|
4312
|
-
|
|
4313
|
-
const
|
|
4317
|
+
Fs.getOrCreate().withPrefix("nimble").register(Ku())
|
|
4318
|
+
const Wu=ut`
|
|
4314
4319
|
.positioning-region {
|
|
4315
4320
|
display: flex;
|
|
4316
4321
|
padding: ${Yn} ${Gn};
|
|
@@ -4335,7 +4340,7 @@ const Nu=ut`
|
|
|
4335
4340
|
margin-left: auto;
|
|
4336
4341
|
}
|
|
4337
4342
|
`
|
|
4338
|
-
const
|
|
4343
|
+
const Xu=class extends Mi{}.compose({baseName:"toolbar",baseClass:Mi,template:(t,e)=>q`
|
|
4339
4344
|
<template
|
|
4340
4345
|
aria-label="${t=>t.ariaLabel}"
|
|
4341
4346
|
aria-labelledby="${t=>t.ariaLabelledby}"
|
|
@@ -4356,13 +4361,13 @@ const ju=class extends Ms{}.compose({baseName:"toolbar",baseClass:Ms,template:(t
|
|
|
4356
4361
|
${Ct(0,e)}
|
|
4357
4362
|
</div>
|
|
4358
4363
|
</template>
|
|
4359
|
-
`,styles:
|
|
4360
|
-
|
|
4361
|
-
const
|
|
4362
|
-
${
|
|
4364
|
+
`,styles:Wu,shadowOptions:{delegatesFocus:!0}})
|
|
4365
|
+
Fs.getOrCreate().withPrefix("nimble").register(Xu())
|
|
4366
|
+
const Yu=ut`
|
|
4367
|
+
${Zi("inline-flex")}
|
|
4363
4368
|
|
|
4364
4369
|
:host {
|
|
4365
|
-
font: ${
|
|
4370
|
+
font: ${ia};
|
|
4366
4371
|
color: ${oa};
|
|
4367
4372
|
text-align: left;
|
|
4368
4373
|
--ni-private-tooltip-border-color: ${Hn(go,.3)};
|
|
@@ -4444,9 +4449,9 @@ const qu=ut`
|
|
|
4444
4449
|
opacity: 0.6;
|
|
4445
4450
|
}
|
|
4446
4451
|
`))
|
|
4447
|
-
const
|
|
4452
|
+
const Gu=class extends Yi{}.compose({baseName:"tooltip",baseClass:Yi,template:t=>q`
|
|
4448
4453
|
${gt((t=>t.tooltipVisible),q`
|
|
4449
|
-
<${t.tagFor(
|
|
4454
|
+
<${t.tagFor(so)}
|
|
4450
4455
|
class="anchored-region"
|
|
4451
4456
|
fixed-placement="true"
|
|
4452
4457
|
auto-update-mode="${t=>t.autoUpdateMode}"
|
|
@@ -4464,22 +4469,22 @@ const Uu=class extends Ys{}.compose({baseName:"tooltip",baseClass:Ys,template:t=
|
|
|
4464
4469
|
${vt("region")}
|
|
4465
4470
|
>
|
|
4466
4471
|
<div class="tooltip" part="tooltip" role="tooltip">
|
|
4467
|
-
<${t.tagFor(
|
|
4468
|
-
<${t.tagFor(
|
|
4472
|
+
<${t.tagFor(Fh)} class="fail status-icon"></${t.tagFor(Fh)}>
|
|
4473
|
+
<${t.tagFor(tu)} class="information status-icon"></${t.tagFor(tu)}>
|
|
4469
4474
|
<slot></slot>
|
|
4470
4475
|
</div>
|
|
4471
|
-
</${t.tagFor(
|
|
4476
|
+
</${t.tagFor(so)}>
|
|
4472
4477
|
`)}
|
|
4473
|
-
`,styles:
|
|
4474
|
-
|
|
4475
|
-
const
|
|
4476
|
-
class
|
|
4477
|
-
e&&On.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new
|
|
4478
|
-
On.subscribe(e),e.attach(
|
|
4479
|
-
t?.forEach((t=>t.removeAttribute(
|
|
4478
|
+
`,styles:Yu})
|
|
4479
|
+
Fs.getOrCreate().withPrefix("nimble").register(Gu())
|
|
4480
|
+
const Qu="group-selected",Ju="all",Zu="leaves-only",tp="none"
|
|
4481
|
+
class ep{constructor(t,e){this.cache=new WeakMap,this.ltr=t,this.rtl=e}bind(t){this.attach(t)}unbind(t){const e=this.cache.get(t)
|
|
4482
|
+
e&&On.unsubscribe(e)}attach(t){const e=this.cache.get(t)||new sp(this.ltr,this.rtl,t),s=On.getValueFor(t)
|
|
4483
|
+
On.subscribe(e),e.attach(s),this.cache.set(t,e)}}class sp{constructor(t,e,s){this.ltr=t,this.rtl=e,this.source=s,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 ip=class extends Qi{constructor(){super(...arguments),this.treeView=null,this.handleSelectedChange=t=>{t.target===this&&this.selected&&this.setGroupSelectionOnRootParentTreeItem(this)}}connectedCallback(){super.connectedCallback(),this.addEventListener("selected-change",this.handleSelectedChange),this.treeView=this.getParentTreeView(),this.treeView&&this.selected&&this.setGroupSelectionOnRootParentTreeItem(this)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("selected-change",this.handleSelectedChange),this.treeView=null}clearTreeGroupSelection(){const t=this.treeView?.querySelectorAll("[group-selected]")
|
|
4484
|
+
t?.forEach((t=>t.removeAttribute(Qu)))}setGroupSelectionOnRootParentTreeItem(t){this.clearTreeGroupSelection()
|
|
4480
4485
|
let e=t
|
|
4481
4486
|
for(;e?.parentElement!==this.treeView;)e=e?.parentElement
|
|
4482
|
-
e&&e.setAttribute(
|
|
4487
|
+
e&&e.setAttribute(Qu,"true")}getParentTreeView(){return this.parentElement.closest("[role='tree']")}}.compose({baseName:"tree-item",baseClass:Qi,template:(t,e)=>q`
|
|
4483
4488
|
<template
|
|
4484
4489
|
role="treeitem"
|
|
4485
4490
|
slot="${t=>t.isNestedItem()?"item":void 0}"
|
|
@@ -4520,7 +4525,7 @@ e&&e.setAttribute(Ku,"true")}getParentTreeView(){return this.parentElement.close
|
|
|
4520
4525
|
`)}
|
|
4521
4526
|
</template>
|
|
4522
4527
|
`,styles:(t,e)=>ut`
|
|
4523
|
-
${
|
|
4528
|
+
${Zi("block")}
|
|
4524
4529
|
|
|
4525
4530
|
:host {
|
|
4526
4531
|
${""}
|
|
@@ -4535,7 +4540,7 @@ e&&e.setAttribute(Ku,"true")}getParentTreeView(){return this.parentElement.close
|
|
|
4535
4540
|
}
|
|
4536
4541
|
|
|
4537
4542
|
${""}
|
|
4538
|
-
:host([${
|
|
4543
|
+
:host([${Qu}])::after {
|
|
4539
4544
|
background: ${qn};
|
|
4540
4545
|
border-radius: 0px;
|
|
4541
4546
|
content: '';
|
|
@@ -4557,11 +4562,11 @@ e&&e.setAttribute(Ku,"true")}getParentTreeView(){return this.parentElement.close
|
|
|
4557
4562
|
background: ${Pn};
|
|
4558
4563
|
}
|
|
4559
4564
|
|
|
4560
|
-
:host([${
|
|
4565
|
+
:host([${Qu}]) .positioning-region:hover {
|
|
4561
4566
|
background: ${Tn};
|
|
4562
4567
|
}
|
|
4563
4568
|
|
|
4564
|
-
:host(${
|
|
4569
|
+
:host(${wh}) .positioning-region {
|
|
4565
4570
|
box-shadow: 0px 0px 0px ${Jn} ${qn} inset;
|
|
4566
4571
|
outline: ${Jn} solid ${qn};
|
|
4567
4572
|
outline-offset: -2px;
|
|
@@ -4595,7 +4600,7 @@ e&&e.setAttribute(Ku,"true")}getParentTreeView(){return this.parentElement.close
|
|
|
4595
4600
|
margin-inline-start: ${Zn};
|
|
4596
4601
|
}
|
|
4597
4602
|
|
|
4598
|
-
:host(${
|
|
4603
|
+
:host(${wh}) .content-region {
|
|
4599
4604
|
outline: none;
|
|
4600
4605
|
}
|
|
4601
4606
|
|
|
@@ -4644,7 +4649,7 @@ e&&e.setAttribute(Ku,"true")}getParentTreeView(){return this.parentElement.close
|
|
|
4644
4649
|
height: ${Zn};
|
|
4645
4650
|
}
|
|
4646
4651
|
|
|
4647
|
-
::slotted(${t.tagFor(
|
|
4652
|
+
::slotted(${t.tagFor(Qi)}) {
|
|
4648
4653
|
--ni-private-tree-item-nested-width: 1em;
|
|
4649
4654
|
--ni-private-expand-collapse-button-nested-width: calc(
|
|
4650
4655
|
${Zn} * -1
|
|
@@ -4667,7 +4672,7 @@ e&&e.setAttribute(Ku,"true")}getParentTreeView(){return this.parentElement.close
|
|
|
4667
4672
|
:host([expanded]) .items {
|
|
4668
4673
|
display: block;
|
|
4669
4674
|
}
|
|
4670
|
-
`.withBehaviors(new
|
|
4675
|
+
`.withBehaviors(new ep(ut`
|
|
4671
4676
|
${""}
|
|
4672
4677
|
.expand-collapse-button {
|
|
4673
4678
|
left: var(
|
|
@@ -4700,9 +4705,9 @@ e&&e.setAttribute(Ku,"true")}getParentTreeView(){return this.parentElement.close
|
|
|
4700
4705
|
transform: rotate(135deg);
|
|
4701
4706
|
}
|
|
4702
4707
|
`)),expandCollapseGlyph:Da.data})
|
|
4703
|
-
|
|
4704
|
-
const
|
|
4705
|
-
${
|
|
4708
|
+
Fs.getOrCreate().withPrefix("nimble").register(ip())
|
|
4709
|
+
const op=ut`
|
|
4710
|
+
${Zi("flex")}
|
|
4706
4711
|
|
|
4707
4712
|
:host {
|
|
4708
4713
|
flex-direction: column;
|
|
@@ -4710,18 +4715,18 @@ const Zu=ut`
|
|
|
4710
4715
|
min-width: fit-content;
|
|
4711
4716
|
font-size: 0;
|
|
4712
4717
|
}
|
|
4713
|
-
:host(${
|
|
4718
|
+
:host(${wh}) {
|
|
4714
4719
|
outline: none;
|
|
4715
4720
|
}
|
|
4716
4721
|
`
|
|
4717
|
-
class
|
|
4718
|
-
if(!(t.target instanceof Element&&
|
|
4722
|
+
class np extends Ji{constructor(){super(...arguments),this.selectionMode=Ju}handleClick(t){if(t.defaultPrevented)return!1
|
|
4723
|
+
if(!(t.target instanceof Element&&Gi(t.target)))return!0
|
|
4719
4724
|
const e=t.target
|
|
4720
|
-
return!e.disabled&&(this.canSelect(e)?e.selected=!0:this.itemHasChildren(e)&&(e.expanded=!e.expanded),!0)}canSelect(t){switch(this.selectionMode){case
|
|
4721
|
-
case
|
|
4722
|
-
case
|
|
4723
|
-
default:return!0}}itemHasChildren(t){return null!==t.querySelector('[role="treeitem"]')}}_n([tt({attribute:"selection-mode"})],
|
|
4724
|
-
const
|
|
4725
|
+
return!e.disabled&&(this.canSelect(e)?e.selected=!0:this.itemHasChildren(e)&&(e.expanded=!e.expanded),!0)}canSelect(t){switch(this.selectionMode){case Ju:return!0
|
|
4726
|
+
case tp:return!1
|
|
4727
|
+
case Zu:return!this.itemHasChildren(t)
|
|
4728
|
+
default:return!0}}itemHasChildren(t){return null!==t.querySelector('[role="treeitem"]')}}_n([tt({attribute:"selection-mode"})],np.prototype,"selectionMode",void 0)
|
|
4729
|
+
const rp=np.compose({baseName:"tree-view",baseClass:Ji,template:(t,e)=>q`
|
|
4725
4730
|
<template
|
|
4726
4731
|
role="tree"
|
|
4727
4732
|
${vt("treeView")}
|
|
@@ -4733,6 +4738,6 @@ const ep=tp.compose({baseName:"tree-view",baseClass:Js,template:(t,e)=>q`
|
|
|
4733
4738
|
>
|
|
4734
4739
|
<slot ${wt("slottedTreeItems")}></slot>
|
|
4735
4740
|
</template>
|
|
4736
|
-
`,styles:
|
|
4737
|
-
|
|
4741
|
+
`,styles:op})
|
|
4742
|
+
Fs.getOrCreate().withPrefix("nimble").register(rp())}()
|
|
4738
4743
|
//# sourceMappingURL=all-components-bundle.min.js.map
|