aptechka 0.13.0 → 0.14.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-seVC6-fS.cjs → Animation-De9aUv3b.cjs} +1 -1
- package/lib/{Animation-DF5jPON_.js → Animation-NAGXiFv5.js} +1 -1
- package/lib/{Composed-ChlKoJEp.cjs → Composed-C_4slJQ6.cjs} +1 -1
- package/lib/{Composed-CoX1ImVk.js → Composed-CfWa-69I.js} +1 -1
- package/lib/{Damped-C7WAqKPh.cjs → Damped-DYJ6Z0xo.cjs} +1 -1
- package/lib/{Damped-BDO-F13V.js → Damped-DbJKrUIf.js} +1 -1
- package/lib/Derived-BIBU-y7Z.cjs +1 -0
- package/lib/Derived-Vo_RsJfi.js +23 -0
- package/lib/{SourceManager-B8-EMNnd.js → SourceManager-B6wZpXUZ.js} +1 -1
- package/lib/{SourceManager-TzU9Rw08.cjs → SourceManager-CfHcGLUa.cjs} +1 -1
- package/lib/Store-C46i0nvr.js +137 -0
- package/lib/Store-npaZHvX4.cjs +1 -0
- package/lib/{Tweened-DSXD0I0k.cjs → Tweened-BkkD9s4n.cjs} +1 -1
- package/lib/{Tweened-CHhmfvzo.js → Tweened-DOSHLCZa.js} +1 -1
- package/lib/{Viewport-DTlImj28.js → Viewport-B55BvLsV.js} +1 -1
- package/lib/{Viewport-BmLTk_6k.cjs → Viewport-Cv4TRGiv.cjs} +1 -1
- package/lib/animation/index.cjs +1 -1
- package/lib/animation/index.js +3 -3
- package/lib/attribute/index.cjs +1 -1
- package/lib/attribute/index.js +13 -13
- package/lib/canvas/index.cjs +7 -1
- package/lib/canvas/index.js +54 -58
- package/lib/class-linked-status/index.cjs +1 -1
- package/lib/class-linked-status/index.js +1 -1
- package/lib/controls/index.cjs +1 -1
- package/lib/controls/index.js +3 -3
- package/lib/{createStylesheet-DO5t5q-m.js → createStylesheet-C68ja-RS.js} +3 -3
- package/lib/{createStylesheet-CaDI99iu.cjs → createStylesheet-Csfmh-MH.cjs} +1 -1
- package/lib/css-property/index.cjs +1 -1
- package/lib/css-property/index.js +4 -4
- package/lib/dev/index.cjs +1 -1
- package/lib/dev/index.js +1 -1
- package/lib/device/index.cjs +1 -1
- package/lib/device/index.js +1 -1
- package/lib/{dom-P5QbAASX.js → dom-0S_WDL4g.js} +2 -2
- package/lib/element-constructor/index.cjs +1 -1
- package/lib/element-constructor/index.js +133 -122
- package/lib/element-resizer/index.js +8 -8
- package/lib/en3/helpers/index.cjs +1 -1
- package/lib/en3/helpers/index.js +4 -4
- package/lib/en3/index.js +1 -1
- package/lib/en3/loaders/index.js +1 -1
- package/lib/en3/misc/index.cjs +1 -1
- package/lib/en3/misc/index.js +2 -2
- package/lib/en3/utils/index.js +2 -2
- package/lib/{en3-x-Ki30MY.js → en3-sK9Z-fp2.js} +1 -1
- package/lib/file-BEr-o55N.js +31 -0
- package/lib/file-C9BbxzVU.cjs +1 -0
- package/lib/image/index.cjs +1 -1
- package/lib/image/index.js +1 -1
- package/lib/intersector/index.js +7 -7
- package/lib/ladder/index.cjs +1 -1
- package/lib/ladder/index.js +1 -1
- package/lib/layout-box/index.js +14 -14
- package/lib/media/index.cjs +1 -1
- package/lib/media/index.js +1 -1
- package/lib/need_redo_tweaker/index.cjs +18 -0
- package/lib/need_redo_tweaker/index.js +1343 -0
- package/lib/pointer/index.cjs +1 -1
- package/lib/pointer/index.js +3 -3
- package/lib/popover/index.cjs +1 -1
- package/lib/popover/index.js +60 -62
- package/lib/scroll/index.cjs +1 -1
- package/lib/scroll/index.js +105 -106
- package/lib/scroll-entries/index.js +15 -15
- package/lib/sequence/index.cjs +1 -1
- package/lib/sequence/index.js +1 -1
- package/lib/slicer/index.cjs +5 -5
- package/lib/slicer/index.js +55 -86
- 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 +38 -112
- package/lib/{tags-v-OSVkiQ.cjs → tags-6_ETuR75.cjs} +1 -1
- package/lib/{tags-4AoxVUe3.js → tags-zft1DGBz.js} +93 -93
- package/lib/ticker/index.js +1 -1
- package/lib/{traverseMaterials-mGC2_FkG.js → traverseMaterials-BlZbRhgW.js} +1 -1
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/index.js +56 -57
- package/lib/video/index.cjs +1 -1
- package/lib/video/index.js +1 -1
- package/package.json +7 -55
- package/lib/Derived-B-2UXnVE.cjs +0 -1
- package/lib/Derived-CDGpSMKu.js +0 -56
- package/lib/Store-BnA-dJsE.cjs +0 -1
- package/lib/Store-DGtldlBH.js +0 -147
- package/lib/accordion/index.cjs +0 -1
- package/lib/accordion/index.js +0 -167
- package/lib/checkbox/index.cjs +0 -1
- package/lib/checkbox/index.js +0 -112
- package/lib/createTheme-CHnsCgAr.js +0 -15
- package/lib/createTheme-Cfaw9UmV.cjs +0 -1
- package/lib/events-BGwqaxVW.cjs +0 -1
- package/lib/events-CJTUMSLU.js +0 -20
- package/lib/file-EevnUtRj.cjs +0 -1
- package/lib/file-lxi_oXJf.js +0 -13
- package/lib/index-BhbT9PrL.js +0 -261
- package/lib/index-BpsQqM-8.cjs +0 -9
- package/lib/modal/index.cjs +0 -1
- package/lib/modal/index.js +0 -133
- package/lib/select/index.cjs +0 -1
- package/lib/select/index.js +0 -7
- package/lib/svg-path-data/index.cjs +0 -3
- package/lib/svg-path-data/index.js +0 -490
- package/lib/theme/index.cjs +0 -1
- package/lib/theme/index.js +0 -25
- package/lib/tweaker/index.cjs +0 -10
- package/lib/tweaker/index.js +0 -992
package/lib/controls/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var Q=h=>{throw TypeError(h)};var F=(h,n,e)=>n.has(h)||Q("Cannot "+e);var t=(h,n,e)=>(F(h,n,"read from private field"),e?e.call(h):n.get(h)),s=(h,n,e)=>n.has(h)?Q("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(h):n.set(h,e),i=(h,n,e,a)=>(F(h,n,"write to private field"),a?a.call(h,e):n.set(h,e),e),M=(h,n,e)=>(F(h,n,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("../notifier/index.cjs"),m=require("../browser-CpzFX2xg.cjs"),j=require("../dom-JBOkFLTh.cjs"),k=require("../ticker/index.cjs");require("../Store-
|
|
1
|
+
"use strict";var Q=h=>{throw TypeError(h)};var F=(h,n,e)=>n.has(h)||Q("Cannot "+e);var t=(h,n,e)=>(F(h,n,"read from private field"),e?e.call(h):n.get(h)),s=(h,n,e)=>n.has(h)?Q("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(h):n.set(h,e),i=(h,n,e,a)=>(F(h,n,"write to private field"),a?a.call(h,e):n.set(h,e),e),M=(h,n,e)=>(F(h,n,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("../notifier/index.cjs"),m=require("../browser-CpzFX2xg.cjs"),j=require("../dom-JBOkFLTh.cjs"),k=require("../ticker/index.cjs");require("../Store-npaZHvX4.cjs");const G=require("../easings-DsS5-Kqc.cjs"),J=require("../Tweened-BkkD9s4n.cjs"),Z=require("../gestures-DHLrn6Q8.cjs"),$=require("../polyfills-CM4SCDTt.cjs"),_=require("../order/index.cjs");var S;class K{constructor(){s(this,S,new V.Notifier)}get changeEvent(){return t(this,S)}}S=new WeakMap;var w,d,u,D;class p extends K{constructor(e){super();s(this,w,null);s(this,d,null);s(this,u,"offsetHeight");s(this,D,e=>{const a=e.shiftKey?-1:1;let r;e.code==="Space"?r=a*t(this,d)[t(this,u)]*.4:e.code==="ArrowLeft"?r=-1*t(this,d)[t(this,u)]*.2:e.code==="ArrowRight"?r=1*t(this,d)[t(this,u)]*.2:e.code==="ArrowUp"?r=-1*t(this,d)[t(this,u)]*.2:e.code==="ArrowDown"?r=1*t(this,d)[t(this,u)]*.2:e.code==="PageUp"?r=-1*t(this,d)[t(this,u)]:e.code==="PageDown"?r=1*t(this,d)[t(this,u)]:e.code==="Home"?r=0:e.code==="End"&&(r=t(this,u)==="offsetWidth"?t(this,d).scrollWidth:t(this,d).scrollHeight),r&&(e.stopPropagation(),this.changeEvent.notify("keyboard",r))});m.isBrowser&&(i(this,w,e!=null&&e.element&&j.getElement(e.element)||window),i(this,d,t(this,w)instanceof HTMLElement?t(this,w):document.documentElement),this.dimension=e==null?void 0:e.dimension)}set dimension(e){i(this,u,e==="width"?"offsetWidth":"offsetHeight")}connect(){m.isBrowser&&t(this,w).addEventListener("keydown",t(this,D))}disconnect(){m.isBrowser&&t(this,w).removeEventListener("keydown",t(this,D))}}w=new WeakMap,d=new WeakMap,u=new WeakMap,D=new WeakMap;var b,E,H,P,l,C,f,o,R,N,q,W,B;class ee extends K{constructor(e){super();s(this,o);s(this,b);s(this,E);s(this,H);s(this,P);s(this,l);s(this,C);s(this,f);s(this,q);s(this,W);s(this,B);this.direction=1,i(this,l,new J.Tweened(0,{easing:G.easeInQuad})),i(this,f,!1),i(this,q,a=>{t(this,l).current!==1&&this.changeEvent.notify("autoplay",a.timeBetweenFrames*t(this,b)*this.direction*(1-t(this,l).current))}),i(this,W,()=>{t(this,l).current!==1&&this.changeEvent.notify("autoplay",Math.sign(t(this,b))*this.direction*(1-t(this,l).current))}),i(this,B,()=>{t(this,E)&&(document.hidden?t(this,l).set(1,{equalize:!0}):t(this,l).set(0,{equalize:!0}))}),i(this,b,(e==null?void 0:e.speed)||1),i(this,E,(e==null?void 0:e.interval)||!1),i(this,H,e)}set interval(e){i(this,E,e),t(this,f)&&M(this,o,R).call(this)}set speed(e){i(this,b,e),t(this,f)&&M(this,o,R).call(this)}connect(){t(this,f)||(i(this,f,!0),M(this,o,R).call(this))}disconnect(){t(this,f)&&(i(this,f,!1),M(this,o,N).call(this))}pauseAndContinue(e){e&&!t(this,l).target&&(clearInterval(t(this,C)),t(this,l).set(1,{duration:Math.min(e,1e3)}),i(this,C,setTimeout(()=>{t(this,l).set(0,{duration:Math.min(e,5e3)})},e)))}}b=new WeakMap,E=new WeakMap,H=new WeakMap,P=new WeakMap,l=new WeakMap,C=new WeakMap,f=new WeakMap,o=new WeakSet,R=function(){M(this,o,N).call(this),t(this,E)?i(this,P,setInterval(t(this,W),Math.abs(t(this,b)))):k.ticker.subscribe(t(this,q),t(this,H)),document.addEventListener("visibilitychange",t(this,B))},N=function(){clearInterval(t(this,P)),k.ticker.unsubscribe(t(this,q)),clearInterval(t(this,C)),t(this,l).close(),document.removeEventListener("visibilitychange",t(this,B))},q=new WeakMap,W=new WeakMap,B=new WeakMap;var T,x,I,X;class te extends K{constructor(e){super();s(this,T,null);s(this,x);s(this,I);s(this,X,e=>{let a=0;if(e.preventDefault(),!(this.axis==="x"&&Math.abs(e.deltaY)>Math.abs(e.deltaX)*.5||this.axis==="y"&&Math.abs(e.deltaX)>Math.abs(e.deltaY)*.5))if(a=(this.axis==="max"?Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY:this.axis==="x"?e.deltaX:e.deltaY)*this.speed,e.stopPropagation(),this.debounce){const r=Date.now();if(r-t(this,I)>40&&(a=100*Math.sign(a)),i(this,I,r),Math.abs(a)<100||t(this,x))return;this.changeEvent.notify("wheel",a),i(this,x,setTimeout(()=>{i(this,x,void 0)},80))}else this.changeEvent.notify("wheel",a)});this.axis=(e==null?void 0:e.axis)||"y",this.speed=(e==null?void 0:e.speed)||1,this.debounce=(e==null?void 0:e.debounce)||!1,i(this,I,Date.now()),m.isBrowser&&i(this,T,e!=null&&e.element&&j.getElement(e.element)||window)}connect(){m.isBrowser&&t(this,T).addEventListener("wheel",t(this,X),{passive:!1})}disconnect(){m.isBrowser&&(t(this,T).removeEventListener("wheel",t(this,X)),clearTimeout(t(this,x)))}}T=new WeakMap,x=new WeakMap,I=new WeakMap,X=new WeakMap;var v,g,A,c,Y,L;const y=class y extends K{constructor(e){super();s(this,g,null);s(this,A,!1);s(this,c,0);s(this,Y,e=>{if(e.composedPath().find(r=>r instanceof HTMLElement&&r.hasAttribute("drag-dead-zone")))return;this.swipe||k.ticker.unsubscribe(t(this,L));let a=e;i(this,c,0),document.documentElement.classList.add("grabbing"),Z.setupDrag(r=>{if(t(this,A)||t(y,v)&&t(y,v)!==t(this,g))return;this.swipe&&i(this,A,!0);const z=a.x-r.x,O=a.y-r.y;this.axis==="x"?i(this,c,z):i(this,c,O),a=r,(this.axis==="x"&&Math.abs(z)>Math.abs(O)||this.axis==="y"&&Math.abs(O)>Math.abs(z))&&(i(y,v,t(this,g)),this.changeEvent.notify("drag",t(this,c)))},()=>{i(y,v,null),this.swipe||(i(this,c,t(this,c)*3),k.ticker.subscribe(t(this,L),{order:_.TICK_ORDER.SCROLL-1})),document.documentElement.classList.remove("grabbing"),i(this,A,!1)})});s(this,L,()=>{Math.floor(t(this,c))||k.ticker.unsubscribe(t(this,L)),i(this,c,t(this,c)*.95),i(this,c,$.preciseNumber(t(this,c),3)),this.changeEvent.notify("drag",t(this,c))});this.axis=(e==null?void 0:e.axis)||"y",this.swipe=(e==null?void 0:e.swipe)||!1,m.isBrowser&&i(this,g,e!=null&&e.element&&j.getElement(e.element)||document.documentElement)}connect(){m.isBrowser&&t(this,g).addEventListener("pointerdown",t(this,Y))}disconnect(){m.isBrowser&&(t(this,g).removeEventListener("pointerdown",t(this,Y)),k.ticker.unsubscribe(t(this,L)))}};v=new WeakMap,g=new WeakMap,A=new WeakMap,c=new WeakMap,Y=new WeakMap,L=new WeakMap,s(y,v,null);let U=y;exports.AutoplayControls=ee;exports.Controls=K;exports.DragControls=U;exports.KeyboardControls=p;exports.WheelControls=te;
|
package/lib/controls/index.js
CHANGED
|
@@ -5,11 +5,11 @@ var O = (h, n, e) => n.has(h) || Q("Cannot " + e);
|
|
|
5
5
|
var t = (h, n, e) => (O(h, n, "read from private field"), e ? e.call(h) : n.get(h)), s = (h, n, e) => n.has(h) ? Q("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(h) : n.set(h, e), i = (h, n, e, r) => (O(h, n, "write to private field"), r ? r.call(h, e) : n.set(h, e), e), M = (h, n, e) => (O(h, n, "access private method"), e);
|
|
6
6
|
import { Notifier as j } from "../notifier/index.js";
|
|
7
7
|
import { i as m } from "../browser-0zX67oeU.js";
|
|
8
|
-
import {
|
|
8
|
+
import { g as U } from "../dom-0S_WDL4g.js";
|
|
9
9
|
import { ticker as I } from "../ticker/index.js";
|
|
10
|
-
import "../Store-
|
|
10
|
+
import "../Store-C46i0nvr.js";
|
|
11
11
|
import { e as G } from "../easings-BKi40vHz.js";
|
|
12
|
-
import { T as J } from "../Tweened-
|
|
12
|
+
import { T as J } from "../Tweened-DOSHLCZa.js";
|
|
13
13
|
import { s as Z } from "../gestures-D2Fdra_G.js";
|
|
14
14
|
import { p as $ } from "../polyfills-X6KXuHg-.js";
|
|
15
15
|
import { TICK_ORDER as p } from "../order/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("./tags-
|
|
1
|
+
"use strict";const n=require("./tags-6_ETuR75.cjs");function r(t){const e=new CSSStyleSheet;return e.replaceSync(n.style(t).node.innerHTML),e}exports.createStylesheet=r;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var w=s=>{throw TypeError(s)};var f=(s,r,e)=>r.has(s)||w("Cannot "+e);var t=(s,r,e)=>(f(s,r,"read from private field"),e?e.call(s):r.get(s)),c=(s,r,e)=>r.has(s)?w("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(s):r.set(s,e),i=(s,r,e,n)=>(f(s,r,"write to private field"),n?n.call(s,e):r.set(s,e),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("../css-value-parser/index.cjs"),g=require("../order/index.cjs"),p=require("../Store-
|
|
1
|
+
"use strict";var w=s=>{throw TypeError(s)};var f=(s,r,e)=>r.has(s)||w("Cannot "+e);var t=(s,r,e)=>(f(s,r,"read from private field"),e?e.call(s):r.get(s)),c=(s,r,e)=>r.has(s)?w("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(s):r.set(s,e),i=(s,r,e,n)=>(f(s,r,"write to private field"),n?n.call(s,e):r.set(s,e),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("../css-value-parser/index.cjs"),g=require("../order/index.cjs"),p=require("../Store-npaZHvX4.cjs"),v=require("../dom-JBOkFLTh.cjs"),R=require("../window-resizer/index.cjs");var a,b,u,o,h,l;class y extends p.Store{constructor(e,n,d,S){super(d,S);c(this,a);c(this,b);c(this,u);c(this,o);c(this,h,!1);c(this,l,()=>{this.check()});i(this,a,v.getElement(e)),i(this,b,n),i(this,u,d.toString()),i(this,o,(S==null?void 0:S.rawValueCheck)!==!1)}get currentRawValue(){return t(this,u)}observe(){t(this,h)||(i(this,h,!0),R.windowResizer.subscribe(t(this,l),g.RESIZE_ORDER.CSS_VARIABLE))}unobserve(){t(this,h)&&(i(this,h,!1),R.windowResizer.unsubscribe(t(this,l)))}subscribe(e){return this.subscribers.size||this.observe(),super.subscribe(e)}unsubscribe(e){super.unsubscribe(e),this.subscribers.size||this.unobserve()}close(){this.unobserve(),super.close()}check(){const e=getComputedStyle(t(this,a)).getPropertyValue(t(this,b));if(!(t(this,o)&&t(this,u)===e))if(i(this,u,e),e){const n=V.cssValueParser.parse(t(this,u));this.current=n}else this.current=this.initial}}a=new WeakMap,b=new WeakMap,u=new WeakMap,o=new WeakMap,h=new WeakMap,l=new WeakMap;exports.CSSProperty=y;
|
|
@@ -5,11 +5,11 @@ var S = (s, r, e) => r.has(s) || p("Cannot " + e);
|
|
|
5
5
|
var t = (s, r, e) => (S(s, r, "read from private field"), e ? e.call(s) : r.get(s)), h = (s, r, e) => r.has(s) ? p("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(s) : r.set(s, e), i = (s, r, e, a) => (S(s, r, "write to private field"), a ? a.call(s, e) : r.set(s, e), e);
|
|
6
6
|
import { cssValueParser as R } from "../css-value-parser/index.js";
|
|
7
7
|
import { RESIZE_ORDER as V } from "../order/index.js";
|
|
8
|
-
import { S as
|
|
9
|
-
import {
|
|
8
|
+
import { S as g } from "../Store-C46i0nvr.js";
|
|
9
|
+
import { g as v } from "../dom-0S_WDL4g.js";
|
|
10
10
|
import { windowResizer as w } from "../window-resizer/index.js";
|
|
11
11
|
var b, o, u, l, c, n;
|
|
12
|
-
class d extends
|
|
12
|
+
class d extends g {
|
|
13
13
|
constructor(e, a, m, f) {
|
|
14
14
|
super(m, f);
|
|
15
15
|
h(this, b);
|
|
@@ -20,7 +20,7 @@ class d extends v {
|
|
|
20
20
|
h(this, n, () => {
|
|
21
21
|
this.check();
|
|
22
22
|
});
|
|
23
|
-
i(this, b,
|
|
23
|
+
i(this, b, v(e)), i(this, o, a), i(this, u, m.toString()), i(this, l, (f == null ? void 0 : f.rawValueCheck) !== !1);
|
|
24
24
|
}
|
|
25
25
|
get currentRawValue() {
|
|
26
26
|
return t(this, u);
|
package/lib/dev/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../css-property/index.cjs"),t=require("../Store-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../css-property/index.cjs"),t=require("../Store-npaZHvX4.cjs"),c=require("../ticker/index.cjs");function i(){c.ticker.subscribe(()=>{for(let e=0;e<t.activeStores.current.length;e++){const r=t.activeStores.current[e];r instanceof o.CSSProperty&&r.check()}})}exports.devMode=i;
|
package/lib/dev/index.js
CHANGED
package/lib/device/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Viewport-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Viewport-Cv4TRGiv.cjs");exports.ViewportBreakpoints=e.ViewportBreakpoints;exports.ViewportMediaRules=e.ViewportMediaRules;exports.device=e.device;exports.viewport=e.viewport;
|
package/lib/device/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tags-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tags-6_ETuR75.cjs"),i=require("../createStylesheet-Csfmh-MH.cjs"),s=require("../string-DhgS_iFl.cjs");function d(r,a){const l=(a==null?void 0:a.prefix)||"",o={style:{}};for(const t in r)o[t]={var:`var(--${l}${s.camelToKebab(t)})`,value:r[t]},o.style[`--${l}${s.camelToKebab(t)}`]=r[t];return o}exports.ElementConstructor=e.ElementConstructor;exports.a=e.a;exports.abbr=e.abbr;exports.address=e.address;exports.area=e.area;exports.article=e.article;exports.aside=e.aside;exports.audio=e.audio;exports.b=e.b;exports.base=e.base;exports.bdi=e.bdi;exports.bdo=e.bdo;exports.blockquote=e.blockquote;exports.body=e.body;exports.br=e.br;exports.button=e.button;exports.canvas=e.canvas;exports.caption=e.caption;exports.cite=e.cite;exports.code=e.code;exports.col=e.col;exports.colgroup=e.colgroup;exports.contents=e.contents;exports.data=e.data;exports.datalist=e.datalist;exports.dd=e.dd;exports.del=e.del;exports.details=e.details;exports.dfn=e.dfn;exports.dialog=e.dialog;exports.div=e.div;exports.dl=e.dl;exports.dt=e.dt;exports.element=e.element;exports.em=e.em;exports.embed=e.embed;exports.empty=e.empty;exports.fieldset=e.fieldset;exports.figcaption=e.figcaption;exports.figure=e.figure;exports.footer=e.footer;exports.form=e.form;exports.fragment=e.fragment;exports.h1=e.h1;exports.h2=e.h2;exports.h3=e.h3;exports.h4=e.h4;exports.h5=e.h5;exports.h6=e.h6;exports.head=e.head;exports.header=e.header;exports.hgroup=e.hgroup;exports.hr=e.hr;exports.html=e.html;exports.htmlVar=e.htmlVar;exports.i=e.i;exports.iframe=e.iframe;exports.img=e.img;exports.input=e.input;exports.ins=e.ins;exports.kbd=e.kbd;exports.label=e.label;exports.legend=e.legend;exports.li=e.li;exports.link=e.link;exports.main=e.main;exports.map=e.map;exports.mark=e.mark;exports.menu=e.menu;exports.meta=e.meta;exports.meter=e.meter;exports.nav=e.nav;exports.noscript=e.noscript;exports.object=e.object;exports.ol=e.ol;exports.optgroup=e.optgroup;exports.option=e.option;exports.output=e.output;exports.p=e.p;exports.picture=e.picture;exports.pre=e.pre;exports.progress=e.progress;exports.q=e.q;exports.rp=e.rp;exports.rt=e.rt;exports.ruby=e.ruby;exports.s=e.s;exports.samp=e.samp;exports.script=e.script;exports.search=e.search;exports.section=e.section;exports.select=e.select;exports.slot=e.slot;exports.small=e.small;exports.source=e.source;exports.span=e.span;exports.strong=e.strong;exports.style=e.style;exports.sub=e.sub;exports.summary=e.summary;exports.sup=e.sup;exports.table=e.table;exports.tbody=e.tbody;exports.td=e.td;exports.template=e.template;exports.textarea=e.textarea;exports.tfoot=e.tfoot;exports.th=e.th;exports.thead=e.thead;exports.time=e.time;exports.title=e.title;exports.tr=e.tr;exports.track=e.track;exports.u=e.u;exports.ul=e.ul;exports.video=e.video;exports.wbr=e.wbr;exports.createStylesheet=i.createStylesheet;exports.createTheme=d;
|
|
@@ -1,124 +1,135 @@
|
|
|
1
|
-
import { E as
|
|
2
|
-
import { c as
|
|
3
|
-
import { c as
|
|
1
|
+
import { E as c, f as n, g as p, h as u, j as b, k as h, m as f, n as g, o as y, p as v, q as k, r as x, t as $, u as q, v as T, b as w, w as C, x as E, y as K, z as S, A as V, B as z, a_ as A, C as B, D, F, G, H, I, J, d as L, K as M, L as N, e as O, M as P, N as Q, aZ as R, O as U, P as W, Q as X, R as Y, S as Z, aY as _, T as j, U as aa, V as sa, W as ea, X as ta, Y as ra, Z as oa, _ as la, $ as ia, a0 as da, a1 as ma, aV as ca, a2 as na, a3 as pa, a4 as ua, i as ba, a5 as ha, a6 as fa, l as ga, a7 as ya, a8 as va, a9 as ka, aa as xa, ab as $a, ac as qa, ad as Ta, ae as wa, af as Ca, ag as Ea, ah as Ka, ai as Sa, aj as Va, ak as za, al as Aa, am as Ba, an as Da, ao as Fa, ap as Ga, aq as Ha, ar as Ia, as as Ja, at as La, au as Ma, av as Na, aw as Oa, ax as Pa, ay as Qa, az as Ra, aA as Ua, a as Wa, aB as Xa, aC as Ya, c as Za, aD as _a, s as ja, aE as as, aF as ss, aG as es, aH as ts, aI as rs, aJ as os, aK as ls, aL as is, aM as ds, aN as ms, aO as cs, aP as ns, aQ as ps, aR as us, aS as bs, aT as hs, aU as fs, aW as gs, aX as ys } from "../tags-zft1DGBz.js";
|
|
2
|
+
import { c as ks } from "../createStylesheet-C68ja-RS.js";
|
|
3
|
+
import { c as o } from "../string-f0Dnk0L1.js";
|
|
4
|
+
function i(s, e) {
|
|
5
|
+
const r = (e == null ? void 0 : e.prefix) || "", t = {
|
|
6
|
+
style: {}
|
|
7
|
+
};
|
|
8
|
+
for (const a in s)
|
|
9
|
+
t[a] = {
|
|
10
|
+
var: `var(--${r}${o(a)})`,
|
|
11
|
+
value: s[a]
|
|
12
|
+
}, t.style[`--${r}${o(a)}`] = s[a];
|
|
13
|
+
return t;
|
|
14
|
+
}
|
|
4
15
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
16
|
+
c as ElementConstructor,
|
|
17
|
+
n as a,
|
|
18
|
+
p as abbr,
|
|
19
|
+
u as address,
|
|
20
|
+
b as area,
|
|
21
|
+
h as article,
|
|
22
|
+
f as aside,
|
|
23
|
+
g as audio,
|
|
24
|
+
y as b,
|
|
25
|
+
v as base,
|
|
26
|
+
k as bdi,
|
|
27
|
+
x as bdo,
|
|
28
|
+
$ as blockquote,
|
|
29
|
+
q as body,
|
|
30
|
+
T as br,
|
|
31
|
+
w as button,
|
|
32
|
+
C as canvas,
|
|
33
|
+
E as caption,
|
|
34
|
+
K as cite,
|
|
35
|
+
S as code,
|
|
36
|
+
V as col,
|
|
37
|
+
z as colgroup,
|
|
38
|
+
A as contents,
|
|
39
|
+
ks as createStylesheet,
|
|
40
|
+
i as createTheme,
|
|
41
|
+
B as data,
|
|
42
|
+
D as datalist,
|
|
43
|
+
F as dd,
|
|
44
|
+
G as del,
|
|
45
|
+
H as details,
|
|
46
|
+
I as dfn,
|
|
47
|
+
J as dialog,
|
|
48
|
+
L as div,
|
|
49
|
+
M as dl,
|
|
50
|
+
N as dt,
|
|
51
|
+
O as element,
|
|
52
|
+
P as em,
|
|
53
|
+
Q as embed,
|
|
54
|
+
R as empty,
|
|
55
|
+
U as fieldset,
|
|
56
|
+
W as figcaption,
|
|
57
|
+
X as figure,
|
|
58
|
+
Y as footer,
|
|
59
|
+
Z as form,
|
|
60
|
+
_ as fragment,
|
|
61
|
+
j as h1,
|
|
62
|
+
aa as h2,
|
|
63
|
+
sa as h3,
|
|
64
|
+
ea as h4,
|
|
65
|
+
ta as h5,
|
|
66
|
+
ra as h6,
|
|
67
|
+
oa as head,
|
|
68
|
+
la as header,
|
|
69
|
+
ia as hgroup,
|
|
70
|
+
da as hr,
|
|
71
|
+
ma as html,
|
|
72
|
+
ca as htmlVar,
|
|
73
|
+
na as i,
|
|
74
|
+
pa as iframe,
|
|
75
|
+
ua as img,
|
|
76
|
+
ba as input,
|
|
77
|
+
ha as ins,
|
|
78
|
+
fa as kbd,
|
|
79
|
+
ga as label,
|
|
80
|
+
ya as legend,
|
|
81
|
+
va as li,
|
|
82
|
+
ka as link,
|
|
83
|
+
xa as main,
|
|
84
|
+
$a as map,
|
|
85
|
+
qa as mark,
|
|
86
|
+
Ta as menu,
|
|
87
|
+
wa as meta,
|
|
88
|
+
Ca as meter,
|
|
89
|
+
Ea as nav,
|
|
90
|
+
Ka as noscript,
|
|
91
|
+
Sa as object,
|
|
92
|
+
Va as ol,
|
|
93
|
+
za as optgroup,
|
|
94
|
+
Aa as option,
|
|
95
|
+
Ba as output,
|
|
96
|
+
Da as p,
|
|
97
|
+
Fa as picture,
|
|
98
|
+
Ga as pre,
|
|
99
|
+
Ha as progress,
|
|
100
|
+
Ia as q,
|
|
101
|
+
Ja as rp,
|
|
102
|
+
La as rt,
|
|
103
|
+
Ma as ruby,
|
|
104
|
+
Na as s,
|
|
105
|
+
Oa as samp,
|
|
106
|
+
Pa as script,
|
|
107
|
+
Qa as search,
|
|
108
|
+
Ra as section,
|
|
109
|
+
Ua as select,
|
|
110
|
+
Wa as slot,
|
|
111
|
+
Xa as small,
|
|
112
|
+
Ya as source,
|
|
113
|
+
Za as span,
|
|
114
|
+
_a as strong,
|
|
115
|
+
ja as style,
|
|
116
|
+
as as sub,
|
|
117
|
+
ss as summary,
|
|
118
|
+
es as sup,
|
|
119
|
+
ts as table,
|
|
120
|
+
rs as tbody,
|
|
121
|
+
os as td,
|
|
122
|
+
ls as template,
|
|
123
|
+
is as textarea,
|
|
124
|
+
ds as tfoot,
|
|
125
|
+
ms as th,
|
|
126
|
+
cs as thead,
|
|
127
|
+
ns as time,
|
|
128
|
+
ps as title,
|
|
129
|
+
us as tr,
|
|
130
|
+
bs as track,
|
|
131
|
+
hs as u,
|
|
132
|
+
fs as ul,
|
|
133
|
+
gs as video,
|
|
134
|
+
ys as wbr
|
|
124
135
|
};
|
|
@@ -3,10 +3,10 @@ var h = (n) => {
|
|
|
3
3
|
};
|
|
4
4
|
var y = (n, t, s) => t.has(n) || h("Cannot " + s);
|
|
5
5
|
var r = (n, t, s) => (y(n, t, "read from private field"), s ? s.call(n) : t.get(n)), b = (n, t, s) => t.has(n) ? h("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(n) : t.set(n, s), u = (n, t, s, e) => (y(n, t, "write to private field"), e ? e.call(n, s) : t.set(n, s), s);
|
|
6
|
-
import { i as
|
|
7
|
-
import {
|
|
6
|
+
import { i as p } from "../browser-0zX67oeU.js";
|
|
7
|
+
import { g as w } from "../dom-0S_WDL4g.js";
|
|
8
8
|
var i, o, f;
|
|
9
|
-
class
|
|
9
|
+
class z {
|
|
10
10
|
constructor() {
|
|
11
11
|
b(this, i, []);
|
|
12
12
|
b(this, o, null);
|
|
@@ -18,10 +18,10 @@ class w {
|
|
|
18
18
|
e.entry && (e.subscriber.entry = e.entry, e.subscriber.callback(e.entry));
|
|
19
19
|
});
|
|
20
20
|
});
|
|
21
|
-
|
|
21
|
+
p && window.ResizeObserver && u(this, o, new ResizeObserver(r(this, f)));
|
|
22
22
|
}
|
|
23
23
|
subscribe(t, s) {
|
|
24
|
-
const e =
|
|
24
|
+
const e = w(t);
|
|
25
25
|
if (!e)
|
|
26
26
|
return () => {
|
|
27
27
|
};
|
|
@@ -54,8 +54,8 @@ class w {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
i = new WeakMap(), o = new WeakMap(), f = new WeakMap();
|
|
57
|
-
const
|
|
57
|
+
const g = new z();
|
|
58
58
|
export {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
z as ElementResizer,
|
|
60
|
+
g as elementResizer
|
|
61
61
|
};
|