aptechka 0.4.11 → 0.4.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{Damped-Ceg1a3X8.js → Damped-BZujMwuv.js} +11 -10
- package/lib/Damped-DK3CSBXb.cjs +1 -0
- package/lib/{Derived-B-g8dYgh.cjs → Derived-BZtlW0bB.cjs} +1 -1
- package/lib/{Derived-kPJs5JC5.js → Derived-DH-ouLBq.js} +1 -1
- package/lib/DragControls-CV1YozSr.cjs +1 -0
- package/lib/{DragControls-CZhJHO0_.js → DragControls-Ch_JO2ML.js} +23 -22
- package/lib/SourceManager-Bl_uduSS.cjs +1 -0
- package/lib/{SourceManager-4OHacQoQ.js → SourceManager-D_8MZ3bR.js} +21 -20
- package/lib/Store-BQGNOHlY.cjs +1 -0
- package/lib/{Store-BQXXikps.js → Store-Cd-E5W1z.js} +8 -7
- package/lib/{Viewport-wlgZaIn7.js → Viewport-Bx-VImCe.js} +6 -5
- package/lib/Viewport-_WllZTJ0.cjs +1 -0
- package/lib/accordion/index.cjs +1 -1
- package/lib/accordion/index.js +1 -0
- package/lib/animation/index.cjs +1 -1
- package/lib/animation/index.js +6 -5
- package/lib/attribute/index.cjs +1 -1
- package/lib/attribute/index.js +16 -15
- package/lib/canvas/index.cjs +1 -1
- package/lib/canvas/index.js +4 -3
- package/lib/checkbox/index.cjs +1 -1
- package/lib/checkbox/index.js +4 -3
- package/lib/controls/index.cjs +1 -1
- package/lib/controls/index.js +2 -2
- package/lib/{createStylesheet-CqHU9_qv.cjs → createStylesheet-C8aQQ4hd.cjs} +1 -1
- package/lib/{createStylesheet-DBCEbDjI.js → createStylesheet-KMRQhSa-.js} +1 -1
- package/lib/createTheme-BSreUYge.cjs +1 -0
- package/lib/createTheme-u3NsrEV6.js +16 -0
- package/lib/css-property/index.cjs +1 -1
- package/lib/css-property/index.js +4 -3
- package/lib/custom-element/index.cjs +1 -1
- package/lib/custom-element/index.js +3 -2
- package/lib/dev/index.cjs +1 -1
- package/lib/dev/index.js +7 -6
- package/lib/device/index.cjs +1 -1
- package/lib/device/index.js +1 -1
- package/lib/element-constructor/index.cjs +1 -1
- package/lib/element-constructor/index.js +3 -3
- package/lib/element-resizer/index.cjs +1 -1
- package/lib/element-resizer/index.js +23 -22
- package/lib/en3/index.cjs +1 -1
- package/lib/en3/index.js +23 -22
- package/lib/image/index.cjs +1 -1
- package/lib/image/index.js +8 -7
- package/lib/{index-BUOBDenR.js → index-Fasue6kv.js} +20 -19
- package/lib/index-nxoux28n.cjs +9 -0
- package/lib/intersector/index.cjs +1 -1
- package/lib/intersector/index.js +3 -2
- package/lib/ladder/index.cjs +1 -1
- package/lib/ladder/index.js +11 -10
- package/lib/layout-box/index.cjs +1 -1
- package/lib/layout-box/index.js +148 -139
- package/lib/libs/path-data-polyfill.d.ts +1 -0
- package/lib/loading/index.cjs +1 -1
- package/lib/loading/index.js +16 -15
- package/lib/media/index.cjs +1 -1
- package/lib/media/index.js +6 -5
- package/lib/modal/index.cjs +1 -1
- package/lib/modal/index.js +4 -3
- package/lib/morph/index.cjs +1 -1
- package/lib/morph/index.js +21 -20
- package/lib/path-data-polyfill-CXsOR7Oc.cjs +3 -0
- package/lib/path-data-polyfill-DgeDWYeI.js +454 -0
- package/lib/popover/index.cjs +1 -1
- package/lib/popover/index.js +14 -13
- package/lib/resized/index.cjs +1 -1
- package/lib/resized/index.js +8 -7
- package/lib/router/index.cjs +1 -1
- package/lib/router/index.js +8 -7
- package/lib/scroll/index.cjs +1 -1
- package/lib/scroll/index.js +307 -298
- package/lib/scroll-entries/index.cjs +1 -1
- package/lib/scroll-entries/index.d.ts +3 -0
- package/lib/scroll-entries/index.js +18 -13
- package/lib/select/index.cjs +1 -1
- package/lib/select/index.js +1 -1
- package/lib/slicer/index.cjs +2 -2
- package/lib/slicer/index.js +4 -3
- package/lib/source/index.cjs +1 -1
- package/lib/source/index.js +2 -2
- package/lib/store/index.cjs +1 -1
- package/lib/store/index.js +13 -12
- package/lib/{tags-CMPg9ETZ.js → tags-BoPv9fDr.js} +234 -233
- package/lib/tags-CueX-JLX.cjs +1 -0
- package/lib/theme/index.cjs +1 -1
- package/lib/theme/index.js +7 -6
- package/lib/ticker/index.cjs +1 -1
- package/lib/ticker/index.js +3 -2
- package/lib/tweaker/index.cjs +1 -1
- package/lib/tweaker/index.js +6 -5
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +164 -127
- package/lib/utils/svg.d.ts +15 -0
- package/lib/video/index.cjs +1 -1
- package/lib/video/index.js +6 -5
- package/lib/window-resizer/index.cjs +1 -1
- package/lib/window-resizer/index.js +7 -6
- package/package.json +1 -1
- package/lib/Damped-BdnkNOcb.cjs +0 -1
- package/lib/DragControls-C7P6P5HO.cjs +0 -1
- package/lib/SourceManager-Bc68GDrb.cjs +0 -1
- package/lib/Store-C-1ruEIm.cjs +0 -1
- package/lib/Viewport-DAjFJF5V.cjs +0 -1
- package/lib/createTheme-CHnsCgAr.js +0 -15
- package/lib/createTheme-Cfaw9UmV.cjs +0 -1
- package/lib/index-Bv5vIuF-.cjs +0 -9
- package/lib/tags-Djb6mb1o.cjs +0 -1
|
@@ -8,12 +8,13 @@ var I = (t, e, s) => (A(t, e, "read from private field"), s ? s.call(t) : e.get(
|
|
|
8
8
|
e instanceof WeakSet ? e.add(t) : e.set(t, s);
|
|
9
9
|
}, G = (t, e, s, i) => (A(t, e, "write to private field"), i ? i.call(t, s) : e.set(t, s), s);
|
|
10
10
|
import { CustomElement as U, define as M } from "./custom-element/index.js";
|
|
11
|
-
import "./Store-
|
|
11
|
+
import "./Store-Cd-E5W1z.js";
|
|
12
12
|
import { i as P } from "./browser-0zX67oeU.js";
|
|
13
13
|
import { d as Q } from "./events-_C2CztxR.js";
|
|
14
14
|
import { g as X } from "./style-j2TwriJ_.js";
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
15
|
+
import "./path-data-polyfill-DgeDWYeI.js";
|
|
16
|
+
import { e as k, p as V, ay as E, D as R } from "./tags-BoPv9fDr.js";
|
|
17
|
+
import { c as D } from "./createStylesheet-KMRQhSa-.js";
|
|
17
18
|
import { aptechkaTheme as w } from "./theme/index.js";
|
|
18
19
|
var j = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, te = (t, e, s, i) => {
|
|
19
20
|
for (var n = i > 1 ? void 0 : i ? ee(e, s) : e, r = t.length - 1, l; r >= 0; r--)
|
|
@@ -22,11 +23,11 @@ var j = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, te = (t, e,
|
|
|
22
23
|
}, z = (t, e, s) => {
|
|
23
24
|
if (!e.has(t))
|
|
24
25
|
throw TypeError("Cannot " + s);
|
|
25
|
-
}, a = (t, e, s) => (z(t, e, "read from private field"), s ? s.call(t) : e.get(t)),
|
|
26
|
+
}, a = (t, e, s) => (z(t, e, "read from private field"), s ? s.call(t) : e.get(t)), h = (t, e, s) => {
|
|
26
27
|
if (e.has(t))
|
|
27
28
|
throw TypeError("Cannot add the same private member more than once");
|
|
28
29
|
e instanceof WeakSet ? e.add(t) : e.set(t, s);
|
|
29
|
-
}, c = (t, e, s, i) => (z(t, e, "write to private field"), i ? i.call(t, s) : e.set(t, s), s), q = (t, e, s) => (z(t, e, "access private method"), s), v, u,
|
|
30
|
+
}, c = (t, e, s, i) => (z(t, e, "write to private field"), i ? i.call(t, s) : e.set(t, s), s), q = (t, e, s) => (z(t, e, "access private method"), s), v, u, o, p, f, g, L, C, O;
|
|
30
31
|
const se = D({
|
|
31
32
|
":host": {
|
|
32
33
|
position: "relative"
|
|
@@ -64,7 +65,7 @@ const se = D({
|
|
|
64
65
|
});
|
|
65
66
|
let W = class extends U {
|
|
66
67
|
constructor() {
|
|
67
|
-
super(),
|
|
68
|
+
super(), h(this, C), h(this, v, null), h(this, u, ""), h(this, o, null), h(this, p, !1), h(this, f, void 0), h(this, g, null), h(this, L, () => {
|
|
68
69
|
Q(this);
|
|
69
70
|
}), P && (this.openShadow(se), c(this, v, this.attachInternals()), c(this, g, new ResizeObserver(a(this, L))), k(this, {
|
|
70
71
|
children: [
|
|
@@ -85,7 +86,7 @@ let W = class extends U {
|
|
|
85
86
|
children: E()
|
|
86
87
|
}),
|
|
87
88
|
ref: (t) => {
|
|
88
|
-
c(this,
|
|
89
|
+
c(this, o, t);
|
|
89
90
|
}
|
|
90
91
|
})
|
|
91
92
|
]
|
|
@@ -109,17 +110,17 @@ let W = class extends U {
|
|
|
109
110
|
return a(this, p);
|
|
110
111
|
}
|
|
111
112
|
open() {
|
|
112
|
-
clearTimeout(a(this, f)), c(this, p, !0), a(this,
|
|
113
|
-
this.classList.add("opened"), a(this,
|
|
113
|
+
clearTimeout(a(this, f)), c(this, p, !0), a(this, o).style.display = "grid", this.classList.add("triggered"), setTimeout(() => {
|
|
114
|
+
this.classList.add("opened"), a(this, o).style.height = a(this, o).scrollHeight + "px", q(this, C, O).call(this);
|
|
114
115
|
}, 0);
|
|
115
116
|
}
|
|
116
117
|
close() {
|
|
117
|
-
c(this, p, !1), a(this,
|
|
118
|
-
this.classList.remove("triggered"), a(this,
|
|
119
|
-
}, X(a(this,
|
|
118
|
+
c(this, p, !1), a(this, o).style.height = "0px", this.classList.remove("opened"), q(this, C, O).call(this), c(this, f, setTimeout(() => {
|
|
119
|
+
this.classList.remove("triggered"), a(this, o).style.display = "none";
|
|
120
|
+
}, X(a(this, o))));
|
|
120
121
|
}
|
|
121
122
|
connectedCallback() {
|
|
122
|
-
a(this, g).observe(a(this,
|
|
123
|
+
a(this, g).observe(a(this, o));
|
|
123
124
|
}
|
|
124
125
|
disconnectedCallback() {
|
|
125
126
|
clearTimeout(a(this, f)), a(this, g).disconnect();
|
|
@@ -127,7 +128,7 @@ let W = class extends U {
|
|
|
127
128
|
};
|
|
128
129
|
v = /* @__PURE__ */ new WeakMap();
|
|
129
130
|
u = /* @__PURE__ */ new WeakMap();
|
|
130
|
-
|
|
131
|
+
o = /* @__PURE__ */ new WeakMap();
|
|
131
132
|
p = /* @__PURE__ */ new WeakMap();
|
|
132
133
|
f = /* @__PURE__ */ new WeakMap();
|
|
133
134
|
g = /* @__PURE__ */ new WeakMap();
|
|
@@ -222,7 +223,7 @@ J = function() {
|
|
|
222
223
|
F = ae([
|
|
223
224
|
M("e-select-option")
|
|
224
225
|
], F);
|
|
225
|
-
const
|
|
226
|
+
const oe = `<svg
|
|
226
227
|
xmlns="http://www.w3.org/2000/svg"
|
|
227
228
|
width="32"
|
|
228
229
|
height="32"
|
|
@@ -231,10 +232,10 @@ const he = `<svg
|
|
|
231
232
|
<path d="m12.37 15.835l6.43-6.63C19.201 8.79 18.958 8 18.43 8H5.57c-.528 0-.771.79-.37 1.205l6.43 6.63c.213.22.527.22.74 0Z" />
|
|
232
233
|
</svg>
|
|
233
234
|
`;
|
|
234
|
-
var
|
|
235
|
+
var he = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, de = (t, e, s, i) => {
|
|
235
236
|
for (var n = i > 1 ? void 0 : i ? ce(e, s) : e, r = t.length - 1, l; r >= 0; r--)
|
|
236
237
|
(l = t[r]) && (n = (i ? l(e, s, n) : l(n)) || n);
|
|
237
|
-
return i && n &&
|
|
238
|
+
return i && n && he(e, s, n), n;
|
|
238
239
|
}, K = (t, e, s) => {
|
|
239
240
|
if (!e.has(t))
|
|
240
241
|
throw TypeError("Cannot " + s);
|
|
@@ -277,7 +278,7 @@ let N = class extends Y {
|
|
|
277
278
|
E(),
|
|
278
279
|
E({
|
|
279
280
|
name: "arrow",
|
|
280
|
-
children: k(
|
|
281
|
+
children: k(oe, { class: "default-arrow" })
|
|
281
282
|
})
|
|
282
283
|
]
|
|
283
284
|
}), this.slot = "head");
|
|
@@ -297,7 +298,7 @@ N = de([
|
|
|
297
298
|
], N);
|
|
298
299
|
export {
|
|
299
300
|
W as S,
|
|
300
|
-
|
|
301
|
+
oe as a,
|
|
301
302
|
Y as b,
|
|
302
303
|
F as c,
|
|
303
304
|
N as d
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";var D=(t,e,s)=>{if(!e.has(t))throw TypeError("Cannot "+s)};var z=(t,e,s)=>(D(t,e,"read from private field"),s?s.call(t):e.get(t)),A=(t,e,s)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,s)},H=(t,e,s,i)=>(D(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s);const S=require("./custom-element/index.cjs");require("./Store-BQGNOHlY.cjs");const W=require("./browser-CpzFX2xg.cjs"),N=require("./events-Crwi8fz6.cjs"),V=require("./style-At6aDoqG.cjs");require("./path-data-polyfill-CXsOR7Oc.cjs");const a=require("./tags-CueX-JLX.cjs"),M=require("./createStylesheet-C8aQQ4hd.cjs"),E=require("./theme/index.cjs");var Y=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,J=(t,e,s,i)=>{for(var n=i>1?void 0:i?Z(e,s):e,l=t.length-1,h;l>=0;l--)(h=t[l])&&(n=(i?h(e,s,n):h(n))||n);return i&&n&&Y(e,s,n),n},P=(t,e,s)=>{if(!e.has(t))throw TypeError("Cannot "+s)},r=(t,e,s)=>(P(t,e,"read from private field"),s?s.call(t):e.get(t)),c=(t,e,s)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,s)},d=(t,e,s,i)=>(P(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s),I=(t,e,s)=>(P(t,e,"access private method"),s),u,f,o,v,m,g,$,C,b;const K=M.createStylesheet({":host":{position:"relative"},".head":{width:"100%",cursor:"default",background:"none",border:"none",color:"inherit",fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",textAlign:"start",padding:"0",margin:"0"},".body":{boxSizing:"border-box",position:"var(--position, unset)",top:"100%",left:"0",width:"100%",overflow:"hidden",transitionDuration:`var(--duration, ${E.aptechkaTheme.durationShort.var})`,transitionProperty:"height",cursor:"default"},".body-inner":{display:"grid",gap:"var(--gap, 0px)",width:"100%",paddingTop:"var(--gap, 0px)"}});exports.SelectElement=class extends S.CustomElement{constructor(){super(),c(this,C),c(this,u,null),c(this,f,""),c(this,o,null),c(this,v,!1),c(this,m,void 0),c(this,g,null),c(this,$,()=>{N.dispatchSizeChangeEvent(this)}),W.isBrowser&&(this.openShadow(K),d(this,u,this.attachInternals()),d(this,g,new ResizeObserver(r(this,$))),a.element(this,{children:[a.button({class:"head",children:a.slot({name:"head"}),onClick:()=>{this.opened?this.close():this.open()}}),a.div({class:"body",style:{height:"0px"},children:a.div({class:"body-inner",children:a.slot()}),ref:e=>{d(this,o,e)}})]}))}get value(){return r(this,f)}set value(e){d(this,f,e),this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})),r(this,u).setFormValue(r(this,f))}get internals(){return r(this,u)}get opened(){return r(this,v)}open(){clearTimeout(r(this,m)),d(this,v,!0),r(this,o).style.display="grid",this.classList.add("triggered"),setTimeout(()=>{this.classList.add("opened"),r(this,o).style.height=r(this,o).scrollHeight+"px",I(this,C,b).call(this)},0)}close(){d(this,v,!1),r(this,o).style.height="0px",this.classList.remove("opened"),I(this,C,b).call(this),d(this,m,setTimeout(()=>{this.classList.remove("triggered"),r(this,o).style.display="none"},V.getElementTransitionDurationMS(r(this,o))))}connectedCallback(){r(this,g).observe(r(this,o))}disconnectedCallback(){clearTimeout(r(this,m)),r(this,g).disconnect()}};u=new WeakMap;f=new WeakMap;o=new WeakMap;v=new WeakMap;m=new WeakMap;g=new WeakMap;$=new WeakMap;C=new WeakSet;b=function(){this.dispatchEvent(new CustomEvent("selectToggle",{bubbles:!0,composed:!0,detail:{opened:r(this,v)}}))};exports.SelectElement.formAssociated=!0;exports.SelectElement=J([S.define("e-select")],exports.SelectElement);var y;class q extends S.CustomElement{constructor(){super(...arguments);A(this,y,null)}get selectElement(){return z(this,y)}connectedCallback(){var i,n;const s=(n=(i=this.assignedSlot)==null?void 0:i.getRootNode())==null?void 0:n.host;s?H(this,y,s):console.log(this,"e-select not found")}}y=new WeakMap;var Q=Object.defineProperty,X=Object.getOwnPropertyDescriptor,j=(t,e,s,i)=>{for(var n=i>1?void 0:i?X(e,s):e,l=t.length-1,h;l>=0;l--)(h=t[l])&&(n=(i?h(e,s,n):h(n))||n);return i&&n&&Q(e,s,n),n},G=(t,e,s)=>{if(!e.has(t))throw TypeError("Cannot "+s)},x=(t,e,s)=>(G(t,e,"read from private field"),s?s.call(t):e.get(t)),B=(t,e,s)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,s)},ee=(t,e,s)=>(G(t,e,"access private method"),s),w,L,R;const te=M.createStylesheet({":host":{width:"100%",height:E.aptechkaTheme.heightInput.var,display:"inline-flex",alignItems:"center"},button:{all:"inherit"}});exports.SelectOptionElement=class extends q{constructor(){super(),B(this,L),B(this,w,()=>{this.selectElement.value===this.value?this.style.display="none":this.style.display=""}),W.isBrowser&&(this.openShadow(te),a.element(this,{children:[a.button({onClick:()=>{ee(this,L,R).call(this)},children:a.slot()})]}))}get value(){return(this.hasAttribute("value")?this.getAttribute("value"):this.innerText)||""}connectedCallback(){super.connectedCallback(),this.hasAttribute("default")&&(this.selectElement.value||(this.selectElement.value=this.value)),this.selectElement.addEventListener("change",x(this,w)),setTimeout(()=>{x(this,w).call(this)})}disconnectedCallback(){this.selectElement.removeEventListener("change",x(this,w))}};w=new WeakMap;L=new WeakSet;R=function(){this.selectElement.value=this.value,this.selectElement.close()};exports.SelectOptionElement=j([S.define("e-select-option")],exports.SelectOptionElement);const F=`<svg
|
|
2
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
3
|
+
width="32"
|
|
4
|
+
height="32"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
>
|
|
7
|
+
<path d="m12.37 15.835l6.43-6.63C19.201 8.79 18.958 8 18.43 8H5.57c-.528 0-.771.79-.37 1.205l6.43 6.63c.213.22.527.22.74 0Z" />
|
|
8
|
+
</svg>
|
|
9
|
+
`;var se=Object.defineProperty,ie=Object.getOwnPropertyDescriptor,ne=(t,e,s,i)=>{for(var n=i>1?void 0:i?ie(e,s):e,l=t.length-1,h;l>=0;l--)(h=t[l])&&(n=(i?h(e,s,n):h(n))||n);return i&&n&&se(e,s,n),n},U=(t,e,s)=>{if(!e.has(t))throw TypeError("Cannot "+s)},p=(t,e,s)=>(U(t,e,"read from private field"),s?s.call(t):e.get(t)),O=(t,e,s)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,s)},re=(t,e,s,i)=>(U(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s),T,_,k;const ae=M.createStylesheet({":host":{width:"100%",height:E.aptechkaTheme.heightInput.var,display:"inline-flex",alignItems:"center",justifyContent:"space-between"},".default-arrow":{flexShrink:"0",width:"var(--arrow-size, 1em)",height:"var(--arrow-size, 1em)",fill:`var(--arrow-color, ${E.aptechkaTheme.colorDark.var})`,transitionProperty:"transform",transitionDuration:`var(--duration, ${E.aptechkaTheme.durationShort.var})`},":host(.opened) .default-arrow":{transform:"scaleY(-1)"}});exports.SelectHeadElement=class extends q{constructor(){super(),O(this,T,null),O(this,_,()=>{const s=this.selectElement.shadowRoot.querySelector(".body slot").assignedElements().find(i=>i.value===this.selectElement.value);s&&(p(this,T).innerHTML=s.innerHTML)}),O(this,k,()=>{this.classList.toggle("opened",this.selectElement.opened)}),W.isBrowser&&(this.openShadow(ae),a.element(this,{children:[a.slot(),a.slot({name:"arrow",children:a.element(F,{class:"default-arrow"})})]}),this.slot="head")}connectedCallback(){super.connectedCallback(),re(this,T,this.querySelector("[data-value-holder]")||this),this.selectElement.addEventListener("change",p(this,_)),p(this,_).call(this),this.selectElement.addEventListener("selectToggle",p(this,k))}disconnectedCallback(){this.selectElement.removeEventListener("change",p(this,_)),this.selectElement.removeEventListener("selectToggle",p(this,k))}};T=new WeakMap;_=new WeakMap;k=new WeakMap;exports.SelectHeadElement=ne([S.define("e-select-head")],exports.SelectHeadElement);exports.SelectUserElement=q;exports.arrowIcon=F;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var y=(n,t,r)=>{if(!t.has(n))throw TypeError("Cannot "+r)};var s=(n,t,r)=>(y(n,t,"read from private field"),r?r.call(n):t.get(n)),b=(n,t,r)=>{if(t.has(n))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(n):t.set(n,r)},f=(n,t,r,e)=>(y(n,t,"write to private field"),e?e.call(n,r):t.set(n,r),r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("../browser-CpzFX2xg.cjs"),d=require("../dom-JBOkFLTh.cjs");var i,u,l;class m{constructor(){b(this,i,[]);b(this,u,null);b(this,l,t=>{s(this,i).map(e=>({subscriber:e,entry:t.find(o=>o.target===e.element)})).forEach(e=>{e.entry&&(e.subscriber.entry=e.entry,e.subscriber.callback(e.entry))})});w.isBrowser&&window.IntersectionObserver&&f(this,u,new IntersectionObserver(s(this,l)))}subscribe(t,r){const e=d.getElement(t);if(!e)return()=>{};const o=s(this,i).find(c=>c.element===e);if(!o)s(this,u).observe(e);else{const c=s(this,i).find(h=>h.element===e&&h.entry);c!=null&&c.entry.isIntersecting&&r(c.entry)}return s(this,i).push({element:e,callback:r,entry:(o==null?void 0:o.entry)||null}),()=>{this.unsubscribe(r)}}unsubscribe(t){const r=s(this,i).find(e=>e.callback===t);r&&(f(this,i,s(this,i).filter(e=>e.callback===t)),s(this,i).find(e=>e.element===r.element)||s(this,u).unobserve(r.element))}}i=new WeakMap,u=new WeakMap,l=new WeakMap;const g=new m;exports.Intersector=m;exports.intersector=g;
|
|
1
|
+
"use strict";var y=(n,t,r)=>{if(!t.has(n))throw TypeError("Cannot "+r)};var s=(n,t,r)=>(y(n,t,"read from private field"),r?r.call(n):t.get(n)),b=(n,t,r)=>{if(t.has(n))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(n):t.set(n,r)},f=(n,t,r,e)=>(y(n,t,"write to private field"),e?e.call(n,r):t.set(n,r),r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("../browser-CpzFX2xg.cjs"),d=require("../dom-JBOkFLTh.cjs");require("../path-data-polyfill-CXsOR7Oc.cjs");var i,u,l;class m{constructor(){b(this,i,[]);b(this,u,null);b(this,l,t=>{s(this,i).map(e=>({subscriber:e,entry:t.find(o=>o.target===e.element)})).forEach(e=>{e.entry&&(e.subscriber.entry=e.entry,e.subscriber.callback(e.entry))})});w.isBrowser&&window.IntersectionObserver&&f(this,u,new IntersectionObserver(s(this,l)))}subscribe(t,r){const e=d.getElement(t);if(!e)return()=>{};const o=s(this,i).find(c=>c.element===e);if(!o)s(this,u).observe(e);else{const c=s(this,i).find(h=>h.element===e&&h.entry);c!=null&&c.entry.isIntersecting&&r(c.entry)}return s(this,i).push({element:e,callback:r,entry:(o==null?void 0:o.entry)||null}),()=>{this.unsubscribe(r)}}unsubscribe(t){const r=s(this,i).find(e=>e.callback===t);r&&(f(this,i,s(this,i).filter(e=>e.callback===t)),s(this,i).find(e=>e.element===r.element)||s(this,u).unobserve(r.element))}}i=new WeakMap,u=new WeakMap,l=new WeakMap;const g=new m;exports.Intersector=m;exports.intersector=g;
|
package/lib/intersector/index.js
CHANGED
|
@@ -9,6 +9,7 @@ var r = (n, t, s) => (m(n, t, "read from private field"), s ? s.call(n) : t.get(
|
|
|
9
9
|
}, h = (n, t, s, e) => (m(n, t, "write to private field"), e ? e.call(n, s) : t.set(n, s), s);
|
|
10
10
|
import { i as y } from "../browser-0zX67oeU.js";
|
|
11
11
|
import { g as p } from "../dom-0S_WDL4g.js";
|
|
12
|
+
import "../path-data-polyfill-DgeDWYeI.js";
|
|
12
13
|
var i, b, u;
|
|
13
14
|
class w {
|
|
14
15
|
constructor() {
|
|
@@ -60,8 +61,8 @@ class w {
|
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
63
|
i = new WeakMap(), b = new WeakMap(), u = new WeakMap();
|
|
63
|
-
const
|
|
64
|
+
const E = new w();
|
|
64
65
|
export {
|
|
65
66
|
w as Intersector,
|
|
66
|
-
|
|
67
|
+
E as intersector
|
|
67
68
|
};
|
package/lib/ladder/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var j=Object.defineProperty;var w=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var x=(s,t,e)=>t in s?j(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,S=(s,t)=>{for(var e in t||(t={}))C.call(t,e)&&x(s,e,t[e]);if(w)for(var e of w(t))E.call(t,e)&&x(s,e,t[e]);return s};var q=(s,t,e)=>{if(!t.has(s))throw TypeError("Cannot "+e)};var i=(s,t,e)=>(q(s,t,"read from private field"),e?e.call(s):t.get(s)),h=(s,t,e)=>{if(t.has(s))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(s):t.set(s,e)},c=(s,t,e,
|
|
1
|
+
"use strict";var j=Object.defineProperty;var w=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var x=(s,t,e)=>t in s?j(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,S=(s,t)=>{for(var e in t||(t={}))C.call(t,e)&&x(s,e,t[e]);if(w)for(var e of w(t))E.call(t,e)&&x(s,e,t[e]);return s};var q=(s,t,e)=>{if(!t.has(s))throw TypeError("Cannot "+e)};var i=(s,t,e)=>(q(s,t,"read from private field"),e?e.call(s):t.get(s)),h=(s,t,e)=>{if(t.has(s))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(s):t.set(s,e)},c=(s,t,e,r)=>(q(s,t,"write to private field"),r?r.call(s,e):t.set(s,e),e);var M=(s,t,e)=>(q(s,t,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("../Store-BQGNOHlY.cjs"),O=require("../math-GDWEqu7y.cjs"),U=require("../number-yVpzMdbQ.cjs");require("../path-data-polyfill-CXsOR7Oc.cjs");const m=require("../ticker/index.cjs");var v,u,p,d;class P{constructor(t){h(this,v,void 0);h(this,u,void 0);h(this,p,void 0);h(this,d,void 0);c(this,v,t.operation),c(this,u,t.value),c(this,p,i(this,u)),c(this,d,t.damping||0)}get operation(){return i(this,v)}get value(){return i(this,u)}set value(t){c(this,p,t),i(this,d)||c(this,u,t)}get damping(){return i(this,d)}set damping(t){c(this,d,t)}update(t){let e=0;for(const r in i(this,u))i(this,u)[r]=O.damp(i(this,u)[r],i(this,p)[r],this.damping,t),U.preciseNumber(i(this,u)[r],4)!==U.preciseNumber(i(this,p)[r],4)&&e++;return e===0}}v=new WeakMap,u=new WeakMap,p=new WeakMap,d=new WeakMap;var g,f,l,y,V,b;class T extends N.Store{constructor(e){super(e,{equalityCheck:()=>!1});h(this,y);h(this,g,void 0);h(this,f,void 0);h(this,l,void 0);h(this,b,e=>{let r=0;for(const n of this.steps){const a=n[1].update(e.elapsed);r+=a?0:1}this.calculate(),r||m.ticker.unsubscribe(i(this,b))});c(this,g,S({},e)),c(this,f,new Map),c(this,l,new Set)}get base(){return i(this,g)}get steps(){return i(this,f)}close(){super.close(),i(this,l).clear(),i(this,f).clear(),m.ticker.unsubscribe(i(this,b))}bind(e){i(this,l).add(e)}unbind(e){i(this,l).delete(e)}deleteStep(e){this.steps.delete(e)}getStepValue(e){return this.steps.get(e).value}setStep(e,r,n,o){const a={};for(const L in this.current)a[L]=n[L]||0;let k=this.steps.get(e);k||(k=new P({operation:r,value:S({},i(this,g)),damping:o}),this.steps.set(e,k)),k.damping=o||0,k.value=a,M(this,y,V).call(this)}calculate(){const e={};for(const r in this.base)e[r]=this.base[r];for(const r of this.steps){const n=r[1];if(n.operation==="+")for(const o in this.base){const a=n.value[o];e[o]+=a}else if(n.operation==="*")for(const o in this.base){const a=n.value[o];e[o]*=a}else if(n.operation==="/")for(const o in this.base){const a=n.value[o];e[o]/=a}else if(n.operation==="-")for(const o in this.base){const a=n.value[o];e[o]-=a}}for(const r of i(this,l))for(const n in e)r[n]=e[n];this.current=e}}g=new WeakMap,f=new WeakMap,l=new WeakMap,y=new WeakSet,V=function(){let e=!1;i(this,f).forEach(r=>{r.damping&&(e=!0)}),e?m.ticker.subscribe(i(this,b)):m.ticker.unsubscribe(i(this,b))},b=new WeakMap;exports.Ladder=T;
|
package/lib/ladder/index.js
CHANGED
|
@@ -19,9 +19,10 @@ var i = (s, e, t) => (w(s, e, "read from private field"), t ? t.call(s) : e.get(
|
|
|
19
19
|
e instanceof WeakSet ? e.add(s) : e.set(s, t);
|
|
20
20
|
}, h = (s, e, t, n) => (w(s, e, "write to private field"), n ? n.call(s, t) : e.set(s, t), t);
|
|
21
21
|
var V = (s, e, t) => (w(s, e, "access private method"), t);
|
|
22
|
-
import { S as z } from "../Store-
|
|
22
|
+
import { S as z } from "../Store-Cd-E5W1z.js";
|
|
23
23
|
import { d as A } from "../math-BOBiC4TN.js";
|
|
24
24
|
import { p as q } from "../number-Bo5RdrA1.js";
|
|
25
|
+
import "../path-data-polyfill-DgeDWYeI.js";
|
|
25
26
|
import { ticker as k } from "../ticker/index.js";
|
|
26
27
|
var v, c, l, d;
|
|
27
28
|
class B {
|
|
@@ -60,14 +61,14 @@ class B {
|
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
63
|
v = new WeakMap(), c = new WeakMap(), l = new WeakMap(), d = new WeakMap();
|
|
63
|
-
var
|
|
64
|
-
class
|
|
64
|
+
var m, f, p, y, C, b;
|
|
65
|
+
class K extends z {
|
|
65
66
|
constructor(t) {
|
|
66
67
|
super(t, {
|
|
67
68
|
equalityCheck: () => !1
|
|
68
69
|
});
|
|
69
70
|
u(this, y);
|
|
70
|
-
u(this,
|
|
71
|
+
u(this, m, void 0);
|
|
71
72
|
u(this, f, void 0);
|
|
72
73
|
u(this, p, void 0);
|
|
73
74
|
u(this, b, (t) => {
|
|
@@ -78,10 +79,10 @@ class J extends z {
|
|
|
78
79
|
}
|
|
79
80
|
this.calculate(), n || k.unsubscribe(i(this, b));
|
|
80
81
|
});
|
|
81
|
-
h(this,
|
|
82
|
+
h(this, m, S({}, t)), h(this, f, /* @__PURE__ */ new Map()), h(this, p, /* @__PURE__ */ new Set());
|
|
82
83
|
}
|
|
83
84
|
get base() {
|
|
84
|
-
return i(this,
|
|
85
|
+
return i(this, m);
|
|
85
86
|
}
|
|
86
87
|
get steps() {
|
|
87
88
|
return i(this, f);
|
|
@@ -105,8 +106,8 @@ class J extends z {
|
|
|
105
106
|
const a = {};
|
|
106
107
|
for (const L in this.current)
|
|
107
108
|
a[L] = o[L] || 0;
|
|
108
|
-
let
|
|
109
|
-
|
|
109
|
+
let g = this.steps.get(t);
|
|
110
|
+
g || (g = new B({ operation: n, value: S({}, i(this, m)), damping: r }), this.steps.set(t, g)), g.damping = r || 0, g.value = a, V(this, y, C).call(this);
|
|
110
111
|
}
|
|
111
112
|
calculate() {
|
|
112
113
|
const t = {};
|
|
@@ -141,12 +142,12 @@ class J extends z {
|
|
|
141
142
|
this.current = t;
|
|
142
143
|
}
|
|
143
144
|
}
|
|
144
|
-
|
|
145
|
+
m = new WeakMap(), f = new WeakMap(), p = new WeakMap(), y = new WeakSet(), C = function() {
|
|
145
146
|
let t = !1;
|
|
146
147
|
i(this, f).forEach((n) => {
|
|
147
148
|
n.damping && (t = !0);
|
|
148
149
|
}), t ? k.subscribe(i(this, b)) : k.unsubscribe(i(this, b));
|
|
149
150
|
}, b = new WeakMap();
|
|
150
151
|
export {
|
|
151
|
-
|
|
152
|
+
K as Ladder
|
|
152
153
|
};
|
package/lib/layout-box/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var $=(i,e,s)=>{if(!e.has(i))throw TypeError("Cannot "+s)};var t=(i,e,s)=>($(i,e,"read from private field"),s?s.call(i):e.get(i)),h=(i,e,s)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,s)},n=(i,e,s,r)=>($(i,e,"write to private field"),r?r.call(i,s):e.set(i,s),s);var q=(i,e,s)=>($(i,e,"access private method"),s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ut=require("../css-unit-parser/index.cjs"),F=require("../ladder/index.cjs"),N=require("../order/index.cjs"),G=require("../scroll-entries/index.cjs"),Q=require("../ticker/index.cjs"),j=require("../browser-CpzFX2xg.cjs"),tt=require("../dom-JBOkFLTh.cjs"),O=require("../layout-8ryRAMGJ.cjs");require("../path-data-polyfill-CXsOR7Oc.cjs");const et=require("../element-resizer/index.cjs"),st=require("../window-resizer/index.cjs");function it(i){const e=Math.sqrt(i.m11*i.m11+i.m12*i.m12+i.m13*i.m13),s=Math.sqrt(i.m21*i.m21+i.m22*i.m22+i.m23*i.m23),r=Math.sqrt(i.m31*i.m31+i.m32*i.m32+i.m33*i.m33),Y=Math.atan2(i.m32,i.m33),H=Math.atan2(-i.m31,Math.sqrt(i.m32*i.m32+i.m33*i.m33)),K=Math.atan2(i.m21,i.m11),u=i.m41,C=i.m42*-1,R=i.m43;return{scaleX:e,scaleY:s,scaleZ:r,rotationX:Y,rotationY:H,rotationZ:K,translationX:u,translationY:C,translationZ:R}}var c,f,p,M,Z,L,x,w,B,y,_,P,S,d,v,T,X,A,z,g,m,a,l,o,b,W,J,V,ht,D,nt,I,rt,E,k,U;class St{constructor(e,s){h(this,W);h(this,V);h(this,D);h(this,I);h(this,c,null);h(this,f,null);h(this,p,[]);h(this,M,"auto");h(this,Z,"top");h(this,L,!1);h(this,x,!0);h(this,w,!0);h(this,B,!0);h(this,y,0);h(this,_,0);h(this,P,0);h(this,S,0);h(this,d,0);h(this,v,0);h(this,T,0);h(this,X,0);h(this,A,0);h(this,z,{x:0,y:0,z:0});h(this,g,{x:0,y:0,z:0});h(this,m,{x:1,y:1,z:1});h(this,a,new F.Ladder({x:0,y:0,z:0}));h(this,l,new F.Ladder({x:0,y:0,z:0}));h(this,o,new F.Ladder({x:0,y:0,z:0}));h(this,b,new Map);h(this,E,()=>{j.isBrowser&&q(this,D,nt).call(this)});h(this,k,()=>{q(this,I,rt).call(this),q(this,W,J).call(this)});h(this,U,()=>{const e=G.scrollEntries.getAll(this.element);t(this,b).forEach((s,r)=>{e.includes(r)||(this.deleteScrollStep(s),t(this,b).delete(r))}),e.forEach(s=>{if(!t(this,b).has(s)){const r=()=>s;t(this,b).set(s,r),this.setScrollStep(r)}})});j.isBrowser&&(n(this,c,tt.getElement(e)||document.body),n(this,f,tt.getElement(s==null?void 0:s.containerElement)||document.body),n(this,M,(s==null?void 0:s.scrollAxis)||"auto"),n(this,Z,(s==null?void 0:s.frontSide)||"top"),n(this,L,(s==null?void 0:s.cartesian)||!1),n(this,x,(s==null?void 0:s.sizeStep)!==void 0?s.sizeStep:!0),n(this,w,(s==null?void 0:s.positionStep)!==void 0?s.positionStep:!0),n(this,B,(s==null?void 0:s.transformStep)!==void 0?s.transformStep:!0),t(this,o).setStep("_size","+",{x:1,y:1,z:1}),t(this,l).setStep("_position","+",{x:0,y:0,z:0}),t(this,o).setStep("_scale","*",{x:1,y:1,z:1}),t(this,l).setStep("_translation","+",{x:0,y:0,z:0}),t(this,a).setStep("_rotation","+",{x:0,y:0,z:0}),G.scrollEntries.notifier.subscribe(t(this,U)),Q.ticker.subscribe(t(this,k),{order:N.TICK_ORDER.LAYOUT_BOX,culling:s!=null&&s.culling?this.element:void 0}),et.elementResizer.subscribe(this.element,t(this,E)),st.windowResizer.subscribe(t(this,E),N.RESIZE_ORDER.LAYOUT_BOX))}get element(){return t(this,c)}get containerElement(){return t(this,f)}get position(){return t(this,l).current}get rotation(){return t(this,a).current}get scale(){return t(this,o).current}get left(){return t(this,d)}get top(){return t(this,S)}get front(){return t(this,v)}get width(){return t(this,y)}get height(){return t(this,_)}get depth(){return t(this,P)}bindObject(e){e.position&&t(this,l).bind(e.position),e.rotation&&t(this,a).bind(e.rotation),e.scale&&t(this,o).bind(e.scale)}unbindObject(e){e.position&&t(this,l).unbind(e.position),e.rotation&&t(this,a).unbind(e.rotation),e.scale&&t(this,o).unbind(e.scale)}setScrollStep(e){return t(this,p).includes(e)||t(this,p).push(e),()=>this.deleteScrollStep(e)}deleteScrollStep(e){n(this,p,t(this,p).filter(s=>s!==e))}destroy(){Q.ticker.unsubscribe(t(this,k)),et.elementResizer.unsubscribe(t(this,E)),st.windowResizer.unsubscribe(t(this,E)),G.scrollEntries.notifier.unsubscribe(t(this,U)),t(this,b).clear(),t(this,l).close(),t(this,a).close(),t(this,o).close()}setPositionStep(...e){t(this,l).setStep(...e)}getPositionStep(...e){return t(this,l).getStepValue(...e)}setRotationStep(...e){t(this,a).setStep(...e)}getRotationStep(...e){return t(this,a).getStepValue(...e)}setScaleStep(...e){t(this,o).setStep(...e)}getScaleStep(...e){return t(this,o).getStepValue(...e)}deletePositionStep(...e){t(this,l).deleteStep(...e)}deleteRotationStep(...e){t(this,a).deleteStep(...e)}deleteScaleStep(...e){t(this,o).deleteStep(...e)}}c=new WeakMap,f=new WeakMap,p=new WeakMap,M=new WeakMap,Z=new WeakMap,L=new WeakMap,x=new WeakMap,w=new WeakMap,B=new WeakMap,y=new WeakMap,_=new WeakMap,P=new WeakMap,S=new WeakMap,d=new WeakMap,v=new WeakMap,T=new WeakMap,X=new WeakMap,A=new WeakMap,z=new WeakMap,g=new WeakMap,m=new WeakMap,a=new WeakMap,l=new WeakMap,o=new WeakMap,b=new WeakMap,W=new WeakSet,J=function(){t(this,o).calculate(),t(this,l).calculate(),t(this,a).calculate()},V=new WeakSet,ht=function(){t(this,o).setStep("_size","+",{x:t(this,x)?t(this,y):1,y:t(this,x)?t(this,_):1,z:t(this,x)?t(this,P):1});const e=t(this,w)?t(this,T):0,s=t(this,w)?t(this,X):0,r=t(this,w)?t(this,A):0;t(this,l).setStep("_position","+",{x:e,y:s,z:r}),t(this,B)?(t(this,o).setStep("_scale","*",{x:t(this,m).x,y:t(this,m).y,z:t(this,m).z}),t(this,l).setStep("_translation","+",{x:t(this,z).x,y:t(this,z).y,z:t(this,z).z}),t(this,a).setStep("_rotation","+",{x:t(this,g).x,y:t(this,g).y,z:t(this,g).z})):(t(this,o).setStep("_scale","*",{x:1,y:1,z:1}),t(this,l).setStep("_translation","+",{x:0,y:0,z:0}),t(this,a).setStep("_rotation","+",{x:0,y:0,z:0}))},D=new WeakSet,nt=function(){const e=getComputedStyle(t(this,c));n(this,y,Math.max(t(this,c).clientWidth,1)),n(this,_,Math.max(t(this,c).clientHeight,1)),n(this,P,Math.max(ut.cssUnitParser.parse(e.getPropertyValue("--depth")||"0px"),1));const s=O.getCumulativeOffsetLeft(t(this,f)),r=O.getCumulativeOffsetTop(t(this,f)),Y=t(this,f).clientWidth,H=t(this,f).clientHeight;if(n(this,d,O.getCumulativeOffsetLeft(t(this,c))-s),n(this,S,O.getCumulativeOffsetTop(t(this,c))-r),t(this,M)==="z"){const C=t(this,d)/Y,R=t(this,S)/H;n(this,d,(C-Math.floor(C))*Y),n(this,S,(R-Math.floor(R))*H),t(this,Z)==="left"?n(this,v,O.getCumulativeOffsetLeft(t(this,c))-s-t(this,d)):n(this,v,O.getCumulativeOffsetTop(t(this,c))-r-t(this,S))}if(n(this,d,t(this,d)+t(this,c).clientLeft),n(this,S,t(this,S)+t(this,c).clientTop),t(this,L)){const C=Math.round(Y/2),R=Math.round(H/2),lt=t(this,y)?Math.round(t(this,y)/2):0,ot=t(this,_)?Math.round(t(this,_)/2):0,ct=t(this,d)-C+lt,at=(t(this,S)-R+ot)*-1;n(this,T,ct),n(this,X,at)}else n(this,T,t(this,d)),n(this,X,t(this,S));n(this,A,t(this,v)*-1);const K=new WebKitCSSMatrix(e.transform),u=it(K);t(this,z).x=u.translationX,t(this,z).y=u.translationY,t(this,z).z=u.translationZ,t(this,m).x=u.scaleX,t(this,m).y=u.scaleY,t(this,m).z=u.scaleZ,t(this,g).x=u.rotationX,t(this,g).y=u.rotationY,t(this,g).z=u.rotationZ,q(this,V,ht).call(this),q(this,W,J).call(this)},I=new WeakSet,rt=function(){for(let e=0;e<t(this,p).length;e++){const s=t(this,p)[e]();let r=s.axis;t(this,M)!=="auto"&&(r=t(this,M)),t(this,l).setStep(`_scroll_${e}`,"+",{[r]:s.value*(r==="x"?-1:t(this,L)?1:-1)})}},E=new WeakMap,k=new WeakMap,U=new WeakMap;exports.LayoutBox=St;exports.decomposeCSSMatrix=it;
|