aptechka 0.83.1 → 0.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Animation-BAiM6_n1.js +111 -0
- package/lib/Animation-DMWabSR0.cjs +1 -0
- package/lib/Composed-B0fvCtZz.cjs +1 -0
- package/lib/Composed-CgA9lLWA.js +75 -0
- package/lib/Damped-BLo-OAVb.cjs +1 -0
- package/lib/Damped-Dcz5UdMH.js +57 -0
- package/lib/DerivedArray-DFhxap_z.js +63 -0
- package/lib/DerivedArray-DYtWMW0n.cjs +1 -0
- package/lib/DragControls-BPHsDeH6.cjs +1 -0
- package/lib/DragControls-D2a1Cifp.js +234 -0
- package/lib/LocalLinks-BWFJYhGX.cjs +1 -0
- package/lib/LocalLinks-Dwgf3No6.js +65 -0
- package/lib/PageAnnouncerElement-DPMlVJZG.cjs +1 -0
- package/lib/PageAnnouncerElement-DV9pm_od.js +28 -0
- package/lib/PageScroll-BAatKJx6.cjs +1 -0
- package/lib/PageScroll-m3TsHnzR.js +65 -0
- package/lib/SourceElement-941MrYpq.js +265 -0
- package/lib/SourceElement-DBLZ7b5k.cjs +5 -0
- package/lib/Store-BCW70G3Z.cjs +1 -0
- package/lib/Store-uLDYY9ed.js +158 -0
- package/lib/Tweened-BvtjLCa3.js +48 -0
- package/lib/Tweened-DdXm1dbF.cjs +1 -0
- package/lib/Viewport-BiDoiU8M.js +113 -0
- package/lib/Viewport-CXGKUyDy.cjs +1 -0
- package/lib/accordion/index.cjs +1 -1
- package/lib/accordion/index.js +97 -93
- package/lib/animation/index.cjs +1 -1
- package/lib/animation/index.js +6 -6
- package/lib/api-fetcher/index.cjs +1 -1
- package/lib/api-fetcher/index.js +67 -66
- package/lib/attribute/index.cjs +1 -1
- package/lib/attribute/index.js +37 -34
- package/lib/attributes-BADnRZpK.cjs +1 -0
- package/lib/attributes-FObgMNCf.js +36 -0
- package/lib/billboard/index.cjs +1 -1
- package/lib/billboard/index.js +240 -232
- package/lib/cache/index.cjs +1 -1
- package/lib/cache/index.js +26 -23
- package/lib/canvas/index.cjs +1 -1
- package/lib/canvas/index.js +62 -59
- package/lib/canvas-BP1ceie3.cjs +1 -0
- package/lib/canvas-DsglKco1.js +40 -0
- package/lib/connector/index.cjs +1 -1
- package/lib/connector/index.js +44 -41
- package/lib/controls/index.cjs +1 -1
- package/lib/controls/index.js +6 -6
- package/lib/coordinates--JG1U6kQ.js +29 -0
- package/lib/coordinates-DQ9XV9M1.cjs +1 -0
- package/lib/css-property/index.cjs +1 -1
- package/lib/css-property/index.d.ts +1 -1
- package/lib/css-property/index.js +40 -37
- package/lib/css-unit-parser/index.cjs +2 -2
- package/lib/css-unit-parser/index.js +22 -19
- package/lib/css-value-parser/index.cjs +1 -1
- package/lib/css-value-parser/index.js +13 -11
- package/lib/custom-elements-BfZCJde6.cjs +1 -0
- package/lib/custom-elements-HEMuF7yH.js +27 -0
- package/lib/dev/index.cjs +2 -1
- package/lib/dev/index.d.ts +1 -0
- package/lib/dev/index.js +25 -10
- package/lib/device/index.cjs +1 -1
- package/lib/device/index.js +5 -5
- package/lib/dom-B40i6NXw.cjs +1 -0
- package/lib/dom-D8D-_9ty.js +108 -0
- package/lib/easings-BSGJFMAo.js +40 -0
- package/lib/easings-BWq0pPLq.cjs +1 -0
- package/lib/element-CqD0jqBJ.cjs +1 -0
- package/lib/element-DKw5H-Tu.js +10 -0
- package/lib/element-linked-store/index.cjs +1 -1
- package/lib/element-linked-store/index.js +53 -52
- package/lib/element-resizer/index.cjs +1 -1
- package/lib/element-resizer/index.js +47 -44
- package/lib/en3/index.cjs +4 -4
- package/lib/en3/index.js +192 -185
- package/lib/events-Ds-TuvYW.js +9 -0
- package/lib/events-UlGk63iC.cjs +1 -0
- package/lib/file-DwQs6bB6.js +28 -0
- package/lib/file-RHfA3OS-.cjs +1 -0
- package/lib/function-H4b_gTg6.cjs +1 -0
- package/lib/function-UmbPrOHm.js +19 -0
- package/lib/gestures-DmKKNnh4.js +14 -0
- package/lib/gestures-DtYbQr49.cjs +1 -0
- package/lib/history/index.cjs +1 -1
- package/lib/history/index.js +24 -21
- package/lib/iframe/index.cjs +1 -1
- package/lib/iframe/index.js +27 -24
- package/lib/image/index.cjs +1 -1
- package/lib/image/index.js +17 -13
- package/lib/index-BpO2RJ__.cjs +1 -0
- package/lib/index-DpKsHe97.js +68 -0
- package/lib/intersector/index.cjs +1 -1
- package/lib/intersector/index.js +3 -3
- package/lib/jsx/ComponentElement.d.ts +4 -0
- package/lib/jsx/h.d.ts +7 -16
- package/lib/jsx/hooks/component/useStylesheet.d.ts +1 -1
- package/lib/jsx/hooks/cssProperty.d.ts +6 -0
- package/lib/jsx/hooks/resize.d.ts +4 -0
- package/lib/jsx/hooks/store.d.ts +1 -2
- package/lib/jsx/hooks/ticker.d.ts +5 -0
- package/lib/jsx/index.cjs +1 -1
- package/lib/jsx/index.d.ts +4 -4
- package/lib/jsx/index.js +171 -349
- package/lib/jsx/plugins/vite/index.cjs +49 -0
- package/lib/jsx/plugins/vite/index.d.ts +38 -0
- package/lib/jsx/plugins/vite/index.js +104 -0
- package/lib/jsx/render.d.ts +2 -0
- package/lib/jsx/type.d.ts +228 -190
- package/lib/ladder/index.cjs +1 -1
- package/lib/ladder/index.js +86 -84
- package/lib/layout-C26zkY7D.js +35 -0
- package/lib/layout-CnGLl7oe.cjs +1 -0
- package/lib/layout-box/index.cjs +1 -1
- package/lib/layout-box/index.js +221 -217
- package/lib/loading/index.cjs +1 -1
- package/lib/loading/index.js +48 -45
- package/lib/local-links/index.cjs +1 -1
- package/lib/local-links/index.js +2 -2
- package/lib/masonry-layout/index.cjs +1 -1
- package/lib/masonry-layout/index.js +48 -45
- package/lib/math-C-knY2TL.cjs +1 -0
- package/lib/math-r8V23YFe.js +57 -0
- package/lib/media/index.cjs +1 -1
- package/lib/media/index.js +28 -25
- package/lib/metadata-BNdkmeeD.js +15 -0
- package/lib/metadata-BrHUfpV9.cjs +1 -0
- package/lib/morph/index.cjs +1 -1
- package/lib/morph/index.js +561 -556
- package/lib/morph-BtgB1YQP.js +256 -0
- package/lib/morph-Buhxq-X0.cjs +1 -0
- package/lib/need_redo_tweaker/index.cjs +4 -4
- package/lib/need_redo_tweaker/index.js +862 -834
- package/lib/notifier/index.cjs +1 -1
- package/lib/notifier/index.js +29 -26
- package/lib/number-Bu4sGvW7.cjs +1 -0
- package/lib/number-DiVt2xnh.js +47 -0
- package/lib/object-CiIdEmJx.js +98 -0
- package/lib/object-DTY_W6xG.cjs +1 -0
- package/lib/order/index.cjs +1 -1
- package/lib/order/index.js +3 -3
- package/lib/page-announcer/index.cjs +1 -1
- package/lib/page-announcer/index.js +2 -2
- package/lib/page-scroll/index.cjs +1 -1
- package/lib/page-scroll/index.js +2 -2
- package/lib/pixel-perfect/index.cjs +4 -4
- package/lib/pixel-perfect/index.js +43 -40
- package/lib/pointer/index.cjs +1 -1
- package/lib/pointer/index.js +125 -122
- package/lib/polyfills-CG1XJNia.js +28 -0
- package/lib/polyfills-DZCuDBkA.cjs +1 -0
- package/lib/popover/index.cjs +1 -1
- package/lib/popover/index.js +249 -245
- package/lib/radio/index.cjs +1 -1
- package/lib/radio/index.js +58 -55
- package/lib/render-DLcWVnuH.js +355 -0
- package/lib/render-DdomypCo.cjs +1 -0
- package/lib/router/index.cjs +1 -1
- package/lib/router/index.js +196 -194
- package/lib/scroll/index.cjs +1 -1
- package/lib/scroll/index.js +890 -877
- package/lib/scroll-BvIWh1xB.js +41 -0
- package/lib/scroll-CT0lpyRZ.cjs +1 -0
- package/lib/scroll-entries/index.cjs +1 -1
- package/lib/scroll-entries/index.js +37 -34
- package/lib/scroll-kit/index.cjs +1 -1
- package/lib/scroll-kit/index.js +214 -209
- package/lib/sequence/index.cjs +1 -1
- package/lib/sequence/index.js +102 -98
- package/lib/size-element/index.cjs +1 -1
- package/lib/size-element/index.js +29 -26
- package/lib/slicer/index.cjs +1 -1
- package/lib/slicer/index.js +118 -113
- package/lib/source/index.cjs +1 -1
- package/lib/source/index.js +5 -5
- package/lib/spa/index.cjs +1 -1
- package/lib/spa/index.js +94 -94
- package/lib/store/index.cjs +1 -1
- package/lib/store/index.d.ts +2 -2
- package/lib/store/index.js +10 -8
- package/lib/string-B3lm2b7v.js +84 -0
- package/lib/string-CbRNzmd9.cjs +1 -0
- package/lib/style-DBoQWK0d.js +14 -0
- package/lib/style-IDJ6db6n.cjs +1 -0
- package/lib/stylesheet-CHvuef16.js +28 -0
- package/lib/stylesheet-CQdBaIAA.cjs +1 -0
- package/lib/ticker/index.cjs +1 -1
- package/lib/ticker/index.js +96 -92
- package/lib/url-CPCO10Sy.cjs +1 -0
- package/lib/url-CWCY_qe_.js +124 -0
- package/lib/utils/attributes.d.ts +2 -0
- package/lib/utils/dom.d.ts +1 -0
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.js +245 -226
- package/lib/utils/polyfills.d.ts +1 -1
- package/lib/video/index.cjs +1 -1
- package/lib/video/index.js +36 -33
- package/lib/window-resizer/index.cjs +1 -1
- package/lib/window-resizer/index.js +27 -24
- package/lib/youtube/index.cjs +1 -1
- package/lib/youtube/index.js +56 -54
- package/package.json +11 -24
- package/lib/Animation-BzTjZIE-.js +0 -108
- package/lib/Animation-C39Ah-LM.cjs +0 -1
- package/lib/Composed-C-TV9te3.cjs +0 -1
- package/lib/Composed-DyAWjEXE.js +0 -121
- package/lib/Damped-CRusiRIV.js +0 -56
- package/lib/Damped-Prr0iKu1.cjs +0 -1
- package/lib/DragControls-8rNZwQrs.cjs +0 -1
- package/lib/DragControls-DBNdMBA4.js +0 -228
- package/lib/LocalLinks-BxhSFv_Q.cjs +0 -1
- package/lib/LocalLinks-DFZFpbjs.js +0 -62
- package/lib/PageAnnouncerElement-0LxZjtVH.js +0 -24
- package/lib/PageAnnouncerElement-AQ0Ja6HM.cjs +0 -1
- package/lib/PageScroll-0LxFblry.js +0 -62
- package/lib/PageScroll-BXJUQwG7.cjs +0 -1
- package/lib/SourceElement-BHqPFbna.cjs +0 -5
- package/lib/SourceElement-DjbHjynf.js +0 -260
- package/lib/Store-Blf4msDz.cjs +0 -1
- package/lib/Store-ZThXYBQd.js +0 -152
- package/lib/Tweened-Bw1Cn1PJ.js +0 -47
- package/lib/Tweened-DWtk9E-O.cjs +0 -1
- package/lib/Viewport-BxCr0GlB.cjs +0 -1
- package/lib/Viewport-Dt-d9DPi.js +0 -109
- package/lib/attributes-69we3byR.js +0 -10
- package/lib/attributes-Bf2svn4j.cjs +0 -1
- package/lib/canvas-CU5Xjahf.cjs +0 -1
- package/lib/canvas-DeZ0SLUJ.js +0 -34
- package/lib/coordinates-CgdGoSYs.js +0 -24
- package/lib/coordinates-D8Np3cPD.cjs +0 -1
- package/lib/custom-elements-DBnCK7Zx.js +0 -24
- package/lib/custom-elements-Dh4TWRDJ.cjs +0 -1
- package/lib/dom-BETkVSSZ.js +0 -82
- package/lib/dom-CBLlqORw.cjs +0 -1
- package/lib/easings-BEmRlrDd.js +0 -38
- package/lib/easings-GegIwET5.cjs +0 -1
- package/lib/element-CGVl1jA-.js +0 -7
- package/lib/element-yhcBhsho.cjs +0 -1
- package/lib/events-CsVF98U6.js +0 -6
- package/lib/events-KVanG9sR.cjs +0 -1
- package/lib/file-DSpfWdd9.cjs +0 -1
- package/lib/file-GHShUlue.js +0 -24
- package/lib/function-C10DGppn.js +0 -17
- package/lib/function-MthRj-GJ.cjs +0 -1
- package/lib/gestures-C7gbKx11.cjs +0 -1
- package/lib/gestures-CcXV6fCp.js +0 -11
- package/lib/index-OE2INULi.cjs +0 -1
- package/lib/index-e9eDuagL.js +0 -65
- package/lib/jsx/hydrate.d.ts +0 -1
- package/lib/jsx/integrations/astro/client.cjs +0 -1
- package/lib/jsx/integrations/astro/client.d.ts +0 -2
- package/lib/jsx/integrations/astro/client.js +0 -50
- package/lib/jsx/integrations/astro/index.cjs +0 -1
- package/lib/jsx/integrations/astro/index.d.ts +0 -2
- package/lib/jsx/integrations/astro/index.js +0 -54
- package/lib/jsx/integrations/astro/server.cjs +0 -1
- package/lib/jsx/integrations/astro/server.d.ts +0 -3
- package/lib/jsx/integrations/astro/server.js +0 -35
- package/lib/jsx/plugins/vite.d.ts +0 -21
- package/lib/layout-BSMtwCga.js +0 -29
- package/lib/layout-Ctc2p3uz.cjs +0 -1
- package/lib/math-BOBiC4TN.js +0 -45
- package/lib/math-GDWEqu7y.cjs +0 -1
- package/lib/metadata-BcYZ5w3T.cjs +0 -1
- package/lib/metadata-jfowcCyz.js +0 -12
- package/lib/morph-B6sGhLCi.cjs +0 -1
- package/lib/morph-BQErz7qP.js +0 -242
- package/lib/number-ChAm68cm.cjs +0 -1
- package/lib/number-CumqY64S.js +0 -40
- package/lib/object-CcMK4y_r.js +0 -87
- package/lib/object-baN9pgbU.cjs +0 -1
- package/lib/polyfills-DJrTJQky.js +0 -24
- package/lib/polyfills-Df4r-ETT.cjs +0 -1
- package/lib/render-DQs7rIoN.cjs +0 -1
- package/lib/render-D_0FCWEu.js +0 -18
- package/lib/scroll-BA2WnUrb.cjs +0 -1
- package/lib/scroll-DY5senkF.js +0 -37
- package/lib/string-BlMQbe8b.js +0 -70
- package/lib/string-DUXXtU8v.cjs +0 -1
- package/lib/style-At6aDoqG.cjs +0 -1
- package/lib/style-j2TwriJ_.js +0 -10
- package/lib/stylesheet-5_o7PFzM.cjs +0 -1
- package/lib/stylesheet-DdBzowZY.js +0 -24
- package/lib/url-CHgcNwJ1.cjs +0 -1
- package/lib/url-CYgo5vrG.js +0 -113
- package/lib/vite-C-i3hVDL.js +0 -75
- package/lib/vite-DzanPumM.cjs +0 -44
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function o(t,i,n=!1){let h=t.x-i.width/2,e=i.height/2-t.y;return n&&(h=h/(i.width/2),e=e/(i.height/2)),{x:h,y:e}}function s(t,i){const n=t.x/i.width,h=t.y/i.height;return{x:n,y:h}}function g(t,i){return i=i||{x:0,y:0,width:document.documentElement.offsetWidth,height:innerHeight},{x:(t.x-i.x)/i.width*i.width,y:(t.y-i.y)/i.height*i.height}}exports.getPointerPosition=g;exports.normalize=s;exports.screenToCartesian=o;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
var o = (a, t, n) => new Promise((r, m) => {
|
|
2
|
-
var w = (e) => {
|
|
3
|
-
try {
|
|
4
|
-
i(n.next(e));
|
|
5
|
-
} catch (s) {
|
|
6
|
-
m(s);
|
|
7
|
-
}
|
|
8
|
-
}, c = (e) => {
|
|
9
|
-
try {
|
|
10
|
-
i(n.throw(e));
|
|
11
|
-
} catch (s) {
|
|
12
|
-
m(s);
|
|
13
|
-
}
|
|
14
|
-
}, i = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(w, c);
|
|
15
|
-
i((n = n.apply(a, t)).next());
|
|
16
|
-
});
|
|
17
|
-
function l(...a) {
|
|
18
|
-
return o(this, null, function* () {
|
|
19
|
-
return yield Promise.all(a.map((t) => customElements.whenDefined(t)));
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
export {
|
|
23
|
-
l as w
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var f=(i,t,n)=>new Promise((m,c)=>{var r=e=>{try{s(n.next(e))}catch(a){c(a)}},u=e=>{try{s(n.throw(e))}catch(a){c(a)}},s=e=>e.done?m(e.value):Promise.resolve(e.value).then(r,u);s((n=n.apply(i,t)).next())});function w(...i){return f(this,null,function*(){return yield Promise.all(i.map(t=>customElements.whenDefined(t)))})}exports.whenDefined=w;
|
package/lib/dom-BETkVSSZ.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
function o(t, e) {
|
|
2
|
-
if (!t)
|
|
3
|
-
return null;
|
|
4
|
-
let n = t.parentElement;
|
|
5
|
-
return t.parentElement instanceof e || (n = o(t.parentElement, e)), n;
|
|
6
|
-
}
|
|
7
|
-
function f(t, e = document) {
|
|
8
|
-
return typeof t == "string" ? e.querySelector(t) : t;
|
|
9
|
-
}
|
|
10
|
-
function i(t, e = null) {
|
|
11
|
-
if (e = e || t, !t || !(t instanceof HTMLElement))
|
|
12
|
-
return document.body;
|
|
13
|
-
if (e !== t) {
|
|
14
|
-
const n = getComputedStyle(t);
|
|
15
|
-
if (n.overflow.includes("auto") || n.overflow.includes("scroll"))
|
|
16
|
-
return t;
|
|
17
|
-
}
|
|
18
|
-
return i(t.parentNode, e);
|
|
19
|
-
}
|
|
20
|
-
function l(t) {
|
|
21
|
-
let e = [];
|
|
22
|
-
return document.documentElement.addEventListener(
|
|
23
|
-
"__illuminate-tree",
|
|
24
|
-
(n) => {
|
|
25
|
-
n.composedPath().forEach((u) => {
|
|
26
|
-
u instanceof HTMLElement && e.push(u);
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
{ once: !0 }
|
|
30
|
-
), t.dispatchEvent(
|
|
31
|
-
new CustomEvent("__illuminate-tree", {
|
|
32
|
-
bubbles: !0,
|
|
33
|
-
composed: !0
|
|
34
|
-
})
|
|
35
|
-
), e;
|
|
36
|
-
}
|
|
37
|
-
function a(t, e) {
|
|
38
|
-
e(t), t.childNodes.forEach((n) => {
|
|
39
|
-
a(n, e);
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
|
-
function c(t, e, n = !0) {
|
|
43
|
-
t.shadowRoot && (e(t), n && s(t.shadowRoot, e, n)), s(t, e, n);
|
|
44
|
-
}
|
|
45
|
-
function s(t, e, n) {
|
|
46
|
-
const r = t.children || (t instanceof ShadowRoot ? t.children : []);
|
|
47
|
-
for (const u of Array.from(r))
|
|
48
|
-
c(u, e, n);
|
|
49
|
-
}
|
|
50
|
-
function d(t, e) {
|
|
51
|
-
return t.filter(
|
|
52
|
-
(n) => e.find(
|
|
53
|
-
(r) => r.outerHTML === n.outerHTML
|
|
54
|
-
)
|
|
55
|
-
);
|
|
56
|
-
}
|
|
57
|
-
function m(t, e) {
|
|
58
|
-
return t.filter(
|
|
59
|
-
(n) => !e.find(
|
|
60
|
-
(r) => r.outerHTML === n.outerHTML
|
|
61
|
-
)
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
function E(t) {
|
|
65
|
-
const e = document.createElement("script");
|
|
66
|
-
for (let n = 0; n < t.attributes.length; n++) {
|
|
67
|
-
const r = t.attributes[n];
|
|
68
|
-
e.setAttribute(r.name, r.value);
|
|
69
|
-
}
|
|
70
|
-
return t.hasAttribute("src") || (e.innerHTML = t.innerHTML), e;
|
|
71
|
-
}
|
|
72
|
-
export {
|
|
73
|
-
l as a,
|
|
74
|
-
o as b,
|
|
75
|
-
E as c,
|
|
76
|
-
c as d,
|
|
77
|
-
m as e,
|
|
78
|
-
i as f,
|
|
79
|
-
f as g,
|
|
80
|
-
d as i,
|
|
81
|
-
a as t
|
|
82
|
-
};
|
package/lib/dom-CBLlqORw.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function o(e,t){if(!e)return null;let n=e.parentElement;return e.parentElement instanceof t||(n=o(e.parentElement,t)),n}function f(e,t=document){return typeof e=="string"?t.querySelector(e):e}function i(e,t=null){if(t=t||e,!e||!(e instanceof HTMLElement))return document.body;if(t!==e){const n=getComputedStyle(e);if(n.overflow.includes("auto")||n.overflow.includes("scroll"))return e}return i(e.parentNode,t)}function a(e){let t=[];return document.documentElement.addEventListener("__illuminate-tree",n=>{n.composedPath().forEach(u=>{u instanceof HTMLElement&&t.push(u)})},{once:!0}),e.dispatchEvent(new CustomEvent("__illuminate-tree",{bubbles:!0,composed:!0})),t}function c(e,t){t(e),e.childNodes.forEach(n=>{c(n,t)})}function l(e,t,n=!0){e.shadowRoot&&(t(e),n&&s(e.shadowRoot,t,n)),s(e,t,n)}function s(e,t,n){const r=e.children||(e instanceof ShadowRoot?e.children:[]);for(const u of Array.from(r))l(u,t,n)}function m(e,t){return e.filter(n=>t.find(r=>r.outerHTML===n.outerHTML))}function E(e,t){return e.filter(n=>!t.find(r=>r.outerHTML===n.outerHTML))}function d(e){const t=document.createElement("script");for(let n=0;n<e.attributes.length;n++){const r=e.attributes[n];t.setAttribute(r.name,r.value)}return e.hasAttribute("src")||(t.innerHTML=e.innerHTML),t}exports.createScriptElement=d;exports.excludeElements=E;exports.findParentElement=o;exports.findScrollParentElement=i;exports.getAllParentElements=a;exports.getElement=f;exports.intersectElements=m;exports.traverseNodes=c;exports.traverseShadowRoots=l;
|
package/lib/easings-BEmRlrDd.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
const n = (e) => e, s = (e) => e * e, a = (e) => e * (2 - e), r = (e) => e < 0.5 ? 2 * e * e : -1 + (4 - 2 * e) * e, u = (e) => e * e * e, o = (e) => --e * e * e + 1, c = (e) => e < 0.5 ? 4 * e * e * e : (e - 1) * (2 * e - 2) * (2 * e - 2) + 1, O = (e) => e * e * e * e, i = (e) => 1 - --e * e * e * e, I = (e) => e < 0.5 ? 8 * e * e * e * e : 1 - 8 * --e * e * e * e, Q = (e) => e * e * e * e * e, b = (e) => 1 + --e * e * e * e * e, l = (e) => e < 0.5 ? 16 * e * e * e * e * e : 1 + 16 * --e * e * e * e * e, p = (e) => e === 0 ? 0 : 2 ** (10 * (e - 1)), d = (e) => e === 1 ? 1 : 1 - 2 ** (-10 * e), g = (e) => e === 0 || e === 1 ? e : e < 0.5 ? 0.5 * 2 ** (20 * (e - 0.5)) : 0.5 * (2 - Math.abs(2 ** (-20 * (e - 0.5)))), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2
|
-
__proto__: null,
|
|
3
|
-
easeInCubic: u,
|
|
4
|
-
easeInExpo: p,
|
|
5
|
-
easeInOutCubic: c,
|
|
6
|
-
easeInOutExpo: g,
|
|
7
|
-
easeInOutQuad: r,
|
|
8
|
-
easeInOutQuart: I,
|
|
9
|
-
easeInOutQuint: l,
|
|
10
|
-
easeInQuad: s,
|
|
11
|
-
easeInQuart: O,
|
|
12
|
-
easeInQuint: Q,
|
|
13
|
-
easeOutCubic: o,
|
|
14
|
-
easeOutExpo: d,
|
|
15
|
-
easeOutQuad: a,
|
|
16
|
-
easeOutQuart: i,
|
|
17
|
-
easeOutQuint: b,
|
|
18
|
-
linear: n
|
|
19
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
20
|
-
export {
|
|
21
|
-
s as a,
|
|
22
|
-
a as b,
|
|
23
|
-
r as c,
|
|
24
|
-
u as d,
|
|
25
|
-
x as e,
|
|
26
|
-
o as f,
|
|
27
|
-
c as g,
|
|
28
|
-
O as h,
|
|
29
|
-
i,
|
|
30
|
-
I as j,
|
|
31
|
-
Q as k,
|
|
32
|
-
n as l,
|
|
33
|
-
b as m,
|
|
34
|
-
l as n,
|
|
35
|
-
p as o,
|
|
36
|
-
d as p,
|
|
37
|
-
g as q
|
|
38
|
-
};
|
package/lib/easings-GegIwET5.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const n=e=>e,u=e=>e*e,s=e=>e*(2-e),a=e=>e<.5?2*e*e:-1+(4-2*e)*e,r=e=>e*e*e,o=e=>--e*e*e+1,c=e=>e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1,O=e=>e*e*e*e,I=e=>1- --e*e*e*e,i=e=>e<.5?8*e*e*e*e:1-8*--e*e*e*e,t=e=>e*e*e*e*e,Q=e=>1+--e*e*e*e*e,b=e=>e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e,d=e=>e===0?0:2**(10*(e-1)),p=e=>e===1?1:1-2**(-10*e),l=e=>e===0||e===1?e:e<.5?.5*2**(20*(e-.5)):.5*(2-Math.abs(2**(-20*(e-.5)))),x=Object.freeze(Object.defineProperty({__proto__:null,easeInCubic:r,easeInExpo:d,easeInOutCubic:c,easeInOutExpo:l,easeInOutQuad:a,easeInOutQuart:i,easeInOutQuint:b,easeInQuad:u,easeInQuart:O,easeInQuint:t,easeOutCubic:o,easeOutExpo:p,easeOutQuad:s,easeOutQuart:I,easeOutQuint:Q,linear:n},Symbol.toStringTag,{value:"Module"}));exports.easeInCubic=r;exports.easeInExpo=d;exports.easeInOutCubic=c;exports.easeInOutExpo=l;exports.easeInOutQuad=a;exports.easeInOutQuart=i;exports.easeInOutQuint=b;exports.easeInQuad=u;exports.easeInQuart=O;exports.easeInQuint=t;exports.easeOutCubic=o;exports.easeOutExpo=p;exports.easeOutQuad=s;exports.easeOutQuart=I;exports.easeOutQuint=Q;exports.easings=x;exports.linear=n;
|
package/lib/element-CGVl1jA-.js
DELETED
package/lib/element-yhcBhsho.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function t(e){const i=window.getComputedStyle(e);return i.display!=="none"&&i.visibility!=="hidden"}exports.isElementVisible=t;
|
package/lib/events-CsVF98U6.js
DELETED
package/lib/events-KVanG9sR.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function v(s,c,e){e!=null&&e.custom||e!=null&&e.detail?s.dispatchEvent(new CustomEvent(c,e)):s.dispatchEvent(new Event(c,e))}exports.dispatchEvent=v;
|
package/lib/file-DSpfWdd9.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function a(t,o){const e=new Blob([JSON.stringify(o)],{type:"application/json"}),n=document.createElement("a");n.download=t+".json",n.href=window.URL.createObjectURL(e),n.dataset.downloadurl=["application/json",n.download,n.href].join(":");const c=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!0});n.dispatchEvent(c),n.remove()}function d(t,o){const e=document.createElement("a");o&&e.setAttribute("download",o),e.href=t,document.body.appendChild(e),e.click(),e.remove()}exports.createJSONAndSave=a;exports.downloadURI=d;
|
package/lib/file-GHShUlue.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
function a(t, o) {
|
|
2
|
-
const e = new Blob([JSON.stringify(o)], {
|
|
3
|
-
type: "application/json"
|
|
4
|
-
}), n = document.createElement("a");
|
|
5
|
-
n.download = t + ".json", n.href = window.URL.createObjectURL(e), n.dataset.downloadurl = [
|
|
6
|
-
"application/json",
|
|
7
|
-
n.download,
|
|
8
|
-
n.href
|
|
9
|
-
].join(":");
|
|
10
|
-
const c = new MouseEvent("click", {
|
|
11
|
-
view: window,
|
|
12
|
-
bubbles: !0,
|
|
13
|
-
cancelable: !0
|
|
14
|
-
});
|
|
15
|
-
n.dispatchEvent(c), n.remove();
|
|
16
|
-
}
|
|
17
|
-
function d(t, o) {
|
|
18
|
-
const e = document.createElement("a");
|
|
19
|
-
o && e.setAttribute("download", o), e.href = t, document.body.appendChild(e), e.click(), e.remove();
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
a as c,
|
|
23
|
-
d
|
|
24
|
-
};
|
package/lib/function-C10DGppn.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const s = (e, o = 100) => {
|
|
2
|
-
let t;
|
|
3
|
-
return (...r) => {
|
|
4
|
-
clearTimeout(t), t = setTimeout(() => e(...r), o);
|
|
5
|
-
};
|
|
6
|
-
}, u = (e, o = 0) => {
|
|
7
|
-
let t = !1;
|
|
8
|
-
return (...r) => {
|
|
9
|
-
t || (t = !0, setTimeout(() => {
|
|
10
|
-
e(...r), t = !1;
|
|
11
|
-
}, o));
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export {
|
|
15
|
-
s as d,
|
|
16
|
-
u as t
|
|
17
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const r=(e,o=100)=>{let t;return(...u)=>{clearTimeout(t),t=setTimeout(()=>e(...u),o)}},s=(e,o=0)=>{let t=!1;return(...u)=>{t||(t=!0,setTimeout(()=>{e(...u),t=!1},o))}};exports.debounce=r;exports.throttle=s;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function s(t,n){const i=r=>{t==null||t(r)},e=r=>{removeEventListener("pointermove",i),removeEventListener("pointerup",e),removeEventListener("touchend",e),n==null||n(r)};addEventListener("pointermove",i),addEventListener("pointerup",e),addEventListener("touchend",e)}exports.setupDrag=s;
|
package/lib/gestures-CcXV6fCp.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
function s(t, n) {
|
|
2
|
-
const i = (r) => {
|
|
3
|
-
t == null || t(r);
|
|
4
|
-
}, e = (r) => {
|
|
5
|
-
removeEventListener("pointermove", i), removeEventListener("pointerup", e), removeEventListener("touchend", e), n == null || n(r);
|
|
6
|
-
};
|
|
7
|
-
addEventListener("pointermove", i), addEventListener("pointerup", e), addEventListener("touchend", e);
|
|
8
|
-
}
|
|
9
|
-
export {
|
|
10
|
-
s
|
|
11
|
-
};
|
package/lib/index-OE2INULi.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var d=s=>{throw TypeError(s)};var w=(s,t,n)=>t.has(s)||d("Cannot "+n);var r=(s,t,n)=>(w(s,t,"read from private field"),n?n.call(s):t.get(s)),f=(s,t,n)=>t.has(s)?d("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(s):t.set(s,n),h=(s,t,n,e)=>(w(s,t,"write to private field"),e?e.call(s,n):t.set(s,n),n);const p=require("./dom-CBLlqORw.cjs");require("construct-style-sheets-polyfill");const y=typeof window!="undefined"&&typeof window.document!="undefined";var i,u,b;class m{constructor(){f(this,i,[]);f(this,u,null);f(this,b,t=>{r(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))})});y&&window.IntersectionObserver&&h(this,u,new IntersectionObserver(r(this,b)))}subscribe(t,n){const e=p.getElement(t);if(!e)return()=>{};const o=r(this,i).find(c=>c.element===e);if(!o)r(this,u).observe(e);else{const c=r(this,i).find(l=>l.element===e&&l.entry);c!=null&&c.entry.isIntersecting&&n(c.entry)}return r(this,i).push({element:e,callback:n,entry:(o==null?void 0:o.entry)||null}),()=>{this.unsubscribe(n)}}unsubscribe(t){const n=r(this,i).find(e=>e.callback===t);n&&(h(this,i,r(this,i).filter(e=>e.callback!==t)),r(this,i).find(e=>e.element===n.element)||r(this,u).unobserve(n.element))}}i=new WeakMap,u=new WeakMap,b=new WeakMap;const v=new m;exports.Intersector=m;exports.intersector=v;exports.isBrowser=y;
|
package/lib/index-e9eDuagL.js
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
var m = (s) => {
|
|
2
|
-
throw TypeError(s);
|
|
3
|
-
};
|
|
4
|
-
var y = (s, t, n) => t.has(s) || m("Cannot " + n);
|
|
5
|
-
var i = (s, t, n) => (y(s, t, "read from private field"), n ? n.call(s) : t.get(s)), u = (s, t, n) => t.has(s) ? m("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(s) : t.set(s, n), h = (s, t, n, e) => (y(s, t, "write to private field"), e ? e.call(s, n) : t.set(s, n), n);
|
|
6
|
-
import { g as d } from "./dom-BETkVSSZ.js";
|
|
7
|
-
import "construct-style-sheets-polyfill";
|
|
8
|
-
const w = typeof window != "undefined" && typeof window.document != "undefined";
|
|
9
|
-
var r, f, b;
|
|
10
|
-
class p {
|
|
11
|
-
constructor() {
|
|
12
|
-
u(this, r, []);
|
|
13
|
-
u(this, f, null);
|
|
14
|
-
u(this, b, (t) => {
|
|
15
|
-
i(this, r).map((e) => ({
|
|
16
|
-
subscriber: e,
|
|
17
|
-
entry: t.find((o) => o.target === e.element)
|
|
18
|
-
})).forEach((e) => {
|
|
19
|
-
e.entry && (e.subscriber.entry = e.entry, e.subscriber.callback(e.entry));
|
|
20
|
-
});
|
|
21
|
-
});
|
|
22
|
-
w && window.IntersectionObserver && h(this, f, new IntersectionObserver(
|
|
23
|
-
i(this, b)
|
|
24
|
-
));
|
|
25
|
-
}
|
|
26
|
-
subscribe(t, n) {
|
|
27
|
-
const e = d(t);
|
|
28
|
-
if (!e)
|
|
29
|
-
return () => {
|
|
30
|
-
};
|
|
31
|
-
const o = i(this, r).find(
|
|
32
|
-
(c) => c.element === e
|
|
33
|
-
);
|
|
34
|
-
if (!o)
|
|
35
|
-
i(this, f).observe(e);
|
|
36
|
-
else {
|
|
37
|
-
const c = i(this, r).find(
|
|
38
|
-
(l) => l.element === e && l.entry
|
|
39
|
-
);
|
|
40
|
-
c != null && c.entry.isIntersecting && n(c.entry);
|
|
41
|
-
}
|
|
42
|
-
return i(this, r).push({
|
|
43
|
-
element: e,
|
|
44
|
-
callback: n,
|
|
45
|
-
entry: (o == null ? void 0 : o.entry) || null
|
|
46
|
-
}), () => {
|
|
47
|
-
this.unsubscribe(n);
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
unsubscribe(t) {
|
|
51
|
-
const n = i(this, r).find(
|
|
52
|
-
(e) => e.callback === t
|
|
53
|
-
);
|
|
54
|
-
n && (h(this, r, i(this, r).filter(
|
|
55
|
-
(e) => e.callback !== t
|
|
56
|
-
)), i(this, r).find((e) => e.element === n.element) || i(this, f).unobserve(n.element));
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
r = new WeakMap(), f = new WeakMap(), b = new WeakMap();
|
|
60
|
-
const a = new p();
|
|
61
|
-
export {
|
|
62
|
-
p as I,
|
|
63
|
-
a,
|
|
64
|
-
w as i
|
|
65
|
-
};
|
package/lib/jsx/hydrate.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function hydrate(Component: JSX.Component, params?: object, children?: any): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var q=Object.defineProperty;var l=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var f=(t,n,e)=>n in t?q(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,E=(t,n)=>{for(var e in n||(n={}))m.call(n,e)&&f(t,e,n[e]);if(l)for(var e of l(n))h.call(n,e)&&f(t,e,n[e]);return t};var C=(t,n)=>{var e={};for(var r in t)m.call(t,r)&&n.indexOf(r)<0&&(e[r]=t[r]);if(t!=null&&l)for(var r of l(t))n.indexOf(r)<0&&h.call(t,r)&&(e[r]=t[r]);return e};var p=(t,n,e)=>new Promise((r,s)=>{var a=i=>{try{c(e.next(i))}catch(d){s(d)}},u=i=>{try{c(e.throw(i))}catch(d){s(d)}},c=i=>i.done?r(i.value):Promise.resolve(i.value).then(a,u);c((e=e.apply(t,n)).next())});const v=require("../../../render-DQs7rIoN.cjs"),y=t=>(i,d,g,j)=>p(exports,[i,d,g,j],function*(n,e,u,{client:a}){var c=u,{default:r}=c,s=C(c,["default"]);const o=document.createElement("div");v.render(o,n,E({},e),r),o.firstElementChild&&t.replaceWith(o.firstElementChild)});module.exports=y;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
var v = Object.defineProperty;
|
|
2
|
-
var c = Object.getOwnPropertySymbols;
|
|
3
|
-
var u = Object.prototype.hasOwnProperty, h = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var m = (t, n, e) => n in t ? v(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, p = (t, n) => {
|
|
5
|
-
for (var e in n || (n = {}))
|
|
6
|
-
u.call(n, e) && m(t, e, n[e]);
|
|
7
|
-
if (c)
|
|
8
|
-
for (var e of c(n))
|
|
9
|
-
h.call(n, e) && m(t, e, n[e]);
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
var E = (t, n) => {
|
|
13
|
-
var e = {};
|
|
14
|
-
for (var r in t)
|
|
15
|
-
u.call(t, r) && n.indexOf(r) < 0 && (e[r] = t[r]);
|
|
16
|
-
if (t != null && c)
|
|
17
|
-
for (var r of c(t))
|
|
18
|
-
n.indexOf(r) < 0 && h.call(t, r) && (e[r] = t[r]);
|
|
19
|
-
return e;
|
|
20
|
-
};
|
|
21
|
-
var C = (t, n, e) => new Promise((r, a) => {
|
|
22
|
-
var s = (i) => {
|
|
23
|
-
try {
|
|
24
|
-
l(e.next(i));
|
|
25
|
-
} catch (d) {
|
|
26
|
-
a(d);
|
|
27
|
-
}
|
|
28
|
-
}, f = (i) => {
|
|
29
|
-
try {
|
|
30
|
-
l(e.throw(i));
|
|
31
|
-
} catch (d) {
|
|
32
|
-
a(d);
|
|
33
|
-
}
|
|
34
|
-
}, l = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(s, f);
|
|
35
|
-
l((e = e.apply(t, n)).next());
|
|
36
|
-
});
|
|
37
|
-
import { r as x } from "../../../render-D_0FCWEu.js";
|
|
38
|
-
const b = (t) => (i, d, k, q) => C(void 0, [i, d, k, q], function* (n, e, f, { client: s }) {
|
|
39
|
-
var l = f, { default: r } = l, a = E(l, ["default"]);
|
|
40
|
-
const o = document.createElement("div");
|
|
41
|
-
x(
|
|
42
|
-
o,
|
|
43
|
-
n,
|
|
44
|
-
p({}, e),
|
|
45
|
-
r
|
|
46
|
-
), o.firstElementChild && t.replaceWith(o.firstElementChild);
|
|
47
|
-
});
|
|
48
|
-
export {
|
|
49
|
-
b as default
|
|
50
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var s=(t,o,r)=>new Promise((c,i)=>{var u=e=>{try{n(r.next(e))}catch(a){i(a)}},p=e=>{try{n(r.throw(e))}catch(a){i(a)}},n=e=>e.done?c(e.value):Promise.resolve(e.value).then(u,p);n((r=r.apply(t,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../../../Store-Blf4msDz.cjs");require("construct-style-sheets-polyfill");require("../../../index-OE2INULi.cjs");require("../../../ticker/index.cjs");const g=require("../../../vite-DzanPumM.cjs");function h(){return{name:"aptechka",clientEntrypoint:"aptechka/jsx/integrations/astro/client",serverEntrypoint:"aptechka/jsx/integrations/astro/server"}}function d(){return{name:"aptechka",hooks:{"astro:config:setup":t=>s(this,null,function*(){t.addRenderer(h()),t.updateConfig({vite:{plugins:[g.aptechkaVite()],optimizeDeps:{include:["aptechka/jsx/integrations/astro/client"],exclude:["aptechka/jsx/integrations/astro/server"]},esbuild:{jsxFactory:"h",jsxFragment:"Fragment",jsxInject:"import { h, Fragment } from 'aptechka/jsx'"}}})})}}}exports.AstroIntegration=d;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
var o = (e, s, r) => new Promise((p, i) => {
|
|
2
|
-
var c = (t) => {
|
|
3
|
-
try {
|
|
4
|
-
a(r.next(t));
|
|
5
|
-
} catch (n) {
|
|
6
|
-
i(n);
|
|
7
|
-
}
|
|
8
|
-
}, m = (t) => {
|
|
9
|
-
try {
|
|
10
|
-
a(r.throw(t));
|
|
11
|
-
} catch (n) {
|
|
12
|
-
i(n);
|
|
13
|
-
}
|
|
14
|
-
}, a = (t) => t.done ? p(t.value) : Promise.resolve(t.value).then(c, m);
|
|
15
|
-
a((r = r.apply(e, s)).next());
|
|
16
|
-
});
|
|
17
|
-
import "../../../Store-ZThXYBQd.js";
|
|
18
|
-
import "construct-style-sheets-polyfill";
|
|
19
|
-
import "../../../index-e9eDuagL.js";
|
|
20
|
-
import "../../../ticker/index.js";
|
|
21
|
-
import { a as g } from "../../../vite-C-i3hVDL.js";
|
|
22
|
-
function h() {
|
|
23
|
-
return {
|
|
24
|
-
name: "aptechka",
|
|
25
|
-
clientEntrypoint: "aptechka/jsx/integrations/astro/client",
|
|
26
|
-
serverEntrypoint: "aptechka/jsx/integrations/astro/server"
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
function f() {
|
|
30
|
-
return {
|
|
31
|
-
name: "aptechka",
|
|
32
|
-
hooks: {
|
|
33
|
-
"astro:config:setup": (e) => o(this, null, function* () {
|
|
34
|
-
e.addRenderer(h()), e.updateConfig({
|
|
35
|
-
vite: {
|
|
36
|
-
plugins: [g()],
|
|
37
|
-
optimizeDeps: {
|
|
38
|
-
include: ["aptechka/jsx/integrations/astro/client"],
|
|
39
|
-
exclude: ["aptechka/jsx/integrations/astro/server"]
|
|
40
|
-
},
|
|
41
|
-
esbuild: {
|
|
42
|
-
jsxFactory: "h",
|
|
43
|
-
jsxFragment: "Fragment",
|
|
44
|
-
jsxInject: "import { h, Fragment } from 'aptechka/jsx'"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
})
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
export {
|
|
53
|
-
f as AstroIntegration
|
|
54
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var c=(n,a,e)=>new Promise((s,p)=>{var u=t=>{try{r(e.next(t))}catch(o){p(o)}},i=t=>{try{r(e.throw(t))}catch(o){p(o)}},r=t=>t.done?s(t.value):Promise.resolve(t.value).then(u,i);r((e=e.apply(n,a)).next())});function d(n){return c(this,null,function*(){return typeof n=="function"})}function f(n,a,e,s){return c(this,null,function*(){return{html:"TODO"}})}const m={name:"aptechka",check:d,renderToStaticMarkup:f,supportsAstroStaticSlot:!0};module.exports=m;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
var a = (n, c, e) => new Promise((p, s) => {
|
|
2
|
-
var u = (t) => {
|
|
3
|
-
try {
|
|
4
|
-
r(e.next(t));
|
|
5
|
-
} catch (o) {
|
|
6
|
-
s(o);
|
|
7
|
-
}
|
|
8
|
-
}, d = (t) => {
|
|
9
|
-
try {
|
|
10
|
-
r(e.throw(t));
|
|
11
|
-
} catch (o) {
|
|
12
|
-
s(o);
|
|
13
|
-
}
|
|
14
|
-
}, r = (t) => t.done ? p(t.value) : Promise.resolve(t.value).then(u, d);
|
|
15
|
-
r((e = e.apply(n, c)).next());
|
|
16
|
-
});
|
|
17
|
-
function f(n) {
|
|
18
|
-
return a(this, null, function* () {
|
|
19
|
-
return typeof n == "function";
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
function i(n, c, e, p) {
|
|
23
|
-
return a(this, null, function* () {
|
|
24
|
-
return { html: "TODO" };
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
const m = {
|
|
28
|
-
name: "aptechka",
|
|
29
|
-
check: f,
|
|
30
|
-
renderToStaticMarkup: i,
|
|
31
|
-
supportsAstroStaticSlot: !0
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
m as default
|
|
35
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface hmrPluginOptions {
|
|
2
|
-
__dev?: boolean;
|
|
3
|
-
}
|
|
4
|
-
export declare function aptechkaVite(options?: hmrPluginOptions): {
|
|
5
|
-
name: string;
|
|
6
|
-
apply: "serve";
|
|
7
|
-
transform(code: string, id: string): {
|
|
8
|
-
code: string;
|
|
9
|
-
map: null;
|
|
10
|
-
} | null;
|
|
11
|
-
config(_config: any, opt: any): {
|
|
12
|
-
esbuild: {
|
|
13
|
-
jsxFactory: string;
|
|
14
|
-
jsxFragment: string;
|
|
15
|
-
jsxInject: string;
|
|
16
|
-
};
|
|
17
|
-
define: {
|
|
18
|
-
__JSX_HMR_DEV__: boolean;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
package/lib/layout-BSMtwCga.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
function i(t, f = "offsetLeft", s) {
|
|
2
|
-
let e = 0;
|
|
3
|
-
do
|
|
4
|
-
e += t[f] || 0, t = t.offsetParent;
|
|
5
|
-
while (t && t !== s);
|
|
6
|
-
return e;
|
|
7
|
-
}
|
|
8
|
-
function c(t, f) {
|
|
9
|
-
return i(t, "offsetLeft", f);
|
|
10
|
-
}
|
|
11
|
-
function l(t, f) {
|
|
12
|
-
return i(t, "offsetTop", f);
|
|
13
|
-
}
|
|
14
|
-
function p(t, f) {
|
|
15
|
-
const s = [];
|
|
16
|
-
let e = t.parentElement;
|
|
17
|
-
for (; e; )
|
|
18
|
-
window.getComputedStyle(e).position === "sticky" && s.push(e), e = e.parentElement;
|
|
19
|
-
return s.reduce(
|
|
20
|
-
(n, o) => n + (f === "top" ? o.offsetTop : o.offsetLeft),
|
|
21
|
-
0
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
export {
|
|
25
|
-
l as a,
|
|
26
|
-
p as b,
|
|
27
|
-
i as c,
|
|
28
|
-
c as g
|
|
29
|
-
};
|
package/lib/layout-Ctc2p3uz.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function i(t,f="offsetLeft",s){let e=0;do e+=t[f]||0,t=t.offsetParent;while(t&&t!==s);return e}function u(t,f){return i(t,"offsetLeft",f)}function c(t,f){return i(t,"offsetTop",f)}function l(t,f){const s=[];let e=t.parentElement;for(;e;)window.getComputedStyle(e).position==="sticky"&&s.push(e),e=e.parentElement;return s.reduce((o,n)=>o+(f==="top"?n.offsetTop:n.offsetLeft),0)}exports.getCumulativeOffsetLeft=u;exports.getCumulativeOffsetTop=c;exports.getCumulativePosition=i;exports.getStickyOffset=l;
|
package/lib/math-BOBiC4TN.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
function o(t, n, a) {
|
|
2
|
-
return (1 - a) * t + a * n;
|
|
3
|
-
}
|
|
4
|
-
function p(t, n, a, s) {
|
|
5
|
-
return o(t, n, 1 - Math.exp(-a * s));
|
|
6
|
-
}
|
|
7
|
-
function d(t, n, a = 0, s = 1) {
|
|
8
|
-
return n < t ? a : s;
|
|
9
|
-
}
|
|
10
|
-
function l(t, n = 5) {
|
|
11
|
-
return +t.toFixed(n);
|
|
12
|
-
}
|
|
13
|
-
function i(t, n = 0, a = 0) {
|
|
14
|
-
return Math.max(n, Math.min(t, a));
|
|
15
|
-
}
|
|
16
|
-
function h(t, n, a) {
|
|
17
|
-
const c = (t - n[0]) / (n[1] - n[0]) * (a[1] - a[0]) + a[0];
|
|
18
|
-
return i(c, a[0], a[1]);
|
|
19
|
-
}
|
|
20
|
-
function M(t, n, a) {
|
|
21
|
-
return t <= n ? 0 : t >= a ? 1 : (t = (t - n) / (a - n), t * t * (3 - 2 * t));
|
|
22
|
-
}
|
|
23
|
-
function m(t, n, a) {
|
|
24
|
-
return t <= n ? 0 : t >= a ? 1 : (t = (t - n) / (a - n), t * t * t * (t * (t * 6 - 15) + 10));
|
|
25
|
-
}
|
|
26
|
-
function y(t, n) {
|
|
27
|
-
const a = n.x - t.x, s = n.y - t.y;
|
|
28
|
-
return Math.sqrt(Math.pow(a, 2) + Math.pow(s, 2));
|
|
29
|
-
}
|
|
30
|
-
function D(t, n, a, s, c, e) {
|
|
31
|
-
const r = s - t, u = c - n;
|
|
32
|
-
return Math.sqrt(r * r + u * u) - (a + e);
|
|
33
|
-
}
|
|
34
|
-
export {
|
|
35
|
-
M as a,
|
|
36
|
-
m as b,
|
|
37
|
-
i as c,
|
|
38
|
-
p as d,
|
|
39
|
-
y as e,
|
|
40
|
-
D as f,
|
|
41
|
-
o as l,
|
|
42
|
-
h as m,
|
|
43
|
-
l as r,
|
|
44
|
-
d as s
|
|
45
|
-
};
|
package/lib/math-GDWEqu7y.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function r(t,n,e){return(1-e)*t+e*n}function p(t,n,e,c){return r(t,n,1-Math.exp(-e*c))}function l(t,n,e=0,c=1){return n<t?e:c}function d(t,n=5){return+t.toFixed(n)}function i(t,n=0,e=0){return Math.max(n,Math.min(t,e))}function f(t,n,e){const a=(t-n[0])/(n[1]-n[0])*(e[1]-e[0])+e[0];return i(a,e[0],e[1])}function h(t,n,e){return t<=n?0:t>=e?1:(t=(t-n)/(e-n),t*t*(3-2*t))}function m(t,n,e){return t<=n?0:t>=e?1:(t=(t-n)/(e-n),t*t*t*(t*(t*6-15)+10))}function M(t,n){const e=n.x-t.x,c=n.y-t.y;return Math.sqrt(Math.pow(e,2)+Math.pow(c,2))}function D(t,n,e,c,a,u){const s=c-t,o=a-n;return Math.sqrt(s*s+o*o)-(e+u)}exports.calculateDistance=M;exports.calculateDistanceWithRadius=D;exports.clamp=i;exports.damp=p;exports.lerp=r;exports.mapRange=f;exports.round=d;exports.smootherstep=m;exports.smoothstep=h;exports.step=l;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function e(o){if(isNaN(o))return"0:00";const t=Math.floor(Math.max(0,o)),r=Math.floor(t/3600),a=Math.floor(t%3600/60),n=(t%60).toString().padStart(2,"0");if(r>0){const s=a.toString().padStart(2,"0");return`${r}:${s}:${n}`}else return`${a}:${n}`}exports.formatMediaDuration=e;
|
package/lib/metadata-jfowcCyz.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
function c(o) {
|
|
2
|
-
if (isNaN(o)) return "0:00";
|
|
3
|
-
const t = Math.floor(Math.max(0, o)), r = Math.floor(t / 3600), a = Math.floor(t % 3600 / 60), n = (t % 60).toString().padStart(2, "0");
|
|
4
|
-
if (r > 0) {
|
|
5
|
-
const s = a.toString().padStart(2, "0");
|
|
6
|
-
return `${r}:${s}:${n}`;
|
|
7
|
-
} else
|
|
8
|
-
return `${a}:${n}`;
|
|
9
|
-
}
|
|
10
|
-
export {
|
|
11
|
-
c as f
|
|
12
|
-
};
|
package/lib/morph-B6sGhLCi.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var _=(e,t,r)=>new Promise((n,E)=>{var s=i=>{try{a(r.next(i))}catch(N){E(N)}},T=i=>{try{a(r.throw(i))}catch(N){E(N)}},a=i=>i.done?n(i.value):Promise.resolve(i.value).then(s,T);a((r=r.apply(e,t)).next())});const A=e=>(t,r)=>t[`node${e}`]===r[`node${e}`],O={name:A("Name"),type:A("Type"),value:A("Value")};function u(e){if(!e)return!1;let t=e;for(;t;){if(t.nodeType===1&&t.hasAttribute("data-preserve"))return!0;t=t.parentNode}return!1}function C(e,t){if(e.attributes.length===0&&t.attributes.length===0)return[];const r=[],n=new Map,E=new Map;for(const s of e.attributes)n.set(s.name,s.value);for(const s of t.attributes){const T=n.get(s.name);s.value===T?n.delete(s.name):(typeof T!="undefined"&&n.delete(s.name),E.set(s.name,s.value))}for(const s of n.keys())r.push({type:5,name:s});for(const[s,T]of E.entries())r.push({type:4,name:s,value:T});return r}function f(e,t=!0){let r=`${e.localName}`;for(const{name:n,value:E}of e.attributes)t&&n.startsWith("data-")||(r+=`[${n}=${E}]`);return r+=e.innerHTML,r}function l(e){switch(e.tagName){case"BASE":case"TITLE":return e.localName;case"META":{if(e.hasAttribute("name"))return`meta[name="${e.getAttribute("name")}"]`;if(e.hasAttribute("property"))return`meta[name="${e.getAttribute("property")}"]`;break}case"LINK":{if(e.hasAttribute("rel")&&e.hasAttribute("href"))return`link[rel="${e.getAttribute("rel")}"][href="${e.getAttribute("href")}"]`;if(e.hasAttribute("href"))return`link[href="${e.getAttribute("href")}"]`;break}}return f(e)}function p(e){const[t,r=""]=e.split("?");return`${t}?t=${Date.now()}&${r.replace(/t=\d+/g,"")}`}function c(e){if(e.nodeType===1&&e.hasAttribute("data-persist"))return e;if(e.nodeType===1&&e.localName==="script"){const t=document.createElement("script");for(let{name:r,value:n}of e.attributes)r==="src"&&(n=p(n)),t.setAttribute(r,n);return t.innerHTML=e.innerHTML,t}return e.cloneNode(!0)}function I(e,t){if(e.children.length===0&&t.children.length===0)return[];const r=[],n=new Map,E=new Map,s=new Map;for(const T of e.children)n.set(l(T),T);for(const T of t.children){const a=l(T),i=n.get(a);i?f(T,!1)!==f(i,!1)&&E.set(a,c(T)):s.set(a,c(T)),n.delete(a)}for(const T of e.childNodes){if(T.nodeType===1){const a=l(T);if(n.has(a)){r.push({type:1});continue}else if(E.has(a)){const i=E.get(a);r.push({type:3,attributes:C(T,i),children:h(T,i)});continue}}r.push(void 0)}for(const T of s.values())r.push({type:0,node:c(T)});return r}function h(e,t){const r=[],n=Math.max(e.childNodes.length,t.childNodes.length);for(let E=0;E<n;E++){const s=e.childNodes.item(E),T=t.childNodes.item(E);u(s)||u(T)?r[E]={type:7}:r[E]=o(s,T)}return r}function o(e,t){if(u(e)||u(t))return{type:7};if(!e)return{type:0,node:c(t)};if(!t)return u(e)?{type:7}:{type:1};if(O.type(e,t)){if(e.nodeType===3){const r=e.nodeValue,n=t.nodeValue;if((r==null?void 0:r.trim().length)===0&&(n==null?void 0:n.trim().length)===0)return{type:6}}if(e.nodeType===1){if(O.name(e,t)){const r=e.tagName==="HEAD"?I:h;return{type:3,attributes:C(e,t),children:r(e,t)}}return{type:2,node:c(t)}}else return e.nodeType===9?o(e.documentElement,t.documentElement):O.value(e,t)?{type:6}:{type:2,value:t.nodeValue}}return{type:2,node:c(t)}}function R(e,t){if(t.length!==0)for(const{type:r,name:n,value:E}of t)r===5?e.removeAttribute(n):r===4&&e.setAttribute(n,E)}function d(e,t,r){return _(this,null,function*(){if(!t)return;let n;switch(e.nodeType===9?(e=e.documentElement,n=e):r?n=r:n=e,t.type){case 7:return;case 0:{const{node:E}=t;e.appendChild(E);return}case 1:{if(!n)return;e.removeChild(n);return}case 2:{if(!n)return;const{node:E,value:s}=t;if(typeof s=="string"){n.nodeValue=s;return}E&&(n instanceof Element&&E instanceof Element?n.replaceWith(E):n.parentNode&&n.parentNode.replaceChild(E,n));return}case 3:{if(!n||n.nodeType!==1)return;const{attributes:E,children:s}=t;R(n,E);const T=Array.from(n.childNodes);yield Promise.all(s.map((a,i)=>d(n,a,T[i])));return}case 6:return}})}function P(e,t){return _(this,null,function*(){const r=o(e,t);return d(document,r)})}exports.ACTION_CREATE=0;exports.ACTION_PRESERVE=7;exports.ACTION_REMOVE=1;exports.ACTION_REMOVE_ATTR=5;exports.ACTION_REPLACE=2;exports.ACTION_SET_ATTR=4;exports.ACTION_SKIP=6;exports.ACTION_UPDATE=3;exports.NODE_TYPE_COMMENT=8;exports.NODE_TYPE_DOCUMENT=9;exports.NODE_TYPE_ELEMENT=1;exports.NODE_TYPE_TEXT=3;exports.diff=o;exports.morph=P;exports.patch=d;
|