@hortiview/shared-components 0.0.4723 → 0.0.4724

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/_getTag-DyrzUAbj.js +494 -0
  2. package/dist/components/BaseView/BaseView.js +43 -297
  3. package/dist/components/BasicHeading/BasicHeading.js +24 -25
  4. package/dist/components/BasicHeading/BasicHeading.test.js +4 -4
  5. package/dist/components/BlockView/BlockView.js +14 -14
  6. package/dist/components/DeleteModal/DeleteModal.js +49 -4687
  7. package/dist/components/Disclaimer/Disclaimer.js +8 -10
  8. package/dist/components/EmptyView/EmptyView.js +8 -247
  9. package/dist/components/HashTabView/HashTabView.js +52 -1838
  10. package/dist/components/HeaderFilter/HeaderFilter.js +18 -7595
  11. package/dist/components/Iconify/Iconify.js +1 -1
  12. package/dist/components/ListArea/ListArea.js +316 -261
  13. package/dist/components/ListArea/ListArea.test.js +1 -1
  14. package/dist/components/ListArea/ListAreaService.js +34 -35
  15. package/dist/components/SearchBar/SearchBar.js +21 -2043
  16. package/package.json +1 -1
  17. package/dist/BlockView.module-ypKp14Lt.cjs +0 -1
  18. package/dist/HashTabView.module-B20c3S70.cjs +0 -1
  19. package/dist/HeaderFilter.module-DSCJz6-s.cjs +0 -1
  20. package/dist/_commonjsHelpers-DwTZ_eVU.cjs +0 -1
  21. package/dist/_getTag-DNUtgXkb.js +0 -136
  22. package/dist/_getTag-DSIzMwlx.cjs +0 -1
  23. package/dist/_stringToPath-B-GSTJ2e.cjs +0 -1
  24. package/dist/_stringToPath-BfzwTbL6.js +0 -54
  25. package/dist/baseView.module--VUY4h_X.cjs +0 -1
  26. package/dist/basicHeading.module-BbcVMp42.cjs +0 -1
  27. package/dist/component-DJvMx3oL.cjs +0 -148
  28. package/dist/component-Rx4bNsGO.js +0 -680
  29. package/dist/disclaimer.module-BfrBh-Rf.cjs +0 -1
  30. package/dist/index.es-80RhGkCD.cjs +0 -1
  31. package/dist/index.es-Ba9oZK_n.js +0 -769
  32. package/dist/index.es-C1ojb4Lq.js +0 -106
  33. package/dist/index.es-CEydmFbW.cjs +0 -23
  34. package/dist/index.es-CKdjg72r.cjs +0 -64
  35. package/dist/index.es-CNBieliG.js +0 -151
  36. package/dist/index.es-CPRODq-I.cjs +0 -127
  37. package/dist/index.es-CQ3ep412.js +0 -305
  38. package/dist/index.es-CSD_u-fK.cjs +0 -1
  39. package/dist/index.es-CVCp4d0C.js +0 -45
  40. package/dist/index.es-Cct4Uapb.js +0 -1776
  41. package/dist/index.es-Cj9DW-2T.js +0 -430
  42. package/dist/index.es-Cm4X20_S.js +0 -673
  43. package/dist/index.es-Cqx46S1V.cjs +0 -540
  44. package/dist/index.es-DiO-sp-V.cjs +0 -1
  45. package/dist/index.es-DyXn5zZ8.cjs +0 -1
  46. package/dist/index.es-InSNsV4f.js +0 -1067
  47. package/dist/index.es-J3ub0jmR.cjs +0 -1
  48. package/dist/index.es-L0ZCcbUf.js +0 -4939
  49. package/dist/index.es-gvcK6-6t.cjs +0 -1
  50. package/dist/listArea.module-CMO-yRdf.cjs +0 -1
  51. package/dist/magic-string.es-EQkD18No.cjs +0 -10
  52. package/dist/react.esm-CMNZXU0t.cjs +0 -93
  53. package/dist/searchBar.module-CFi8D8zn.cjs +0 -1
  54. package/dist/tslib.es6-CIXEwqhg.js +0 -72
  55. package/dist/tslib.es6-D1TYK0An.cjs +0 -1
  56. package/dist/useBreakpoint-PUopk3AO.cjs +0 -1
  57. package/dist/verticalDivider.module-Ciw9Fnt1.cjs +0 -1
  58. package/dist/vi.JYQecGiw-M1q0RI3O.cjs +0 -512
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hortiview/shared-components",
3
3
  "description": "This is a shared component library. It should used in the HortiView platform and its modules.",
4
- "version": "0.0.4723",
4
+ "version": "0.0.4724",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -1 +0,0 @@
1
- var u=require("./assets/BlockView.css");const c="_grid_g18cu_1",o="_black_g18cu_11",t="_blockLayout_g18cu_15",_="_blockRow_g18cu_27",l="_block_g18cu_15",s="_active_g18cu_46",b="_error_g18cu_52",e="_empty_g18cu_58",k="_blockText_g18cu_65",r={grid:c,black:o,blockLayout:t,blockRow:_,block:l,active:s,error:b,empty:e,blockText:k};exports.styles=r;
@@ -1 +0,0 @@
1
- var i=require("./assets/HashTabView.css");const t="_elevation_1rcw6_1",n="_themeBackground_1rcw6_6",a="_tabBar_1rcw6_10",r="_tabWrapper_1rcw6_16",c="_tabButton_1rcw6_20",e="_childContainer_1rcw6_24",o="_childContainerLg_1rcw6_28",_={elevation:t,themeBackground:n,tabBar:a,tabWrapper:r,tabButton:c,childContainer:e,childContainerLg:o};exports.styles=_;
@@ -1 +0,0 @@
1
- var l=require("./assets/HeaderFilter.css");const t="_filterSelect_923nc_1",e={filterSelect:t};exports.styles=e;
@@ -1 +0,0 @@
1
- "use strict";var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),t}exports.commonjsGlobal=u;exports.getAugmentedNamespace=l;exports.getDefaultExportFromCjs=f;
@@ -1,136 +0,0 @@
1
- import { k as G, h as U, o as W, p as j, q as T, s as S, t as F, g as I, v as V } from "./index.es-Cct4Uapb.js";
2
- var z = "__lodash_hash_undefined__";
3
- function J(e) {
4
- return this.__data__.set(e, z), this;
5
- }
6
- var K = J;
7
- function Q(e) {
8
- return this.__data__.has(e);
9
- }
10
- var X = Q, Y = G, Z = K, k = X;
11
- function A(e) {
12
- var a = -1, r = e == null ? 0 : e.length;
13
- for (this.__data__ = new Y(); ++a < r; )
14
- this.add(e[a]);
15
- }
16
- A.prototype.add = A.prototype.push = Z;
17
- A.prototype.has = k;
18
- var ee = A;
19
- function ae(e, a) {
20
- for (var r = -1, t = e == null ? 0 : e.length; ++r < t; )
21
- if (a(e[r], r, e))
22
- return !0;
23
- return !1;
24
- }
25
- var re = ae;
26
- function te(e, a) {
27
- return e.has(a);
28
- }
29
- var ne = te, se = ee, ie = re, fe = ne, ge = 1, ue = 2;
30
- function ve(e, a, r, t, g, n) {
31
- var i = r & ge, s = e.length, c = a.length;
32
- if (s != c && !(i && c > s))
33
- return !1;
34
- var o = n.get(e), l = n.get(a);
35
- if (o && l)
36
- return o == a && l == e;
37
- var _ = -1, d = !0, y = r & ue ? new se() : void 0;
38
- for (n.set(e, a), n.set(a, e); ++_ < s; ) {
39
- var u = e[_], p = a[_];
40
- if (t)
41
- var M = i ? t(p, u, _, a, e, n) : t(u, p, _, e, a, n);
42
- if (M !== void 0) {
43
- if (M)
44
- continue;
45
- d = !1;
46
- break;
47
- }
48
- if (y) {
49
- if (!ie(a, function(E, D) {
50
- if (!fe(y, D) && (u === E || g(u, E, r, t, n)))
51
- return y.push(D);
52
- })) {
53
- d = !1;
54
- break;
55
- }
56
- } else if (!(u === p || g(u, p, r, t, n))) {
57
- d = !1;
58
- break;
59
- }
60
- }
61
- return n.delete(e), n.delete(a), d;
62
- }
63
- var oe = ve;
64
- function _e(e) {
65
- var a = -1, r = Array(e.size);
66
- return e.forEach(function(t, g) {
67
- r[++a] = [g, t];
68
- }), r;
69
- }
70
- var ce = _e;
71
- function le(e) {
72
- var a = -1, r = Array(e.size);
73
- return e.forEach(function(t) {
74
- r[++a] = t;
75
- }), r;
76
- }
77
- var de = le, P = U, L = W, pe = j, Ae = oe, Te = ce, Se = de, ye = 1, we = 2, $e = "[object Boolean]", be = "[object Date]", he = "[object Error]", Ce = "[object Map]", me = "[object Number]", Me = "[object RegExp]", Ee = "[object Set]", De = "[object String]", Pe = "[object Symbol]", Le = "[object ArrayBuffer]", Oe = "[object DataView]", O = P ? P.prototype : void 0, w = O ? O.valueOf : void 0;
78
- function Re(e, a, r, t, g, n, i) {
79
- switch (r) {
80
- case Oe:
81
- if (e.byteLength != a.byteLength || e.byteOffset != a.byteOffset)
82
- return !1;
83
- e = e.buffer, a = a.buffer;
84
- case Le:
85
- return !(e.byteLength != a.byteLength || !n(new L(e), new L(a)));
86
- case $e:
87
- case be:
88
- case me:
89
- return pe(+e, +a);
90
- case he:
91
- return e.name == a.name && e.message == a.message;
92
- case Me:
93
- case De:
94
- return e == a + "";
95
- case Ce:
96
- var s = Te;
97
- case Ee:
98
- var c = t & ye;
99
- if (s || (s = Se), e.size != a.size && !c)
100
- return !1;
101
- var o = i.get(e);
102
- if (o)
103
- return o == a;
104
- t |= we, i.set(e, a);
105
- var l = Ae(s(e), s(a), t, g, n, i);
106
- return i.delete(e), l;
107
- case Pe:
108
- if (w)
109
- return w.call(e) == w.call(a);
110
- }
111
- return !1;
112
- }
113
- var ta = Re, Ne = T, He = S, xe = Ne(He, "DataView"), qe = xe, Be = T, Ge = S, Ue = Be(Ge, "Promise"), We = Ue, je = T, Fe = S, Ie = je(Fe, "Set"), Ve = Ie, ze = T, Je = S, Ke = ze(Je, "WeakMap"), Qe = Ke, $ = qe, b = F, h = We, C = Ve, m = Qe, B = I, v = V, R = "[object Map]", Xe = "[object Object]", N = "[object Promise]", H = "[object Set]", x = "[object WeakMap]", q = "[object DataView]", Ye = v($), Ze = v(b), ke = v(h), ea = v(C), aa = v(m), f = B;
114
- ($ && f(new $(new ArrayBuffer(1))) != q || b && f(new b()) != R || h && f(h.resolve()) != N || C && f(new C()) != H || m && f(new m()) != x) && (f = function(e) {
115
- var a = B(e), r = a == Xe ? e.constructor : void 0, t = r ? v(r) : "";
116
- if (t)
117
- switch (t) {
118
- case Ye:
119
- return q;
120
- case Ze:
121
- return R;
122
- case ke:
123
- return N;
124
- case ea:
125
- return H;
126
- case aa:
127
- return x;
128
- }
129
- return a;
130
- });
131
- var na = f;
132
- export {
133
- oe as _,
134
- ta as a,
135
- na as b
136
- };
@@ -1 +0,0 @@
1
- "use strict";const n=require("./index.es-CEydmFbW.cjs");var G="__lodash_hash_undefined__";function U(e){return this.__data__.set(e,G),this}var W=U;function j(e){return this.__data__.has(e)}var F=j,I=n._MapCache,V=W,z=F;function p(e){var a=-1,r=e==null?0:e.length;for(this.__data__=new I;++a<r;)this.add(e[a])}p.prototype.add=p.prototype.push=V;p.prototype.has=z;var J=p;function K(e,a){for(var r=-1,t=e==null?0:e.length;++r<t;)if(a(e[r],r,e))return!0;return!1}var Q=K;function X(e,a){return e.has(a)}var Y=X,Z=J,k=Q,ee=Y,ae=1,re=2;function te(e,a,r,t,u,i){var f=r&ae,s=e.length,l=a.length;if(s!=l&&!(f&&l>s))return!1;var v=i.get(e),d=i.get(a);if(v&&d)return v==a&&d==e;var c=-1,T=!0,y=r&re?new Z:void 0;for(i.set(e,a),i.set(a,e);++c<s;){var _=e[c],A=a[c];if(t)var m=f?t(A,_,c,a,e,i):t(_,A,c,e,a,i);if(m!==void 0){if(m)continue;T=!1;break}if(y){if(!k(a,function(M,E){if(!ee(y,E)&&(_===M||u(_,M,r,t,i)))return y.push(E)})){T=!1;break}}else if(!(_===A||u(_,A,r,t,i))){T=!1;break}}return i.delete(e),i.delete(a),T}var x=te;function ne(e){var a=-1,r=Array(e.size);return e.forEach(function(t,u){r[++a]=[u,t]}),r}var ie=ne;function se(e){var a=-1,r=Array(e.size);return e.forEach(function(t){r[++a]=t}),r}var fe=se,D=n._Symbol,N=n._Uint8Array,ge=n.eq_1,ue=x,_e=ie,oe=fe,ve=1,ce=2,le="[object Boolean]",de="[object Date]",Te="[object Error]",Ae="[object Map]",pe="[object Number]",ye="[object RegExp]",Se="[object Set]",we="[object String]",$e="[object Symbol]",be="[object ArrayBuffer]",Ce="[object DataView]",P=D?D.prototype:void 0,S=P?P.valueOf:void 0;function he(e,a,r,t,u,i,f){switch(r){case Ce:if(e.byteLength!=a.byteLength||e.byteOffset!=a.byteOffset)return!1;e=e.buffer,a=a.buffer;case be:return!(e.byteLength!=a.byteLength||!i(new N(e),new N(a)));case le:case de:case pe:return ge(+e,+a);case Te:return e.name==a.name&&e.message==a.message;case ye:case we:return e==a+"";case Ae:var s=_e;case Se:var l=t&ve;if(s||(s=oe),e.size!=a.size&&!l)return!1;var v=f.get(e);if(v)return v==a;t|=ce,f.set(e,a);var d=ue(s(e),s(a),t,u,i,f);return f.delete(e),d;case $e:if(S)return S.call(e)==S.call(a)}return!1}var me=he,Me=n._getNative,Ee=n._root,De=Me(Ee,"DataView"),Ne=De,Pe=n._getNative,Le=n._root,Oe=Pe(Le,"Promise"),Re=Oe,qe=n._getNative,He=n._root,xe=qe(He,"Set"),Be=xe,Ge=n._getNative,Ue=n._root,We=Ge(Ue,"WeakMap"),je=We,w=Ne,$=n._Map,b=Re,C=Be,h=je,B=n._baseGetTag,o=n._toSource,L="[object Map]",Fe="[object Object]",O="[object Promise]",R="[object Set]",q="[object WeakMap]",H="[object DataView]",Ie=o(w),Ve=o($),ze=o(b),Je=o(C),Ke=o(h),g=B;(w&&g(new w(new ArrayBuffer(1)))!=H||$&&g(new $)!=L||b&&g(b.resolve())!=O||C&&g(new C)!=R||h&&g(new h)!=q)&&(g=function(e){var a=B(e),r=a==Fe?e.constructor:void 0,t=r?o(r):"";if(t)switch(t){case Ie:return H;case Ve:return L;case ze:return O;case Je:return R;case Ke:return q}return a});var Qe=g;exports._equalArrays=x;exports._equalByTag=me;exports._getTag=Qe;
@@ -1 +0,0 @@
1
- "use strict";const o=require("./index.es-CEydmFbW.cjs");function b(r,e){for(var a=-1,t=r==null?0:r.length,n=Array(t);++a<t;)n[a]=e(r[a],a,r);return n}var f=b,g=o._baseGetTag,l=o.isObjectLike_1,v="[object Symbol]";function d(r){return typeof r=="symbol"||l(r)&&g(r)==v}var h=d,p=o._Symbol,T=f,S=o.isArray_1,C=h,M=1/0,u=p?p.prototype:void 0,m=u?u.toString:void 0;function y(r){if(typeof r=="string")return r;if(S(r))return T(r,y)+"";if(C(r))return m?m.call(r):"";var e=r+"";return e=="0"&&1/r==-M?"-0":e}var z=y,_=o._MapCache,E="Expected a function";function c(r,e){if(typeof r!="function"||e!=null&&typeof e!="function")throw new TypeError(E);var a=function(){var t=arguments,n=e?e.apply(this,t):t[0],i=a.cache;if(i.has(n))return i.get(n);var s=r.apply(this,t);return a.cache=i.set(n,s)||i,s};return a.cache=new(c.Cache||_),a}c.Cache=_;var $=c,A=$,I=500;function P(r){var e=A(r,function(t){return a.size===I&&a.clear(),t}),a=e.cache;return e}var w=P,N=w,O=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,j=/\\(\\)?/g,k=N(function(r){var e=[];return r.charCodeAt(0)===46&&e.push(""),r.replace(O,function(a,t,n,i){e.push(n?i.replace(j,"$1"):t||a)}),e}),x=k;exports._arrayMap=f;exports._baseToString=z;exports._stringToPath=x;exports.isSymbol_1=h;
@@ -1,54 +0,0 @@
1
- import { g as h, i as y, h as b, j as g, k as l } from "./index.es-Cct4Uapb.js";
2
- function _(r, e) {
3
- for (var a = -1, t = r == null ? 0 : r.length, n = Array(t); ++a < t; )
4
- n[a] = e(r[a], a, r);
5
- return n;
6
- }
7
- var v = _, d = h, T = y, S = "[object Symbol]";
8
- function C(r) {
9
- return typeof r == "symbol" || T(r) && d(r) == S;
10
- }
11
- var z = C, c = b, E = v, M = g, $ = z, A = 1 / 0, p = c ? c.prototype : void 0, m = p ? p.toString : void 0;
12
- function u(r) {
13
- if (typeof r == "string")
14
- return r;
15
- if (M(r))
16
- return E(r, u) + "";
17
- if ($(r))
18
- return m ? m.call(r) : "";
19
- var e = r + "";
20
- return e == "0" && 1 / r == -A ? "-0" : e;
21
- }
22
- var L = u, f = l, I = "Expected a function";
23
- function o(r, e) {
24
- if (typeof r != "function" || e != null && typeof e != "function")
25
- throw new TypeError(I);
26
- var a = function() {
27
- var t = arguments, n = e ? e.apply(this, t) : t[0], i = a.cache;
28
- if (i.has(n))
29
- return i.get(n);
30
- var s = r.apply(this, t);
31
- return a.cache = i.set(n, s) || i, s;
32
- };
33
- return a.cache = new (o.Cache || f)(), a;
34
- }
35
- o.Cache = f;
36
- var j = o, k = j, w = 500;
37
- function N(r) {
38
- var e = k(r, function(t) {
39
- return a.size === w && a.clear(), t;
40
- }), a = e.cache;
41
- return e;
42
- }
43
- var O = N, P = O, x = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, R = /\\(\\)?/g, F = P(function(r) {
44
- var e = [];
45
- return r.charCodeAt(0) === 46 && e.push(""), r.replace(x, function(a, t, n, i) {
46
- e.push(n ? i.replace(R, "$1") : t || a);
47
- }), e;
48
- }), X = F;
49
- export {
50
- L as _,
51
- X as a,
52
- v as b,
53
- z as i
54
- };
@@ -1 +0,0 @@
1
- var t=require("./assets/baseView.css");const i="_divider_anyyu_1",s={divider:i};exports.styles=s;
@@ -1 +0,0 @@
1
- var w=require("./assets/basicHeading.css");const n="_pageHeader_fwns1_1",t="_headlineContainer_fwns1_11",e="_actionButtonContainer_fwns1_16",i="_content_fwns1_25",a="_leadingIcon_fwns1_31",o="_headingWrapper_fwns1_38",s="_headingContainer_fwns1_43",_="_invisible_fwns1_48",r="_withAvatar_fwns1_52",c="_iconContainer_fwns1_57",d={pageHeader:n,headlineContainer:t,actionButtonContainer:e,content:i,leadingIcon:a,headingWrapper:o,headingContainer:s,invisible:_,withAvatar:r,iconContainer:c};exports.styles=d;
@@ -1,148 +0,0 @@
1
- "use strict";const d=require("./tslib.es6-D1TYK0An.cjs");/**
2
- * @license
3
- * Copyright 2016 Google Inc.
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- */var h=function(){function a(i){i===void 0&&(i={}),this.adapter=i}return Object.defineProperty(a,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(a,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(a,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(a,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),a.prototype.init=function(){},a.prototype.destroy=function(){},a}();/**
23
- * @license
24
- * Copyright 2016 Google Inc.
25
- *
26
- * Permission is hereby granted, free of charge, to any person obtaining a copy
27
- * of this software and associated documentation files (the "Software"), to deal
28
- * in the Software without restriction, including without limitation the rights
29
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
30
- * copies of the Software, and to permit persons to whom the Software is
31
- * furnished to do so, subject to the following conditions:
32
- *
33
- * The above copyright notice and this permission notice shall be included in
34
- * all copies or substantial portions of the Software.
35
- *
36
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
37
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
38
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
39
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
40
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
41
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
42
- * THE SOFTWARE.
43
- */var S=function(){function a(i,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];this.root=i,this.initialize.apply(this,d.__spreadArray([],d.__read(e))),this.foundation=t===void 0?this.getDefaultFoundation():t,this.foundation.init(),this.initialSyncWithDOM()}return a.attachTo=function(i){return new a(i,new h({}))},a.prototype.initialize=function(){},a.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},a.prototype.initialSyncWithDOM=function(){},a.prototype.destroy=function(){this.foundation.destroy()},a.prototype.listen=function(i,t,e){this.root.addEventListener(i,t,e)},a.prototype.unlisten=function(i,t,e){this.root.removeEventListener(i,t,e)},a.prototype.emit=function(i,t,e){e===void 0&&(e=!1);var n;typeof CustomEvent=="function"?n=new CustomEvent(i,{bubbles:e,detail:t}):(n=document.createEvent("CustomEvent"),n.initCustomEvent(i,e,!1,t)),this.root.dispatchEvent(n)},a}();/**
44
- * @license
45
- * Copyright 2018 Google Inc.
46
- *
47
- * Permission is hereby granted, free of charge, to any person obtaining a copy
48
- * of this software and associated documentation files (the "Software"), to deal
49
- * in the Software without restriction, including without limitation the rights
50
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
51
- * copies of the Software, and to permit persons to whom the Software is
52
- * furnished to do so, subject to the following conditions:
53
- *
54
- * The above copyright notice and this permission notice shall be included in
55
- * all copies or substantial portions of the Software.
56
- *
57
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
58
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
59
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
60
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
61
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
- * THE SOFTWARE.
64
- */function b(a,i){if(a.closest)return a.closest(i);for(var t=a;t;){if(_(t,i))return t;t=t.parentElement}return null}function _(a,i){var t=a.matches||a.webkitMatchesSelector||a.msMatchesSelector;return t.call(a,i)}function D(a){var i=a;if(i.offsetParent!==null)return i.scrollWidth;var t=i.cloneNode(!0);t.style.setProperty("position","absolute"),t.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(t);var e=t.scrollWidth;return document.documentElement.removeChild(t),e}const R=Object.freeze(Object.defineProperty({__proto__:null,closest:b,estimateScrollWidth:D,matches:_},Symbol.toStringTag,{value:"Module"}));/**
65
- * @license
66
- * Copyright 2019 Google Inc.
67
- *
68
- * Permission is hereby granted, free of charge, to any person obtaining a copy
69
- * of this software and associated documentation files (the "Software"), to deal
70
- * in the Software without restriction, including without limitation the rights
71
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
72
- * copies of the Software, and to permit persons to whom the Software is
73
- * furnished to do so, subject to the following conditions:
74
- *
75
- * The above copyright notice and this permission notice shall be included in
76
- * all copies or substantial portions of the Software.
77
- *
78
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
79
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
80
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
81
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
82
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
83
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
84
- * THE SOFTWARE.
85
- */function l(a){return a===void 0&&(a=window),F(a)?{passive:!0}:!1}function F(a){a===void 0&&(a=window);var i=!1;try{var t={get passive(){return i=!0,!1}},e=function(){};a.document.addEventListener("test",e,t),a.document.removeEventListener("test",e,t)}catch{i=!1}return i}/**
86
- * @license
87
- * Copyright 2016 Google Inc.
88
- *
89
- * Permission is hereby granted, free of charge, to any person obtaining a copy
90
- * of this software and associated documentation files (the "Software"), to deal
91
- * in the Software without restriction, including without limitation the rights
92
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
93
- * copies of the Software, and to permit persons to whom the Software is
94
- * furnished to do so, subject to the following conditions:
95
- *
96
- * The above copyright notice and this permission notice shall be included in
97
- * all copies or substantial portions of the Software.
98
- *
99
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
100
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
101
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
102
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
103
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
104
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
105
- * THE SOFTWARE.
106
- */var w={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},V={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},C={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300},p;function O(a,i){i===void 0&&(i=!1);var t=a.CSS,e=p;if(typeof p=="boolean"&&!i)return p;var n=t&&typeof t.supports=="function";if(!n)return!1;var r=t.supports("--css-vars","yes"),s=t.supports("(--css-vars: yes)")&&t.supports("color","#00000000");return e=r||s,i||(p=e),e}function H(a,i,t){if(!a)return{x:0,y:0};var e=i.x,n=i.y,r=e+t.left,s=n+t.top,o,u;if(a.type==="touchstart"){var f=a;o=f.changedTouches[0].pageX-r,u=f.changedTouches[0].pageY-s}else{var c=a;o=c.pageX-r,u=c.pageY-s}return{x:o,y:u}}/**
107
- * @license
108
- * Copyright 2016 Google Inc.
109
- *
110
- * Permission is hereby granted, free of charge, to any person obtaining a copy
111
- * of this software and associated documentation files (the "Software"), to deal
112
- * in the Software without restriction, including without limitation the rights
113
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
114
- * copies of the Software, and to permit persons to whom the Software is
115
- * furnished to do so, subject to the following conditions:
116
- *
117
- * The above copyright notice and this permission notice shall be included in
118
- * all copies or substantial portions of the Software.
119
- *
120
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
121
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
122
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
123
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
124
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
125
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
126
- * THE SOFTWARE.
127
- */var T=["touchstart","pointerdown","mousedown","keydown"],E=["touchend","pointerup","mouseup","contextmenu"],v=[],I=function(a){d.__extends(i,a);function i(t){var e=a.call(this,d.__assign(d.__assign({},i.defaultAdapter),t))||this;return e.activationAnimationHasEnded_=!1,e.activationTimer_=0,e.fgDeactivationRemovalTimer_=0,e.fgScale_="0",e.frame_={width:0,height:0},e.initialSize_=0,e.layoutFrame_=0,e.maxRadius_=0,e.unboundedCoords_={left:0,top:0},e.activationState_=e.defaultActivationState_(),e.activationTimerCallback_=function(){e.activationAnimationHasEnded_=!0,e.runDeactivationUXLogicIfReady_()},e.activateHandler_=function(n){return e.activate_(n)},e.deactivateHandler_=function(){return e.deactivate_()},e.focusHandler_=function(){return e.handleFocus()},e.blurHandler_=function(){return e.handleBlur()},e.resizeHandler_=function(){return e.layout()},e}return Object.defineProperty(i,"cssClasses",{get:function(){return w},enumerable:!1,configurable:!0}),Object.defineProperty(i,"strings",{get:function(){return V},enumerable:!1,configurable:!0}),Object.defineProperty(i,"numbers",{get:function(){return C},enumerable:!1,configurable:!0}),Object.defineProperty(i,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),i.prototype.init=function(){var t=this,e=this.supportsPressRipple_();if(this.registerRootHandlers_(e),e){var n=i.cssClasses,r=n.ROOT,s=n.UNBOUNDED;requestAnimationFrame(function(){t.adapter.addClass(r),t.adapter.isUnbounded()&&(t.adapter.addClass(s),t.layoutInternal_())})}},i.prototype.destroy=function(){var t=this;if(this.supportsPressRipple_()){this.activationTimer_&&(clearTimeout(this.activationTimer_),this.activationTimer_=0,this.adapter.removeClass(i.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer_&&(clearTimeout(this.fgDeactivationRemovalTimer_),this.fgDeactivationRemovalTimer_=0,this.adapter.removeClass(i.cssClasses.FG_DEACTIVATION));var e=i.cssClasses,n=e.ROOT,r=e.UNBOUNDED;requestAnimationFrame(function(){t.adapter.removeClass(n),t.adapter.removeClass(r),t.removeCssVars_()})}this.deregisterRootHandlers_(),this.deregisterDeactivationHandlers_()},i.prototype.activate=function(t){this.activate_(t)},i.prototype.deactivate=function(){this.deactivate_()},i.prototype.layout=function(){var t=this;this.layoutFrame_&&cancelAnimationFrame(this.layoutFrame_),this.layoutFrame_=requestAnimationFrame(function(){t.layoutInternal_(),t.layoutFrame_=0})},i.prototype.setUnbounded=function(t){var e=i.cssClasses.UNBOUNDED;t?this.adapter.addClass(e):this.adapter.removeClass(e)},i.prototype.handleFocus=function(){var t=this;requestAnimationFrame(function(){return t.adapter.addClass(i.cssClasses.BG_FOCUSED)})},i.prototype.handleBlur=function(){var t=this;requestAnimationFrame(function(){return t.adapter.removeClass(i.cssClasses.BG_FOCUSED)})},i.prototype.supportsPressRipple_=function(){return this.adapter.browserSupportsCssVars()},i.prototype.defaultActivationState_=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},i.prototype.registerRootHandlers_=function(t){var e=this;t&&(T.forEach(function(n){e.adapter.registerInteractionHandler(n,e.activateHandler_)}),this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler_)),this.adapter.registerInteractionHandler("focus",this.focusHandler_),this.adapter.registerInteractionHandler("blur",this.blurHandler_)},i.prototype.registerDeactivationHandlers_=function(t){var e=this;t.type==="keydown"?this.adapter.registerInteractionHandler("keyup",this.deactivateHandler_):E.forEach(function(n){e.adapter.registerDocumentInteractionHandler(n,e.deactivateHandler_)})},i.prototype.deregisterRootHandlers_=function(){var t=this;T.forEach(function(e){t.adapter.deregisterInteractionHandler(e,t.activateHandler_)}),this.adapter.deregisterInteractionHandler("focus",this.focusHandler_),this.adapter.deregisterInteractionHandler("blur",this.blurHandler_),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler_)},i.prototype.deregisterDeactivationHandlers_=function(){var t=this;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler_),E.forEach(function(e){t.adapter.deregisterDocumentInteractionHandler(e,t.deactivateHandler_)})},i.prototype.removeCssVars_=function(){var t=this,e=i.strings,n=Object.keys(e);n.forEach(function(r){r.indexOf("VAR_")===0&&t.adapter.updateCssVariable(e[r],null)})},i.prototype.activate_=function(t){var e=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState_;if(!n.isActivated){var r=this.previousActivationEvent_,s=r&&t!==void 0&&r.type!==t.type;if(!s){n.isActivated=!0,n.isProgrammatic=t===void 0,n.activationEvent=t,n.wasActivatedByPointer=n.isProgrammatic?!1:t!==void 0&&(t.type==="mousedown"||t.type==="touchstart"||t.type==="pointerdown");var o=t!==void 0&&v.length>0&&v.some(function(u){return e.adapter.containsEventTarget(u)});if(o){this.resetActivationState_();return}t!==void 0&&(v.push(t.target),this.registerDeactivationHandlers_(t)),n.wasElementMadeActive=this.checkElementMadeActive_(t),n.wasElementMadeActive&&this.animateActivation_(),requestAnimationFrame(function(){v=[],!n.wasElementMadeActive&&t!==void 0&&(t.key===" "||t.keyCode===32)&&(n.wasElementMadeActive=e.checkElementMadeActive_(t),n.wasElementMadeActive&&e.animateActivation_()),n.wasElementMadeActive||(e.activationState_=e.defaultActivationState_())})}}}},i.prototype.checkElementMadeActive_=function(t){return t!==void 0&&t.type==="keydown"?this.adapter.isSurfaceActive():!0},i.prototype.animateActivation_=function(){var t=this,e=i.strings,n=e.VAR_FG_TRANSLATE_START,r=e.VAR_FG_TRANSLATE_END,s=i.cssClasses,o=s.FG_DEACTIVATION,u=s.FG_ACTIVATION,f=i.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal_();var c="",m="";if(!this.adapter.isUnbounded()){var A=this.getFgTranslationCoordinates_(),g=A.startPoint,y=A.endPoint;c=g.x+"px, "+g.y+"px",m=y.x+"px, "+y.y+"px"}this.adapter.updateCssVariable(n,c),this.adapter.updateCssVariable(r,m),clearTimeout(this.activationTimer_),clearTimeout(this.fgDeactivationRemovalTimer_),this.rmBoundedActivationClasses_(),this.adapter.removeClass(o),this.adapter.computeBoundingRect(),this.adapter.addClass(u),this.activationTimer_=setTimeout(function(){return t.activationTimerCallback_()},f)},i.prototype.getFgTranslationCoordinates_=function(){var t=this.activationState_,e=t.activationEvent,n=t.wasActivatedByPointer,r;n?r=H(e,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):r={x:this.frame_.width/2,y:this.frame_.height/2},r={x:r.x-this.initialSize_/2,y:r.y-this.initialSize_/2};var s={x:this.frame_.width/2-this.initialSize_/2,y:this.frame_.height/2-this.initialSize_/2};return{startPoint:r,endPoint:s}},i.prototype.runDeactivationUXLogicIfReady_=function(){var t=this,e=i.cssClasses.FG_DEACTIVATION,n=this.activationState_,r=n.hasDeactivationUXRun,s=n.isActivated,o=r||!s;o&&this.activationAnimationHasEnded_&&(this.rmBoundedActivationClasses_(),this.adapter.addClass(e),this.fgDeactivationRemovalTimer_=setTimeout(function(){t.adapter.removeClass(e)},C.FG_DEACTIVATION_MS))},i.prototype.rmBoundedActivationClasses_=function(){var t=i.cssClasses.FG_ACTIVATION;this.adapter.removeClass(t),this.activationAnimationHasEnded_=!1,this.adapter.computeBoundingRect()},i.prototype.resetActivationState_=function(){var t=this;this.previousActivationEvent_=this.activationState_.activationEvent,this.activationState_=this.defaultActivationState_(),setTimeout(function(){return t.previousActivationEvent_=void 0},i.numbers.TAP_DELAY_MS)},i.prototype.deactivate_=function(){var t=this,e=this.activationState_;if(e.isActivated){var n=d.__assign({},e);e.isProgrammatic?(requestAnimationFrame(function(){return t.animateDeactivation_(n)}),this.resetActivationState_()):(this.deregisterDeactivationHandlers_(),requestAnimationFrame(function(){t.activationState_.hasDeactivationUXRun=!0,t.animateDeactivation_(n),t.resetActivationState_()}))}},i.prototype.animateDeactivation_=function(t){var e=t.wasActivatedByPointer,n=t.wasElementMadeActive;(e||n)&&this.runDeactivationUXLogicIfReady_()},i.prototype.layoutInternal_=function(){var t=this;this.frame_=this.adapter.computeBoundingRect();var e=Math.max(this.frame_.height,this.frame_.width),n=function(){var s=Math.sqrt(Math.pow(t.frame_.width,2)+Math.pow(t.frame_.height,2));return s+i.numbers.PADDING};this.maxRadius_=this.adapter.isUnbounded()?e:n();var r=Math.floor(e*i.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!==0?this.initialSize_=r-1:this.initialSize_=r,this.fgScale_=""+this.maxRadius_/this.initialSize_,this.updateLayoutCssVars_()},i.prototype.updateLayoutCssVars_=function(){var t=i.strings,e=t.VAR_FG_SIZE,n=t.VAR_LEFT,r=t.VAR_TOP,s=t.VAR_FG_SCALE;this.adapter.updateCssVariable(e,this.initialSize_+"px"),this.adapter.updateCssVariable(s,this.fgScale_),this.adapter.isUnbounded()&&(this.unboundedCoords_={left:Math.round(this.frame_.width/2-this.initialSize_/2),top:Math.round(this.frame_.height/2-this.initialSize_/2)},this.adapter.updateCssVariable(n,this.unboundedCoords_.left+"px"),this.adapter.updateCssVariable(r,this.unboundedCoords_.top+"px"))},i}(h);/**
128
- * @license
129
- * Copyright 2016 Google Inc.
130
- *
131
- * Permission is hereby granted, free of charge, to any person obtaining a copy
132
- * of this software and associated documentation files (the "Software"), to deal
133
- * in the Software without restriction, including without limitation the rights
134
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
135
- * copies of the Software, and to permit persons to whom the Software is
136
- * furnished to do so, subject to the following conditions:
137
- *
138
- * The above copyright notice and this permission notice shall be included in
139
- * all copies or substantial portions of the Software.
140
- *
141
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
142
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
143
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
144
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
145
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
146
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
147
- * THE SOFTWARE.
148
- */var N=function(a){d.__extends(i,a);function i(){var t=a!==null&&a.apply(this,arguments)||this;return t.disabled=!1,t}return i.attachTo=function(t,e){e===void 0&&(e={isUnbounded:void 0});var n=new i(t);return e.isUnbounded!==void 0&&(n.unbounded=e.isUnbounded),n},i.createAdapter=function(t){return{addClass:function(e){return t.root.classList.add(e)},browserSupportsCssVars:function(){return O(window)},computeBoundingRect:function(){return t.root.getBoundingClientRect()},containsEventTarget:function(e){return t.root.contains(e)},deregisterDocumentInteractionHandler:function(e,n){return document.documentElement.removeEventListener(e,n,l())},deregisterInteractionHandler:function(e,n){return t.root.removeEventListener(e,n,l())},deregisterResizeHandler:function(e){return window.removeEventListener("resize",e)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return _(t.root,":active")},isSurfaceDisabled:function(){return!!t.disabled},isUnbounded:function(){return!!t.unbounded},registerDocumentInteractionHandler:function(e,n){return document.documentElement.addEventListener(e,n,l())},registerInteractionHandler:function(e,n){return t.root.addEventListener(e,n,l())},registerResizeHandler:function(e){return window.addEventListener("resize",e)},removeClass:function(e){return t.root.classList.remove(e)},updateCssVariable:function(e,n){return t.root.style.setProperty(e,n)}}},Object.defineProperty(i.prototype,"unbounded",{get:function(){return!!this.unbounded_},set:function(t){this.unbounded_=!!t,this.setUnbounded_()},enumerable:!1,configurable:!0}),i.prototype.activate=function(){this.foundation.activate()},i.prototype.deactivate=function(){this.foundation.deactivate()},i.prototype.layout=function(){this.foundation.layout()},i.prototype.getDefaultFoundation=function(){return new I(i.createAdapter(this))},i.prototype.initialSyncWithDOM=function(){var t=this.root;this.unbounded="mdcRippleIsUnbounded"in t.dataset},i.prototype.setUnbounded_=function(){this.foundation.setUnbounded(!!this.unbounded_)},i}(S);exports.MDCComponent=S;exports.MDCFoundation=h;exports.MDCRipple=N;exports.MDCRippleFoundation=I;exports.applyPassive=l;exports.closest=b;exports.estimateScrollWidth=D;exports.matches=_;exports.ponyfill=R;