aptechka 0.64.0 → 0.64.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/lib/Animation-BRqj4VfN.cjs +1 -0
  2. package/lib/{Animation-Cb-klopb.js → Animation-D29tc5VS.js} +5 -4
  3. package/lib/Damped-BD1OQ1fH.cjs +1 -0
  4. package/lib/{Damped-ByZFbNSt.js → Damped-YrqW5V4w.js} +5 -4
  5. package/lib/DragControls-D8BXtKVu.cjs +1 -0
  6. package/lib/DragControls-DGDUw6bM.js +226 -0
  7. package/lib/ScrollSegmentElement-B6gp1q_z.js +459 -0
  8. package/lib/ScrollSegmentElement-DtMMAirz.cjs +1 -0
  9. package/lib/SourceElement-D_YeNqsI.cjs +5 -0
  10. package/lib/SourceElement-jbviggZp.js +217 -0
  11. package/lib/{Store-swP_0ymB.js → Store-0BVty6AZ.js} +2 -1
  12. package/lib/Store-Cd1GlEmZ.cjs +1 -0
  13. package/lib/Tweened-B-AHx93m.cjs +1 -0
  14. package/lib/{Tweened-DzZwfKNm.js → Tweened-_pF0zXXN.js} +9 -8
  15. package/lib/Viewport-DA10iWAO.js +109 -0
  16. package/lib/Viewport-DB0qAZPJ.cjs +1 -0
  17. package/lib/accordion/index.cjs +1 -1
  18. package/lib/accordion/index.js +2 -1
  19. package/lib/animation/index.cjs +1 -1
  20. package/lib/animation/index.js +3 -3
  21. package/lib/attribute/index.cjs +1 -1
  22. package/lib/attribute/index.js +5 -4
  23. package/lib/billboard/index.cjs +1 -1
  24. package/lib/billboard/index.js +2 -1
  25. package/lib/canvas/index.cjs +1 -1
  26. package/lib/canvas/index.js +5 -5
  27. package/lib/controls/index.cjs +1 -1
  28. package/lib/controls/index.js +6 -223
  29. package/lib/css-property/index.cjs +1 -1
  30. package/lib/css-property/index.js +15 -14
  31. package/lib/custom-scrollbar/index.cjs +1 -1
  32. package/lib/custom-scrollbar/index.js +25 -24
  33. package/lib/dev/index.cjs +1 -1
  34. package/lib/dev/index.js +7 -6
  35. package/lib/device/index.cjs +1 -1
  36. package/lib/device/index.js +5 -106
  37. package/lib/element-linked-store/index.cjs +1 -1
  38. package/lib/element-linked-store/index.js +5 -4
  39. package/lib/element-resizer/index.cjs +1 -1
  40. package/lib/element-resizer/index.js +22 -21
  41. package/lib/en3/En3View.d.ts +2 -2
  42. package/lib/en3/en3.d.ts +3 -2
  43. package/lib/en3/index.cjs +3 -3
  44. package/lib/en3/index.js +93 -91
  45. package/lib/iframe/index.cjs +1 -1
  46. package/lib/iframe/index.js +4 -3
  47. package/lib/image/index.cjs +1 -1
  48. package/lib/image/index.js +5 -4
  49. package/lib/{index-euf5anj6.js → index-Bv9zgfdb.js} +3 -2
  50. package/lib/index-DekP7OZe.cjs +1 -0
  51. package/lib/intersector/index.cjs +1 -1
  52. package/lib/intersector/index.js +4 -3
  53. package/lib/ladder/index.cjs +1 -1
  54. package/lib/ladder/index.js +41 -40
  55. package/lib/{layout-DpZo-I0y.js → layout-BSMtwCga.js} +2 -2
  56. package/lib/layout-box/index.cjs +1 -1
  57. package/lib/layout-box/index.js +18 -17
  58. package/lib/loading/index.cjs +1 -1
  59. package/lib/loading/index.js +4 -3
  60. package/lib/masonry-layout/index.cjs +1 -1
  61. package/lib/masonry-layout/index.js +2 -2
  62. package/lib/media/index.cjs +1 -1
  63. package/lib/media/index.js +12 -11
  64. package/lib/morph/index.cjs +1 -1
  65. package/lib/morph/index.js +3 -2
  66. package/lib/need_redo_tweaker/index.cjs +3 -3
  67. package/lib/need_redo_tweaker/index.js +368 -340
  68. package/lib/pixel-perfect/index.cjs +1 -1
  69. package/lib/pixel-perfect/index.js +2 -2
  70. package/lib/pointer/index.cjs +1 -1
  71. package/lib/pointer/index.js +19 -18
  72. package/lib/popover/index.cjs +1 -1
  73. package/lib/popover/index.js +3 -2
  74. package/lib/radio/index.cjs +1 -1
  75. package/lib/radio/index.js +2 -1
  76. package/lib/router/index.cjs +1 -1
  77. package/lib/router/index.js +11 -10
  78. package/lib/scroll/index.cjs +1 -1
  79. package/lib/scroll/index.js +66 -65
  80. package/lib/{scroll-Benkuq-t.js → scroll-BWF48oHS.js} +11 -10
  81. package/lib/scroll-CFDCeArT.cjs +1 -0
  82. package/lib/scroll-segment/index.cjs +1 -1
  83. package/lib/scroll-segment/index.js +3 -456
  84. package/lib/sequence/index.cjs +1 -1
  85. package/lib/sequence/index.js +4 -3
  86. package/lib/size-element/index.cjs +1 -1
  87. package/lib/size-element/index.js +2 -1
  88. package/lib/slicer/index.cjs +3 -3
  89. package/lib/slicer/index.js +31 -30
  90. package/lib/source/SourceElement.d.ts +1 -1
  91. package/lib/source/index.cjs +1 -5
  92. package/lib/source/index.js +5 -214
  93. package/lib/store/index.cjs +1 -1
  94. package/lib/store/index.js +14 -13
  95. package/lib/stylesheet-DpnWNVyD.js +24 -0
  96. package/lib/stylesheet-HWF2a3nr.cjs +1 -0
  97. package/lib/ticker/index.cjs +1 -1
  98. package/lib/ticker/index.js +14 -13
  99. package/lib/utils/index.cjs +1 -1
  100. package/lib/utils/index.d.ts +1 -0
  101. package/lib/utils/index.js +5 -5
  102. package/lib/utils/jss.d.ts +0 -1
  103. package/lib/utils/stylesheet.d.ts +2 -0
  104. package/lib/video/index.cjs +1 -1
  105. package/lib/video/index.js +11 -10
  106. package/lib/window-resizer/index.cjs +1 -1
  107. package/lib/window-resizer/index.js +9 -8
  108. package/lib/youtube/index.cjs +1 -1
  109. package/lib/youtube/index.js +12 -11
  110. package/package.json +4 -4
  111. package/lib/Animation-dD_idtTU.cjs +0 -1
  112. package/lib/Damped-B8bmTxAr.cjs +0 -1
  113. package/lib/Store-GokLe_g-.cjs +0 -1
  114. package/lib/Tweened-BsL9FamJ.cjs +0 -1
  115. package/lib/index-Cqw2NKev.cjs +0 -1
  116. package/lib/jss-CRBgdvJ3.cjs +0 -1
  117. package/lib/jss-DtnXPEnq.js +0 -23
  118. package/lib/scroll-DAhSpkhR.cjs +0 -1
@@ -2,18 +2,19 @@ var T = (i) => {
2
2
  throw TypeError(i);
3
3
  };
4
4
  var A = (i, t, s) => t.has(i) || T("Cannot " + s);
5
- var e = (i, t, s) => (A(i, t, "read from private field"), s ? s.call(i) : t.get(i)), l = (i, t, s) => t.has(i) ? T("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, s), h = (i, t, s, a) => (A(i, t, "write to private field"), a ? a.call(i, s) : t.set(i, s), s), m = (i, t, s) => (A(i, t, "access private method"), s);
5
+ var e = (i, t, s) => (A(i, t, "read from private field"), s ? s.call(i) : t.get(i)), l = (i, t, s) => t.has(i) ? T("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, s), r = (i, t, s, a) => (A(i, t, "write to private field"), a ? a.call(i, s) : t.set(i, s), s), f = (i, t, s) => (A(i, t, "access private method"), s);
6
6
  import { Media as v } from "../media/index.js";
7
- import { i as P } from "../index-euf5anj6.js";
8
- var L, o;
7
+ import { i as P } from "../index-Bv9zgfdb.js";
8
+ import "construct-style-sheets-polyfill";
9
+ var L, c;
9
10
  class $ {
10
11
  constructor(t) {
11
12
  l(this, L);
12
- l(this, o);
13
- h(this, L, t.index), h(this, o, document.createElement("span")), e(this, o).classList.add("letter"), t.clone ? e(this, o).innerHTML = `
13
+ l(this, c);
14
+ r(this, L, t.index), r(this, c, document.createElement("span")), e(this, c).classList.add("letter"), t.clone ? e(this, c).innerHTML = `
14
15
  <span class="original">${t.text}</span>
15
16
  <span class="clone" aria-hidden>${t.text}</span>
16
- ` : e(this, o).innerHTML = `
17
+ ` : e(this, c).innerHTML = `
17
18
  <span class="value">${t.text}</span>
18
19
  `;
19
20
  }
@@ -21,33 +22,33 @@ class $ {
21
22
  return e(this, L);
22
23
  }
23
24
  get element() {
24
- return e(this, o);
25
+ return e(this, c);
25
26
  }
26
27
  }
27
- L = new WeakMap(), o = new WeakMap();
28
- var y, r, u, g;
28
+ L = new WeakMap(), c = new WeakMap();
29
+ var y, h, u, g;
29
30
  class C {
30
31
  constructor(t) {
31
32
  l(this, y);
32
- l(this, r);
33
+ l(this, h);
33
34
  l(this, u);
34
35
  l(this, g);
35
- h(this, y, t.index), h(this, r, document.createElement("span")), h(this, u, []), h(this, g, t.text.endsWith("\\n")), e(this, g) && (t.text = t.text.replace("\\n", "")), t.letters && t.lettersAcc !== void 0 ? (h(this, u, t.text.split("").map((s, a) => new $({
36
+ r(this, y, t.index), r(this, h, document.createElement("span")), r(this, u, []), r(this, g, t.text.endsWith("\\n")), e(this, g) && (t.text = t.text.replace("\\n", "")), t.letters && t.lettersAcc !== void 0 ? (r(this, u, t.text.split("").map((s, a) => new $({
36
37
  index: t.lettersAcc + a,
37
38
  text: s,
38
39
  clone: t.clone
39
- }))), e(this, r).append(...e(this, u).map((s) => s.element))) : t.clone ? e(this, r).innerHTML = `
40
+ }))), e(this, h).append(...e(this, u).map((s) => s.element))) : t.clone ? e(this, h).innerHTML = `
40
41
  <span class="original">${t.text}</span>
41
42
  <span class="clone" aria-hidden>${t.text}</span>
42
- ` : e(this, r).innerHTML = `
43
+ ` : e(this, h).innerHTML = `
43
44
  <span class="value">${t.text}</span>
44
- `, e(this, r).classList.add("word");
45
+ `, e(this, h).classList.add("word");
45
46
  }
46
47
  get index() {
47
48
  return e(this, y);
48
49
  }
49
50
  get element() {
50
- return e(this, r);
51
+ return e(this, h);
51
52
  }
52
53
  get letters() {
53
54
  return e(this, u);
@@ -56,19 +57,19 @@ class C {
56
57
  return e(this, g);
57
58
  }
58
59
  }
59
- y = new WeakMap(), r = new WeakMap(), u = new WeakMap(), g = new WeakMap();
60
- var p, c, x, f, d, M, E;
60
+ y = new WeakMap(), h = new WeakMap(), u = new WeakMap(), g = new WeakMap();
61
+ var p, o, x, m, d, M, E;
61
62
  class S extends HTMLElement {
62
63
  constructor() {
63
64
  super(...arguments);
64
65
  l(this, d);
65
66
  l(this, p, "");
66
- l(this, c, []);
67
+ l(this, o, []);
67
68
  l(this, x, []);
68
- l(this, f, null);
69
+ l(this, m, null);
69
70
  }
70
71
  get wordsArray() {
71
- return e(this, c);
72
+ return e(this, o);
72
73
  }
73
74
  get lettersArray() {
74
75
  return e(this, x);
@@ -77,18 +78,18 @@ class S extends HTMLElement {
77
78
  return e(this, p);
78
79
  }
79
80
  connectedCallback() {
80
- h(this, p, this.innerHTML.trim()), this.hasAttribute("media") ? (h(this, f, new v(this.getAttribute("media"))), e(this, f).subscribe((s) => {
81
- s.current ? m(this, d, M).call(this) : !s.current && s.previous && m(this, d, E).call(this);
82
- })) : m(this, d, M).call(this);
81
+ r(this, p, this.innerHTML.trim()), this.hasAttribute("media") ? (r(this, m, new v(this.getAttribute("media"))), e(this, m).subscribe((s) => {
82
+ s.current ? f(this, d, M).call(this) : !s.current && s.previous && f(this, d, E).call(this);
83
+ })) : f(this, d, M).call(this);
83
84
  }
84
85
  disconnectedCallback() {
85
86
  var s;
86
- m(this, d, E).call(this), (s = e(this, f)) == null || s.close();
87
+ f(this, d, E).call(this), (s = e(this, m)) == null || s.close();
87
88
  }
88
89
  }
89
- p = new WeakMap(), c = new WeakMap(), x = new WeakMap(), f = new WeakMap(), d = new WeakSet(), M = function() {
90
+ p = new WeakMap(), o = new WeakMap(), x = new WeakMap(), m = new WeakMap(), d = new WeakSet(), M = function() {
90
91
  const s = [];
91
- h(this, c, []);
92
+ r(this, o, []);
92
93
  let a = 0, H = 0;
93
94
  this.childNodes.forEach((n) => {
94
95
  n.nodeName === "#text" && n.textContent ? n.textContent.trim().replace(/ +/g, " ").split(" ").map((b) => {
@@ -99,9 +100,9 @@ p = new WeakMap(), c = new WeakMap(), x = new WeakMap(), f = new WeakMap(), d =
99
100
  lettersAcc: H,
100
101
  clone: this.hasAttribute("clone")
101
102
  });
102
- H += w.letters.length, a += 1, e(this, x).push(...w.letters), e(this, c).push(w), s.push(w.element);
103
+ H += w.letters.length, a += 1, e(this, x).push(...w.letters), e(this, o).push(w), s.push(w.element);
103
104
  }) : s.push(n);
104
- }), this.hasAttribute("index") && (e(this, c).forEach((n) => {
105
+ }), this.hasAttribute("index") && (e(this, o).forEach((n) => {
105
106
  n.element.style.setProperty("--word-index", n.index.toString());
106
107
  }), e(this, x).forEach((n) => {
107
108
  n.element.style.setProperty(
@@ -110,9 +111,9 @@ p = new WeakMap(), c = new WeakMap(), x = new WeakMap(), f = new WeakMap(), d =
110
111
  );
111
112
  })), this.innerHTML = "", s.forEach((n) => {
112
113
  this.appendChild(n);
113
- }), this.style.setProperty("--words-length", e(this, c).length.toString()), this.style.setProperty("--letters-length", e(this, x).length.toString());
114
+ }), this.style.setProperty("--words-length", e(this, o).length.toString()), this.style.setProperty("--letters-length", e(this, x).length.toString());
114
115
  }, E = function() {
115
- h(this, c, []), this.innerHTML = e(this, p), this.style.removeProperty("--words-length"), this.style.removeProperty("--letters-length");
116
+ r(this, o, []), this.innerHTML = e(this, p), this.style.removeProperty("--words-length"), this.style.removeProperty("--letters-length");
116
117
  };
117
118
  P && !customElements.get("e-slicer") && customElements.define("e-slicer", S);
118
119
  export {
@@ -1,6 +1,6 @@
1
- import { SourceManager } from '.';
2
1
  import { ElementLinkedStore } from '../element-linked-store';
3
2
  import { SourceSetOptions } from './SourceSet';
3
+ import { SourceManager } from './SourceManager';
4
4
  export interface SourceEvents {
5
5
  sourceCapture: CustomEvent;
6
6
  sourceRelease: CustomEvent;
@@ -1,5 +1 @@
1
- "use strict";var Z=h=>{throw TypeError(h)};var G=(h,r,e)=>r.has(h)||Z("Cannot "+e);var t=(h,r,e)=>(G(h,r,"read from private field"),e?e.call(h):r.get(h)),i=(h,r,e)=>r.has(h)?Z("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(h):r.set(h,e),s=(h,r,e,o)=>(G(h,r,"write to private field"),o?o.call(h,e):r.set(h,e),e),P=(h,r,e)=>(G(h,r,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Y=require("../element-linked-store/index.cjs"),tt=require("../index-Cqw2NKev.cjs"),U=require("../events-KVanG9sR.cjs"),et=require("../string-DUXXtU8v.cjs"),K=require("../loading/index.cjs"),st=require("../order/index.cjs"),J=require("../window-resizer/index.cjs"),it=require("../Store-GokLe_g-.cjs");var $,q,O,S,u,f,M;class Q{constructor(r){i(this,$);i(this,q);i(this,O);i(this,S);i(this,u);i(this,f);i(this,M);s(this,$,r);let e=r.split(".");const o=/\b\d{1,2}x\b/g,d=e.find(p=>p.match(o)&&parseInt(p));s(this,O,d?parseInt(d):1),d&&(e=e.slice(0,-1)),s(this,q,e.length>1?e.slice(0,-1).join("."):e.join("."));const l=/\d+max/g,x=/\d+min/g,B=/\d+mar/g,_=/\d+mir/g,H=e.find(p=>p.match(l)),n=e.find(p=>p.match(x)),b=e.find(p=>p.match(B)),W=e.find(p=>p.match(_));b?(s(this,u,parseInt(b)),s(this,f,"max"),s(this,S,`(max-aspect-ratio: ${t(this,u)})`)):W?(s(this,u,parseInt(W)),s(this,f,"max"),s(this,S,`(min-aspect-ratio: ${t(this,u)})`)):H?(s(this,u,parseInt(H)),s(this,f,"max"),s(this,S,`(max-width: ${t(this,u)}px)`)):n?(s(this,u,parseInt(n)),s(this,S,`(min-width: ${t(this,u)}px)`),s(this,f,"min")):(s(this,u,0),s(this,S,`(min-width: ${t(this,u)}px)`),s(this,f,"min")),s(this,q,t(this,q).replace(`.${t(this,u)}${t(this,f)}`,"")),s(this,M,e[e.length-1]===t(this,q)?"":"."+e[e.length-1]),s(this,M,t(this,M).replace(`.${t(this,u)}${t(this,f)}`,""))}get url(){return t(this,$)}get name(){return t(this,q)}get density(){return t(this,O)}get query(){return t(this,S)}get extension(){return t(this,M)}get queryType(){return t(this,f)}get queryValue(){return t(this,u)}}$=new WeakMap,q=new WeakMap,O=new WeakMap,S=new WeakMap,u=new WeakMap,f=new WeakMap,M=new WeakMap;let rt=0;var m,a,y,E,g,z,R,c,v,A,w,C,I,j,D,V,F;class nt extends HTMLElement{constructor(e){super();i(this,I);i(this,m,null);i(this,a,null);i(this,y,!1);i(this,E,!1);i(this,g,!1);i(this,z,"");i(this,R,"");i(this,c,new Y.ElementLinkedStore(this,{loading:!1,loaded:!1,error:!1,clear:!1}));i(this,v,null);i(this,A);i(this,w,null);i(this,C);i(this,D,e=>{const o=e[0];t(this,g)&&(!t(this,E)||this.hasAttribute("reload-source"))&&o.isIntersecting&&this.triggerLazyLoad(),o.isIntersecting?U.dispatchEvent(this,"sourceCapture",{custom:!0}):(this.hasAttribute("reload-source")&&(P(this,I,j).call(this,void 0),s(this,E,!1)),U.dispatchEvent(this,"sourceRelease",{custom:!0}))});i(this,V,()=>{t(this,c).set("loaded",!0),t(this,c).set("error",!1),t(this,c).set("loading",!1),!t(this,g)&&!t(this,y)&&K.loading.complete(t(this,R)),U.dispatchEvent(this,"sourceLoaded",{custom:!0});const e=getComputedStyle(this).getPropertyValue("--clear-duration");e?s(this,A,setTimeout(()=>{t(this,c).set("clear",!0)},parseFloat(e)*1e3)):t(this,c).set("clear",!0),s(this,y,!0)});i(this,F,e=>{t(this,c).set("loaded",!1),t(this,c).set("error",!0),t(this,c).set("loading",!1),!t(this,g)&&!t(this,y)&&K.loading.error(t(this,R)),U.dispatchEvent(this,"sourceError",{custom:!0}),s(this,y,!0)});s(this,C,e==null?void 0:e.sourceSetOptions),tt.isBrowser&&window.IntersectionObserver&&s(this,v,new IntersectionObserver(t(this,D)))}get consumerElement(){return t(this,a)}get sourceManager(){return t(this,m)}get status(){return t(this,c)}get isLazy(){return t(this,g)}get currentURL(){return t(this,w)}get isFirstLoadHappened(){return t(this,y)}triggerLazyLoad(){!t(this,E)&&t(this,m).current&&t(this,m).current!==t(this,m).previous&&(s(this,E,!0),P(this,I,j).call(this,t(this,m).current))}connectedCallback(){s(this,z,`source-consumer-${++rt}`);const e=this.getAttribute("srcset")||"",o=this.hasAttribute("notify")?this.closest(this.getAttribute("notify")):null;o&&t(this,c).addElement(o),s(this,a,this.createConsumer()),t(this,a).style.cssText=`
2
- display: block;
3
- width: 100%;
4
- height: 100%;
5
- `,t(this,a).classList.add("source-consumer"),Array.from(this.attributes).forEach(d=>{if(d.name!=="srcset"){const l=d.nodeValue||"",x=et.kebabToCamel(d.name);x in t(this,a)&&(t(this,a)[x]=l||!0)}}),this.appendChild(t(this,a)),s(this,m,new X({srcset:e,sourceSetOptions:t(this,C)})),s(this,g,this.hasAttribute("lazy")),t(this,m).subscribe(d=>{(!t(this,g)||t(this,g)&&t(this,E))&&P(this,I,j).call(this,d.current)}),t(this,m).connect(),t(this,v).observe(this)}disconnectedCallback(){var e;clearTimeout(t(this,A)),t(this,v).disconnect(),(e=t(this,m))==null||e.close(),t(this,a)&&(t(this,a).onloadeddata=null,t(this,a).onload=null,t(this,a).onerror=null,t(this,a).remove()),s(this,y,!1),s(this,E,!1),t(this,c).reset()}}m=new WeakMap,a=new WeakMap,y=new WeakMap,E=new WeakMap,g=new WeakMap,z=new WeakMap,R=new WeakMap,c=new WeakMap,v=new WeakMap,A=new WeakMap,w=new WeakMap,C=new WeakMap,I=new WeakSet,j=function(e){if(clearTimeout(t(this,A)),t(this,a).onloadeddata=null,t(this,a).onload=null,t(this,a).onerror=null,t(this,c).set("loaded",!1),t(this,c).set("error",!1),t(this,c).set("loading",!1),t(this,c).set("clear",!1),e){s(this,R,`${t(this,z)}-${e.url}`);const o=this.hasAttribute("keep-source-parameters");t(this,c).set("loading",!0),s(this,w,o?e.url:e.name+e.extension),this.consumeSource(t(this,w)),!t(this,g)&&!t(this,y)&&K.loading.add(t(this,R)),t(this,a).onloadeddata=()=>{t(this,V).call(this)},t(this,a).onload=()=>{t(this,V).call(this)},t(this,a).onerror=()=>{t(this,F).call(this,t(this,w))}}else s(this,w,null),this.consumeSource(null)},D=new WeakMap,V=new WeakMap,F=new WeakMap;var L;class N{constructor(r,e){i(this,L);s(this,L,new Map);const o=(e==null?void 0:e.mediaBuckets)!==!1,d=typeof r=="string"?o?r.trim().split(",").map(n=>n.trim()).filter(n=>!!n):[r]:r,l=[];d.forEach(n=>{const b=new Q(n);l.push([b.query,b])});const x=l.filter(n=>n[1].queryType.includes("max")).sort((n,b)=>b[1].queryValue-n[1].queryValue),B=l.filter(n=>n[1].queryType.includes("min")&&n[1].queryValue!==0).sort((n,b)=>n[1].queryValue-b[1].queryValue),_=l.filter(n=>n[0]==="(min-width: 0px)");(_?[..._,...x,...B]:[...x,...B]).forEach(n=>{t(this,L).has(n[0])||t(this,L).set(n[0],[]),t(this,L).get(n[0]).push(n[1])})}get mediaBuckets(){return t(this,L)}}L=new WeakMap;var T,k;class X extends it.Store{constructor(e){super(void 0);i(this,T);i(this,k,()=>{let e;t(this,T).mediaBuckets.forEach((l,x)=>{matchMedia(x).matches&&(e=l)});let o,d=0;e==null||e.forEach(l=>{l.density>d&&l.density<=Math.max(devicePixelRatio,1)&&(d=l.density,o=l)}),e!=null&&e.length&&!o&&(o=e[0]),this.current=o});s(this,T,new N(e.srcset,e.sourceSetOptions))}updateSource(e){s(this,T,new N(e.srcset,e.sourceSetOptions)),t(this,k).call(this)}close(){super.close(),this.disconnect()}connect(){J.windowResizer.subscribe(t(this,k),st.RESIZE_ORDER.SOURCE_MANAGER),t(this,k).call(this)}disconnect(){J.windowResizer.unsubscribe(t(this,k))}}T=new WeakMap,k=new WeakMap;exports.Source=Q;exports.SourceElement=nt;exports.SourceManager=X;exports.SourceSet=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SourceElement-D_YeNqsI.cjs");exports.Source=e.Source;exports.SourceElement=e.SourceElement;exports.SourceManager=e.SourceManager;exports.SourceSet=e.SourceSet;
@@ -1,216 +1,7 @@
1
- var W = (n) => {
2
- throw TypeError(n);
3
- };
4
- var G = (n, r, e) => r.has(n) || W("Cannot " + e);
5
- var t = (n, r, e) => (G(n, r, "read from private field"), e ? e.call(n) : r.get(n)), i = (n, r, e) => r.has(n) ? W("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(n) : r.set(n, e), s = (n, r, e, o) => (G(n, r, "write to private field"), o ? o.call(n, e) : r.set(n, e), e), U = (n, r, e) => (G(n, r, "access private method"), e);
6
- import { ElementLinkedStore as Q } from "../element-linked-store/index.js";
7
- import { i as X } from "../index-euf5anj6.js";
8
- import { d as D } from "../events-CsVF98U6.js";
9
- import { k as Y } from "../string-BlMQbe8b.js";
10
- import { loading as K } from "../loading/index.js";
11
- import { RESIZE_ORDER as tt } from "../order/index.js";
12
- import { windowResizer as Z } from "../window-resizer/index.js";
13
- import { S as et } from "../Store-swP_0ymB.js";
14
- var O, w, C, E, u, f, k;
15
- class st {
16
- constructor(r) {
17
- i(this, O);
18
- i(this, w);
19
- i(this, C);
20
- i(this, E);
21
- i(this, u);
22
- i(this, f);
23
- i(this, k);
24
- s(this, O, r);
25
- let e = r.split(".");
26
- const o = /\b\d{1,2}x\b/g, d = e.find((g) => g.match(o) && parseInt(g));
27
- s(this, C, d ? parseInt(d) : 1), d && (e = e.slice(0, -1)), s(this, w, e.length > 1 ? e.slice(0, -1).join(".") : e.join("."));
28
- const l = /\d+max/g, x = /\d+min/g, B = /\d+mar/g, P = /\d+mir/g, _ = e.find((g) => g.match(l)), h = e.find((g) => g.match(x)), b = e.find((g) => g.match(B)), N = e.find((g) => g.match(P));
29
- b ? (s(this, u, parseInt(b)), s(this, f, "max"), s(this, E, `(max-aspect-ratio: ${t(this, u)})`)) : N ? (s(this, u, parseInt(N)), s(this, f, "max"), s(this, E, `(min-aspect-ratio: ${t(this, u)})`)) : _ ? (s(this, u, parseInt(_)), s(this, f, "max"), s(this, E, `(max-width: ${t(this, u)}px)`)) : h ? (s(this, u, parseInt(h)), s(this, E, `(min-width: ${t(this, u)}px)`), s(this, f, "min")) : (s(this, u, 0), s(this, E, `(min-width: ${t(this, u)}px)`), s(this, f, "min")), s(this, w, t(this, w).replace(
30
- `.${t(this, u)}${t(this, f)}`,
31
- ""
32
- )), s(this, k, e[e.length - 1] === t(this, w) ? "" : "." + e[e.length - 1]), s(this, k, t(this, k).replace(
33
- `.${t(this, u)}${t(this, f)}`,
34
- ""
35
- ));
36
- }
37
- get url() {
38
- return t(this, O);
39
- }
40
- get name() {
41
- return t(this, w);
42
- }
43
- get density() {
44
- return t(this, C);
45
- }
46
- get query() {
47
- return t(this, E);
48
- }
49
- get extension() {
50
- return t(this, k);
51
- }
52
- get queryType() {
53
- return t(this, f);
54
- }
55
- get queryValue() {
56
- return t(this, u);
57
- }
58
- }
59
- O = new WeakMap(), w = new WeakMap(), C = new WeakMap(), E = new WeakMap(), u = new WeakMap(), f = new WeakMap(), k = new WeakMap();
60
- let it = 0;
61
- var m, a, y, L, p, V, A, c, M, R, S, z, $, F, H, v, j;
62
- class ft extends HTMLElement {
63
- constructor(e) {
64
- super();
65
- i(this, $);
66
- i(this, m, null);
67
- i(this, a, null);
68
- i(this, y, !1);
69
- i(this, L, !1);
70
- i(this, p, !1);
71
- i(this, V, "");
72
- i(this, A, "");
73
- i(this, c, new Q(this, {
74
- loading: !1,
75
- loaded: !1,
76
- error: !1,
77
- clear: !1
78
- }));
79
- i(this, M, null);
80
- i(this, R);
81
- i(this, S, null);
82
- i(this, z);
83
- i(this, H, (e) => {
84
- const o = e[0];
85
- t(this, p) && (!t(this, L) || this.hasAttribute("reload-source")) && o.isIntersecting && this.triggerLazyLoad(), o.isIntersecting ? D(this, "sourceCapture", { custom: !0 }) : (this.hasAttribute("reload-source") && (U(this, $, F).call(this, void 0), s(this, L, !1)), D(this, "sourceRelease", { custom: !0 }));
86
- });
87
- i(this, v, () => {
88
- t(this, c).set("loaded", !0), t(this, c).set("error", !1), t(this, c).set("loading", !1), !t(this, p) && !t(this, y) && K.complete(t(this, A)), D(this, "sourceLoaded", { custom: !0 });
89
- const e = getComputedStyle(this).getPropertyValue("--clear-duration");
90
- e ? s(this, R, setTimeout(() => {
91
- t(this, c).set("clear", !0);
92
- }, parseFloat(e) * 1e3)) : t(this, c).set("clear", !0), s(this, y, !0);
93
- });
94
- i(this, j, (e) => {
95
- t(this, c).set("loaded", !1), t(this, c).set("error", !0), t(this, c).set("loading", !1), !t(this, p) && !t(this, y) && K.error(t(this, A)), D(this, "sourceError", { custom: !0 }), s(this, y, !0);
96
- });
97
- s(this, z, e == null ? void 0 : e.sourceSetOptions), X && window.IntersectionObserver && s(this, M, new IntersectionObserver(
98
- t(this, H)
99
- ));
100
- }
101
- get consumerElement() {
102
- return t(this, a);
103
- }
104
- get sourceManager() {
105
- return t(this, m);
106
- }
107
- get status() {
108
- return t(this, c);
109
- }
110
- get isLazy() {
111
- return t(this, p);
112
- }
113
- get currentURL() {
114
- return t(this, S);
115
- }
116
- get isFirstLoadHappened() {
117
- return t(this, y);
118
- }
119
- triggerLazyLoad() {
120
- !t(this, L) && t(this, m).current && t(this, m).current !== t(this, m).previous && (s(this, L, !0), U(this, $, F).call(this, t(this, m).current));
121
- }
122
- connectedCallback() {
123
- s(this, V, `source-consumer-${++it}`);
124
- const e = this.getAttribute("srcset") || "", o = this.hasAttribute("notify") ? this.closest(this.getAttribute("notify")) : null;
125
- o && t(this, c).addElement(o), s(this, a, this.createConsumer()), t(this, a).style.cssText = `
126
- display: block;
127
- width: 100%;
128
- height: 100%;
129
- `, t(this, a).classList.add("source-consumer"), Array.from(this.attributes).forEach((d) => {
130
- if (d.name !== "srcset") {
131
- const l = d.nodeValue || "", x = Y(d.name);
132
- x in t(this, a) && (t(this, a)[x] = l || !0);
133
- }
134
- }), this.appendChild(t(this, a)), s(this, m, new rt({
135
- srcset: e,
136
- sourceSetOptions: t(this, z)
137
- })), s(this, p, this.hasAttribute("lazy")), t(this, m).subscribe((d) => {
138
- (!t(this, p) || t(this, p) && t(this, L)) && U(this, $, F).call(this, d.current);
139
- }), t(this, m).connect(), t(this, M).observe(this);
140
- }
141
- disconnectedCallback() {
142
- var e;
143
- clearTimeout(t(this, R)), t(this, M).disconnect(), (e = t(this, m)) == null || e.close(), t(this, a) && (t(this, a).onloadeddata = null, t(this, a).onload = null, t(this, a).onerror = null, t(this, a).remove()), s(this, y, !1), s(this, L, !1), t(this, c).reset();
144
- }
145
- }
146
- m = new WeakMap(), a = new WeakMap(), y = new WeakMap(), L = new WeakMap(), p = new WeakMap(), V = new WeakMap(), A = new WeakMap(), c = new WeakMap(), M = new WeakMap(), R = new WeakMap(), S = new WeakMap(), z = new WeakMap(), $ = new WeakSet(), F = function(e) {
147
- if (clearTimeout(t(this, R)), t(this, a).onloadeddata = null, t(this, a).onload = null, t(this, a).onerror = null, t(this, c).set("loaded", !1), t(this, c).set("error", !1), t(this, c).set("loading", !1), t(this, c).set("clear", !1), e) {
148
- s(this, A, `${t(this, V)}-${e.url}`);
149
- const o = this.hasAttribute("keep-source-parameters");
150
- t(this, c).set("loading", !0), s(this, S, o ? e.url : e.name + e.extension), this.consumeSource(t(this, S)), !t(this, p) && !t(this, y) && K.add(t(this, A)), t(this, a).onloadeddata = () => {
151
- t(this, v).call(this);
152
- }, t(this, a).onload = () => {
153
- t(this, v).call(this);
154
- }, t(this, a).onerror = () => {
155
- t(this, j).call(this, t(this, S));
156
- };
157
- } else
158
- s(this, S, null), this.consumeSource(null);
159
- }, H = new WeakMap(), v = new WeakMap(), j = new WeakMap();
160
- var q;
161
- class J {
162
- constructor(r, e) {
163
- i(this, q);
164
- s(this, q, /* @__PURE__ */ new Map());
165
- const o = (e == null ? void 0 : e.mediaBuckets) !== !1, d = typeof r == "string" ? o ? r.trim().split(",").map((h) => h.trim()).filter((h) => !!h) : [r] : r, l = [];
166
- d.forEach((h) => {
167
- const b = new st(h);
168
- l.push([b.query, b]);
169
- });
170
- const x = l.filter((h) => h[1].queryType.includes("max")).sort((h, b) => b[1].queryValue - h[1].queryValue), B = l.filter((h) => h[1].queryType.includes("min") && h[1].queryValue !== 0).sort((h, b) => h[1].queryValue - b[1].queryValue), P = l.filter((h) => h[0] === "(min-width: 0px)");
171
- (P ? [...P, ...x, ...B] : [...x, ...B]).forEach((h) => {
172
- t(this, q).has(h[0]) || t(this, q).set(h[0], []), t(this, q).get(h[0]).push(h[1]);
173
- });
174
- }
175
- get mediaBuckets() {
176
- return t(this, q);
177
- }
178
- }
179
- q = new WeakMap();
180
- var T, I;
181
- class rt extends et {
182
- constructor(e) {
183
- super(void 0);
184
- i(this, T);
185
- i(this, I, () => {
186
- let e;
187
- t(this, T).mediaBuckets.forEach((l, x) => {
188
- matchMedia(x).matches && (e = l);
189
- });
190
- let o, d = 0;
191
- e == null || e.forEach((l) => {
192
- l.density > d && l.density <= Math.max(devicePixelRatio, 1) && (d = l.density, o = l);
193
- }), e != null && e.length && !o && (o = e[0]), this.current = o;
194
- });
195
- s(this, T, new J(e.srcset, e.sourceSetOptions));
196
- }
197
- updateSource(e) {
198
- s(this, T, new J(e.srcset, e.sourceSetOptions)), t(this, I).call(this);
199
- }
200
- close() {
201
- super.close(), this.disconnect();
202
- }
203
- connect() {
204
- Z.subscribe(t(this, I), tt.SOURCE_MANAGER), t(this, I).call(this);
205
- }
206
- disconnect() {
207
- Z.unsubscribe(t(this, I));
208
- }
209
- }
210
- T = new WeakMap(), I = new WeakMap();
1
+ import { S as r, a as o, c as S, b as c } from "../SourceElement-jbviggZp.js";
211
2
  export {
212
- st as Source,
213
- ft as SourceElement,
214
- rt as SourceManager,
215
- J as SourceSet
3
+ r as Source,
4
+ o as SourceElement,
5
+ S as SourceManager,
6
+ c as SourceSet
216
7
  };
@@ -1 +1 @@
1
- "use strict";var g=r=>{throw TypeError(r)};var v=(r,s,e)=>s.has(r)||g("Cannot "+e);var c=(r,s,e)=>(v(r,s,"read from private field"),e?e.call(r):s.get(r)),n=(r,s,e)=>s.has(r)?g("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(r):s.set(r,e),h=(r,s,e,t)=>(v(r,s,"write to private field"),t?t.call(r,e):s.set(r,e),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../Store-GokLe_g-.cjs"),m=require("../function-MthRj-GJ.cjs");require("../index-Cqw2NKev.cjs");var d;class D extends i.Store{constructor(e,t,u){super(null,u);n(this,d);h(this,d,e.subscribe(a=>{this.current=t(a.current)}))}close(){super.close(),c(this,d).call(this)}}d=new WeakMap;var b;class R extends i.Store{constructor(e,t,u){super(null,u);n(this,b);h(this,b,e.subscribe(a=>{this.current=a.current.map((p,x,y)=>t(p,x,y))}))}close(){super.close(),c(this,b).call(this)}}b=new WeakMap;var f,o,l;class q extends i.Store{constructor(e,t,u){super(e,u);n(this,f);n(this,o);n(this,l,0);h(this,o,new i.Store(!1)),h(this,f,t),u!=null&&u.manualControl||this.refetch()}get isPending(){return c(this,o)}refetch(){c(this,o).current=!0,h(this,l,c(this,l)+1);const e=c(this,l);c(this,f).call(this).then(t=>{e===c(this,l)&&(c(this,o).current=!1,this.current=t)})}}f=new WeakMap,o=new WeakMap,l=new WeakMap;var S;class C extends i.Store{constructor(e,t,u){super(null,u);n(this,S,[]);const a=m.debounce(()=>{this.current=t()},0);e.forEach(p=>{c(this,S).push(p.subscribe(()=>{a()}))})}close(){super.close(),c(this,S).forEach(e=>e())}}S=new WeakMap;exports.Store=i.Store;exports.activeStores=i.activeStores;exports.storeRegistry=i.storeRegistry;exports.Composed=C;exports.Derived=D;exports.DerivedArray=R;exports.Resource=q;
1
+ "use strict";var g=r=>{throw TypeError(r)};var v=(r,s,e)=>s.has(r)||g("Cannot "+e);var c=(r,s,e)=>(v(r,s,"read from private field"),e?e.call(r):s.get(r)),n=(r,s,e)=>s.has(r)?g("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(r):s.set(r,e),h=(r,s,e,t)=>(v(r,s,"write to private field"),t?t.call(r,e):s.set(r,e),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../Store-Cd1GlEmZ.cjs"),m=require("../function-MthRj-GJ.cjs");require("construct-style-sheets-polyfill");require("../index-DekP7OZe.cjs");var d;class q extends i.Store{constructor(e,t,u){super(null,u);n(this,d);h(this,d,e.subscribe(a=>{this.current=t(a.current)}))}close(){super.close(),c(this,d).call(this)}}d=new WeakMap;var b;class D extends i.Store{constructor(e,t,u){super(null,u);n(this,b);h(this,b,e.subscribe(a=>{this.current=a.current.map((p,x,y)=>t(p,x,y))}))}close(){super.close(),c(this,b).call(this)}}b=new WeakMap;var f,o,l;class R extends i.Store{constructor(e,t,u){super(e,u);n(this,f);n(this,o);n(this,l,0);h(this,o,new i.Store(!1)),h(this,f,t),u!=null&&u.manualControl||this.refetch()}get isPending(){return c(this,o)}refetch(){c(this,o).current=!0,h(this,l,c(this,l)+1);const e=c(this,l);c(this,f).call(this).then(t=>{e===c(this,l)&&(c(this,o).current=!1,this.current=t)})}}f=new WeakMap,o=new WeakMap,l=new WeakMap;var S;class C extends i.Store{constructor(e,t,u){super(null,u);n(this,S,[]);const a=m.debounce(()=>{this.current=t()},0);e.forEach(p=>{c(this,S).push(p.subscribe(()=>{a()}))})}close(){super.close(),c(this,S).forEach(e=>e())}}S=new WeakMap;exports.Store=i.Store;exports.activeStores=i.activeStores;exports.storeRegistry=i.storeRegistry;exports.Composed=C;exports.Derived=q;exports.DerivedArray=D;exports.Resource=R;
@@ -3,12 +3,13 @@ var x = (e) => {
3
3
  };
4
4
  var g = (e, r, s) => r.has(e) || x("Cannot " + s);
5
5
  var c = (e, r, s) => (g(e, r, "read from private field"), s ? s.call(e) : r.get(e)), i = (e, r, s) => r.has(e) ? x("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(e) : r.set(e, s), h = (e, r, s, t) => (g(e, r, "write to private field"), t ? t.call(e, s) : r.set(e, s), s);
6
- import { S as a } from "../Store-swP_0ymB.js";
7
- import { a as q, s as z } from "../Store-swP_0ymB.js";
6
+ import { S as a } from "../Store-0BVty6AZ.js";
7
+ import { a as z, s as B } from "../Store-0BVty6AZ.js";
8
8
  import { d as y } from "../function-C10DGppn.js";
9
- import "../index-euf5anj6.js";
9
+ import "construct-style-sheets-polyfill";
10
+ import "../index-Bv9zgfdb.js";
10
11
  var d;
11
- class P extends a {
12
+ class R extends a {
12
13
  constructor(s, t, u) {
13
14
  super(null, u);
14
15
  i(this, d);
@@ -22,7 +23,7 @@ class P extends a {
22
23
  }
23
24
  d = new WeakMap();
24
25
  var f;
25
- class R extends a {
26
+ class w extends a {
26
27
  constructor(s, t, u) {
27
28
  super(null, u);
28
29
  i(this, f);
@@ -36,7 +37,7 @@ class R extends a {
36
37
  }
37
38
  f = new WeakMap();
38
39
  var b, n, o;
39
- class w extends a {
40
+ class A extends a {
40
41
  constructor(s, t, u) {
41
42
  super(s, u);
42
43
  i(this, b);
@@ -57,7 +58,7 @@ class w extends a {
57
58
  }
58
59
  b = new WeakMap(), n = new WeakMap(), o = new WeakMap();
59
60
  var p;
60
- class A extends a {
61
+ class j extends a {
61
62
  constructor(s, t, u) {
62
63
  super(null, u);
63
64
  i(this, p, []);
@@ -78,11 +79,11 @@ class A extends a {
78
79
  }
79
80
  p = new WeakMap();
80
81
  export {
81
- A as Composed,
82
- P as Derived,
83
- R as DerivedArray,
84
- w as Resource,
82
+ j as Composed,
83
+ R as Derived,
84
+ w as DerivedArray,
85
+ A as Resource,
85
86
  a as Store,
86
- q as activeStores,
87
- z as storeRegistry
87
+ z as activeStores,
88
+ B as storeRegistry
88
89
  };
@@ -0,0 +1,24 @@
1
+ import "construct-style-sheets-polyfill";
2
+ import { i as s } from "./index-Bv9zgfdb.js";
3
+ import { c as i } from "./string-BlMQbe8b.js";
4
+ function n(t) {
5
+ let e = "";
6
+ for (const r in t) {
7
+ const o = t[r];
8
+ typeof o == "object" ? (e += `${r} {`, e += n(o), e += "}") : e += `${i(r)}: ${o};`;
9
+ }
10
+ return e;
11
+ }
12
+ function y(t) {
13
+ if (s) {
14
+ const e = new CSSStyleSheet();
15
+ return e.replaceSync(
16
+ typeof t == "string" ? t : n(t)
17
+ ), e;
18
+ }
19
+ return null;
20
+ }
21
+ export {
22
+ y as c,
23
+ n as s
24
+ };
@@ -0,0 +1 @@
1
+ "use strict";require("construct-style-sheets-polyfill");const i=require("./index-DekP7OZe.cjs"),o=require("./string-DUXXtU8v.cjs");function s(t){let e="";for(const r in t){const n=t[r];typeof n=="object"?(e+=`${r} {`,e+=s(n),e+="}"):e+=`${o.camelToKebab(r)}: ${n};`}return e}function c(t){if(i.isBrowser){const e=new CSSStyleSheet;return e.replaceSync(typeof t=="string"?t:s(t)),e}return null}exports.createStylesheet=c;exports.styleToString=s;
@@ -1 +1 @@
1
- "use strict";var L=r=>{throw TypeError(r)};var A=(r,i,s)=>i.has(r)||L("Cannot "+s);var e=(r,i,s)=>(A(r,i,"read from private field"),s?s.call(r):i.get(r)),h=(r,i,s)=>i.has(r)?L("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(r):i.set(r,s),t=(r,i,s,n)=>(A(r,i,"write to private field"),n?n.call(r,s):i.set(r,s),s),S=(r,i,s)=>(A(r,i,"access private method"),s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("../index-Cqw2NKev.cjs"),M=require("../dom-JBOkFLTh.cjs");var o,u,v,b,m,l,g,y,q;class V{constructor(i,s){h(this,o);h(this,u);h(this,v);h(this,b,0);h(this,m,0);h(this,l,0);h(this,g,!1);h(this,y,null);h(this,q,i=>{const s=i[0];t(this,g,s.isIntersecting)});if(t(this,o,i),t(this,u,s==null?void 0:s.maxFPS),t(this,v,(s==null?void 0:s.order)||0),s!=null&&s.culling&&B.isBrowser){const n=M.getElement(s.culling);n&&(t(this,y,new IntersectionObserver(e(this,q))),e(this,y).observe(n))}else t(this,g,!0)}get callback(){return e(this,o)}get order(){return e(this,v)}sync(i){t(this,b,i-e(this,l))}tick(i){if(t(this,l,Math.max(0,i-e(this,b))),e(this,m)||t(this,m,i),e(this,u))if(e(this,l)>=1e3/e(this,u))t(this,b,i-e(this,l)%e(this,u));else return;else t(this,b,i);e(this,g)&&e(this,o).call(this,{timeBetweenFrames:e(this,l),timestamp:i,subscribeTimestamp:e(this,m),timeElapsedSinceSubscription:i-e(this,m)})}destroy(){var i;(i=e(this,y))==null||i.disconnect()}}o=new WeakMap,u=new WeakMap,v=new WeakMap,b=new WeakMap,m=new WeakMap,l=new WeakMap,g=new WeakMap,y=new WeakMap,q=new WeakMap;var k,d,a,F,c,f,I,E,w,T;class x{constructor(){h(this,f);h(this,k,0);h(this,d,0);h(this,a);h(this,F,!1);h(this,c,[]);h(this,w,i=>{if(e(this,F)){t(this,F,!1),t(this,k,i-e(this,d));for(const s of e(this,c))s.sync(e(this,d))}t(this,a,requestAnimationFrame(e(this,w))),t(this,d,i-e(this,k));for(const s of e(this,c))s.tick(e(this,d))});h(this,T,()=>{document.hidden&&t(this,F,!0)});B.isBrowser&&document.addEventListener("visibilitychange",e(this,T))}subscribe(i,s){if(!e(this,c).find(n=>n.callback===i)){const n=new V(i,s);n.sync(performance.now()),e(this,c).push(n),t(this,c,e(this,c).sort((O,P)=>O.order-P.order))}return S(this,f,I).call(this),()=>this.unsubscribe(i)}unsubscribe(i){const s=e(this,c).filter(n=>n.callback===i);s.length&&(s.forEach(n=>n.destroy()),t(this,c,e(this,c).filter(n=>n.callback!==i)),e(this,c).length||S(this,f,E).call(this))}destroy(){B.isBrowser&&(S(this,f,E).call(this),document.removeEventListener("visibilitychange",e(this,T)))}}k=new WeakMap,d=new WeakMap,a=new WeakMap,F=new WeakMap,c=new WeakMap,f=new WeakSet,I=function(){e(this,c).length&&!e(this,a)&&t(this,a,requestAnimationFrame(e(this,w)))},E=function(){e(this,a)&&(cancelAnimationFrame(e(this,a)),t(this,a,void 0))},w=new WeakMap,T=new WeakMap;const j=new x;exports.Ticker=x;exports.ticker=j;
1
+ "use strict";var L=r=>{throw TypeError(r)};var A=(r,e,s)=>e.has(r)||L("Cannot "+s);var i=(r,e,s)=>(A(r,e,"read from private field"),s?s.call(r):e.get(r)),h=(r,e,s)=>e.has(r)?L("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(r):e.set(r,s),t=(r,e,s,n)=>(A(r,e,"write to private field"),n?n.call(r,s):e.set(r,s),s),S=(r,e,s)=>(A(r,e,"access private method"),s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("../index-DekP7OZe.cjs"),M=require("../dom-JBOkFLTh.cjs");require("construct-style-sheets-polyfill");var o,l,v,b,m,u,g,y,q;class V{constructor(e,s){h(this,o);h(this,l);h(this,v);h(this,b,0);h(this,m,0);h(this,u,0);h(this,g,!1);h(this,y,null);h(this,q,e=>{const s=e[0];t(this,g,s.isIntersecting)});if(t(this,o,e),t(this,l,s==null?void 0:s.maxFPS),t(this,v,(s==null?void 0:s.order)||0),s!=null&&s.culling&&B.isBrowser){const n=M.getElement(s.culling);n&&(t(this,y,new IntersectionObserver(i(this,q))),i(this,y).observe(n))}else t(this,g,!0)}get callback(){return i(this,o)}get order(){return i(this,v)}sync(e){t(this,b,e-i(this,u))}tick(e){if(t(this,u,Math.max(0,e-i(this,b))),i(this,m)||t(this,m,e),i(this,l))if(i(this,u)>=1e3/i(this,l))t(this,b,e-i(this,u)%i(this,l));else return;else t(this,b,e);i(this,g)&&i(this,o).call(this,{timeBetweenFrames:i(this,u),timestamp:e,subscribeTimestamp:i(this,m),timeElapsedSinceSubscription:e-i(this,m)})}destroy(){var e;(e=i(this,y))==null||e.disconnect()}}o=new WeakMap,l=new WeakMap,v=new WeakMap,b=new WeakMap,m=new WeakMap,u=new WeakMap,g=new WeakMap,y=new WeakMap,q=new WeakMap;var k,d,a,F,c,f,I,E,w,T;class x{constructor(){h(this,f);h(this,k,0);h(this,d,0);h(this,a);h(this,F,!1);h(this,c,[]);h(this,w,e=>{if(i(this,F)){t(this,F,!1),t(this,k,e-i(this,d));for(const s of i(this,c))s.sync(i(this,d))}t(this,a,requestAnimationFrame(i(this,w))),t(this,d,e-i(this,k));for(const s of i(this,c))s.tick(i(this,d))});h(this,T,()=>{document.hidden&&t(this,F,!0)});B.isBrowser&&document.addEventListener("visibilitychange",i(this,T))}subscribe(e,s){if(!i(this,c).find(n=>n.callback===e)){const n=new V(e,s);n.sync(performance.now()),i(this,c).push(n),t(this,c,i(this,c).sort((O,P)=>O.order-P.order))}return S(this,f,I).call(this),()=>this.unsubscribe(e)}unsubscribe(e){const s=i(this,c).filter(n=>n.callback===e);s.length&&(s.forEach(n=>n.destroy()),t(this,c,i(this,c).filter(n=>n.callback!==e)),i(this,c).length||S(this,f,E).call(this))}destroy(){B.isBrowser&&(S(this,f,E).call(this),document.removeEventListener("visibilitychange",i(this,T)))}}k=new WeakMap,d=new WeakMap,a=new WeakMap,F=new WeakMap,c=new WeakMap,f=new WeakSet,I=function(){i(this,c).length&&!i(this,a)&&t(this,a,requestAnimationFrame(i(this,w)))},E=function(){i(this,a)&&(cancelAnimationFrame(i(this,a)),t(this,a,void 0))},w=new WeakMap,T=new WeakMap;const j=new x;exports.Ticker=x;exports.ticker=j;
@@ -3,15 +3,16 @@ var q = (r) => {
3
3
  };
4
4
  var L = (r, i, s) => i.has(r) || q("Cannot " + s);
5
5
  var e = (r, i, s) => (L(r, i, "read from private field"), s ? s.call(r) : i.get(r)), h = (r, i, s) => i.has(r) ? q("Cannot add the same private member more than once") : i instanceof WeakSet ? i.add(r) : i.set(r, s), t = (r, i, s, n) => (L(r, i, "write to private field"), n ? n.call(r, s) : i.set(r, s), s), A = (r, i, s) => (L(r, i, "access private method"), s);
6
- import { i as S } from "../index-euf5anj6.js";
6
+ import { i as S } from "../index-Bv9zgfdb.js";
7
7
  import { g as P } from "../dom-CVWzyXPH.js";
8
- var o, u, v, m, b, l, g, F, E;
8
+ import "construct-style-sheets-polyfill";
9
+ var o, m, v, u, b, l, g, F, E;
9
10
  class V {
10
11
  constructor(i, s) {
11
12
  h(this, o);
12
- h(this, u);
13
+ h(this, m);
13
14
  h(this, v);
14
- h(this, m, 0);
15
+ h(this, u, 0);
15
16
  h(this, b, 0);
16
17
  h(this, l, 0);
17
18
  h(this, g, !1);
@@ -20,7 +21,7 @@ class V {
20
21
  const s = i[0];
21
22
  t(this, g, s.isIntersecting);
22
23
  });
23
- if (t(this, o, i), t(this, u, s == null ? void 0 : s.maxFPS), t(this, v, (s == null ? void 0 : s.order) || 0), s != null && s.culling && S) {
24
+ if (t(this, o, i), t(this, m, s == null ? void 0 : s.maxFPS), t(this, v, (s == null ? void 0 : s.order) || 0), s != null && s.culling && S) {
24
25
  const n = P(s.culling);
25
26
  n && (t(this, F, new IntersectionObserver(
26
27
  e(this, E)
@@ -35,16 +36,16 @@ class V {
35
36
  return e(this, v);
36
37
  }
37
38
  sync(i) {
38
- t(this, m, i - e(this, l));
39
+ t(this, u, i - e(this, l));
39
40
  }
40
41
  tick(i) {
41
- if (t(this, l, Math.max(0, i - e(this, m))), e(this, b) || t(this, b, i), e(this, u))
42
- if (e(this, l) >= 1e3 / e(this, u))
43
- t(this, m, i - e(this, l) % e(this, u));
42
+ if (t(this, l, Math.max(0, i - e(this, u))), e(this, b) || t(this, b, i), e(this, m))
43
+ if (e(this, l) >= 1e3 / e(this, m))
44
+ t(this, u, i - e(this, l) % e(this, m));
44
45
  else
45
46
  return;
46
47
  else
47
- t(this, m, i);
48
+ t(this, u, i);
48
49
  e(this, g) && e(this, o).call(this, {
49
50
  timeBetweenFrames: e(this, l),
50
51
  timestamp: i,
@@ -57,7 +58,7 @@ class V {
57
58
  (i = e(this, F)) == null || i.disconnect();
58
59
  }
59
60
  }
60
- o = new WeakMap(), u = new WeakMap(), v = new WeakMap(), m = new WeakMap(), b = new WeakMap(), l = new WeakMap(), g = new WeakMap(), F = new WeakMap(), E = new WeakMap();
61
+ o = new WeakMap(), m = new WeakMap(), v = new WeakMap(), u = new WeakMap(), b = new WeakMap(), l = new WeakMap(), g = new WeakMap(), F = new WeakMap(), E = new WeakMap();
61
62
  var k, f, a, y, c, d, B, x, w, T;
62
63
  class C {
63
64
  constructor() {
@@ -112,8 +113,8 @@ k = new WeakMap(), f = new WeakMap(), a = new WeakMap(), y = new WeakMap(), c =
112
113
  }, x = function() {
113
114
  e(this, a) && (cancelAnimationFrame(e(this, a)), t(this, a, void 0));
114
115
  }, w = new WeakMap(), T = new WeakMap();
115
- const j = new C();
116
+ const z = new C();
116
117
  export {
117
118
  C as Ticker,
118
- j as ticker
119
+ z as ticker
119
120
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("../attributes-Bf2svn4j.cjs"),O=require("../index-Cqw2NKev.cjs"),b=require("../canvas-CU5Xjahf.cjs"),C=require("../coordinates-D8Np3cPD.cjs"),g=require("../dom-JBOkFLTh.cjs"),s=require("../easings-GegIwET5.cjs"),Q=require("../element-yhcBhsho.cjs"),A=require("../events-KVanG9sR.cjs"),E=require("../file-DSpfWdd9.cjs"),T=require("../function-MthRj-GJ.cjs"),B=require("../gestures-C7gbKx11.cjs"),S=require("../jss-CRBgdvJ3.cjs"),h=require("../layout-Ctc2p3uz.cjs"),a=require("../math-GDWEqu7y.cjs"),m=require("../number-DyefJ5a1.cjs"),c=require("../object-CCiXnER2.cjs"),v=require("../polyfills-Df4r-ETT.cjs"),P=require("../scroll-DAhSpkhR.cjs"),l=require("../string-DUXXtU8v.cjs"),q=require("../style-At6aDoqG.cjs"),f=require("../url-lnBE_6yf.cjs");function D(t,e,...n){return[...t.slice(0,e),...n,...t.slice(e)]}function R(t,e){const n=t.length;e=e%n;const o=new Array(n);for(let r=0;r<n;r++){const i=(r+e)%n;o[i]=t[r]}return o}function N(t,e=2){if(!+t)return"0 Bytes";const n=1024,o=e<0?0:e,r=["Bytes","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],i=Math.floor(Math.log(t)/Math.log(n));return`${parseFloat((t/Math.pow(n,i)).toFixed(o))} ${r[i]}`}function j(t){if(navigator.clipboard)navigator.clipboard.writeText(t).then(()=>{console.log("Text copied to clipboard successfully!")}).catch(e=>{console.error("Failed to copy text to clipboard:",e)});else{const e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.top="0",e.style.left="0",document.body.appendChild(e),e.select();try{document.execCommand("copy")?console.log("Text copied to clipboard successfully!"):console.error("Failed to copy text to clipboard.")}catch(n){console.error("Failed to copy text to clipboard:",n)}document.body.removeChild(e)}}function z(t,e){return t.x<e.x+e.width&&t.x>e.x&&t.y<e.y+e.height&&t.y>e.y}function M(t,e){return Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2)<e.radius}function V(t,e){let n=!1;const{x:o,y:r}=t;for(let i=0,u=e.length-1;i<e.length;u=i++){const p=e[i].x,d=e[i].y,y=e[u].x,I=e[u].y;d>r!=I>r&&o<(y-p)*(r-d)/(I-d)+p&&(n=!n)}return n}function w(t,e){const n=t.style.getPropertyValue(e);if(n){const o=n.toString();return o.startsWith("var")?w(t,o.slice(4,-1)):o}}function k(...t){const e={};return Array.from(document.styleSheets).forEach(n=>{Array.from(n.cssRules).forEach(o=>{o instanceof CSSStyleRule&&o.selectorText===":root"&&t.forEach(r=>{const i=w(o,r);i&&(e[r]=i)})})}),t.forEach(n=>{e[n]||console.warn(`variable named ${n} not found`)}),e}function F(t){const e=window.atob(t);return decodeURIComponent(window.escape(e))}function $(t){const e=window.unescape(encodeURIComponent(t));return window.btoa(e)}const H=/^(\+?\d{1,3}[-.\s]?)?(\(?\d{3}\)?[-.\s]?)?\d{1,4}[-.\s]?\d{2,4}[-.\s]?\d{2,4}$/,U=/^[\w.-]+@[a-zA-Z\d.-]+\.[a-zA-Z]{2,}$/;function K(t){let e,n;return U.test(t)?(e=`mailto:${t.trim()}`,n="email"):H.test(t)&&(e=`tel:${t.replace(/[^0-9\\.\\+]+/g,"")}`,n="phone"),{href:e,type:n,contact:t}}function W(t,e){if(t){const o=t.content.cloneNode(!0).firstElementChild;return o&&(e==null||e(o)),o}return null}function Z(t,e,n,o){let r,i=!1,u=0;const p=()=>{clearInterval(r),o!=null&&o.restartCounter&&(u=0),i&&(r=setInterval(()=>{n(u++)},e))},d=O.intersector.subscribe(t,y=>{i=y.isIntersecting,p()});return()=>{d(),clearInterval(r)}}exports.parseAttribute=x.parseAttribute;exports.parseAttributeValue=x.parseAttributeValue;exports.isBrowser=O.isBrowser;exports.contain=b.contain;exports.cover=b.cover;exports.fixPosition=b.fixPosition;exports.measureText=b.measureText;exports.getPointerPosition=C.getPointerPosition;exports.normalize=C.normalize;exports.screenToCartesian=C.screenToCartesian;exports.findParentElement=g.findParentElement;exports.findScrollParentElement=g.findScrollParentElement;exports.getAllParentElements=g.getAllParentElements;exports.getElement=g.getElement;exports.easeInCubic=s.easeInCubic;exports.easeInExpo=s.easeInExpo;exports.easeInOutCubic=s.easeInOutCubic;exports.easeInOutExpo=s.easeInOutExpo;exports.easeInOutQuad=s.easeInOutQuad;exports.easeInOutQuart=s.easeInOutQuart;exports.easeInOutQuint=s.easeInOutQuint;exports.easeInQuad=s.easeInQuad;exports.easeInQuart=s.easeInQuart;exports.easeInQuint=s.easeInQuint;exports.easeOutCubic=s.easeOutCubic;exports.easeOutExpo=s.easeOutExpo;exports.easeOutQuad=s.easeOutQuad;exports.easeOutQuart=s.easeOutQuart;exports.easeOutQuint=s.easeOutQuint;exports.linear=s.linear;exports.isElementVisible=Q.isElementVisible;exports.dispatchEvent=A.dispatchEvent;exports.createJSONAndSave=E.createJSONAndSave;exports.downloadURI=E.downloadURI;exports.debounce=T.debounce;exports.throttle=T.throttle;exports.setupDrag=B.setupDrag;exports.createStylesheet=S.createStylesheet;exports.styleToString=S.styleToString;exports.getCumulativeOffsetLeft=h.getCumulativeOffsetLeft;exports.getCumulativeOffsetTop=h.getCumulativeOffsetTop;exports.getCumulativePosition=h.getCumulativePosition;exports.getStickyOffset=h.getStickyOffset;exports.calculateDistance=a.calculateDistance;exports.calculateDistanceWithRadius=a.calculateDistanceWithRadius;exports.clamp=a.clamp;exports.damp=a.damp;exports.lerp=a.lerp;exports.mapRange=a.mapRange;exports.round=a.round;exports.smootherstep=a.smootherstep;exports.smoothstep=a.smoothstep;exports.step=a.step;exports.beautifyNumber=m.beautifyNumber;exports.loopNumber=m.loopNumber;exports.preciseNumber=m.preciseNumber;exports.roundNumberTo=m.roundNumberTo;exports.toStep=m.toStep;exports.cloneDeep=c.cloneDeep;exports.compareObjects=c.compareObjects;exports.isESClass=c.isESClass;exports.isNullish=c.isNullish;exports.isObject=c.isObject;exports.mergeDeep=c.mergeDeep;exports.mixin=c.mixin;exports.omit=c.omit;exports.pick=c.pick;exports.nullishCoalescing=v.nullishCoalescing;exports.requestIdleCallback=v.requestIdleCallback;exports.scrollToElement=P.scrollToElement;exports.wait=P.wait;exports.camelToKebab=l.camelToKebab;exports.capitalize=l.capitalize;exports.declension=l.declension;exports.decodeHtmlEntities=l.decodeHtmlEntities;exports.generateId=l.generateId;exports.isUppercase=l.isUppercase;exports.kebabToCamel=l.kebabToCamel;exports.snakeToDotted=l.snakeToDotted;exports.toPascalCase=l.toPascalCase;exports.uncapitalize=l.uncapitalize;exports.getElementTransitionDurationMS=q.getElementTransitionDurationMS;exports.getElementTransitionDurationS=q.getElementTransitionDurationS;exports.changeHistory=f.changeHistory;exports.normalizeBase=f.normalizeBase;exports.parseSearchParameters=f.parseSearchParameters;exports.splitPath=f.splitPath;exports.updateSearchParameter=f.updateSearchParameter;exports.cloneTemplateContent=W;exports.copyTextToClipboard=j;exports.decode=$;exports.dotCircleCollision=M;exports.dotPolygonCollision=V;exports.dotRectCollision=z;exports.encode=F;exports.formatBytes=N;exports.getRootVariables=k;exports.insert=D;exports.setIntervalOnIntersection=Z;exports.shiftArray=R;exports.tryCreateHrefFromContact=K;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("../attributes-Bf2svn4j.cjs"),O=require("../index-DekP7OZe.cjs"),b=require("../canvas-CU5Xjahf.cjs"),C=require("../coordinates-D8Np3cPD.cjs"),g=require("../dom-JBOkFLTh.cjs"),s=require("../easings-GegIwET5.cjs"),Q=require("../element-yhcBhsho.cjs"),A=require("../events-KVanG9sR.cjs"),E=require("../file-DSpfWdd9.cjs"),T=require("../function-MthRj-GJ.cjs"),B=require("../gestures-C7gbKx11.cjs"),S=require("../stylesheet-HWF2a3nr.cjs"),h=require("../layout-Ctc2p3uz.cjs"),a=require("../math-GDWEqu7y.cjs"),m=require("../number-DyefJ5a1.cjs"),c=require("../object-CCiXnER2.cjs"),v=require("../polyfills-Df4r-ETT.cjs"),P=require("../scroll-CFDCeArT.cjs"),l=require("../string-DUXXtU8v.cjs"),q=require("../style-At6aDoqG.cjs"),f=require("../url-lnBE_6yf.cjs");function D(t,e,...n){return[...t.slice(0,e),...n,...t.slice(e)]}function R(t,e){const n=t.length;e=e%n;const o=new Array(n);for(let r=0;r<n;r++){const i=(r+e)%n;o[i]=t[r]}return o}function N(t,e=2){if(!+t)return"0 Bytes";const n=1024,o=e<0?0:e,r=["Bytes","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],i=Math.floor(Math.log(t)/Math.log(n));return`${parseFloat((t/Math.pow(n,i)).toFixed(o))} ${r[i]}`}function z(t){if(navigator.clipboard)navigator.clipboard.writeText(t).then(()=>{console.log("Text copied to clipboard successfully!")}).catch(e=>{console.error("Failed to copy text to clipboard:",e)});else{const e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.top="0",e.style.left="0",document.body.appendChild(e),e.select();try{document.execCommand("copy")?console.log("Text copied to clipboard successfully!"):console.error("Failed to copy text to clipboard.")}catch(n){console.error("Failed to copy text to clipboard:",n)}document.body.removeChild(e)}}function j(t,e){return t.x<e.x+e.width&&t.x>e.x&&t.y<e.y+e.height&&t.y>e.y}function M(t,e){return Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2)<e.radius}function V(t,e){let n=!1;const{x:o,y:r}=t;for(let i=0,u=e.length-1;i<e.length;u=i++){const p=e[i].x,d=e[i].y,y=e[u].x,I=e[u].y;d>r!=I>r&&o<(y-p)*(r-d)/(I-d)+p&&(n=!n)}return n}function w(t,e){const n=t.style.getPropertyValue(e);if(n){const o=n.toString();return o.startsWith("var")?w(t,o.slice(4,-1)):o}}function k(...t){const e={};return Array.from(document.styleSheets).forEach(n=>{Array.from(n.cssRules).forEach(o=>{o instanceof CSSStyleRule&&o.selectorText===":root"&&t.forEach(r=>{const i=w(o,r);i&&(e[r]=i)})})}),t.forEach(n=>{e[n]||console.warn(`variable named ${n} not found`)}),e}function F(t){const e=window.atob(t);return decodeURIComponent(window.escape(e))}function $(t){const e=window.unescape(encodeURIComponent(t));return window.btoa(e)}const H=/^(\+?\d{1,3}[-.\s]?)?(\(?\d{3}\)?[-.\s]?)?\d{1,4}[-.\s]?\d{2,4}[-.\s]?\d{2,4}$/,U=/^[\w.-]+@[a-zA-Z\d.-]+\.[a-zA-Z]{2,}$/;function K(t){let e,n;return U.test(t)?(e=`mailto:${t.trim()}`,n="email"):H.test(t)&&(e=`tel:${t.replace(/[^0-9\\.\\+]+/g,"")}`,n="phone"),{href:e,type:n,contact:t}}function W(t,e){if(t){const o=t.content.cloneNode(!0).firstElementChild;return o&&(e==null||e(o)),o}return null}function Z(t,e,n,o){let r,i=!1,u=0;const p=()=>{clearInterval(r),o!=null&&o.restartCounter&&(u=0),i&&(r=setInterval(()=>{n(u++)},e))},d=O.intersector.subscribe(t,y=>{i=y.isIntersecting,p()});return()=>{d(),clearInterval(r)}}exports.parseAttribute=x.parseAttribute;exports.parseAttributeValue=x.parseAttributeValue;exports.isBrowser=O.isBrowser;exports.contain=b.contain;exports.cover=b.cover;exports.fixPosition=b.fixPosition;exports.measureText=b.measureText;exports.getPointerPosition=C.getPointerPosition;exports.normalize=C.normalize;exports.screenToCartesian=C.screenToCartesian;exports.findParentElement=g.findParentElement;exports.findScrollParentElement=g.findScrollParentElement;exports.getAllParentElements=g.getAllParentElements;exports.getElement=g.getElement;exports.easeInCubic=s.easeInCubic;exports.easeInExpo=s.easeInExpo;exports.easeInOutCubic=s.easeInOutCubic;exports.easeInOutExpo=s.easeInOutExpo;exports.easeInOutQuad=s.easeInOutQuad;exports.easeInOutQuart=s.easeInOutQuart;exports.easeInOutQuint=s.easeInOutQuint;exports.easeInQuad=s.easeInQuad;exports.easeInQuart=s.easeInQuart;exports.easeInQuint=s.easeInQuint;exports.easeOutCubic=s.easeOutCubic;exports.easeOutExpo=s.easeOutExpo;exports.easeOutQuad=s.easeOutQuad;exports.easeOutQuart=s.easeOutQuart;exports.easeOutQuint=s.easeOutQuint;exports.linear=s.linear;exports.isElementVisible=Q.isElementVisible;exports.dispatchEvent=A.dispatchEvent;exports.createJSONAndSave=E.createJSONAndSave;exports.downloadURI=E.downloadURI;exports.debounce=T.debounce;exports.throttle=T.throttle;exports.setupDrag=B.setupDrag;exports.createStylesheet=S.createStylesheet;exports.styleToString=S.styleToString;exports.getCumulativeOffsetLeft=h.getCumulativeOffsetLeft;exports.getCumulativeOffsetTop=h.getCumulativeOffsetTop;exports.getCumulativePosition=h.getCumulativePosition;exports.getStickyOffset=h.getStickyOffset;exports.calculateDistance=a.calculateDistance;exports.calculateDistanceWithRadius=a.calculateDistanceWithRadius;exports.clamp=a.clamp;exports.damp=a.damp;exports.lerp=a.lerp;exports.mapRange=a.mapRange;exports.round=a.round;exports.smootherstep=a.smootherstep;exports.smoothstep=a.smoothstep;exports.step=a.step;exports.beautifyNumber=m.beautifyNumber;exports.loopNumber=m.loopNumber;exports.preciseNumber=m.preciseNumber;exports.roundNumberTo=m.roundNumberTo;exports.toStep=m.toStep;exports.cloneDeep=c.cloneDeep;exports.compareObjects=c.compareObjects;exports.isESClass=c.isESClass;exports.isNullish=c.isNullish;exports.isObject=c.isObject;exports.mergeDeep=c.mergeDeep;exports.mixin=c.mixin;exports.omit=c.omit;exports.pick=c.pick;exports.nullishCoalescing=v.nullishCoalescing;exports.requestIdleCallback=v.requestIdleCallback;exports.scrollToElement=P.scrollToElement;exports.wait=P.wait;exports.camelToKebab=l.camelToKebab;exports.capitalize=l.capitalize;exports.declension=l.declension;exports.decodeHtmlEntities=l.decodeHtmlEntities;exports.generateId=l.generateId;exports.isUppercase=l.isUppercase;exports.kebabToCamel=l.kebabToCamel;exports.snakeToDotted=l.snakeToDotted;exports.toPascalCase=l.toPascalCase;exports.uncapitalize=l.uncapitalize;exports.getElementTransitionDurationMS=q.getElementTransitionDurationMS;exports.getElementTransitionDurationS=q.getElementTransitionDurationS;exports.changeHistory=f.changeHistory;exports.normalizeBase=f.normalizeBase;exports.parseSearchParameters=f.parseSearchParameters;exports.splitPath=f.splitPath;exports.updateSearchParameter=f.updateSearchParameter;exports.cloneTemplateContent=W;exports.copyTextToClipboard=z;exports.decode=$;exports.dotCircleCollision=M;exports.dotPolygonCollision=V;exports.dotRectCollision=j;exports.encode=F;exports.formatBytes=N;exports.getRootVariables=k;exports.insert=D;exports.setIntervalOnIntersection=Z;exports.shiftArray=R;exports.tryCreateHrefFromContact=K;
@@ -26,6 +26,7 @@ export * from './promises';
26
26
  export * from './scroll';
27
27
  export * from './string';
28
28
  export * from './style';
29
+ export * from './stylesheet';
29
30
  export * from './template';
30
31
  export * from './timeouts';
31
32
  export * from './ts-shape';