effcss 1.1.2 → 1.1.4

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/README.md CHANGED
@@ -1,16 +1,36 @@
1
- # Effcss
1
+ <p align="center">
2
+ <a href="https://effcss.surge.sh">
3
+ <img alt="effcss" src="https://effcss.surge.sh/logo.svg" height="72px" />
4
+ </a>
5
+ </p>
6
+
7
+ <h1 align="center">Effcss</h1>
8
+
9
+ <div align="center">
10
+
11
+ [![license](https://badgen.net/static/license/Apache%202.0/blue)](https://gitverse.ru/msabitov/effcss/content/master/LICENSE)
12
+ [![npm latest package](https://badgen.net/npm/v/effcss)](https://www.npmjs.com/package/effcss)
13
+
14
+ </div>
2
15
 
3
16
  Effcss is a next generation CSS-in-JS library based only on the browser APIs.
4
17
 
18
+ ## Links
19
+
20
+ - [Docs](https://effcss.surge.sh)
21
+ - [Repository](https://gitverse.ru/msabitov/effcss)
22
+ - [Github mirror](https://github.com/msabitov/effcss)
23
+ - [React demo](https://stackblitz.com/edit/vitejs-react-effcss?file=index.html)
24
+ - [Svelte demo](https://stackblitz.com/edit/vitejs-svelte-effcss?file=index.html)
25
+
5
26
  ## Some features
6
27
 
7
28
  - zero-dependency
8
29
  - framework agnostic
9
- - customizable
10
30
  - runtime stylesheets generation
11
31
  - built-in BEM support
12
- - concise style description format
13
- - support switching style modes (dark mode, light mode, etc.)
32
+ - customizable
33
+ - support style switching
14
34
 
15
35
  ## Installation
16
36
 
@@ -20,16 +40,6 @@ Install it from npm:
20
40
  npm i effcss
21
41
  ```
22
42
 
23
- ## Usage example
24
-
25
- See simple usage example in `demo` folder.
26
- You can also open demo React project on [StackBlitz](https://stackblitz.com/edit/vitejs-react-effcss?file=index.html).
27
- There is also demo Svelte project on [StackBlitz](https://stackblitz.com/edit/vitejs-svelte-effcss?file=index.html).
28
-
29
- ## Docs
30
-
31
- The documentation is currently under active development, you can find the current version on the project's [homepage](https://effcss.surge.sh).
32
-
33
43
  ## Concepts
34
44
 
35
45
  Effcss consists of two parts - **style provider** and **style config**.
@@ -1 +1 @@
1
- "function"==typeof SuppressedError&&SuppressedError;const s=(...s)=>s.join("-"),t=(...s)=>s.join(" "),e=(...s)=>s.join(","),r=s=>`(${s})`,i=(s,t)=>((s,t)=>Object.fromEntries(Object.entries(s).map((s=>t(s)))))(s,(s=>[s[0],t(s[1])])),a=s=>"scale3d"+r(s),c=s=>"scaleX"+r(s),o=s=>"scale"+r(s),l=(s,t,i)=>"translate3d"+r(e(s,t,i)),n=s=>"translateZ"+r(s),p=s=>"rotateX"+r(s),_=s=>"rotateY"+r(s),b=s=>s+":active",m=s=>s+":focus",f=s=>":where"+r(s),h=s=>s&&i(s,(s=>s+"rem")),d=s=>s&&i(s,(s=>s+"ms")),$=s=>s&&i(s,(s=>s+"px")),u=s=>s&&i(s,(s=>s+"deg")),v=s=>s&&i(s,(s=>s+"vw")),g=s=>s&&i(s,(s=>s+"vh")),x=s=>s&&i(s,(s=>s+"vmin")),w=s=>s&&i(s,(s=>s+"vmax")),y=s=>s&&i(s,(s=>s+"cqb")),z=s=>s&&i(s,(s=>s+"cqi")),S=s=>s&&i(s,(s=>s+"cqmin")),j=s=>s&&i(s,(s=>s+"cqmax")),k=s=>s&&i(s,(s=>"span "+s)),O="x",q="y",E="horizontal",N="vertical",A="text",R="font",V="column",W="max",I="min",K="content",P=K+"s",C="items",T="self",X="inline",B="block",L="size",Y="radius",Z="direction",D="outline",G="style",H="end",J="start",M="center",U="word",F="line",Q="break",ss="wrap",ts="nowarp",es="template",rs="rule",is="object",as="top",cs="left",os="bottom",ls="right",ns="width",ps="color",_s="overflow",bs="align",ms="type",fs="transform",hs="all",ds="height",$s="normal",us="opacity",vs="visibility",gs="scale",xs="box",ws="border",ys="position",zs="none",Ss="auto",js="fill",ks="stroke",Os="reverse",qs="space",Es="fixed",Ns="origin",As="alpha",Rs="luminance",Vs="clip",Ws="zoom",Is="scroll",Ks="padding",Ps="margin",Cs="both",Ts="mode",Xs="repeat",Bs="light",Ls="linear",Ys="hidden",Zs=s(ws,os),Ds=s(ws,cs),Gs=s(ws,ls),Hs=s(ws,as),Js=s(ws,B),Ms=s(ws,X),Us=s(Js,J),Fs=s(Js,H),Qs=s(Ms,J),st=s(Ms,H),tt=s(ws,ns),et=s(Zs,ns),rt=s(Ds,ns),it=s(Gs,ns),at=s(Hs,ns),ct=s(Js,ns),ot=s(Ms,ns),lt=s(Us,ns),nt=s(Fs,ns),pt=s(Qs,ns),_t=s(st,ns),bt=s(ws,Y),mt=s(ws,os,cs,Y),ft=s(ws,os,ls,Y),ht=s(ws,as,cs,Y),dt=s(ws,as,ls,Y),$t=s(ws,J,H,Y),ut=s(ws,J,J,Y),vt=s(ws,H,H,Y),gt=s(ws,H,J,Y),xt=s(ws,ps),wt=s(Ds,ps),yt=s(Gs,ps),zt=s(Hs,ps),St=s(Zs,ps),jt=s(Js,ps),kt=s(Ms,ps),Ot=s(Us,ps),qt=s(Fs,ps),Et=s(Qs,ps),Nt=s(st,ps),At=s(ws,G),Rt=s(Ds,G),Vt=s(Gs,G),Wt=s(Hs,G),It=s(Zs,G),Kt=s(Js,G),Pt=s(Ms,G),Ct=s(Us,G),Tt=s(Fs,G),Xt=s(Qs,G),Bt=s(st,G),Lt=s(D,ps),Yt=s(D,ns),Zt=s(D,G),Dt=s(D,"offset"),Gt=s(_s,O),Ht=s(_s,q),Jt=s(is,"fit"),Mt=s(is,ys),Ut=s(gs,"down"),Ft=s(xs,"shadow"),Qt=s(Ks,xs),se=s(ws,xs),te=s(K,xs),ee=s(js,xs),re=s(ks,xs),ie=s("view",xs),ae=s("no",Vs),ce=s(Xs,O),oe=s(Xs,q),le=s("no",Xs),ne=s(Ks,cs),pe=s(Ks,as),_e=s(Ks,ls),be=s(Ks,os),me=s(Ps,cs),fe=s(Ps,as),he=s(Ps,ls),de=s(Ps,os),$e="grid",ue="row",ve="justify",ge="flex",xe=s(X,ge),we=s(ge,"basis"),ye=s(ge,"grow"),ze=s(ge,"shrink"),Se=s(ge,Z),je=s(ge,ss),ke=s(ve,K),Oe=s(ve,C),qe=s(bs,C),Ee=s(bs,K),Ne=s(bs,T),Ae=s($e,es,ue+"s"),Re=s($e,es,V+"s"),Ve=s(ue,"gap"),We=s(V,"gap"),Ie=s(ve,T),Ke=s($e,ue,H),Pe=s($e,ue,J),Ce=s($e,V,H),Te=s($e,V,J),Xe=s(V,"count"),Be=s(V,js),Le=s(V,rs,ps),Ye=s(V,rs,G),Ze=s(V,rs,ns),De=s(V,"span"),Ge=s(V,ns),He=s(ue,Os),Je=s(V,Os),Me=s(ss,Os),Ue=s(ge,H),Fe=s(ge,J),Qe=s(qs,"between"),sr=s(qs,"around"),tr=s(qs,"evenly"),er=s(X,$e),rr="mask",ir=s(rr,Vs),ar=s(rr,"composite"),cr=s(rr,Ts),or=s(rr,Ns),lr=s(rr,ys),nr=s(rr,Xs),pr=s(rr,L),_r=s(rr,ms),br="timing-function",mr="delay",fr="duration",hr="animation",dr=s(hr,"name"),$r=s(hr,br),ur=s(hr,Z),vr=s(hr,"iteration-count"),gr=s(hr,fr),xr=s(hr,mr),wr=hr+"-play-state",yr=s(hr,js,Ts),zr="transition",Sr=zr+"-behavior",jr=zr+"-property",kr=s(zr,br),Or=s(zr,fr),qr=s(zr,mr),Er="alternate",Nr=s(Er,Os),Ar="-out",Rr="ease",Vr=Rr+"-in",Wr=Vr+Ar,Ir=Rr+Ar,Kr="step",Pr=s(Kr,J),Cr=s(Kr,H),Tr="translate",Xr="rotate",Br="perspective",Lr=s(Br,Ns),Yr=t(cs,as),Zr=t(ls,as),Dr=t(cs,os),Gr=t(ls,os),Hr="inset",Jr=s(fs,xs),Mr=s(fs,Ns),Ur=s(fs,G),Fr=s(Hr,B),Qr=s(Hr,B,H),si=s(Hr,B,J),ti=s(Hr,X),ei=s(Hr,X,H),ri=s(Hr,X,J),ii=s("fit",K),ai=s(I,K),ci=s(W,K),oi=s(xs,"sizing"),li=s(W,ns),ni=s(I,ns),pi=s(W,ds),_i=s(I,ds),bi=s(B,L),mi=s(W,bi),fi=s(I,bi),hi=s(X,L),di=s(W,hi),$i=s(I,hi),ui="snap",vi=s(Is,"behavior"),gi=s(Is,Ps),xi=s(Is,Ps,as),wi=s(Is,Ps,os),yi=s(Is,Ps,cs),zi=s(Is,Ps,ls),Si=s(Is,Ps,B),ji=s(Is,Ps,B,H),ki=s(Is,Ps,B,J),Oi=s(Is,Ps,X),qi=s(Is,Ps,X,H),Ei=s(Is,Ps,X,J),Ni=s(Is,Ks),Ai=s(Is,Ks,as),Ri=s(Is,Ks,os),Vi=s(Is,Ks,cs),Wi=s(Is,Ks,ls),Ii=s(Is,Ks,B),Ki=s(Is,Ks,B,H),Pi=s(Is,Ks,B,J),Ci=s(Is,Ks,X),Ti=s(Is,Ks,X,H),Xi=s(Is,Ks,X,J),Bi=s(Is,ui,bs),Li=s(Is,ui,"stop"),Yi=s(Is,ui,ms),Zi="mandatory",Di=t(O,Zi),Gi=t(q,Zi),Hi=t(B,Zi),Ji=t(X,Zi),Mi=t(Cs,Zi),Ui="proximity",Fi=t(O,Ui),Qi=t(q,Ui),sa=t(B,Ui),ta=t(X,Ui),ea=t(Cs,Ui),ra=s(A,"decoration"),ia=s(ra,ps),aa=s(A,fs),ca=s(A,bs),oa=s(A,_s),la=s(A,"orientation"),na=s(U,Q),pa=s(R,L),_a=R+"-weight",ba=R+"-family",ma=s(R,G),fa=s("writing",Ts),ha=s(F,ds),da=s(F,Q),$a=F+"-through",ua="over"+F,va="under"+F,ga="pre",xa=s(ga,F),wa=s(ga,ss),ya=Q+"-spaces",za=s(Q,hs),Sa=s(Q,U),ja=E+"-tb",ka=N+"-lr",Oa=N+"-rl",qa="keep-"+hs,Ea="pointer",Na="pan",Aa=s(Na,O),Ra=s(Na,cs),Va=s(Na,ls),Wa=s(Na,q),Ia=s(Na,"up"),Ka=s(Na,"down"),Pa=s("pinch",Ws),Ca=s(N,A),Ta="grab",Xa=Ta+"bing",Ba="resize",La="col-"+Ba,Ya="row-"+Ba,Za="n-"+Ba,Da="e-"+Ba,Ga="s-"+Ba,Ha="w-"+Ba,Ja="ne-"+Ba,Ma="ew-"+Ba,Ua="nw-"+Ba,Fa="se-"+Ba,Qa="sw-"+Ba,sc="ns-"+Ba,tc="nesw-"+Ba,ec="nwse-"+Ba,rc=s(Ws,"in"),ic=s(Ws,"out"),ac=s(Ea,"events"),cc=s(Is,ys),oc=s("caret",ps),lc=s("accent",ps),nc="filter",pc="backdrop-"+nc,_c="background",bc=s(_c,ps),mc=s(_c,Vs),fc=s(_c,Ns),hc=s(_c,ys),dc=s(_c,ys,O),$c=s(_c,ys,q),uc=s(_c,Xs),vc=s(_c,L),gc=s(_c,"blend",Ts),xc=s(_c,"attachment"),wc="gradient",yc=s(Ls,wc);s("radial",wc),s("conic",wc);const zc=s(K,vs);s(ks,ns),s(js,rs);const Sc=s(ps,"dodge"),jc=s(ps,"burn"),kc=s("hard",Bs),Oc=s("soft",Bs);s(ps,"mix");const qc="revert",Ec={uni:{ini:"initial",inh:"inherit",u:"unset",r:qc,rl:s(qc,"layer"),a:Ss,no:zs},ali:{s:J,e:H,c:M,st:"stretch",sb:Qe,sa:sr,se:tr,b:"baseline",fs:Fe,fe:Ue,no:zs},dis:{g:$e,ig:er,f:ge,if:xe},fd:{r:ue,rr:He,c:V,cr:Je},fw:{w:ss,nw:ts,wr:Me},rep:{rx:ce,ry:oe,r:Xs,s:qs,ro:"round",nr:le},ttf:{l:Ls,e:Rr,ei:Vr,eo:Ir,eio:Wr,ss:Pr,se:Cr},ws:{n:$s,nw:ts,p:ga,pl:xa,pw:wa,bs:ya},wb:{n:$s,ba:za,ka:qa,bw:Sa},wm:{htb:ja,vlr:ka,vrl:Oa},hyp:{no:zs,m:"manual",a:Ss},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:$a,o:ua,u:va},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:cs,c:M,j:ve,r:ls,s:J,e:H},tp:{all:hs,col:e(ps,bc,xt,ia),icon:e(js,ks),filter:e(nc,pc),ind:e(Ks,Ps),sz:e(ns,li,ni,ds,pi,_i),esz:e(fi,bi,mi,$i,hi,di),o:us,b:ws,f:ge,g:$e,pos:e(ys,cs,as,os,ls),tf:e(fs,Tr,gs,Xr,"skew",Br)},lb:{a:Ss,any:"anywhere",n:$s,l:"loose",s:"strict"},ov:{h:Ys,s:Is,a:Ss,c:Vs,e:"ellipsis"},v:{h:Ys,v:"visible",c:"collapse",a:Ss},wc:{a:Ss,sp:cc,c:P,tf:fs,o:us,i:Hr,tfi:fs+","+Hr},afm:{no:zs,f:"forwards",b:"backwards",both:Cs},adir:{r:Os,a:Er,ar:Nr},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:$s},app:{n:zs,a:Ss},pe:{a:Ss,no:zs,all:hs,f:js,s:ks},cur:{h:"help",a:Ss,p:Ea,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:A,vt:Ca,cp:"copy",m:"move",g:Ta,gng:Xa,cr:La,rr:Ya,nr:Za,er:Da,sr:Ga,wr:Ha,ner:Ja,ewr:Ma,nwr:Ua,ser:Fa,swr:Qa,nsr:sc,neswr:tc,nwser:ec,zi:rc,zo:ic},res:{n:zs,v:N,h:E,b:Cs},toa:{a:Ss,no:zs,px:Aa,pl:Ra,pr:Va,py:Wa,pu:Ia,pd:Ka,pz:Pa,m:"manipulation"},us:{n:zs,t:A,all:hs,a:Ss},sb:{a:Ss,s:"smooth"},sss:{n:$s,a:"always"},sst:{n:zs,x:O,y:q,b:B,i:X,both:Cs,xm:Di,ym:Gi,bm:Hi,im:Ji,bothm:Mi,xp:Fi,yp:Qi,bp:sa,ip:ta,bothp:ea},fst:{i:"italic",n:$s,o:"oblique"},pos:{r:"relative",a:"absolute",f:Es,s:"static"},posv:{b:os,t:as,c:M,l:cs,r:ls,lt:Yr,rt:Zr,lb:Dr,rb:Gr},csz:{cv:"cover",cn:"contain",a:Ss,f:js,sd:Ut},cf:{a:Ss,b:"balance"},cs:{no:zs,all:hs},box:{c:te,p:Qt,b:se,f:ee,s:re,v:ie,nc:ae,t:A},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:As,l:Rs},mm:{a:As,l:Rs,m:"match-source"},bgbm:{n:$s,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Bs+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:ps,lum:"luminosity",cd:Sc,cb:jc,hl:kc,sl:Oc},bga:{s:Is,f:Es,l:"local"},ls:{no:zs,dt:"dotted",i:Hr,h:Ys,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},usz:{min:ai,max:ci,fit:ii,no:0,a:Ss}},Nc={a:hr,an:dr,adur:gr,adel:xr,aps:wr,afm:yr,adir:ur,aic:vr,atf:$r,trn:zr,tdur:Or,tdel:qr,tb:Sr,tp:jr,ttf:kr,bor:ws,bw:tt,br:bt,bs:At,bls:Rt,brs:Vt,bts:Wt,bbs:It,bbls:Kt,bis:Pt,bbss:Ct,bbes:Tt,biss:Xt,bies:Bt,brw:it,blw:rt,btw:at,bbw:et,btlr:ht,btrr:dt,bbrr:ft,bblr:mt,biw:ot,bblw:ct,bbew:nt,bbsw:lt,bisw:pt,biew:_t,besr:gt,beer:vt,bssr:ut,bser:$t,bc:xt,blc:wt,brc:yt,btc:zt,bbc:St,bblc:jt,bic:kt,bbsc:Ot,bbec:qt,bisc:Et,biec:Nt,bgc:bc,c:ps,acc:lc,ctc:oc,st:ks,fi:js,flt:nc,bf:pc,g:$e,f:ge,dis:"display",jc:ke,ji:Oe,ai:qe,ac:Ee,gtr:Ae,gtc:Re,rg:Ve,cg:We,as:Ne,js:Ie,gre:Ke,grs:Pe,gce:Ce,gcs:Te,fd:Se,fw:je,fs:ze,fg:ye,fb:we,ord:"order",m:Ps,ml:me,mr:he,mt:fe,mb:de,p:Ks,pl:ne,pr:_e,pt:pe,pb:be,oc:Lt,ow:Yt,os:Zt,oo:Dt,l:cs,r:ls,t:as,b:os,ins:Hr,ib:Fr,ibe:Qr,ibs:si,ii:ti,iie:ei,iis:ri,wc:"will-change",app:"appearance",pe:ac,cur:"cursor",toa:"touch-action",us:"user-select",res:Ba,sb:vi,ssa:Bi,sss:Li,sst:Yi,sm:gi,sml:yi,smr:zi,smt:xi,smb:wi,sp:Ni,spl:Vi,spr:Wi,spt:Ai,spb:Ri,smbl:Si,smbe:ji,smbs:ki,smi:Oi,smie:qi,smis:Ei,spbl:Ii,spbe:Ki,spbs:Pi,spi:Ci,spie:Ti,spis:Xi,ar:"aspect-ratio",w:ns,maxw:li,minw:ni,h:ds,minh:_i,maxh:pi,bl:bi,maxb:mi,minb:fi,i:hi,mini:$i,maxi:di,per:Br,pero:Lr,rot:Xr,sc:gs,tf:fs,tfb:Jr,tfo:Mr,tfs:Ur,tr:Tr,z:Ws,lts:"letter-spacing",lh:ha,lb:da,fst:ma,ff:ba,fwg:_a,fsz:pa,tt:aa,td:ra,ta:ca,to:oa,ws:"white-space",tor:la,wb:na,wm:fa,hyp:"hyphens",bsz:oi,bsh:Ft,pos:ys,cf:Be,crs:Ye,crc:Le,crw:Ze,cs:De,cw:Ge,cc:Xe,bgcl:mc,bgp:hc,bgpx:dc,bgpy:$c,bgbm:gc,bgo:fc,bgr:uc,bga:xc,bgsz:vc,mcl:ir,mcm:ar,mm:cr,mo:or,mp:lr,mre:nr,msz:pr,mtp:_r,obf:Jt,obp:Mt,cnt:K,ov:_s,ovx:Gt,ovy:Ht,v:vs,cv:zc,o:us,zi:"z-index",zm:Ws,lg:yc,inf:"infinite",r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)"},Ac={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:Object.assign({lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((s,t)=>(s[t]=t,s)),{}),rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},cqu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},fr:{0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2}},Ec)},Rc=s=>`{${s}}`,Vc=Object.assign.bind(Object),Wc=(s,t)=>`${s}:${t};`,Ic=(s,t)=>["@property",s,Rc(Wc("syntax",t.syn||'"*"')+Wc("inherits",t.inh||!1)+(t.ini?Wc("initial-value",t.ini):""))].join(" "),Kc=s=>`var(${s})`,Pc=({l:s,c:t,h:e,a:r=1})=>`oklch(${s} ${t} ${e} / ${r})`,Cc=["l","c","h","a"];class Tc{constructor(s){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=Ac,this._compKeys={},this._compValues={},this._analyzeParams=s=>{var t,e;if(s)for(const t in s)this._params[t]=Vc(this._params[t]||{},s[t]);const{time:r,rem:a,coef:c,szu:o,sz:l,sp:n,rad:p,th:_,fr:b,bp:m,fsz:f,lsp:O,tr:q,sk:E,rot:N,fg:A,fs:R,fb:V,fo:W,ra:I,ro:K,co:P,ca:C,ins:T,cqu:X,cqb:B,cqi:L,cqmin:Y,cqmax:Z,vu:D,vw:G,vh:H,vmin:J,vmax:M}=this._params.root,U=(s=>s&&i(s,(s=>100*Number(s)+"%")))(b);this._params.root=Vc(this._params.root,{cqb:y(B||X),cqi:z(L||X),cqmin:S(Y||X),cqmax:j(Z||X),vw:v(G||D),vh:g(H||D),vmin:x(J||D),vmax:w(M||D),fo:W||c,fg:A||c,fs:R||c,fb:V||U,ra:I||k(c),ro:K||c,ca:C||k(c),co:P||c,ins:T||U,sz:Vc(h(l)||{},o),sp:Vc(h(n)||{},o),rad:h(p),th:h(_),bp:h(m),fsz:h(f),lsp:h(O),tr:h(q),sk:u(E),rot:u(N),perc:U,time:d(r),rem:$(a)});const F=function(s,t){var e={};for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&t.indexOf(r)<0&&(e[r]=s[r]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(s);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(s,r[i])&&(e[r[i]]=s[r[i]])}return e}(this._params,["root"]),Q=Object.entries(F),ss={_mode:{root:{}}},ts={};Q.forEach((([s,t])=>{ss._mode[s]||(ss._mode[s]={}),Object.entries(t).forEach((([t,e])=>{Object.entries(e).forEach((([e,r])=>{const i=this._prepareVarName(t,e);ss._mode[s][i]=r,ss._mode.root[i]||(ss._mode.root[i]=r,ts[t]||(ts[t]={}),ts[t][e]=`var(${i})`)}))}))})),this._compValues=ts,this._compKeys=Object.entries(this._params.root.bp||{}).reduce(((s,[t,e])=>(s[`min_${t}_`]=`@media (min-width:${e})`,s[`max_${t}_`]=`@media (max-width:${e})`,s)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},ss),{$r_:Object.assign(Object.assign({},ss._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=ss._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:ss._mode.dark}}:{}),(null===(e=ss._mode)||void 0===e?void 0:e.light)?{$light_:{$r_:ss._mode.light}}:{})})},this._prepareVarName=(...s)=>["-",this._prefix,...s].join("-"),this._prepareKeyframesName=(...s)=>[this._prefix,...s].join("-"),this.compile=(s,t)=>{const{_:e,kf:r,k:i={},v:a={},c:c}=t,o=this._prepareSelector.bind(this),l=this._parseSelector.bind(this);let n=Vc({},c),p=Vc({},i),_=Vc({_:{}},a),b="";if(e)for(let t in e){const r=e[t];if("c"===r.typ){const e={};Cc.forEach((i=>{const a=t+i,c=this._prepareVarName(s,a);e[i]=c,p["_"+a]=e[i],b+=Ic(c,r)})),_._[t]=Pc({l:Kc(e.l),c:Kc(e.c),h:Kc(e.h),a:Kc(e.a)}),r.all&&(n["_"+t+"l"]=`&lig=>${this._prepareVarName(s,t+"l")}:{1}`,n["_"+t+"c"]=`&chr=>${this._prepareVarName(s,t+"c")}:{1}`,n["_"+t+"h"]=`&hue=>${this._prepareVarName(s,t+"h")}:{1}`,n["_"+t+"a"]=`&alp=>${this._prepareVarName(s,t+"a")}:{1}`)}else{const e=this._prepareVarName(s,t);p["_"+t]=e,_._[t]=Kc(e),b+=Ic(e,r)}}const m=s=>p[s]||this._compKeys[s]||Nc[s],f=s=>_[s]||this._compValues[s]||this._params.root[s],h=s=>s.replaceAll(/\{(.+?)\}/g,((s,t)=>{const[e,r]=t.split(".");if(r){const s=f(e);return(null==s?void 0:s[r])||(null==s?void 0:s.def)}return m(e)})),d=s=>{const t=s.split("?");let e;for(let s in t){const r=t[s],[i,a]=r.split("=>"),[c,o,l]=i.match(/(\w+)(\[[\w,]+\])?/),n=f(o);if(!n)continue;e=n;let p=Object.entries(e);const _=null==l?void 0:l.slice(1,-1).split(",");if(_){const s=new Set(_);p=p.filter((([t,e])=>s.has(t)))}if(a){let[s,t]=a.split("|");void 0===t&&(t=s,s=""),p=p.map((([e,r])=>[s.replace("{0}",e)||e,h(t.replaceAll("{1}",r))]))}(_||a)&&(e=Object.fromEntries(p));break}return e};function $(t,e,r){var i,a,c,n;let p=""+t;if((null===(i=null==t?void 0:t.startsWith)||void 0===i?void 0:i.call(t,"$"))&&(p=m(t.slice(1)),!p))return"";if(Array.isArray(e))return $(p,Object.assign({},...e.map((s=>"string"==typeof s?d(s):s))),r);if(null==e)return"";if("object"==typeof e){const t=!r||(null===(a=r.startsWith)||void 0===a?void 0:a.call(r,"@"))||p.startsWith("&")||p.startsWith("@")?"":"&";if(p.startsWith("_")){const{e:r,m:i,mv:a}=l(p);return i&&"string"!=typeof a?Object.entries(e).reduce(((e,[a,c])=>{let l;return l="object"==typeof c?Object.entries(c).reduce(((s,t)=>s+$(...t,p)),""):c+";",e+t+o({b:s,e:r,m:i,mv:a})+Rc(l)}),""):t+o({b:s,e:r,m:i,mv:a})+Rc(Object.entries(e).reduce(((s,t)=>s+$(...t,p)),""))}return t+p+Rc(Object.entries(e).reduce(((s,t)=>s+$(...t,p)),""))}{let s=""+e;return(null===(c=null==s?void 0:s.startsWith)||void 0===c?void 0:c.call(s,"&"))?$(p,d(s.slice(1)),r):(null===(n=null==s?void 0:s.includes)||void 0===n?void 0:n.call(s,"{"))?$(p,h(s),r):Wc(p,e)}}let u="";if(r)for(let t in r){const e=r[t],i=this._prepareKeyframesName(s,t);p["kf_"+t]=i,u+=`@keyframes ${i} `+Rc(Object.entries(e).reduce(((s,[t,e])=>s+t+(String(+t)===t?"%":"")+Rc(Object.entries(e).reduce(((s,t)=>s+$(...t)),""))),""))}return b+u+Object.entries(n).reduce(((s,t)=>s+$(...t)),"")};const{mode:t,prefix:e,params:r}=s;this._mode=t||"a",this._prefix=e||"eff","c"===this._mode?this._prepareSelector=({b:s,e:t,m:e,mv:r,s:i})=>`.${s}${(t?"__"+t:"")+(e?"_"+e:"")+(e&&r?"_"+r:"")+(i?":"+i:"")}`:this._prepareSelector=({b:s,e:t,m:e,mv:r,s:i})=>`[data-${s}${t?"-"+t:""}${e?'~="'+e+(r?"-"+r:"")+(i?":"+i:"")+'"':""}]`,this._analyzeParams(r)}_parseSelector(s){let t,e,r,i;return s.startsWith("__")?[t,e,r]=s.slice(2).split("_"):[t,e,r]=s.split("_"),r&&([r,i]=r.split(":")),{e:t,m:e,mv:r,s:i}}expandSelector(s,t){const{e:e,m:r,mv:i,s:a}=this._parseSelector(t),c=a&&this._getStateSelector(a);return[this._prepareSelector({b:s,e:e,m:r,mv:i}),this._prepareSelector({b:s,e:e,m:r,mv:i,s:a})+"{"+c]}_getStateSelector(s){const t=s+"_",e=this._compKeys[t]||Nc[t];if(e)return(e.startsWith("&")||e.startsWith("@")?"":"&")+e}}class Xc{constructor(s){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=s=>this._stylesheets[s],this.getAll=()=>this._stylesheets,this.add=(s,t)=>{if(!this._stylesheets[s])return this._stylesheets[s]=t,this._styleSheetsArray.push(t),this.cacheRules(s,t),this.notify(),!0},this.remove=s=>{const t=this.get(s);if(!t)return;const e=this._styleSheetsArray.findIndex((s=>s===t));return e>-1&&(this._styleSheetsArray.splice(e,1),delete this._stylesheets[s],delete this._rules[s],delete this._expandedSelectors[s]),this.notify(),!0},this.pack=(s,t)=>{const e=new CSSStyleSheet;if(e.replaceSync(t),e.cssRules.length)return this.add(s,e);console.log(`StyleSheet '${s}' is empty`)},this.cacheRules=(s,t)=>{[...t.cssRules].forEach((t=>{const e=t.cssText.split(" {")[0];e&&(this._rules[s]||(this._rules[s]={}),this._rules[s][e]=t)})),this._expandedSelectors[s]=new Set},this.getExpandedSelectors=s=>this._expandedSelectors[s],this.expandRule=(s,t,e)=>{const r=this._rules[s];if(!r)return void console.log(`No stylesheet found with key '${s}'`);const i=r[t];if(!i)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${s}'`);const[a,c]=i.cssText.split("{");if(i.parentStyleSheet){const t=e+"{"+c+"}",a=i.parentStyleSheet.insertRule(t,i.parentStyleSheet.cssRules.length),o=i.parentStyleSheet.cssRules[a],l=e.split("{")[0];return r[l]=o,this._expandedSelectors[s].add(l),!0}},this.apply=s=>{s.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=s=>{this._listeners.push(new WeakRef(s)),this.apply(s)},this.unregisterNode=s=>{const t=this._listeners.findIndex((t=>t.deref()===s));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((s,t)=>{const e=t.deref();return e&&(this.apply(e),s.push(t)),s}),[])},s)for(let t in s)this.pack(t,s[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}const Bc="style-provider";const Lc=((...s)=>u(Object.fromEntries(s.map((s=>[s,s])))))(-20,-15,-5,10,90),Yc="In",Zc="Out",Dc="Down",Gc="Up",Hc="Left",Jc="Right",Mc="zoom",Uc=Mc+Yc,Fc=Mc+Zc,Qc="pulse",so="bounce",to=so+Yc,eo=so+Zc,ro="fade",io=ro+Yc,ao=io+Dc,co=io+Gc,oo=io+Hc,lo=io+Jc,no=ro+Zc,po=no+Dc,_o=no+Gc,bo=no+Hc,mo=no+Jc,fo="flip",ho=fo+Yc+"x",$o=fo+Yc+"y",uo=fo+Zc+"x",vo=fo+Zc+"y",go="slide",xo=go+Yc,wo=xo+Dc,yo=xo+Gc,zo=xo+Jc,So=xo+Hc,jo=go+Zc,ko=jo+Dc,Oo=jo+Gc,qo=jo+Jc,Eo=jo+Hc,No="heartBeat",Ao="perspective"+r("25rem");var Ro,Vo={kf:{[Uc]:{0:{$o:0,$tf:a(e(.25,.25,.25))},50:{$o:1}},[Fc]:{0:{$o:1},50:{$o:0,$tf:a(e(.25,.25,.25))},to:{$o:0}},[Qc]:{0:{$tf:c(1)},50:{$tf:a(e(1.05,1.05,1.05))},to:{$tf:c(1)}},[No]:{0:{$tf:o(1)},15:{$tf:o(1.25)},30:{$tf:o(1)},45:{$tf:o(1.25)},70:{$tf:o(0)}},[to]:{"0, 20%, 40%, 60%, 80%, to":{$atf:"cubic-bezier(.215,.61,.355,1)"},0:{$o:0,$tf:a(e(.25,.25,.25))},20:{$tf:a(e(1.1,1.1,1.1))},40:{$tf:a(e(.9,.9,.9))},60:{$o:1,$tf:a(e(1.05,1.05,1.05))},80:{$tf:a(e(.95,.95,.95))},to:{$o:1,$tf:c(1)}},[eo]:{20:{$tf:a(e(.9,.9,.9))},"50%, 55%":{$o:1,$tf:a(e(1.1,1.1,1.1))},to:{$o:0,$tf:a(e(.3,.3,.3))}},[io]:{0:{$o:0},to:{$o:1}},[ao]:{0:{$o:0,$tf:l(0,"100%",0)},to:{$o:1,$tf:n(0)}},[oo]:{0:{$o:0,$tf:l("-100%",0,0)},to:{$o:1,$tf:n(0)}},[lo]:{0:{$o:0,$tf:l("-100%",0,0)},to:{$o:1,$tf:n(0)}},[co]:{0:{$o:0,$tf:l(0,"100%",0)},to:{$o:1,$tf:n(0)}},[no]:{0:{$o:1},to:{$o:0}},[po]:{0:{$o:1},to:{$o:0,$tf:l(0,"-100%",0)}},[bo]:{0:{$o:1},to:{$o:0,$tf:l("-100%",0,0)}},[mo]:{0:{$o:1},to:{$o:0,$tf:l("100%",0,0)}},[_o]:{0:{$o:1},to:{$o:0,$tf:l(0,"-100%",0)}},[ho]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(Ao,p(Lc[90]))},40:{$atf:"{ttf.ei}",$tf:t(Ao,p(Lc[-20]))},60:{$o:1,$tf:t(Ao,p(Lc[10]))},80:{$tf:t(Ao,p(Lc[-5]))},to:{$tf:Ao}},[$o]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(Ao,_(Lc[90]))},40:{$atf:"{ttf.ei}",$tf:t(Ao,_(Lc[-20]))},60:{$o:1,$tf:t(Ao,_(Lc[10]))},80:{$tf:t(Ao,_(Lc[-5]))},to:{$tf:Ao}},[uo]:{0:{$tf:Ao},30:{$o:1,$tf:t(Ao,p(Lc[-20]))},to:{$o:0,$tf:t(Ao,p(Lc[90]))}},[vo]:{0:{$tf:Ao},30:{$o:1,$tf:t(Ao,_(Lc[-15]))},to:{$o:0,$tf:t(Ao,_(Lc[90]))}},[wo]:{0:{$tf:l(0,"-100%",0),$v:"{v.v}"},to:{$tf:n(0)}},[So]:{0:{$tf:l("-100%",0,0),$v:"{v.v}"},to:{$tf:n(0)}},[zo]:{0:{$tf:l("100%",0,0),$v:"{v.v}"},to:{$tf:n(0)}},[yo]:{0:{$tf:l(0,"100%",0),$v:"{v.v}"},to:{$tf:n(0)}},[ko]:{0:{$tf:n(0)},to:{$tf:l(0,"100%",0),$v:"{v.h}"}},[Eo]:{0:{$tf:n(0)},to:{$tf:l("-100%",0,0),$v:"{v.h}"}},[qo]:{0:{$tf:n(0)},to:{$tf:l("100%",0,0),$v:"{v.h}"}},[Oo]:{0:{$tf:n(0)},to:{$tf:l(0,"-100%",0),$v:"{v.h}"}}},c:(Ro=[Uc,Fc,Qc,No,to,eo,io,ao,oo,lo,co,no,po,bo,mo,_o,ho,$o,uo,vo,wo,So,zo,yo,ko,Eo,qo,Oo],Ro.reduce(((s,t)=>(s["_"+t+"_"]={$an:`{kf_${t}}`},s)),{}))},Wo={t:"",k:{},c:{$:{$p:0,$m:0,$bor:"{uni.no}",$bsz:"{box.b}",$ba_:{$bsz:"{box.b}"}},[f(e("a",(s=>s+":link")("a"),(s=>s+":visited")("a"),(s=>s+":hover")("a")))]:{$td:"{uni.no}"},[f("aside,nav,footer,header,section,main")]:{$dis:"{dis.b}"},":host,html":{$lh:1.5},[f("menu,ol,ul")]:{$ls:"{ls.no}"},[f("input,textarea,button,select")]:{$ff:"{uni.inh}",$fsz:"{uni.inh}",$c:"{uni.inh}",$bgc:"transparent"},[f(e(m("input"),b("input"),m("button"),b("button")))]:{$o:"none"}}},Io=Object.freeze({__proto__:null,kf:Vo,reset:Wo});const Ko="{_.sz}",Po=`calc(-1 * ${Ko})`,Co=`calc(0.5 * ${Ko})`,To=`calc(-0.5 * ${Ko})`,Xo="{_.c}";var Bo={_:{sz:{},c:{typ:"c",wrap:!0}},c:{_:{$pos:"{pos.r}",$_cl:"{lig.def}",$_ch:"{hue.def}",$_cc:"{chr.def}",$_ca:1,$_sz:"{sp.m}"},_ssz:"&sp=>{_sz}:{1}",_shp:{r:{$bsh:t(Ko,0,Co,To,Xo)},l:{$bsh:t(Po,0,Co,To,Xo)},t:{$bsh:t(0,Po,Co,To,Xo)},b:{$bsh:t(0,Ko,Co,To,Xo)},x:{$bsh:e(t(Ko,0,Co,To,Xo),t(Po,0,Co,To,Xo))},y:{$bsh:e(t(0,Po,Co,To,Xo),t(0,Ko,Co,To,Xo))},f:{$bsh:t(0,0,Ko,Co,Xo)},tr:{$bsh:t(Ko,Po,Ko,To,Xo)},tl:{$bsh:t(Po,Po,Ko,To,Xo)},br:{$bsh:t(Ko,Ko,Ko,To,Xo)},bl:{$bsh:t(Po,Ko,Ko,To,Xo)}},_bsz:"&box[c,b]=>{bsz}:{1}"}};const Lo=["sz","perc"],Yo=["cqw","cqmin","cqmax"],Zo=["vw","vmin","vmax"],Do=["cqh","cqmin","cqmax"],Go=["vh","vmin","vmax"];var Ho={c:{_w:[...Lo.map((s=>`&${s}=>{w}:{1}`)),...Yo.map((s=>`&${s}=>{0}${s}|{w}:{1}`)),...Zo.map((s=>`&${s}=>{0}${s}|{w}:{1}`))],_maxw:[...Lo.map((s=>`&${s}=>{maxw}:{1}`)),...Yo.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`)),...Zo.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`))],_minw:[...Lo.map((s=>`&${s}=>{minw}:{1}`)),...Yo.map((s=>`&${s}=>{0}${s}|{minw}:{1}`)),...Zo.map((s=>`&${s}=>{0}${s}|{minw}:{1}`))],_h:[...Lo.map((s=>`&${s}=>{h}:{1}`)),...Do.map((s=>`&${s}=>{h}:{1}`)),...Go.map((s=>`&${s}=>{0}${s}|{h}:{1}`))],_maxh:[...Lo.map((s=>`&${s}=>{maxh}:{1}`)),...Do.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`)),...Go.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`))],_minh:[...Lo.map((s=>`&${s}=>{minh}:{1}`)),...Do.map((s=>`&${s}=>{0}${s}|{minh}:{1}`)),...Go.map((s=>`&${s}=>{0}${s}|{minh}:{1}`))],_ar:"&rat=>{ar}:{1}"}};const Jo=["sz","perc"],Mo=["cqb","cqmin","cqmax"],Uo=["vw","vh","vmin","vmax"],Fo=["cqi","cqmin","cqmax"];var Qo,sl={c:{_b:[...Jo.map((s=>`&${s}=>{b}:{1}`)),...Mo.map((s=>`&${s}=>{0}${s}|{b}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{b}:{1}`))],_maxb:[...Jo.map((s=>`&${s}=>{maxb}:{1}`)),...Mo.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`))],_minb:[...Jo.map((s=>`&${s}=>{minb}:{1}`)),...Mo.map((s=>`&${s}=>{0}${s}|{minb}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{minb}:{1}`))],_i:[...Jo.map((s=>`&${s}=>{i}:{1}`)),...Fo.map((s=>`&${s}=>{0}${s}|{i}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{i}:{1}`))],_maxi:[...Jo.map((s=>`&${s}=>{maxi}:{1}`)),...Fo.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`))],_mini:[...Jo.map((s=>`&${s}=>{mini}:{1}`)),...Fo.map((s=>`&${s}=>{0}${s}|{mini}:{1}`)),...Uo.map((s=>`&${s}=>{0}${s}|{mini}:{1}`))],_ar:"&rat=>{ar}:{1}"}},tl={_:{scx:{ini:"0"},scy:{ini:"0"},skx:{ini:"0"},sky:{ini:"0"},x:{ini:"0"},y:{ini:"0"},z:{ini:"0"}},c:{_:{$sc:"{_scx} {_scy}",$tf:"skew({_skx},{_sky})",$tr:"{_x} {_y} {_z}"},_x:"&tr=>{_x}:{1}",_y:"&tr=>{_y}:{1}",_z:"&tr=>{_z}:{1}",_skx:"&sk=>{_skx}:{1}",_sky:"&sk=>{_sky}:{1}",_scx:"&sc=>{_scx}:{1}",_scy:"&sc=>{_scy}:{1}",_sc:"&sc=>{sc}:{1}",_rx:"&rot=>{rot}:X {1}",_ry:"&rot=>{rot}:Y {1}",_rz:"&rot=>{rot}:Z {1}",_zm:"&zm=>{zm}:{1}",_per:"&per=>{per}:{1}",_pero:"&posv=>{pero}:{1}",_b:"&box[c,b,f,s,v]=>{tfb}:{1}",_o:"&pos=>{tfo}:{1}",_s:{p:"{tfs}:preserve-3",f:"{tfs}:flat"}}},el=Object.freeze({__proto__:null,a:{c:{_dur:"&time=>{adur}:{1}",_del:"&time=>{adel}:{1}",_ps:"&aps=>{aps}:{1}",_fm:"&afm=>{afm}:{1}",_dir:"&adir=>{adir}:{1}",_ic:"&ic=>{aic}:{1}",_tf:"&ttf=>{atf}:{1}"}},ac:{_:{cr:{typ:"c",all:!0},ac:{typ:"c",all:!0}},c:{_:{$_crc:"{chr.xs}",$_crh:"{hue.def}",$_crl:"{lig.c}",$_cra:1,$_acc:"{chr.def}",$_acl:"{lig.c}",$_ach:"{hue.def}",$_aca:1},_ac_:{$acc:"{_.ac}"},_cc_:{$ctc:"{_.cr}"}}},ag:{c:{_app:"&app=>{app}:{1}",_wc:"&wc=>{wc}:{1}"}},b:{_:{c:{typ:"c",all:!0}},c:{_:{$bw:0,$br:0,$bs:"{ls.s}",$bc:"{_.c}"},_w:"&th=>{bw}:{1}",_xw:"&th=>{blw}:{1};{brw}:{1}",_yw:"&th=>{btw}:{1};{bbw}:{1}",_rw:"&th=>{brw}:{1}",_lw:"&th=>{blw}:{1}",_tw:"&th=>{btw}:{1}",_bw:"&th=>{bbw}:{1}",_r:"&rad=>{br}:{1}",_lr:"&rad=>{btlr}:{1};{bblr}:{1}",_rr:"&rad=>{btrr}:{1};{bbrr}:{1}",_tr:"&rad=>{btlr}:{1};{btrr}:{1}",_br:"&rad=>{bblr}:{1};{bbrr}:{1}",_tlr:"&rad=>{btlr}:{1}",_trr:"&rad=>{btrr}:{1}",_blr:"&rad=>{bblr}:{1}",_brr:"&rad=>{bbrr}:{1}",_s:"&lst=>{bs}:{1}"}},be:{c:{_iw:"&th=>{biw}:{1}",_blw:"&th=>{bblw}:{1}",_bew:"&th=>{bbew}:{1}",_bsw:"&th=>{bbsw}:{1}",_iew:"&th=>{biew}:{1}",_isw:"&th=>{bisw}:{1}",_bsr:"&rad=>{bser}:{1};{bssr}:{1}",_isr:"&rad=>{besr}:{1};{bssr}:{1}",_ber:"&rad=>{besr}:{1};{beer}:{1}",_ier:"&rad=>{bser}:{1};{beer}:{1}",_esr:"&rad=>{besr}:{1}",_ssr:"&rad=>{bssr}:{1}",_ser:"&rad=>{bser}:{1}",_eer:"&rad=>{beer}:{1}"}},bg:{c:{_bm:"&bgbm=>{bgbm}:{1}",_a:"&bga=>{bga}:{1}",_cl:"&box[c,p,b,t]=>{bgcl}:{1}",_o:"&box[c,p,b]=>{bgo}:{1}",_p:"&posv=>{bgp}:{1}",_px:"&posv[r,l,c]=>{bgpx}:{1}",_py:"&posv[t,b,c]=>{bgpy}:{1}",_r:"&rep=>{bgr}:{1}",_sz:"&csz[cv,cn,a]=>{bgsz}:{1}"}},bx:Bo,c:{_:{c:{typ:"c",all:!0},b:{typ:"c",all:!0},s:{typ:"c",all:!0},f:{typ:"c",all:!0}},c:{_:{$_cc:"{chr.xs}",$_ch:"{hue.def}",$_cl:"{lig.c}",$_ca:1,$_bc:"{chr.xs}",$_bl:"{lig.n}",$_bh:"{hue.def}",$_ba:1,$_fc:"{chr.xs}",$_fh:"{hue.def}",$_fl:"{lig.c}",$_fa:1,$_sc:"{chr.xs}",$_sl:"{lig.n}",$_sh:"{hue.def}",$_sa:1},_b_:{$bgc:"{_.b}"},_c_:{$c:"{_.c}"},_f_:{$fi:"{_.f}"},_s_:{$st:"{_.s}"}}},col:{_:{c:{typ:"c",wrap:!0}},c:{_:{$_cc:"{c.def}",$_ch:"{h.def}",$_cl:"{l.def}",$crc:"{_.c}"},_cf:"&cf=>{cf}:{1}",_cg:"&sp=>{cg}:{1}",_crs:"&lst=>{crs}:{1}",_crw:"&th=>{crw}:{1}",_cs:"&cs=>{cs}:{1}",_cw:"&sz=>{cw}:{1}",_cc:"&sp=>{cc}:{1}"}},f:{c:{_ls:"&ls=>{ls}:{1}",_lh:"&lh=>{lh}:{1}",_lb:"&lb=>{lb}:{1}",_st:"&fst=>{fst}:{1}",_w:"&fwg=>{fwg}:{1}",_f:"&ff=>{ff}:{1}",_sz:"&fsz=>{fsz}:{1}"}},fc:{c:{_:{$dis:"{dis.f}"},_dis:"&dis[if,f]=>{dis}:{1}",_dir:"&fd=>{fd}:{1}",_w:"&fw=>{fw}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se,fs,fe]=>{jc}:{1}",_ai:"&ali[c,st,b,fs,fe]=>{ai}:{1}",_ac:"&ali[c,st,sb,sa,se,fs,fe]=>{ac}:{1}"}},fi:{c:{_as:"&ali[s,e,c,st,fs,fe]=>{as}:{1}",_fg:"&fg=>{fg}:{1}",_fs:"&fs=>{fs}:{1}",_fb:"&fb=>{fb}:{1}",_o:"&fo=>{ord}:{1}"}},gc:{c:{_:{$dis:"{dis.g}"},_dis:"&dis[g,ig]=>{dis}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se]=>{jc}:{1}",_ji:"&ali[s,e,c,st]=>{ji}:{1}",_ai:"&ali[s,e,c,st,b]=>{ai}:{1}",_ac:"&ali[sb,se,sa,c,st]=>{ac}:{1}",_gtr:"&gtr=>{gtr}:{1}?coef=>{gtr}:repeat({1},1fr)",_gtc:"&gtc=>{gtc}:{1}?coef=>{gtc}:repeat({1},1fr)",_rg:"&sp=>{rg}:{1}",_cg:"&sp=>{cg}:{1}"}},gi:{c:{_as:"&ali[s,e,c,st]=>{as}:{1}",_js:"&ali[s,e,c,st]=>{js}:{1}",_ra:"&ra=>{gre}:{1}",_ca:"&ca=>{gce}:{1}",_ro:"&ro=>{grs}:{1}",_co:"&co=>{gcs}:{1}"}},i:{c:{_t:"&ins=>{t}:{1}",_b:"&ins=>{b}:{1}",_l:"&ins=>{l}:{1}",_r:"&ins=>{r}:{1}",_x:"&ins=>{r}:{1};{l}:{1}",_y:"&ins=>{t}:{1};{b}:{1}",_ib:"&ins=>{ib}:{1}",_ibe:"&ins=>{ibe}:{1}",_ibs:"&ins=>{ibs}:{1}",_ii:"&ins=>{ii}:{1}",_iie:"&ins=>{iie}:{1}",_iis:"&ins=>{iis}:{1}"}},ind:{c:{_m:"&sp=>{m}:{1}",_mx:"&sp=>{ml}:{1};{mr}:{1}",_my:"&sp=>{mt}:{1};{mb}:{1}",_mt:"&sp=>{mt}:{1}",_ml:"&sp=>{ml}:{1}",_mr:"&sp=>{mr}:{1}",_mb:"&sp=>{mb}:{1}",_p:"&sp=>{p}:{1}",_px:"&sp=>{pl}:{1};{pr}:{1}",_py:"&sp=>{pt}:{1};{pb}:{1}",_pt:"&sp=>{pt}:{1}",_pl:"&sp=>{pl}:{1}",_pr:"&sp=>{pr}:{1}",_pb:"&sp=>{pb}:{1}"}},mk:{c:{_clip:"&box[c,p,b,f,s,v]=>{mcl}:{1}",_comp:"&mcm=>{mcm}:{1}",_m:"&mm=>{mm}:{1}",_o:"&box[c,p,b,f,s,v]=>{mo}:{1}",_p:"&posv=>{mp}:{1}",_r:"&rep=>{mre}:{1}",_sz:"&csz[cv,cn,a]=>{msz}:{1}",_t:"&mtp=>{mtp}:{1}"}},o:{_:{oc:{typ:"c",all:!0}},c:{_:{$oc:"{_.oc}",$ow:0,$os:"{ls.s}"},_oo:"&sp=>{oo}:{1}",_os:"&lst=>{os}:{1}",_ow:"&th=>{ow}:{1}"}},obj:{c:{_f:"&csz[cv,cn,a]=>{obf}:{1}",_p:"&posv=>{obp}:{1}"}},sc:{_:{st:{}},c:{_:{">*":{$sst:"{_.st}"}},_b:"&sb=>{sb}:{1}",_sa:"&ali[s,e,c,no]=>{ssa}:{1}",_ss:"&sss=>{sss}:{1}",_st:"&sst=>{st}:{1}",_m:"&sp=>{sm}:{1}",_mx:"&sp=>{sml}:{1};{smr}:{1}",_my:"&sp=>{smt}:{1};{smb}:{1}",_mt:"&sp=>{smt}:{1}",_ml:"&sp=>{sml}:{1}",_mr:"&sp=>{smr}:{1}",_mb:"&sp=>{smb}:{1}",_p:"&sp=>{sp}:{1}",_px:"&sp=>{spl}:{1};{spr}:{1}",_py:"&sp=>{spt}:{1};{spb}:{1}",_pt:"&sp=>{spt}:{1}",_pl:"&sp=>{spl}:{1}",_pr:"&sp=>{spr}:{1}",_pb:"&sp=>{spb}:{1}"}},sce:{c:{_mbl:"&sp=>{smbl}:{1}",_mbe:"&sp=>{smbe}:{1}",_mbs:"&sp=>{smbs}:{1}",_mi:"&sp=>{smi}:{1}",_mie:"&sp=>{smie}:{1}",_mis:"&sp=>{smis}:{1}",_pbl:"&sp=>{spbl}:{1}",_pbe:"&sp=>{spbe}:{1}",_pbs:"&sp=>{spbs}:{1}",_pi:"&sp=>{spi}:{1}",_pie:"&sp=>{spie}:{1}",_pis:"&sp=>{spis}:{1}"}},sz:Ho,sze:sl,t:{c:{_:{$tdur:"{time.s}",$tdel:"{time.no}"},_tdur:"&time=>{tdur}:{1}",_tdel:"&time=>{tdel}:{1}",_tb:"&tb=>{tb}:{1}",_tp:"&tp=>{tp}:{1}",_ttf:"&ttf=>{ttf}:{1}"}},tf:tl,tx:{c:{_tt:"&tt=>{tt}:{1}",_td:"&td=>{td}:{1}",_ta:"&ta=>{ta}:{1}",_to:"&ov[c,e]=>{to}:{1}",_ws:"&ws=>{ws}:{1}",_wb:"&wb=>{wb}:{1}",_wm:"&wm=>{wm}:{1}",_hyp:"&hyp=>{hyp}:{1}",_tor:"&tor=>{tor}:{1}"}},u:{c:{_pe:"&pe=>{pe}:{1}",_us:"&us=>{us}:{1}",_toa:"&toa=>{toa}:{1}",_res:"&res=>{res}:{1}",_cur:"&cur=>{cur}:{1}"}},v:{c:{_pos:"&pos=>{pos}:{1}",_ov:"&ov=>{ov}:{1}",_ovx:"&ov=>{ovx}:{1}",_ovy:"&ov=>{ovy}:{1}",_v:"&v[v,h,c]=>{v}:{1}",_o:"&o=>{o}:{1}",_zi:"&zi=>{zi}:{1}",_cv:"&v[v,h,a]=>{v}:{1}"}}});Qo={config:{styles:Object.assign(Object.assign({},el),Io)}},customElements.define((null==Qo?void 0:Qo.name)||Bc,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}constructor(){super(),this.getSettings=()=>{var s;const t=null===(s=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===s?void 0:s.textContent;return t?JSON.parse(t):(null==Qo?void 0:Qo.config)||{}},this.compileStyleSheet=(s,t)=>{var e,r;const i=null===(e=this.processor)||void 0===e?void 0:e.compile(s,t);if(i)return null===(r=this.manager)||void 0===r?void 0:r.pack(s,i)},this.expandStyleSheet=(s,t)=>{var e;const r=null===(e=this.manager)||void 0===e?void 0:e.getExpandedSelectors(s);if(this.processor&&r){const e=new Set(t).difference(r),i=e.size;return i&&this.processor&&e.keys().forEach((t=>{var e;const[r,i]=this.processor.expandSelector(s,t);null===(e=this.manager)||void 0===e||e.expandRule(s,r,i)})),i}},this.processStyles=(s,t)=>{if(s)for(let t in s){const e=s[t];this.compileStyleSheet(t,e)}if(t)for(let s in t){const e=t[s];this.expandStyleSheet(s,e)}return!0}}connectedCallback(){const s=this.getSettings(),{params:t,styles:e,ext:r}=s;this.processor=new Tc({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new Xc({init:`${Bc} {display: contents;}`+this.processor.baseStyles}),this.processStyles(e,r),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}});
1
+ "function"==typeof SuppressedError&&SuppressedError;const s=(...s)=>s.join("-"),t=(...s)=>s.join(" "),e=(...s)=>s.join(","),r=s=>`(${s})`,i=(s,t)=>((s,t)=>Object.fromEntries(Object.entries(s).map((s=>t(s)))))(s,(s=>[s[0],t(s[1])])),c=s=>"scale3d"+r(s),a=s=>"scaleX"+r(s),o=s=>"scale"+r(s),l=(s,t,i)=>"translate3d"+r(e(s,t,i)),n=s=>"translateZ"+r(s),p=s=>"rotateX"+r(s),_=s=>"rotateY"+r(s),b=s=>s+":active",m=s=>s+":focus",f=s=>":where"+r(s),h=s=>s&&i(s,(s=>100*Number(s)+"%")),d=s=>s&&i(s,(s=>s+"rem")),$=s=>s&&i(s,(s=>s+"ms")),u=s=>s&&i(s,(s=>s+"px")),v=s=>s&&i(s,(s=>s+"deg")),g=s=>s&&i(s,(s=>s+"vw")),w=s=>s&&i(s,(s=>s+"vh")),x=s=>s&&i(s,(s=>s+"vmin")),y=s=>s&&i(s,(s=>s+"vmax")),z=s=>s&&i(s,(s=>s+"cqb")),S=s=>s&&i(s,(s=>s+"cqi")),j=s=>s&&i(s,(s=>s+"cqw")),k=s=>s&&i(s,(s=>s+"cqh")),O=s=>s&&i(s,(s=>s+"cqmin")),q=s=>s&&i(s,(s=>s+"cqmax")),E=s=>s&&i(s,(s=>"span "+s)),N="x",A="y",R="horizontal",V="vertical",W="text",I="font",K="column",P="max",C="min",T="content",X=T+"s",B="items",L="self",Y="inline",Z="block",D="size",G="radius",H="direction",J="outline",M="style",U="end",F="start",Q="center",ss="word",ts="line",es="break",rs="wrap",is="nowarp",cs="template",as="rule",os="object",ls="top",ns="left",ps="bottom",_s="right",bs="width",ms="color",fs="overflow",hs="align",ds="type",$s="transform",us="all",vs="height",gs="normal",ws="opacity",xs="visibility",ys="scale",zs="box",Ss="border",js="position",ks="none",Os="auto",qs="fill",Es="stroke",Ns="reverse",As="space",Rs="fixed",Vs="origin",Ws="alpha",Is="luminance",Ks="clip",Ps="zoom",Cs="scroll",Ts="padding",Xs="margin",Bs="both",Ls="mode",Ys="repeat",Zs="light",Ds="linear",Gs="hidden",Hs=s(Ss,ps),Js=s(Ss,ns),Ms=s(Ss,_s),Us=s(Ss,ls),Fs=s(Ss,Z),Qs=s(Ss,Y),st=s(Fs,F),tt=s(Fs,U),et=s(Qs,F),rt=s(Qs,U),it=s(Ss,bs),ct=s(Hs,bs),at=s(Js,bs),ot=s(Ms,bs),lt=s(Us,bs),nt=s(Fs,bs),pt=s(Qs,bs),_t=s(st,bs),bt=s(tt,bs),mt=s(et,bs),ft=s(rt,bs),ht=s(Ss,G),dt=s(Ss,ps,ns,G),$t=s(Ss,ps,_s,G),ut=s(Ss,ls,ns,G),vt=s(Ss,ls,_s,G),gt=s(Ss,F,U,G),wt=s(Ss,F,F,G),xt=s(Ss,U,U,G),yt=s(Ss,U,F,G),zt=s(Ss,ms),St=s(Js,ms),jt=s(Ms,ms),kt=s(Us,ms),Ot=s(Hs,ms),qt=s(Fs,ms),Et=s(Qs,ms),Nt=s(st,ms),At=s(tt,ms),Rt=s(et,ms),Vt=s(rt,ms),Wt=s(Ss,M),It=s(Js,M),Kt=s(Ms,M),Pt=s(Us,M),Ct=s(Hs,M),Tt=s(Fs,M),Xt=s(Qs,M),Bt=s(st,M),Lt=s(tt,M),Yt=s(et,M),Zt=s(rt,M),Dt=s(J,ms),Gt=s(J,bs),Ht=s(J,M),Jt=s(J,"offset"),Mt=s(fs,N),Ut=s(fs,A),Ft=s(os,"fit"),Qt=s(os,js),se=s(ys,"down"),te=s(zs,"shadow"),ee=s(Ts,zs),re=s(Ss,zs),ie=s(T,zs),ce=s(qs,zs),ae=s(Es,zs),oe=s("view",zs),le=s("no",Ks),ne=s(Ys,N),pe=s(Ys,A),_e=s("no",Ys),be=s(Ts,ns),me=s(Ts,ls),fe=s(Ts,_s),he=s(Ts,ps),de=s(Xs,ns),$e=s(Xs,ls),ue=s(Xs,_s),ve=s(Xs,ps),ge="grid",we="row",xe="justify",ye="flex",ze=s(Y,ye),Se=s(ye,"basis"),je=s(ye,"grow"),ke=s(ye,"shrink"),Oe=s(ye,H),qe=s(ye,rs),Ee=s(xe,T),Ne=s(xe,B),Ae=s(hs,B),Re=s(hs,T),Ve=s(hs,L),We=s(ge,cs,we+"s"),Ie=s(ge,cs,K+"s"),Ke=s(we,"gap"),Pe=s(K,"gap"),Ce=s(xe,L),Te=s(ge,we,U),Xe=s(ge,we,F),Be=s(ge,K,U),Le=s(ge,K,F),Ye=s(K,"count"),Ze=s(K,qs),De=s(K,as,ms),Ge=s(K,as,M),He=s(K,as,bs),Je=s(K,"span"),Me=s(K,bs),Ue=s(we,Ns),Fe=s(K,Ns),Qe=s(rs,Ns),sr=s(ye,U),tr=s(ye,F),er=s(As,"between"),rr=s(As,"around"),ir=s(As,"evenly"),cr=s(Y,ge),ar="mask",or=s(ar,Ks),lr=s(ar,"composite"),nr=s(ar,Ls),pr=s(ar,Vs),_r=s(ar,js),br=s(ar,Ys),mr=s(ar,D),fr=s(ar,ds),hr="timing-function",dr="delay",$r="duration",ur="animation",vr=s(ur,"name"),gr=s(ur,hr),wr=s(ur,H),xr=s(ur,"iteration-count"),yr=s(ur,$r),zr=s(ur,dr),Sr=ur+"-play-state",jr=s(ur,qs,Ls),kr="transition",Or=kr+"-behavior",qr=kr+"-property",Er=s(kr,hr),Nr=s(kr,$r),Ar=s(kr,dr),Rr="alternate",Vr=s(Rr,Ns),Wr="-out",Ir="ease",Kr=Ir+"-in",Pr=Kr+Wr,Cr=Ir+Wr,Tr="step",Xr=s(Tr,F),Br=s(Tr,U),Lr="translate",Yr="rotate",Zr="perspective",Dr=s(Zr,Vs),Gr=t(ns,ls),Hr=t(_s,ls),Jr=t(ns,ps),Mr=t(_s,ps),Ur="inset",Fr=s($s,zs),Qr=s($s,Vs),si=s($s,M),ti=s(Ur,Z),ei=s(Ur,Z,U),ri=s(Ur,Z,F),ii=s(Ur,Y),ci=s(Ur,Y,U),ai=s(Ur,Y,F),oi=s("fit",T),li=s(C,T),ni=s(P,T),pi=s(zs,"sizing"),_i=s(P,bs),bi=s(C,bs),mi=s(P,vs),fi=s(C,vs),hi=s(Z,D),di=s(P,hi),$i=s(C,hi),ui=s(Y,D),vi=s(P,ui),gi=s(C,ui),wi="snap",xi=s(Cs,"behavior"),yi=s(Cs,Xs),zi=s(Cs,Xs,ls),Si=s(Cs,Xs,ps),ji=s(Cs,Xs,ns),ki=s(Cs,Xs,_s),Oi=s(Cs,Xs,Z),qi=s(Cs,Xs,Z,U),Ei=s(Cs,Xs,Z,F),Ni=s(Cs,Xs,Y),Ai=s(Cs,Xs,Y,U),Ri=s(Cs,Xs,Y,F),Vi=s(Cs,Ts),Wi=s(Cs,Ts,ls),Ii=s(Cs,Ts,ps),Ki=s(Cs,Ts,ns),Pi=s(Cs,Ts,_s),Ci=s(Cs,Ts,Z),Ti=s(Cs,Ts,Z,U),Xi=s(Cs,Ts,Z,F),Bi=s(Cs,Ts,Y),Li=s(Cs,Ts,Y,U),Yi=s(Cs,Ts,Y,F),Zi=s(Cs,wi,hs),Di=s(Cs,wi,"stop"),Gi=s(Cs,wi,ds),Hi="mandatory",Ji=t(N,Hi),Mi=t(A,Hi),Ui=t(Z,Hi),Fi=t(Y,Hi),Qi=t(Bs,Hi),sc="proximity",tc=t(N,sc),ec=t(A,sc),rc=t(Z,sc),ic=t(Y,sc),cc=t(Bs,sc),ac=s(W,"decoration"),oc=s(ac,ms),lc=s(W,$s),nc=s(W,hs),pc=s(W,fs),_c=s(W,"orientation"),bc=s(ss,es),mc=s(I,D),fc=I+"-weight",hc=I+"-family",dc=s(I,M),$c=s("writing",Ls),uc=s(ts,vs),vc=s(ts,es),gc=ts+"-through",wc="over"+ts,xc="under"+ts,yc="pre",zc=s(yc,ts),Sc=s(yc,rs),jc=es+"-spaces",kc=s(es,us),Oc=s(es,ss),qc=R+"-tb",Ec=V+"-lr",Nc=V+"-rl",Ac="keep-"+us,Rc="pointer",Vc="pan",Wc=s(Vc,N),Ic=s(Vc,ns),Kc=s(Vc,_s),Pc=s(Vc,A),Cc=s(Vc,"up"),Tc=s(Vc,"down"),Xc=s("pinch",Ps),Bc=s(V,W),Lc="grab",Yc=Lc+"bing",Zc="resize",Dc="col-"+Zc,Gc="row-"+Zc,Hc="n-"+Zc,Jc="e-"+Zc,Mc="s-"+Zc,Uc="w-"+Zc,Fc="ne-"+Zc,Qc="ew-"+Zc,sa="nw-"+Zc,ta="se-"+Zc,ea="sw-"+Zc,ra="ns-"+Zc,ia="nesw-"+Zc,ca="nwse-"+Zc,aa=s(Ps,"in"),oa=s(Ps,"out"),la=s(Rc,"events"),na=s(Cs,js),pa=s("caret",ms),_a=s("accent",ms),ba="filter",ma="backdrop-"+ba,fa="background",ha=s(fa,ms),da=s(fa,Ks),$a=s(fa,Vs),ua=s(fa,js),va=s(fa,js,N),ga=s(fa,js,A),wa=s(fa,Ys),xa=s(fa,D),ya=s(fa,"blend",Ls),za=s(fa,"attachment"),Sa="gradient",ja=s(Ds,Sa);s("radial",Sa),s("conic",Sa);const ka=s(T,xs);s(Es,bs),s(qs,as);const Oa=s(ms,"dodge"),qa=s(ms,"burn"),Ea=s("hard",Zs),Na=s("soft",Zs);s(ms,"mix");const Aa="revert",Ra=s(Aa,"layer"),Va="container",Wa=s(Va,ds),Ia=s(Va,"name"),Ka={0:0,"1/4":25,"1/2":50,"3/4":75,1:100},Pa={0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},Ca=[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((s,t)=>(s[t]=t,s)),{}),Ta={lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:Ca,rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0,min:li,max:ni,fit:oi},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vw:Ka,vh:Ka,vmin:Ka,vmax:Ka,cqw:Ka,cqh:Ka,cqb:Ka,cqi:Ka,cqmin:Ka,cqmax:Ka,perc:Pa,rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2},ins:Pa,uni:{ini:"initial",inh:"inherit",u:"unset",r:Aa,rl:Ra},ali:{s:F,e:U,c:Q,st:"stretch",sb:er,sa:rr,se:ir,b:"baseline",fs:tr,fe:sr,no:ks},dis:{g:ge,ig:cr,f:ye,if:ze,b:Z,i:Y},ca:Ca,co:Ca,ra:Ca,ro:Ca,fd:{r:we,rr:Ue,c:K,cr:Fe},fb:Pa,fo:Ca,fg:Ca,fs:Ca,fw:{w:rs,nw:is,wr:Qe},rep:{rx:ne,ry:pe,r:Ys,s:As,ro:"round",nr:_e},ttf:{l:Ds,e:Ir,ei:Kr,eo:Cr,eio:Pr,ss:Xr,se:Br},ws:{n:gs,nw:is,p:yc,pl:zc,pw:Sc,bs:jc},wb:{n:gs,ba:kc,ka:Ac,bw:Oc},wm:{htb:qc,vlr:Ec,vrl:Nc},hyp:{no:ks,m:"manual",a:Os},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:gc,o:wc,u:xc},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:ns,c:Q,j:xe,r:_s,s:F,e:U},tp:{all:us,col:e(ms,ha,zt,oc),icon:e(qs,Es),flt:e(ba,ma),ind:e(Ts,Xs),sz:e(bs,_i,bi,vs,mi,fi),esz:e($i,hi,di,gi,ui,vi),o:ws,b:Ss,f:ye,g:ge,pos:e(js,ns,ls,ps,_s),tf:e($s,Lr,ys,Yr,"skew",Zr)},lb:{a:Os,any:"anywhere",n:gs,l:"loose",s:"strict"},ov:{h:Gs,s:Cs,a:Os,c:Ks,e:"ellipsis"},v:{h:Gs,v:"visible",c:"collapse",a:Os},wc:{a:Os,sp:na,c:X,tf:$s,o:ws,i:Ur,tfi:$s+","+Ur},afm:{no:ks,f:"forwards",b:"backwards",both:Bs},adir:{r:Ns,a:Rr,ar:Vr},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:gs},app:{n:ks,a:Os},pe:{a:Os,no:ks,all:us,f:qs,s:Es},cur:{h:"help",a:Os,p:Rc,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:W,vt:Bc,cp:"copy",m:"move",g:Lc,gng:Yc,cr:Dc,rr:Gc,nr:Hc,er:Jc,sr:Mc,wr:Uc,ner:Fc,ewr:Qc,nwr:sa,ser:ta,swr:ea,nsr:ra,neswr:ia,nwser:ca,zi:aa,zo:oa},res:{n:ks,v:V,h:R,b:Bs},toa:{a:Os,no:ks,px:Wc,pl:Ic,pr:Kc,py:Pc,pu:Cc,pd:Tc,pz:Xc,m:"manipulation"},us:{n:ks,t:W,all:us,a:Os},sb:{a:Os,s:"smooth"},sss:{n:gs,a:"always"},sst:{n:ks,x:N,y:A,b:Z,i:Y,both:Bs,xm:Ji,ym:Mi,bm:Ui,im:Fi,bothm:Qi,xp:tc,yp:ec,bp:rc,ip:ic,bothp:cc},fst:{i:"italic",n:gs,o:"oblique"},pos:{r:"relative",a:"absolute",f:Rs,s:"static"},posv:{b:ps,t:ls,c:Q,l:ns,r:_s,lt:Gr,rt:Hr,lb:Jr,rb:Mr},csz:{cv:"cover",cn:"contain",a:Os,f:qs,sd:se},cf:{a:Os,b:"balance"},cs:{no:ks,all:us},box:{c:ie,p:ee,b:re,f:ce,s:ae,v:oe,nc:le,t:W},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:Ws,l:Is},mm:{a:Ws,l:Is,m:"match-source"},bgbm:{n:gs,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Zs+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:ms,lum:"luminosity",cd:Oa,cb:qa,hl:Ea,sl:Na},bga:{s:Cs,f:Rs,l:"local"},ls:{no:ks,dt:"dotted",i:Ur,h:Gs,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},cnt:{n:gs,s:D,is:ui}},Xa={a:ur,an:vr,adur:yr,adel:zr,aps:Sr,afm:jr,adir:wr,aic:xr,atf:gr,trn:kr,tdur:Nr,tdel:Ar,tb:Or,tp:qr,ttf:Er,bor:Ss,bw:it,br:ht,bs:Wt,bls:It,brs:Kt,bts:Pt,bbs:Ct,bbls:Tt,bis:Xt,bbss:Bt,bbes:Lt,biss:Yt,bies:Zt,brw:ot,blw:at,btw:lt,bbw:ct,btlr:ut,btrr:vt,bbrr:$t,bblr:dt,biw:pt,bblw:nt,bbew:bt,bbsw:_t,bisw:mt,biew:ft,besr:yt,beer:xt,bssr:wt,bser:gt,bc:zt,blc:St,brc:jt,btc:kt,bbc:Ot,bblc:qt,bic:Et,bbsc:Nt,bbec:At,bisc:Rt,biec:Vt,bgc:ha,c:ms,acc:_a,ctc:pa,st:Es,fi:qs,flt:ba,bf:ma,g:ge,f:ye,dis:"display",jc:Ee,ji:Ne,ai:Ae,ac:Re,gtr:We,gtc:Ie,rg:Ke,cg:Pe,as:Ve,js:Ce,gre:Te,grs:Xe,gce:Be,gcs:Le,fd:Oe,fw:qe,fs:ke,fg:je,fb:Se,ord:"order",m:Xs,ml:de,mr:ue,mt:$e,mb:ve,p:Ts,pl:be,pr:fe,pt:me,pb:he,oc:Dt,ow:Gt,os:Ht,oo:Jt,l:ns,r:_s,t:ls,b:ps,ins:Ur,ib:ti,ibe:ei,ibs:ri,ii:ii,iie:ci,iis:ai,wc:"will-change",app:"appearance",pe:la,cur:"cursor",toa:"touch-action",us:"user-select",res:Zc,sb:xi,ssa:Zi,sss:Di,sst:Gi,sm:yi,sml:ji,smr:ki,smt:zi,smb:Si,sp:Vi,spl:Ki,spr:Pi,spt:Wi,spb:Ii,smbl:Oi,smbe:qi,smbs:Ei,smi:Ni,smie:Ai,smis:Ri,spbl:Ci,spbe:Ti,spbs:Xi,spi:Bi,spie:Li,spis:Yi,ar:"aspect-ratio",w:bs,maxw:_i,minw:bi,h:vs,minh:fi,maxh:mi,bl:hi,maxb:di,minb:$i,i:ui,mini:gi,maxi:vi,per:Zr,pero:Dr,rot:Yr,sc:ys,tf:$s,tfb:Fr,tfo:Qr,tfs:si,tr:Lr,z:Ps,lts:"letter-spacing",lh:uc,lb:vc,fst:dc,ff:hc,fwg:fc,fsz:mc,tt:lc,td:ac,ta:nc,to:pc,ws:"white-space",tor:_c,wb:bc,wm:$c,hyp:"hyphens",bsz:pi,bsh:te,pos:js,cf:Ze,crs:Ge,crc:De,crw:He,cs:Je,cw:Me,cc:Ye,bgcl:da,bgp:ua,bgpx:va,bgpy:ga,bgbm:ya,bgo:$a,bgr:wa,bga:za,bgsz:xa,mcl:or,mcm:lr,mm:nr,mo:pr,mp:_r,mre:br,msz:mr,mtp:fr,obf:Ft,obp:Qt,con:T,ov:fs,ovx:Mt,ovy:Ut,v:xs,cv:ka,o:ws,zi:"z-index",zm:Ps,lg:ja,inf:"infinite",cnt:Wa,cnn:Ia,r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)",red_m_:"@media (prefers-reduced-motion)",ori_l_:"@media (orientation: landscape)",ori_p_:"@media (orientation: portrait)"},Ba={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:Ta},La=s=>`{${s}}`,Ya=Object.assign.bind(Object),Za=(s,t)=>`${s}:${t};`,Da=(s,t)=>["@property",s,La(Za("syntax",t.syn||'"*"')+Za("inherits",t.inh||!1)+(t.ini?Za("initial-value",t.ini):""))].join(" "),Ga=s=>`var(${s})`,Ha=({l:s,c:t,h:e,a:r=1})=>`oklch(${s} ${t} ${e} / ${r})`,Ja=["l","c","h","a"];class Ma{constructor(s){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=Ba,this._compKeys={},this._compValues={},this._analyzeParams=s=>{var t,e;if(s)for(const t in s)this._params[t]=Ya(this._params[t]||{},s[t]);const{time:r,rem:i,szu:c,sz:a,sp:o,rad:l,th:n,perc:p,bp:_,fsz:b,lsp:m,tr:f,sk:N,rot:A,fb:R,ra:V,ca:W,ins:I,cqw:K,cqh:P,cqb:C,cqi:T,cqmin:X,cqmax:B,vw:L,vh:Y,vmin:Z,vmax:D}=this._params.root;this._params.root=Ya(this._params.root,{cqw:j(K),cqh:k(P),cqb:z(C),cqi:S(T),cqmin:O(X),cqmax:q(B),vw:g(L),vh:w(Y),vmin:x(Z),vmax:y(D),fb:h(R),ra:E(V),ca:E(W),ins:h(I),sz:Ya(d(a)||{},c),sp:Ya(d(o)||{},c),rad:d(l),th:d(n),bp:d(_),fsz:d(b),lsp:d(m),tr:d(f),sk:v(N),rot:v(A),perc:h(p),time:$(r),rem:u(i)});const G=function(s,t){var e={};for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&t.indexOf(r)<0&&(e[r]=s[r]);if(null!=s&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(s);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(s,r[i])&&(e[r[i]]=s[r[i]])}return e}(this._params,["root"]),H=Object.entries(G),J={_mode:{root:{}}},M={};H.forEach((([s,t])=>{J._mode[s]||(J._mode[s]={}),Object.entries(t).forEach((([t,e])=>{Object.entries(e).forEach((([e,r])=>{const i=this._prepareVarName(t,e);J._mode[s][i]=r,J._mode.root[i]||(J._mode.root[i]=r,M[t]||(M[t]={}),M[t][e]=`var(${i})`)}))}))})),this._compValues=M,this._compKeys=Object.entries(this._params.root.bp||{}).reduce(((s,[t,e])=>(s[`min_${t}_`]=`@media (min-width:${e})`,s[`max_${t}_`]=`@media (max-width:${e})`,s)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},J),{$r_:Object.assign(Object.assign({},J._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=J._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:J._mode.dark}}:{}),(null===(e=J._mode)||void 0===e?void 0:e.light)?{$light_:{$r_:J._mode.light}}:{})})},this._prepareVarName=(...s)=>["-",this._prefix,...s].join("-"),this._prepareKeyframesName=(...s)=>[this._prefix,...s].join("-"),this.compile=(s,t)=>{const{_:e,kf:r,k:i={},v:c={},c:a}=t,o=this._prepareSelector.bind(this),l=this._parseSelector.bind(this);let n=Ya({},a),p=Ya({},i),_=Ya({_:{}},c),b="";if(e)for(let t in e){const r=e[t];if("c"===r.typ){const e={};Ja.forEach((i=>{const c=t+i,a=this._prepareVarName(s,c);e[i]=a,p["_"+c]=e[i],b+=Da(a,r)})),_._[t]=Ha({l:Ga(e.l),c:Ga(e.c),h:Ga(e.h),a:Ga(e.a)}),r.all&&(n["_"+t+"l"]=`&lig=>${this._prepareVarName(s,t+"l")}:{1}`,n["_"+t+"c"]=`&chr=>${this._prepareVarName(s,t+"c")}:{1}`,n["_"+t+"h"]=`&hue=>${this._prepareVarName(s,t+"h")}:{1}`,n["_"+t+"a"]=`&alp=>${this._prepareVarName(s,t+"a")}:{1}`)}else{const e=this._prepareVarName(s,t);p["_"+t]=e,_._[t]=Ga(e),b+=Da(e,r)}}const m=s=>p[s]||this._compKeys[s]||Xa[s],f=s=>_[s]||this._compValues[s]||this._params.root[s],h=s=>s.replaceAll(/\{(.+?)\}/g,((s,t)=>{const[e,r]=t.split(".");if(r){const s=f(e);return(null==s?void 0:s[r])||(null==s?void 0:s.def)}return m(e)})),d=s=>{const t=s.split("?");let e;for(let s in t){const r=t[s],[i,c]=r.split("=>"),[a,o,l]=i.match(/(\w+)(\[[\w,]+\])?/),n=f(o);if(!n)continue;e=n;let p=Object.entries(e);const _=null==l?void 0:l.slice(1,-1).split(",");if(_){const s=new Set(_);p=p.filter((([t,e])=>s.has(t)))}if(c){let[s,t]=c.split("|");void 0===t&&(t=s,s=""),p=p.map((([e,r])=>[s.replace("{0}",e)||e,h(t.replaceAll("{1}",r))]))}(_||c)&&(e=Object.fromEntries(p));break}return e};function $(t,e,r){var i,c,a,n;let p=""+t;if((null===(i=null==t?void 0:t.startsWith)||void 0===i?void 0:i.call(t,"$"))&&(p=m(t.slice(1)),!p))return"";if(Array.isArray(e))return $(p,Object.assign({},...e.map((s=>"string"==typeof s?d(s):s))),r);if(null==e)return"";if("object"==typeof e){const t=!r||(null===(c=r.startsWith)||void 0===c?void 0:c.call(r,"@"))||p.startsWith("&")||p.startsWith("@")?"":"&";if(p.startsWith("_")){const{e:r,m:i,mv:c}=l(p);return i&&"string"!=typeof c?Object.entries(e).reduce(((e,[c,a])=>{let l;return l="object"==typeof a?Object.entries(a).reduce(((s,t)=>s+$(...t,p)),""):a+";",e+t+o({b:s,e:r,m:i,mv:c})+La(l)}),""):t+o({b:s,e:r,m:i,mv:c})+La(Object.entries(e).reduce(((s,t)=>s+$(...t,p)),""))}return t+p+La(Object.entries(e).reduce(((s,t)=>s+$(...t,p)),""))}{let s=""+e;return(null===(a=null==s?void 0:s.startsWith)||void 0===a?void 0:a.call(s,"&"))?$(p,d(s.slice(1)),r):(null===(n=null==s?void 0:s.includes)||void 0===n?void 0:n.call(s,"{"))?$(p,h(s),r):Za(p,e)}}let u="";if(r)for(let t in r){const e=r[t],i=this._prepareKeyframesName(s,t);p["kf_"+t]=i,u+=`@keyframes ${i} `+La(Object.entries(e).reduce(((s,[t,e])=>s+t+(String(+t)===t?"%":"")+La(Object.entries(e).reduce(((s,t)=>s+$(...t)),""))),""))}return b+u+Object.entries(n).reduce(((s,t)=>s+$(...t)),"")};const{mode:t,prefix:e,params:r}=s;this._mode=t||"a",this._prefix=e||"eff","c"===this._mode?this._prepareSelector=({b:s,e:t,m:e,mv:r,s:i})=>`.${s}${(t?"__"+t:"")+(e?"_"+e:"")+(e&&r?"_"+r:"")+(i?":"+i:"")}`:this._prepareSelector=({b:s,e:t,m:e,mv:r,s:i})=>`[data-${s}${t?"-"+t:""}${e?'~="'+e+(r?"-"+r:"")+(i?":"+i:"")+'"':""}]`,this._analyzeParams(r)}_parseSelector(s){let t,e,r,i;return s.startsWith("__")?[t,e,r]=s.slice(2).split("_"):[t,e,r]=s.split("_"),r&&([r,i]=r.split(":")),{e:t,m:e,mv:r,s:i}}expandSelector(s,t){const{e:e,m:r,mv:i,s:c}=this._parseSelector(t),a=c&&this._getStateSelector(c);return[this._prepareSelector({b:s,e:e,m:r,mv:i}),this._prepareSelector({b:s,e:e,m:r,mv:i,s:c})+"{"+a]}_getStateSelector(s){const t=s+"_",e=this._compKeys[t]||Xa[t];if(e)return(e.startsWith("&")||e.startsWith("@")?"":"&")+e}}class Ua{constructor(s){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=s=>this._stylesheets[s],this.getAll=()=>this._stylesheets,this.add=(s,t)=>{if(!this._stylesheets[s])return this._stylesheets[s]=t,this._styleSheetsArray.push(t),this.cacheRules(s,t),this.notify(),!0},this.remove=s=>{const t=this.get(s);if(!t)return;const e=this._styleSheetsArray.findIndex((s=>s===t));return e>-1&&(this._styleSheetsArray.splice(e,1),delete this._stylesheets[s],delete this._rules[s],delete this._expandedSelectors[s]),this.notify(),!0},this.pack=(s,t)=>{const e=new CSSStyleSheet;if(e.replaceSync(t),e.cssRules.length)return this.add(s,e);console.log(`StyleSheet '${s}' is empty`)},this.cacheRules=(s,t)=>{[...t.cssRules].forEach((t=>{const e=t.cssText.split(" {")[0];e&&(this._rules[s]||(this._rules[s]={}),this._rules[s][e]=t)})),this._expandedSelectors[s]=new Set},this.getExpandedSelectors=s=>this._expandedSelectors[s],this.expandRule=(s,t,e)=>{const r=this._rules[s];if(!r)return void console.log(`No stylesheet found with key '${s}'`);const i=r[t];if(!i)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${s}'`);const[c,a]=i.cssText.split("{");if(i.parentStyleSheet){const t=e+"{"+a+"}",c=i.parentStyleSheet.insertRule(t,i.parentStyleSheet.cssRules.length),o=i.parentStyleSheet.cssRules[c],l=e.split("{")[0];return r[l]=o,this._expandedSelectors[s].add(l),!0}},this.apply=s=>{s.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=s=>{this._listeners.push(new WeakRef(s)),this.apply(s)},this.unregisterNode=s=>{const t=this._listeners.findIndex((t=>t.deref()===s));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((s,t)=>{const e=t.deref();return e&&(this.apply(e),s.push(t)),s}),[])},s)for(let t in s)this.pack(t,s[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}const Fa="style-provider";const Qa=((...s)=>v(Object.fromEntries(s.map((s=>[s,s])))))(-20,-15,-5,10,90),so="In",to="Out",eo="Down",ro="Up",io="Left",co="Right",ao="zoom",oo=ao+so,lo=ao+to,no="pulse",po="bounce",_o=po+so,bo=po+to,mo="fade",fo=mo+so,ho=fo+eo,$o=fo+ro,uo=fo+io,vo=fo+co,go=mo+to,wo=go+eo,xo=go+ro,yo=go+io,zo=go+co,So="flip",jo=So+so+"x",ko=So+so+"y",Oo=So+to+"x",qo=So+to+"y",Eo="slide",No=Eo+so,Ao=No+eo,Ro=No+ro,Vo=No+co,Wo=No+io,Io=Eo+to,Ko=Io+eo,Po=Io+ro,Co=Io+co,To=Io+io,Xo="heartBeat",Bo="perspective"+r("25rem");var Lo,Yo={kf:{[oo]:{0:{$o:0,$tf:c(e(.25,.25,.25))},50:{$o:1}},[lo]:{0:{$o:1},50:{$o:0,$tf:c(e(.25,.25,.25))},to:{$o:0}},[no]:{0:{$tf:a(1)},50:{$tf:c(e(1.05,1.05,1.05))},to:{$tf:a(1)}},[Xo]:{0:{$tf:o(1)},15:{$tf:o(1.25)},30:{$tf:o(1)},45:{$tf:o(1.25)},70:{$tf:o(0)}},[_o]:{"0, 20%, 40%, 60%, 80%, to":{$atf:"cubic-bezier(.215,.61,.355,1)"},0:{$o:0,$tf:c(e(.25,.25,.25))},20:{$tf:c(e(1.1,1.1,1.1))},40:{$tf:c(e(.9,.9,.9))},60:{$o:1,$tf:c(e(1.05,1.05,1.05))},80:{$tf:c(e(.95,.95,.95))},to:{$o:1,$tf:a(1)}},[bo]:{20:{$tf:c(e(.9,.9,.9))},"50%, 55%":{$o:1,$tf:c(e(1.1,1.1,1.1))},to:{$o:0,$tf:c(e(.3,.3,.3))}},[fo]:{0:{$o:0},to:{$o:1}},[ho]:{0:{$o:0,$tf:l(0,"100%",0)},to:{$o:1,$tf:n(0)}},[uo]:{0:{$o:0,$tf:l("-100%",0,0)},to:{$o:1,$tf:n(0)}},[vo]:{0:{$o:0,$tf:l("-100%",0,0)},to:{$o:1,$tf:n(0)}},[$o]:{0:{$o:0,$tf:l(0,"100%",0)},to:{$o:1,$tf:n(0)}},[go]:{0:{$o:1},to:{$o:0}},[wo]:{0:{$o:1},to:{$o:0,$tf:l(0,"-100%",0)}},[yo]:{0:{$o:1},to:{$o:0,$tf:l("-100%",0,0)}},[zo]:{0:{$o:1},to:{$o:0,$tf:l("100%",0,0)}},[xo]:{0:{$o:1},to:{$o:0,$tf:l(0,"-100%",0)}},[jo]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(Bo,p(Qa[90]))},40:{$atf:"{ttf.ei}",$tf:t(Bo,p(Qa[-20]))},60:{$o:1,$tf:t(Bo,p(Qa[10]))},80:{$tf:t(Bo,p(Qa[-5]))},to:{$tf:Bo}},[ko]:{0:{$atf:"{ttf.ei}",$o:0,$tf:t(Bo,_(Qa[90]))},40:{$atf:"{ttf.ei}",$tf:t(Bo,_(Qa[-20]))},60:{$o:1,$tf:t(Bo,_(Qa[10]))},80:{$tf:t(Bo,_(Qa[-5]))},to:{$tf:Bo}},[Oo]:{0:{$tf:Bo},30:{$o:1,$tf:t(Bo,p(Qa[-20]))},to:{$o:0,$tf:t(Bo,p(Qa[90]))}},[qo]:{0:{$tf:Bo},30:{$o:1,$tf:t(Bo,_(Qa[-15]))},to:{$o:0,$tf:t(Bo,_(Qa[90]))}},[Ao]:{0:{$tf:l(0,"-100%",0),$v:"{v.v}"},to:{$tf:n(0)}},[Wo]:{0:{$tf:l("-100%",0,0),$v:"{v.v}"},to:{$tf:n(0)}},[Vo]:{0:{$tf:l("100%",0,0),$v:"{v.v}"},to:{$tf:n(0)}},[Ro]:{0:{$tf:l(0,"100%",0),$v:"{v.v}"},to:{$tf:n(0)}},[Ko]:{0:{$tf:n(0)},to:{$tf:l(0,"100%",0),$v:"{v.h}"}},[To]:{0:{$tf:n(0)},to:{$tf:l("-100%",0,0),$v:"{v.h}"}},[Co]:{0:{$tf:n(0)},to:{$tf:l("100%",0,0),$v:"{v.h}"}},[Po]:{0:{$tf:n(0)},to:{$tf:l(0,"-100%",0),$v:"{v.h}"}}},c:(Lo=[oo,lo,no,Xo,_o,bo,fo,ho,uo,vo,$o,go,wo,yo,zo,xo,jo,ko,Oo,qo,Ao,Wo,Vo,Ro,Ko,To,Co,Po],Lo.reduce(((s,t)=>(s["_"+t+"_"]={$an:`{kf_${t}}`},s)),{}))},Zo={c:{$:{$p:0,$m:0,$bor:"none",$bsz:"{box.b}",$ba_:{$bsz:"{box.b}"}},[f(e("a",(s=>s+":link")("a"),(s=>s+":visited")("a"),(s=>s+":hover")("a")))]:{$td:"none"},[f("aside,nav,footer,header,section,main")]:{$dis:"{dis.b}"},":host,html":{$lh:1.5},[f("menu,ol,ul")]:{$ls:"{ls.no}"},[f("input,textarea,button,select")]:{$ff:"{uni.inh}",$fsz:"{uni.inh}",$c:"{uni.inh}",$bgc:"transparent"},[f(e(m("input"),b("input"),m("button"),b("button")))]:{$o:"none"}}},Do=Object.freeze({__proto__:null,kf:Yo,reset:Zo});const Go="{_.sz}",Ho=`calc(-1 * ${Go})`,Jo=`calc(0.5 * ${Go})`,Mo=`calc(-0.5 * ${Go})`,Uo="{_.c}";var Fo={_:{sz:{},c:{typ:"c",wrap:!0}},c:{_:{$pos:"{pos.r}",$_cl:"{lig.def}",$_ch:"{hue.def}",$_cc:"{chr.def}",$_ca:1,$_sz:"{sp.m}"},_ssz:"&sp=>{_sz}:{1}",_shp:{r:{$bsh:t(Go,0,Jo,Mo,Uo)},l:{$bsh:t(Ho,0,Jo,Mo,Uo)},t:{$bsh:t(0,Ho,Jo,Mo,Uo)},b:{$bsh:t(0,Go,Jo,Mo,Uo)},x:{$bsh:e(t(Go,0,Jo,Mo,Uo),t(Ho,0,Jo,Mo,Uo))},y:{$bsh:e(t(0,Ho,Jo,Mo,Uo),t(0,Go,Jo,Mo,Uo))},f:{$bsh:t(0,0,Go,Jo,Uo)},tr:{$bsh:t(Go,Ho,Go,Mo,Uo)},tl:{$bsh:t(Ho,Ho,Go,Mo,Uo)},br:{$bsh:t(Go,Go,Go,Mo,Uo)},bl:{$bsh:t(Ho,Go,Go,Mo,Uo)}},_bsz:"&box[c,b]=>{bsz}:{1}"}};const Qo=["sz","perc"],sl=["cqw","cqmin","cqmax"],tl=["vw","vmin","vmax"],el=["cqh","cqmin","cqmax"],rl=["vh","vmin","vmax"];var il={c:{_w:[...Qo.map((s=>`&${s}=>{w}:{1}`)),...sl.map((s=>`&${s}=>{0}${s}|{w}:{1}`)),...tl.map((s=>`&${s}=>{0}${s}|{w}:{1}`))],_maxw:[...Qo.map((s=>`&${s}=>{maxw}:{1}`)),...sl.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`)),...tl.map((s=>`&${s}=>{0}${s}|{maxw}:{1}`))],_minw:[...Qo.map((s=>`&${s}=>{minw}:{1}`)),...sl.map((s=>`&${s}=>{0}${s}|{minw}:{1}`)),...tl.map((s=>`&${s}=>{0}${s}|{minw}:{1}`))],_h:[...Qo.map((s=>`&${s}=>{h}:{1}`)),...el.map((s=>`&${s}=>{h}:{1}`)),...rl.map((s=>`&${s}=>{0}${s}|{h}:{1}`))],_maxh:[...Qo.map((s=>`&${s}=>{maxh}:{1}`)),...el.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`)),...rl.map((s=>`&${s}=>{0}${s}|{maxh}:{1}`))],_minh:[...Qo.map((s=>`&${s}=>{minh}:{1}`)),...el.map((s=>`&${s}=>{0}${s}|{minh}:{1}`)),...rl.map((s=>`&${s}=>{0}${s}|{minh}:{1}`))],_ar:"&rat=>{ar}:{1}"}};const cl=["sz","perc"],al=["cqb","cqmin","cqmax"],ol=["vw","vh","vmin","vmax"],ll=["cqi","cqmin","cqmax"];var nl,pl={c:{_b:[...cl.map((s=>`&${s}=>{b}:{1}`)),...al.map((s=>`&${s}=>{0}${s}|{b}:{1}`)),...ol.map((s=>`&${s}=>{0}${s}|{b}:{1}`))],_maxb:[...cl.map((s=>`&${s}=>{maxb}:{1}`)),...al.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`)),...ol.map((s=>`&${s}=>{0}${s}|{maxb}:{1}`))],_minb:[...cl.map((s=>`&${s}=>{minb}:{1}`)),...al.map((s=>`&${s}=>{0}${s}|{minb}:{1}`)),...ol.map((s=>`&${s}=>{0}${s}|{minb}:{1}`))],_i:[...cl.map((s=>`&${s}=>{i}:{1}`)),...ll.map((s=>`&${s}=>{0}${s}|{i}:{1}`)),...ol.map((s=>`&${s}=>{0}${s}|{i}:{1}`))],_maxi:[...cl.map((s=>`&${s}=>{maxi}:{1}`)),...ll.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`)),...ol.map((s=>`&${s}=>{0}${s}|{maxi}:{1}`))],_mini:[...cl.map((s=>`&${s}=>{mini}:{1}`)),...ll.map((s=>`&${s}=>{0}${s}|{mini}:{1}`)),...ol.map((s=>`&${s}=>{0}${s}|{mini}:{1}`))],_ar:"&rat=>{ar}:{1}"}},_l={_:{scx:{ini:"0"},scy:{ini:"0"},skx:{ini:"0"},sky:{ini:"0"},x:{ini:"0"},y:{ini:"0"},z:{ini:"0"}},c:{_:{$sc:"{_scx} {_scy}",$tf:"skew({_skx},{_sky})",$tr:"{_x} {_y} {_z}"},_x:"&tr=>{_x}:{1}",_y:"&tr=>{_y}:{1}",_z:"&tr=>{_z}:{1}",_skx:"&sk=>{_skx}:{1}",_sky:"&sk=>{_sky}:{1}",_scx:"&sc=>{_scx}:{1}",_scy:"&sc=>{_scy}:{1}",_sc:"&sc=>{sc}:{1}",_rx:"&rot=>{rot}:X {1}",_ry:"&rot=>{rot}:Y {1}",_rz:"&rot=>{rot}:Z {1}",_zm:"&zm=>{zm}:{1}",_per:"&per=>{per}:{1}",_pero:"&posv=>{pero}:{1}",_b:"&box[c,b,f,s,v]=>{tfb}:{1}",_o:"&pos=>{tfo}:{1}",_s:{p:"{tfs}:preserve-3",f:"{tfs}:flat"}}},bl=Object.freeze({__proto__:null,a:{c:{_dur:"&time=>{adur}:{1}",_del:"&time=>{adel}:{1}",_ps:"&aps=>{aps}:{1}",_fm:"&afm=>{afm}:{1}",_dir:"&adir=>{adir}:{1}",_ic:"&ic=>{aic}:{1}",_tf:"&ttf=>{atf}:{1}"}},ac:{_:{cr:{typ:"c",all:!0},ac:{typ:"c",all:!0}},c:{_:{$_crc:"{chr.xs}",$_crh:"{hue.def}",$_crl:"{lig.c}",$_cra:1,$_acc:"{chr.def}",$_acl:"{lig.c}",$_ach:"{hue.def}",$_aca:1},_ac_:{$acc:"{_.ac}"},_cc_:{$ctc:"{_.cr}"}}},ag:{c:{_app:"&app=>{app}:{1}",_wc:"&wc=>{wc}:{1}"}},b:{_:{c:{typ:"c",all:!0}},c:{_:{$bw:0,$br:0,$bs:"{ls.s}",$bc:"{_.c}"},_w:"&th=>{bw}:{1}",_xw:"&th=>{blw}:{1};{brw}:{1}",_yw:"&th=>{btw}:{1};{bbw}:{1}",_rw:"&th=>{brw}:{1}",_lw:"&th=>{blw}:{1}",_tw:"&th=>{btw}:{1}",_bw:"&th=>{bbw}:{1}",_r:"&rad=>{br}:{1}",_lr:"&rad=>{btlr}:{1};{bblr}:{1}",_rr:"&rad=>{btrr}:{1};{bbrr}:{1}",_tr:"&rad=>{btlr}:{1};{btrr}:{1}",_br:"&rad=>{bblr}:{1};{bbrr}:{1}",_tlr:"&rad=>{btlr}:{1}",_trr:"&rad=>{btrr}:{1}",_blr:"&rad=>{bblr}:{1}",_brr:"&rad=>{bbrr}:{1}",_s:"&lst=>{bs}:{1}"}},be:{c:{_iw:"&th=>{biw}:{1}",_blw:"&th=>{bblw}:{1}",_bew:"&th=>{bbew}:{1}",_bsw:"&th=>{bbsw}:{1}",_iew:"&th=>{biew}:{1}",_isw:"&th=>{bisw}:{1}",_bsr:"&rad=>{bser}:{1};{bssr}:{1}",_isr:"&rad=>{besr}:{1};{bssr}:{1}",_ber:"&rad=>{besr}:{1};{beer}:{1}",_ier:"&rad=>{bser}:{1};{beer}:{1}",_esr:"&rad=>{besr}:{1}",_ssr:"&rad=>{bssr}:{1}",_ser:"&rad=>{bser}:{1}",_eer:"&rad=>{beer}:{1}"}},bg:{c:{_bm:"&bgbm=>{bgbm}:{1}",_a:"&bga=>{bga}:{1}",_cl:"&box[c,p,b,t]=>{bgcl}:{1}",_o:"&box[c,p,b]=>{bgo}:{1}",_p:"&posv=>{bgp}:{1}",_px:"&posv[r,l,c]=>{bgpx}:{1}",_py:"&posv[t,b,c]=>{bgpy}:{1}",_r:"&rep=>{bgr}:{1}",_sz:"&csz[cv,cn,a]=>{bgsz}:{1}"}},bx:Fo,c:{_:{c:{typ:"c",all:!0},b:{typ:"c",all:!0},s:{typ:"c",all:!0},f:{typ:"c",all:!0}},c:{_:{$_cc:"{chr.xs}",$_ch:"{hue.def}",$_cl:"{lig.c}",$_ca:1,$_bc:"{chr.xs}",$_bl:"{lig.n}",$_bh:"{hue.def}",$_ba:1,$_fc:"{chr.xs}",$_fh:"{hue.def}",$_fl:"{lig.c}",$_fa:1,$_sc:"{chr.xs}",$_sl:"{lig.n}",$_sh:"{hue.def}",$_sa:1},_b_:{$bgc:"{_.b}"},_c_:{$c:"{_.c}"},_f_:{$fi:"{_.f}"},_s_:{$st:"{_.s}"}}},col:{_:{c:{typ:"c",wrap:!0}},c:{_:{$_cc:"{c.def}",$_ch:"{h.def}",$_cl:"{l.def}",$crc:"{_.c}"},_cf:"&cf=>{cf}:{1}",_cg:"&sp=>{cg}:{1}",_crs:"&lst=>{crs}:{1}",_crw:"&th=>{crw}:{1}",_cs:"&cs=>{cs}:{1}",_cw:"&sz=>{cw}:{1}",_cc:"&sp=>{cc}:{1}"}},f:{c:{_ls:"&ls=>{ls}:{1}",_lh:"&lh=>{lh}:{1}",_lb:"&lb=>{lb}:{1}",_st:"&fst=>{fst}:{1}",_w:"&fwg=>{fwg}:{1}",_f:"&ff=>{ff}:{1}",_sz:"&fsz=>{fsz}:{1}"}},fc:{c:{_:{$dis:"{dis.f}"},_dis:"&dis[if,f]=>{dis}:{1}",_dir:"&fd=>{fd}:{1}",_w:"&fw=>{fw}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se,fs,fe]=>{jc}:{1}",_ai:"&ali[c,st,b,fs,fe]=>{ai}:{1}",_ac:"&ali[c,st,sb,sa,se,fs,fe]=>{ac}:{1}"}},fi:{c:{_as:"&ali[s,e,c,st,fs,fe]=>{as}:{1}",_fg:"&fg=>{fg}:{1}",_fs:"&fs=>{fs}:{1}",_fb:"&fb=>{fb}:{1}",_o:"&fo=>{ord}:{1}"}},gc:{c:{_:{$dis:"{dis.g}"},_dis:"&dis[g,ig]=>{dis}:{1}",_jc:"&ali[s,e,c,st,sb,sa,se]=>{jc}:{1}",_ji:"&ali[s,e,c,st]=>{ji}:{1}",_ai:"&ali[s,e,c,st,b]=>{ai}:{1}",_ac:"&ali[sb,se,sa,c,st]=>{ac}:{1}",_gtr:"&gtr=>{gtr}:{1}?coef=>{gtr}:repeat({1},1fr)",_gtc:"&gtc=>{gtc}:{1}?coef=>{gtc}:repeat({1},1fr)",_rg:"&sp=>{rg}:{1}",_cg:"&sp=>{cg}:{1}"}},gi:{c:{_as:"&ali[s,e,c,st]=>{as}:{1}",_js:"&ali[s,e,c,st]=>{js}:{1}",_ra:"&ra=>{gre}:{1}",_ca:"&ca=>{gce}:{1}",_ro:"&ro=>{grs}:{1}",_co:"&co=>{gcs}:{1}"}},i:{c:{_t:"&ins=>{t}:{1}",_b:"&ins=>{b}:{1}",_l:"&ins=>{l}:{1}",_r:"&ins=>{r}:{1}",_x:"&ins=>{r}:{1};{l}:{1}",_y:"&ins=>{t}:{1};{b}:{1}",_ib:"&ins=>{ib}:{1}",_ibe:"&ins=>{ibe}:{1}",_ibs:"&ins=>{ibs}:{1}",_ii:"&ins=>{ii}:{1}",_iie:"&ins=>{iie}:{1}",_iis:"&ins=>{iis}:{1}"}},ind:{c:{_m:"&sp=>{m}:{1}",_mx:"&sp=>{ml}:{1};{mr}:{1}",_my:"&sp=>{mt}:{1};{mb}:{1}",_mt:"&sp=>{mt}:{1}",_ml:"&sp=>{ml}:{1}",_mr:"&sp=>{mr}:{1}",_mb:"&sp=>{mb}:{1}",_p:"&sp=>{p}:{1}",_px:"&sp=>{pl}:{1};{pr}:{1}",_py:"&sp=>{pt}:{1};{pb}:{1}",_pt:"&sp=>{pt}:{1}",_pl:"&sp=>{pl}:{1}",_pr:"&sp=>{pr}:{1}",_pb:"&sp=>{pb}:{1}"}},mk:{c:{_clip:"&box[c,p,b,f,s,v]=>{mcl}:{1}",_comp:"&mcm=>{mcm}:{1}",_m:"&mm=>{mm}:{1}",_o:"&box[c,p,b,f,s,v]=>{mo}:{1}",_p:"&posv=>{mp}:{1}",_r:"&rep=>{mre}:{1}",_sz:"&csz[cv,cn,a]=>{msz}:{1}",_t:"&mtp=>{mtp}:{1}"}},o:{_:{oc:{typ:"c",all:!0}},c:{_:{$oc:"{_.oc}",$ow:0,$os:"{ls.s}"},_oo:"&sp=>{oo}:{1}",_os:"&lst=>{os}:{1}",_ow:"&th=>{ow}:{1}"}},obj:{c:{_f:"&csz[cv,cn,a]=>{obf}:{1}",_p:"&posv=>{obp}:{1}"}},sc:{_:{st:{}},c:{_:{">*":{$sst:"{_.st}"}},_b:"&sb=>{sb}:{1}",_sa:"&ali[s,e,c,no]=>{ssa}:{1}",_ss:"&sss=>{sss}:{1}",_st:"&sst=>{st}:{1}",_m:"&sp=>{sm}:{1}",_mx:"&sp=>{sml}:{1};{smr}:{1}",_my:"&sp=>{smt}:{1};{smb}:{1}",_mt:"&sp=>{smt}:{1}",_ml:"&sp=>{sml}:{1}",_mr:"&sp=>{smr}:{1}",_mb:"&sp=>{smb}:{1}",_p:"&sp=>{sp}:{1}",_px:"&sp=>{spl}:{1};{spr}:{1}",_py:"&sp=>{spt}:{1};{spb}:{1}",_pt:"&sp=>{spt}:{1}",_pl:"&sp=>{spl}:{1}",_pr:"&sp=>{spr}:{1}",_pb:"&sp=>{spb}:{1}"}},sce:{c:{_mbl:"&sp=>{smbl}:{1}",_mbe:"&sp=>{smbe}:{1}",_mbs:"&sp=>{smbs}:{1}",_mi:"&sp=>{smi}:{1}",_mie:"&sp=>{smie}:{1}",_mis:"&sp=>{smis}:{1}",_pbl:"&sp=>{spbl}:{1}",_pbe:"&sp=>{spbe}:{1}",_pbs:"&sp=>{spbs}:{1}",_pi:"&sp=>{spi}:{1}",_pie:"&sp=>{spie}:{1}",_pis:"&sp=>{spis}:{1}"}},sz:il,sze:pl,t:{c:{_:{$tdur:"{time.s}",$tdel:"{time.no}"},_tdur:"&time=>{tdur}:{1}",_tdel:"&time=>{tdel}:{1}",_tb:"&tb=>{tb}:{1}",_tp:"&tp=>{tp}:{1}",_ttf:"&ttf=>{ttf}:{1}"}},tf:_l,tx:{c:{_tt:"&tt=>{tt}:{1}",_td:"&td=>{td}:{1}",_ta:"&ta=>{ta}:{1}",_to:"&ov[c,e]=>{to}:{1}",_ws:"&ws=>{ws}:{1}",_wb:"&wb=>{wb}:{1}",_wm:"&wm=>{wm}:{1}",_hyp:"&hyp=>{hyp}:{1}",_tor:"&tor=>{tor}:{1}"}},u:{c:{_pe:"&pe=>{pe}:{1}",_us:"&us=>{us}:{1}",_toa:"&toa=>{toa}:{1}",_res:"&res=>{res}:{1}",_cur:"&cur=>{cur}:{1}"}},v:{c:{_pos:"&pos=>{pos}:{1}",_ov:"&ov=>{ov}:{1}",_ovx:"&ov=>{ovx}:{1}",_ovy:"&ov=>{ovy}:{1}",_v:"&v[v,h,c]=>{v}:{1}",_o:"&o=>{o}:{1}",_zi:"&zi=>{zi}:{1}",_cv:"&v[v,h,a]=>{v}:{1}"}}});nl={config:{styles:Object.assign(Object.assign({},bl),Do)}},customElements.define((null==nl?void 0:nl.name)||Fa,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}constructor(){super(),this.getSettings=()=>{var s;const t=null===(s=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===s?void 0:s.textContent;return t?JSON.parse(t):(null==nl?void 0:nl.config)||{}},this.compileStyleSheet=(s,t)=>{var e,r;const i=null===(e=this.processor)||void 0===e?void 0:e.compile(s,t);if(i)return null===(r=this.manager)||void 0===r?void 0:r.pack(s,i)},this.expandStyleSheet=(s,t)=>{var e;const r=null===(e=this.manager)||void 0===e?void 0:e.getExpandedSelectors(s);if(this.processor&&r){const e=new Set(t).difference(r),i=e.size;return i&&this.processor&&e.keys().forEach((t=>{var e;const[r,i]=this.processor.expandSelector(s,t);null===(e=this.manager)||void 0===e||e.expandRule(s,r,i)})),i}},this.processStyles=(s,t)=>{if(s)for(let t in s){const e=s[t];this.compileStyleSheet(t,e)}if(t)for(let s in t){const e=t[s];this.expandStyleSheet(s,e)}return!0}}connectedCallback(){const s=this.getSettings(),{params:t,styles:e,ext:r}=s;this.processor=new Ma({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new Ua({init:`${Fa} {display: contents;}`+this.processor.baseStyles}),this.processStyles(e,r),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}});
@@ -1 +1 @@
1
- "function"==typeof SuppressedError&&SuppressedError;const e=(...e)=>e.join("-"),t=(...e)=>e.join(" "),s=(...e)=>e.join(","),i=(e,t)=>((e,t)=>Object.fromEntries(Object.entries(e).map((e=>t(e)))))(e,(e=>[e[0],t(e[1])])),r=e=>e&&i(e,(e=>e+"rem")),o=e=>e&&i(e,(e=>e+"ms")),n=e=>e&&i(e,(e=>e+"px")),l=e=>e&&i(e,(e=>e+"deg")),a=e=>e&&i(e,(e=>e+"vw")),c=e=>e&&i(e,(e=>e+"vh")),p=e=>e&&i(e,(e=>e+"vmin")),h=e=>e&&i(e,(e=>e+"vmax")),m=e=>e&&i(e,(e=>e+"cqb")),d=e=>e&&i(e,(e=>e+"cqi")),b=e=>e&&i(e,(e=>e+"cqmin")),f=e=>e&&i(e,(e=>e+"cqmax")),u=e=>e&&i(e,(e=>"span "+e)),_="x",g="y",y="horizontal",v="vertical",x="text",w="font",S="column",j="max",$="min",k="content",z=k+"s",O="items",N="self",A="inline",E="block",q="size",R="radius",V="direction",W="outline",I="style",K="end",P="start",C="center",T="word",B="line",G="break",H="wrap",J="nowarp",L="template",M="rule",D="object",F="top",Q="left",U="bottom",X="right",Y="width",Z="color",ee="overflow",te="align",se="type",ie="transform",re="all",oe="height",ne="normal",le="opacity",ae="visibility",ce="scale",pe="box",he="border",me="position",de="none",be="auto",fe="fill",ue="stroke",_e="reverse",ge="space",ye="fixed",ve="origin",xe="alpha",we="luminance",Se="clip",je="zoom",$e="scroll",ke="padding",ze="margin",Oe="both",Ne="mode",Ae="repeat",Ee="light",qe="linear",Re="hidden",Ve=e(he,U),We=e(he,Q),Ie=e(he,X),Ke=e(he,F),Pe=e(he,E),Ce=e(he,A),Te=e(Pe,P),Be=e(Pe,K),Ge=e(Ce,P),He=e(Ce,K),Je=e(he,Y),Le=e(Ve,Y),Me=e(We,Y),De=e(Ie,Y),Fe=e(Ke,Y),Qe=e(Pe,Y),Ue=e(Ce,Y),Xe=e(Te,Y),Ye=e(Be,Y),Ze=e(Ge,Y),et=e(He,Y),tt=e(he,R),st=e(he,U,Q,R),it=e(he,U,X,R),rt=e(he,F,Q,R),ot=e(he,F,X,R),nt=e(he,P,K,R),lt=e(he,P,P,R),at=e(he,K,K,R),ct=e(he,K,P,R),pt=e(he,Z),ht=e(We,Z),mt=e(Ie,Z),dt=e(Ke,Z),bt=e(Ve,Z),ft=e(Pe,Z),ut=e(Ce,Z),_t=e(Te,Z),gt=e(Be,Z),yt=e(Ge,Z),vt=e(He,Z),xt=e(he,I),wt=e(We,I),St=e(Ie,I),jt=e(Ke,I),$t=e(Ve,I),kt=e(Pe,I),zt=e(Ce,I),Ot=e(Te,I),Nt=e(Be,I),At=e(Ge,I),Et=e(He,I),qt=e(W,Z),Rt=e(W,Y),Vt=e(W,I),Wt=e(W,"offset"),It=e(ee,_),Kt=e(ee,g),Pt=e(D,"fit"),Ct=e(D,me),Tt=e(ce,"down"),Bt=e(pe,"shadow"),Gt=e(ke,pe),Ht=e(he,pe),Jt=e(k,pe),Lt=e(fe,pe),Mt=e(ue,pe),Dt=e("view",pe),Ft=e("no",Se),Qt=e(Ae,_),Ut=e(Ae,g),Xt=e("no",Ae),Yt=e(ke,Q),Zt=e(ke,F),es=e(ke,X),ts=e(ke,U),ss=e(ze,Q),is=e(ze,F),rs=e(ze,X),os=e(ze,U),ns="grid",ls="row",as="justify",cs="flex",ps=e(A,cs),hs=e(cs,"basis"),ms=e(cs,"grow"),ds=e(cs,"shrink"),bs=e(cs,V),fs=e(cs,H),us=e(as,k),_s=e(as,O),gs=e(te,O),ys=e(te,k),vs=e(te,N),xs=e(ns,L,ls+"s"),ws=e(ns,L,S+"s"),Ss=e(ls,"gap"),js=e(S,"gap"),$s=e(as,N),ks=e(ns,ls,K),zs=e(ns,ls,P),Os=e(ns,S,K),Ns=e(ns,S,P),As=e(S,"count"),Es=e(S,fe),qs=e(S,M,Z),Rs=e(S,M,I),Vs=e(S,M,Y),Ws=e(S,"span"),Is=e(S,Y),Ks=e(ls,_e),Ps=e(S,_e),Cs=e(H,_e),Ts=e(cs,K),Bs=e(cs,P),Gs=e(ge,"between"),Hs=e(ge,"around"),Js=e(ge,"evenly"),Ls=e(A,ns),Ms="mask",Ds=e(Ms,Se),Fs=e(Ms,"composite"),Qs=e(Ms,Ne),Us=e(Ms,ve),Xs=e(Ms,me),Ys=e(Ms,Ae),Zs=e(Ms,q),ei=e(Ms,se),ti="timing-function",si="delay",ii="duration",ri="animation",oi=e(ri,"name"),ni=e(ri,ti),li=e(ri,V),ai=e(ri,"iteration-count"),ci=e(ri,ii),pi=e(ri,si),hi=ri+"-play-state",mi=e(ri,fe,Ne),di="transition",bi=di+"-behavior",fi=di+"-property",ui=e(di,ti),_i=e(di,ii),gi=e(di,si),yi="alternate",vi=e(yi,_e),xi="-out",wi="ease",Si=wi+"-in",ji=Si+xi,$i=wi+xi,ki="step",zi=e(ki,P),Oi=e(ki,K),Ni="translate",Ai="rotate",Ei="perspective",qi=e(Ei,ve),Ri=t(Q,F),Vi=t(X,F),Wi=t(Q,U),Ii=t(X,U),Ki="inset",Pi=e(ie,pe),Ci=e(ie,ve),Ti=e(ie,I),Bi=e(Ki,E),Gi=e(Ki,E,K),Hi=e(Ki,E,P),Ji=e(Ki,A),Li=e(Ki,A,K),Mi=e(Ki,A,P),Di=e("fit",k),Fi=e($,k),Qi=e(j,k),Ui=e(pe,"sizing"),Xi=e(j,Y),Yi=e($,Y),Zi=e(j,oe),er=e($,oe),tr=e(E,q),sr=e(j,tr),ir=e($,tr),rr=e(A,q),or=e(j,rr),nr=e($,rr),lr="snap",ar=e($e,"behavior"),cr=e($e,ze),pr=e($e,ze,F),hr=e($e,ze,U),mr=e($e,ze,Q),dr=e($e,ze,X),br=e($e,ze,E),fr=e($e,ze,E,K),ur=e($e,ze,E,P),_r=e($e,ze,A),gr=e($e,ze,A,K),yr=e($e,ze,A,P),vr=e($e,ke),xr=e($e,ke,F),wr=e($e,ke,U),Sr=e($e,ke,Q),jr=e($e,ke,X),$r=e($e,ke,E),kr=e($e,ke,E,K),zr=e($e,ke,E,P),Or=e($e,ke,A),Nr=e($e,ke,A,K),Ar=e($e,ke,A,P),Er=e($e,lr,te),qr=e($e,lr,"stop"),Rr=e($e,lr,se),Vr="mandatory",Wr=t(_,Vr),Ir=t(g,Vr),Kr=t(E,Vr),Pr=t(A,Vr),Cr=t(Oe,Vr),Tr="proximity",Br=t(_,Tr),Gr=t(g,Tr),Hr=t(E,Tr),Jr=t(A,Tr),Lr=t(Oe,Tr),Mr=e(x,"decoration"),Dr=e(Mr,Z),Fr=e(x,ie),Qr=e(x,te),Ur=e(x,ee),Xr=e(x,"orientation"),Yr=e(T,G),Zr=e(w,q),eo=w+"-weight",to=w+"-family",so=e(w,I),io=e("writing",Ne),ro=e(B,oe),oo=e(B,G),no=B+"-through",lo="over"+B,ao="under"+B,co="pre",po=e(co,B),ho=e(co,H),mo=G+"-spaces",bo=e(G,re),fo=e(G,T),uo=y+"-tb",_o=v+"-lr",go=v+"-rl",yo="keep-"+re,vo="pointer",xo="pan",wo=e(xo,_),So=e(xo,Q),jo=e(xo,X),$o=e(xo,g),ko=e(xo,"up"),zo=e(xo,"down"),Oo=e("pinch",je),No=e(v,x),Ao="grab",Eo=Ao+"bing",qo="resize",Ro="col-"+qo,Vo="row-"+qo,Wo="n-"+qo,Io="e-"+qo,Ko="s-"+qo,Po="w-"+qo,Co="ne-"+qo,To="ew-"+qo,Bo="nw-"+qo,Go="se-"+qo,Ho="sw-"+qo,Jo="ns-"+qo,Lo="nesw-"+qo,Mo="nwse-"+qo,Do=e(je,"in"),Fo=e(je,"out"),Qo=e(vo,"events"),Uo=e($e,me),Xo=e("caret",Z),Yo=e("accent",Z),Zo="filter",en="backdrop-"+Zo,tn="background",sn=e(tn,Z),rn=e(tn,Se),on=e(tn,ve),nn=e(tn,me),ln=e(tn,me,_),an=e(tn,me,g),cn=e(tn,Ae),pn=e(tn,q),hn=e(tn,"blend",Ne),mn=e(tn,"attachment"),dn="gradient",bn=e(qe,dn);e("radial",dn),e("conic",dn);const fn=e(k,ae);e(ue,Y),e(fe,M);const un=e(Z,"dodge"),_n=e(Z,"burn"),gn=e("hard",Ee),yn=e("soft",Ee);e(Z,"mix");const vn="revert",xn={uni:{ini:"initial",inh:"inherit",u:"unset",r:vn,rl:e(vn,"layer"),a:be,no:de},ali:{s:P,e:K,c:C,st:"stretch",sb:Gs,sa:Hs,se:Js,b:"baseline",fs:Bs,fe:Ts,no:de},dis:{g:ns,ig:Ls,f:cs,if:ps},fd:{r:ls,rr:Ks,c:S,cr:Ps},fw:{w:H,nw:J,wr:Cs},rep:{rx:Qt,ry:Ut,r:Ae,s:ge,ro:"round",nr:Xt},ttf:{l:qe,e:wi,ei:Si,eo:$i,eio:ji,ss:zi,se:Oi},ws:{n:ne,nw:J,p:co,pl:po,pw:ho,bs:mo},wb:{n:ne,ba:bo,ka:yo,bw:fo},wm:{htb:uo,vlr:_o,vrl:go},hyp:{no:de,m:"manual",a:be},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:no,o:lo,u:ao},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:Q,c:C,j:as,r:X,s:P,e:K},tp:{all:re,col:s(Z,sn,pt,Dr),icon:s(fe,ue),filter:s(Zo,en),ind:s(ke,ze),sz:s(Y,Xi,Yi,oe,Zi,er),esz:s(ir,tr,sr,nr,rr,or),o:le,b:he,f:cs,g:ns,pos:s(me,Q,F,U,X),tf:s(ie,Ni,ce,Ai,"skew",Ei)},lb:{a:be,any:"anywhere",n:ne,l:"loose",s:"strict"},ov:{h:Re,s:$e,a:be,c:Se,e:"ellipsis"},v:{h:Re,v:"visible",c:"collapse",a:be},wc:{a:be,sp:Uo,c:z,tf:ie,o:le,i:Ki,tfi:ie+","+Ki},afm:{no:de,f:"forwards",b:"backwards",both:Oe},adir:{r:_e,a:yi,ar:vi},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:ne},app:{n:de,a:be},pe:{a:be,no:de,all:re,f:fe,s:ue},cur:{h:"help",a:be,p:vo,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:x,vt:No,cp:"copy",m:"move",g:Ao,gng:Eo,cr:Ro,rr:Vo,nr:Wo,er:Io,sr:Ko,wr:Po,ner:Co,ewr:To,nwr:Bo,ser:Go,swr:Ho,nsr:Jo,neswr:Lo,nwser:Mo,zi:Do,zo:Fo},res:{n:de,v:v,h:y,b:Oe},toa:{a:be,no:de,px:wo,pl:So,pr:jo,py:$o,pu:ko,pd:zo,pz:Oo,m:"manipulation"},us:{n:de,t:x,all:re,a:be},sb:{a:be,s:"smooth"},sss:{n:ne,a:"always"},sst:{n:de,x:_,y:g,b:E,i:A,both:Oe,xm:Wr,ym:Ir,bm:Kr,im:Pr,bothm:Cr,xp:Br,yp:Gr,bp:Hr,ip:Jr,bothp:Lr},fst:{i:"italic",n:ne,o:"oblique"},pos:{r:"relative",a:"absolute",f:ye,s:"static"},posv:{b:U,t:F,c:C,l:Q,r:X,lt:Ri,rt:Vi,lb:Wi,rb:Ii},csz:{cv:"cover",cn:"contain",a:be,f:fe,sd:Tt},cf:{a:be,b:"balance"},cs:{no:de,all:re},box:{c:Jt,p:Gt,b:Ht,f:Lt,s:Mt,v:Dt,nc:Ft,t:x},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:xe,l:we},mm:{a:xe,l:we,m:"match-source"},bgbm:{n:ne,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Ee+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:Z,lum:"luminosity",cd:un,cb:_n,hl:gn,sl:yn},bga:{s:$e,f:ye,l:"local"},ls:{no:de,dt:"dotted",i:Ki,h:Re,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},usz:{min:Fi,max:Qi,fit:Di,no:0,a:be}},wn={a:ri,an:oi,adur:ci,adel:pi,aps:hi,afm:mi,adir:li,aic:ai,atf:ni,trn:di,tdur:_i,tdel:gi,tb:bi,tp:fi,ttf:ui,bor:he,bw:Je,br:tt,bs:xt,bls:wt,brs:St,bts:jt,bbs:$t,bbls:kt,bis:zt,bbss:Ot,bbes:Nt,biss:At,bies:Et,brw:De,blw:Me,btw:Fe,bbw:Le,btlr:rt,btrr:ot,bbrr:it,bblr:st,biw:Ue,bblw:Qe,bbew:Ye,bbsw:Xe,bisw:Ze,biew:et,besr:ct,beer:at,bssr:lt,bser:nt,bc:pt,blc:ht,brc:mt,btc:dt,bbc:bt,bblc:ft,bic:ut,bbsc:_t,bbec:gt,bisc:yt,biec:vt,bgc:sn,c:Z,acc:Yo,ctc:Xo,st:ue,fi:fe,flt:Zo,bf:en,g:ns,f:cs,dis:"display",jc:us,ji:_s,ai:gs,ac:ys,gtr:xs,gtc:ws,rg:Ss,cg:js,as:vs,js:$s,gre:ks,grs:zs,gce:Os,gcs:Ns,fd:bs,fw:fs,fs:ds,fg:ms,fb:hs,ord:"order",m:ze,ml:ss,mr:rs,mt:is,mb:os,p:ke,pl:Yt,pr:es,pt:Zt,pb:ts,oc:qt,ow:Rt,os:Vt,oo:Wt,l:Q,r:X,t:F,b:U,ins:Ki,ib:Bi,ibe:Gi,ibs:Hi,ii:Ji,iie:Li,iis:Mi,wc:"will-change",app:"appearance",pe:Qo,cur:"cursor",toa:"touch-action",us:"user-select",res:qo,sb:ar,ssa:Er,sss:qr,sst:Rr,sm:cr,sml:mr,smr:dr,smt:pr,smb:hr,sp:vr,spl:Sr,spr:jr,spt:xr,spb:wr,smbl:br,smbe:fr,smbs:ur,smi:_r,smie:gr,smis:yr,spbl:$r,spbe:kr,spbs:zr,spi:Or,spie:Nr,spis:Ar,ar:"aspect-ratio",w:Y,maxw:Xi,minw:Yi,h:oe,minh:er,maxh:Zi,bl:tr,maxb:sr,minb:ir,i:rr,mini:nr,maxi:or,per:Ei,pero:qi,rot:Ai,sc:ce,tf:ie,tfb:Pi,tfo:Ci,tfs:Ti,tr:Ni,z:je,lts:"letter-spacing",lh:ro,lb:oo,fst:so,ff:to,fwg:eo,fsz:Zr,tt:Fr,td:Mr,ta:Qr,to:Ur,ws:"white-space",tor:Xr,wb:Yr,wm:io,hyp:"hyphens",bsz:Ui,bsh:Bt,pos:me,cf:Es,crs:Rs,crc:qs,crw:Vs,cs:Ws,cw:Is,cc:As,bgcl:rn,bgp:nn,bgpx:ln,bgpy:an,bgbm:hn,bgo:on,bgr:cn,bga:mn,bgsz:pn,mcl:Ds,mcm:Fs,mm:Qs,mo:Us,mp:Xs,mre:Ys,msz:Zs,mtp:ei,obf:Pt,obp:Ct,cnt:k,ov:ee,ovx:It,ovy:Kt,v:ae,cv:fn,o:le,zi:"z-index",zm:je,lg:bn,inf:"infinite",r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)"},Sn={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:Object.assign({lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((e,t)=>(e[t]=t,e)),{}),rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},cqu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},fr:{0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2}},xn)},jn=e=>`{${e}}`,$n=Object.assign.bind(Object),kn=(e,t)=>`${e}:${t};`,zn=(e,t)=>["@property",e,jn(kn("syntax",t.syn||'"*"')+kn("inherits",t.inh||!1)+(t.ini?kn("initial-value",t.ini):""))].join(" "),On=e=>`var(${e})`,Nn=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,An=["l","c","h","a"];class En{constructor(e){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=Sn,this._compKeys={},this._compValues={},this._analyzeParams=e=>{var t,s;if(e)for(const t in e)this._params[t]=$n(this._params[t]||{},e[t]);const{time:_,rem:g,coef:y,szu:v,sz:x,sp:w,rad:S,th:j,fr:$,bp:k,fsz:z,lsp:O,tr:N,sk:A,rot:E,fg:q,fs:R,fb:V,fo:W,ra:I,ro:K,co:P,ca:C,ins:T,cqu:B,cqb:G,cqi:H,cqmin:J,cqmax:L,vu:M,vw:D,vh:F,vmin:Q,vmax:U}=this._params.root,X=(e=>e&&i(e,(e=>100*Number(e)+"%")))($);this._params.root=$n(this._params.root,{cqb:m(G||B),cqi:d(H||B),cqmin:b(J||B),cqmax:f(L||B),vw:a(D||M),vh:c(F||M),vmin:p(Q||M),vmax:h(U||M),fo:W||y,fg:q||y,fs:R||y,fb:V||X,ra:I||u(y),ro:K||y,ca:C||u(y),co:P||y,ins:T||X,sz:$n(r(x)||{},v),sp:$n(r(w)||{},v),rad:r(S),th:r(j),bp:r(k),fsz:r(z),lsp:r(O),tr:r(N),sk:l(A),rot:l(E),perc:X,time:o(_),rem:n(g)});const Y=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(s[i[r]]=e[i[r]])}return s}(this._params,["root"]),Z=Object.entries(Y),ee={_mode:{root:{}}},te={};Z.forEach((([e,t])=>{ee._mode[e]||(ee._mode[e]={}),Object.entries(t).forEach((([t,s])=>{Object.entries(s).forEach((([s,i])=>{const r=this._prepareVarName(t,s);ee._mode[e][r]=i,ee._mode.root[r]||(ee._mode.root[r]=i,te[t]||(te[t]={}),te[t][s]=`var(${r})`)}))}))})),this._compValues=te,this._compKeys=Object.entries(this._params.root.bp||{}).reduce(((e,[t,s])=>(e[`min_${t}_`]=`@media (min-width:${s})`,e[`max_${t}_`]=`@media (max-width:${s})`,e)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},ee),{$r_:Object.assign(Object.assign({},ee._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=ee._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:ee._mode.dark}}:{}),(null===(s=ee._mode)||void 0===s?void 0:s.light)?{$light_:{$r_:ee._mode.light}}:{})})},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this._prepareKeyframesName=(...e)=>[this._prefix,...e].join("-"),this.compile=(e,t)=>{const{_:s,kf:i,k:r={},v:o={},c:n}=t,l=this._prepareSelector.bind(this),a=this._parseSelector.bind(this);let c=$n({},n),p=$n({},r),h=$n({_:{}},o),m="";if(s)for(let t in s){const i=s[t];if("c"===i.typ){const s={};An.forEach((r=>{const o=t+r,n=this._prepareVarName(e,o);s[r]=n,p["_"+o]=s[r],m+=zn(n,i)})),h._[t]=Nn({l:On(s.l),c:On(s.c),h:On(s.h),a:On(s.a)}),i.all&&(c["_"+t+"l"]=`&lig=>${this._prepareVarName(e,t+"l")}:{1}`,c["_"+t+"c"]=`&chr=>${this._prepareVarName(e,t+"c")}:{1}`,c["_"+t+"h"]=`&hue=>${this._prepareVarName(e,t+"h")}:{1}`,c["_"+t+"a"]=`&alp=>${this._prepareVarName(e,t+"a")}:{1}`)}else{const s=this._prepareVarName(e,t);p["_"+t]=s,h._[t]=On(s),m+=zn(s,i)}}const d=e=>p[e]||this._compKeys[e]||wn[e],b=e=>h[e]||this._compValues[e]||this._params.root[e],f=e=>e.replaceAll(/\{(.+?)\}/g,((e,t)=>{const[s,i]=t.split(".");if(i){const e=b(s);return(null==e?void 0:e[i])||(null==e?void 0:e.def)}return d(s)})),u=e=>{const t=e.split("?");let s;for(let e in t){const i=t[e],[r,o]=i.split("=>"),[n,l,a]=r.match(/(\w+)(\[[\w,]+\])?/),c=b(l);if(!c)continue;s=c;let p=Object.entries(s);const h=null==a?void 0:a.slice(1,-1).split(",");if(h){const e=new Set(h);p=p.filter((([t,s])=>e.has(t)))}if(o){let[e,t]=o.split("|");void 0===t&&(t=e,e=""),p=p.map((([s,i])=>[e.replace("{0}",s)||s,f(t.replaceAll("{1}",i))]))}(h||o)&&(s=Object.fromEntries(p));break}return s};function _(t,s,i){var r,o,n,c;let p=""+t;if((null===(r=null==t?void 0:t.startsWith)||void 0===r?void 0:r.call(t,"$"))&&(p=d(t.slice(1)),!p))return"";if(Array.isArray(s))return _(p,Object.assign({},...s.map((e=>"string"==typeof e?u(e):e))),i);if(null==s)return"";if("object"==typeof s){const t=!i||(null===(o=i.startsWith)||void 0===o?void 0:o.call(i,"@"))||p.startsWith("&")||p.startsWith("@")?"":"&";if(p.startsWith("_")){const{e:i,m:r,mv:o}=a(p);return r&&"string"!=typeof o?Object.entries(s).reduce(((s,[o,n])=>{let a;return a="object"==typeof n?Object.entries(n).reduce(((e,t)=>e+_(...t,p)),""):n+";",s+t+l({b:e,e:i,m:r,mv:o})+jn(a)}),""):t+l({b:e,e:i,m:r,mv:o})+jn(Object.entries(s).reduce(((e,t)=>e+_(...t,p)),""))}return t+p+jn(Object.entries(s).reduce(((e,t)=>e+_(...t,p)),""))}{let e=""+s;return(null===(n=null==e?void 0:e.startsWith)||void 0===n?void 0:n.call(e,"&"))?_(p,u(e.slice(1)),i):(null===(c=null==e?void 0:e.includes)||void 0===c?void 0:c.call(e,"{"))?_(p,f(e),i):kn(p,s)}}let g="";if(i)for(let t in i){const s=i[t],r=this._prepareKeyframesName(e,t);p["kf_"+t]=r,g+=`@keyframes ${r} `+jn(Object.entries(s).reduce(((e,[t,s])=>e+t+(String(+t)===t?"%":"")+jn(Object.entries(s).reduce(((e,t)=>e+_(...t)),""))),""))}return m+g+Object.entries(c).reduce(((e,t)=>e+_(...t)),"")};const{mode:t,prefix:s,params:_}=e;this._mode=t||"a",this._prefix=s||"eff","c"===this._mode?this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")+(r?":"+r:"")}`:this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`[data-${e}${t?"-"+t:""}${s?'~="'+s+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,this._analyzeParams(_)}_parseSelector(e){let t,s,i,r;return e.startsWith("__")?[t,s,i]=e.slice(2).split("_"):[t,s,i]=e.split("_"),i&&([i,r]=i.split(":")),{e:t,m:s,mv:i,s:r}}expandSelector(e,t){const{e:s,m:i,mv:r,s:o}=this._parseSelector(t),n=o&&this._getStateSelector(o);return[this._prepareSelector({b:e,e:s,m:i,mv:r}),this._prepareSelector({b:e,e:s,m:i,mv:r,s:o})+"{"+n]}_getStateSelector(e){const t=e+"_",s=this._compKeys[t]||wn[t];if(s)return(s.startsWith("&")||s.startsWith("@")?"":"&")+s}}class qn{constructor(e){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=e=>this._stylesheets[e],this.getAll=()=>this._stylesheets,this.add=(e,t)=>{if(!this._stylesheets[e])return this._stylesheets[e]=t,this._styleSheetsArray.push(t),this.cacheRules(e,t),this.notify(),!0},this.remove=e=>{const t=this.get(e);if(!t)return;const s=this._styleSheetsArray.findIndex((e=>e===t));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[e],delete this._rules[e],delete this._expandedSelectors[e]),this.notify(),!0},this.pack=(e,t)=>{const s=new CSSStyleSheet;if(s.replaceSync(t),s.cssRules.length)return this.add(e,s);console.log(`StyleSheet '${e}' is empty`)},this.cacheRules=(e,t)=>{[...t.cssRules].forEach((t=>{const s=t.cssText.split(" {")[0];s&&(this._rules[e]||(this._rules[e]={}),this._rules[e][s]=t)})),this._expandedSelectors[e]=new Set},this.getExpandedSelectors=e=>this._expandedSelectors[e],this.expandRule=(e,t,s)=>{const i=this._rules[e];if(!i)return void console.log(`No stylesheet found with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${e}'`);const[o,n]=r.cssText.split("{");if(r.parentStyleSheet){const t=s+"{"+n+"}",o=r.parentStyleSheet.insertRule(t,r.parentStyleSheet.cssRules.length),l=r.parentStyleSheet.cssRules[o],a=s.split("{")[0];return i[a]=l,this._expandedSelectors[e].add(a),!0}},this.apply=e=>{e.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=e=>{this._listeners.push(new WeakRef(e)),this.apply(e)},this.unregisterNode=e=>{const t=this._listeners.findIndex((t=>t.deref()===e));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((e,t)=>{const s=t.deref();return s&&(this.apply(s),e.push(t)),e}),[])},e)for(let t in e)this.pack(t,e[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}const Rn="style-provider";customElements.define(Rn,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}constructor(){super(),this.getSettings=()=>{var e;const t=null===(e=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===e?void 0:e.textContent;return t?JSON.parse(t):{}},this.compileStyleSheet=(e,t)=>{var s,i;const r=null===(s=this.processor)||void 0===s?void 0:s.compile(e,t);if(r)return null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)},this.expandStyleSheet=(e,t)=>{var s;const i=null===(s=this.manager)||void 0===s?void 0:s.getExpandedSelectors(e);if(this.processor&&i){const s=new Set(t).difference(i),r=s.size;return r&&this.processor&&s.keys().forEach((t=>{var s;const[i,r]=this.processor.expandSelector(e,t);null===(s=this.manager)||void 0===s||s.expandRule(e,i,r)})),r}},this.processStyles=(e,t)=>{if(e)for(let t in e){const s=e[t];this.compileStyleSheet(t,s)}if(t)for(let e in t){const s=t[e];this.expandStyleSheet(e,s)}return!0}}connectedCallback(){const e=this.getSettings(),{params:t,styles:s,ext:i}=e;this.processor=new En({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new qn({init:`${Rn} {display: contents;}`+this.processor.baseStyles}),this.processStyles(s,i),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}});
1
+ "function"==typeof SuppressedError&&SuppressedError;const e=(...e)=>e.join("-"),t=(...e)=>e.join(" "),s=(...e)=>e.join(","),i=(e,t)=>((e,t)=>Object.fromEntries(Object.entries(e).map((e=>t(e)))))(e,(e=>[e[0],t(e[1])])),r=e=>e&&i(e,(e=>100*Number(e)+"%")),o=e=>e&&i(e,(e=>e+"rem")),n=e=>e&&i(e,(e=>e+"ms")),a=e=>e&&i(e,(e=>e+"px")),l=e=>e&&i(e,(e=>e+"deg")),c=e=>e&&i(e,(e=>e+"vw")),p=e=>e&&i(e,(e=>e+"vh")),h=e=>e&&i(e,(e=>e+"vmin")),m=e=>e&&i(e,(e=>e+"vmax")),d=e=>e&&i(e,(e=>e+"cqb")),b=e=>e&&i(e,(e=>e+"cqi")),f=e=>e&&i(e,(e=>e+"cqw")),u=e=>e&&i(e,(e=>e+"cqh")),_=e=>e&&i(e,(e=>e+"cqmin")),g=e=>e&&i(e,(e=>e+"cqmax")),y=e=>e&&i(e,(e=>"span "+e)),v="x",x="y",w="horizontal",S="vertical",j="text",$="font",k="column",z="max",O="min",q="content",N=q+"s",A="items",E="self",R="inline",V="block",W="size",I="radius",K="direction",P="outline",C="style",T="end",B="start",G="center",H="word",J="line",L="break",M="wrap",D="nowarp",F="template",Q="rule",U="object",X="top",Y="left",Z="bottom",ee="right",te="width",se="color",ie="overflow",re="align",oe="type",ne="transform",ae="all",le="height",ce="normal",pe="opacity",he="visibility",me="scale",de="box",be="border",fe="position",ue="none",_e="auto",ge="fill",ye="stroke",ve="reverse",xe="space",we="fixed",Se="origin",je="alpha",$e="luminance",ke="clip",ze="zoom",Oe="scroll",qe="padding",Ne="margin",Ae="both",Ee="mode",Re="repeat",Ve="light",We="linear",Ie="hidden",Ke=e(be,Z),Pe=e(be,Y),Ce=e(be,ee),Te=e(be,X),Be=e(be,V),Ge=e(be,R),He=e(Be,B),Je=e(Be,T),Le=e(Ge,B),Me=e(Ge,T),De=e(be,te),Fe=e(Ke,te),Qe=e(Pe,te),Ue=e(Ce,te),Xe=e(Te,te),Ye=e(Be,te),Ze=e(Ge,te),et=e(He,te),tt=e(Je,te),st=e(Le,te),it=e(Me,te),rt=e(be,I),ot=e(be,Z,Y,I),nt=e(be,Z,ee,I),at=e(be,X,Y,I),lt=e(be,X,ee,I),ct=e(be,B,T,I),pt=e(be,B,B,I),ht=e(be,T,T,I),mt=e(be,T,B,I),dt=e(be,se),bt=e(Pe,se),ft=e(Ce,se),ut=e(Te,se),_t=e(Ke,se),gt=e(Be,se),yt=e(Ge,se),vt=e(He,se),xt=e(Je,se),wt=e(Le,se),St=e(Me,se),jt=e(be,C),$t=e(Pe,C),kt=e(Ce,C),zt=e(Te,C),Ot=e(Ke,C),qt=e(Be,C),Nt=e(Ge,C),At=e(He,C),Et=e(Je,C),Rt=e(Le,C),Vt=e(Me,C),Wt=e(P,se),It=e(P,te),Kt=e(P,C),Pt=e(P,"offset"),Ct=e(ie,v),Tt=e(ie,x),Bt=e(U,"fit"),Gt=e(U,fe),Ht=e(me,"down"),Jt=e(de,"shadow"),Lt=e(qe,de),Mt=e(be,de),Dt=e(q,de),Ft=e(ge,de),Qt=e(ye,de),Ut=e("view",de),Xt=e("no",ke),Yt=e(Re,v),Zt=e(Re,x),es=e("no",Re),ts=e(qe,Y),ss=e(qe,X),is=e(qe,ee),rs=e(qe,Z),os=e(Ne,Y),ns=e(Ne,X),as=e(Ne,ee),ls=e(Ne,Z),cs="grid",ps="row",hs="justify",ms="flex",ds=e(R,ms),bs=e(ms,"basis"),fs=e(ms,"grow"),us=e(ms,"shrink"),_s=e(ms,K),gs=e(ms,M),ys=e(hs,q),vs=e(hs,A),xs=e(re,A),ws=e(re,q),Ss=e(re,E),js=e(cs,F,ps+"s"),$s=e(cs,F,k+"s"),ks=e(ps,"gap"),zs=e(k,"gap"),Os=e(hs,E),qs=e(cs,ps,T),Ns=e(cs,ps,B),As=e(cs,k,T),Es=e(cs,k,B),Rs=e(k,"count"),Vs=e(k,ge),Ws=e(k,Q,se),Is=e(k,Q,C),Ks=e(k,Q,te),Ps=e(k,"span"),Cs=e(k,te),Ts=e(ps,ve),Bs=e(k,ve),Gs=e(M,ve),Hs=e(ms,T),Js=e(ms,B),Ls=e(xe,"between"),Ms=e(xe,"around"),Ds=e(xe,"evenly"),Fs=e(R,cs),Qs="mask",Us=e(Qs,ke),Xs=e(Qs,"composite"),Ys=e(Qs,Ee),Zs=e(Qs,Se),ei=e(Qs,fe),ti=e(Qs,Re),si=e(Qs,W),ii=e(Qs,oe),ri="timing-function",oi="delay",ni="duration",ai="animation",li=e(ai,"name"),ci=e(ai,ri),pi=e(ai,K),hi=e(ai,"iteration-count"),mi=e(ai,ni),di=e(ai,oi),bi=ai+"-play-state",fi=e(ai,ge,Ee),ui="transition",_i=ui+"-behavior",gi=ui+"-property",yi=e(ui,ri),vi=e(ui,ni),xi=e(ui,oi),wi="alternate",Si=e(wi,ve),ji="-out",$i="ease",ki=$i+"-in",zi=ki+ji,Oi=$i+ji,qi="step",Ni=e(qi,B),Ai=e(qi,T),Ei="translate",Ri="rotate",Vi="perspective",Wi=e(Vi,Se),Ii=t(Y,X),Ki=t(ee,X),Pi=t(Y,Z),Ci=t(ee,Z),Ti="inset",Bi=e(ne,de),Gi=e(ne,Se),Hi=e(ne,C),Ji=e(Ti,V),Li=e(Ti,V,T),Mi=e(Ti,V,B),Di=e(Ti,R),Fi=e(Ti,R,T),Qi=e(Ti,R,B),Ui=e("fit",q),Xi=e(O,q),Yi=e(z,q),Zi=e(de,"sizing"),er=e(z,te),tr=e(O,te),sr=e(z,le),ir=e(O,le),rr=e(V,W),or=e(z,rr),nr=e(O,rr),ar=e(R,W),lr=e(z,ar),cr=e(O,ar),pr="snap",hr=e(Oe,"behavior"),mr=e(Oe,Ne),dr=e(Oe,Ne,X),br=e(Oe,Ne,Z),fr=e(Oe,Ne,Y),ur=e(Oe,Ne,ee),_r=e(Oe,Ne,V),gr=e(Oe,Ne,V,T),yr=e(Oe,Ne,V,B),vr=e(Oe,Ne,R),xr=e(Oe,Ne,R,T),wr=e(Oe,Ne,R,B),Sr=e(Oe,qe),jr=e(Oe,qe,X),$r=e(Oe,qe,Z),kr=e(Oe,qe,Y),zr=e(Oe,qe,ee),Or=e(Oe,qe,V),qr=e(Oe,qe,V,T),Nr=e(Oe,qe,V,B),Ar=e(Oe,qe,R),Er=e(Oe,qe,R,T),Rr=e(Oe,qe,R,B),Vr=e(Oe,pr,re),Wr=e(Oe,pr,"stop"),Ir=e(Oe,pr,oe),Kr="mandatory",Pr=t(v,Kr),Cr=t(x,Kr),Tr=t(V,Kr),Br=t(R,Kr),Gr=t(Ae,Kr),Hr="proximity",Jr=t(v,Hr),Lr=t(x,Hr),Mr=t(V,Hr),Dr=t(R,Hr),Fr=t(Ae,Hr),Qr=e(j,"decoration"),Ur=e(Qr,se),Xr=e(j,ne),Yr=e(j,re),Zr=e(j,ie),eo=e(j,"orientation"),to=e(H,L),so=e($,W),io=$+"-weight",ro=$+"-family",oo=e($,C),no=e("writing",Ee),ao=e(J,le),lo=e(J,L),co=J+"-through",po="over"+J,ho="under"+J,mo="pre",bo=e(mo,J),fo=e(mo,M),uo=L+"-spaces",_o=e(L,ae),go=e(L,H),yo=w+"-tb",vo=S+"-lr",xo=S+"-rl",wo="keep-"+ae,So="pointer",jo="pan",$o=e(jo,v),ko=e(jo,Y),zo=e(jo,ee),Oo=e(jo,x),qo=e(jo,"up"),No=e(jo,"down"),Ao=e("pinch",ze),Eo=e(S,j),Ro="grab",Vo=Ro+"bing",Wo="resize",Io="col-"+Wo,Ko="row-"+Wo,Po="n-"+Wo,Co="e-"+Wo,To="s-"+Wo,Bo="w-"+Wo,Go="ne-"+Wo,Ho="ew-"+Wo,Jo="nw-"+Wo,Lo="se-"+Wo,Mo="sw-"+Wo,Do="ns-"+Wo,Fo="nesw-"+Wo,Qo="nwse-"+Wo,Uo=e(ze,"in"),Xo=e(ze,"out"),Yo=e(So,"events"),Zo=e(Oe,fe),en=e("caret",se),tn=e("accent",se),sn="filter",rn="backdrop-"+sn,on="background",nn=e(on,se),an=e(on,ke),ln=e(on,Se),cn=e(on,fe),pn=e(on,fe,v),hn=e(on,fe,x),mn=e(on,Re),dn=e(on,W),bn=e(on,"blend",Ee),fn=e(on,"attachment"),un="gradient",_n=e(We,un);e("radial",un),e("conic",un);const gn=e(q,he);e(ye,te),e(ge,Q);const yn=e(se,"dodge"),vn=e(se,"burn"),xn=e("hard",Ve),wn=e("soft",Ve);e(se,"mix");const Sn="revert",jn=e(Sn,"layer"),$n="container",kn=e($n,oe),zn=e($n,"name"),On={0:0,"1/4":25,"1/2":50,"3/4":75,1:100},qn={0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},Nn=[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((e,t)=>(e[t]=t,e)),{}),An={lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:Nn,rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0,min:Xi,max:Yi,fit:Ui},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vw:On,vh:On,vmin:On,vmax:On,cqw:On,cqh:On,cqb:On,cqi:On,cqmin:On,cqmax:On,perc:qn,rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2},ins:qn,uni:{ini:"initial",inh:"inherit",u:"unset",r:Sn,rl:jn},ali:{s:B,e:T,c:G,st:"stretch",sb:Ls,sa:Ms,se:Ds,b:"baseline",fs:Js,fe:Hs,no:ue},dis:{g:cs,ig:Fs,f:ms,if:ds,b:V,i:R},ca:Nn,co:Nn,ra:Nn,ro:Nn,fd:{r:ps,rr:Ts,c:k,cr:Bs},fb:qn,fo:Nn,fg:Nn,fs:Nn,fw:{w:M,nw:D,wr:Gs},rep:{rx:Yt,ry:Zt,r:Re,s:xe,ro:"round",nr:es},ttf:{l:We,e:$i,ei:ki,eo:Oi,eio:zi,ss:Ni,se:Ai},ws:{n:ce,nw:D,p:mo,pl:bo,pw:fo,bs:uo},wb:{n:ce,ba:_o,ka:wo,bw:go},wm:{htb:yo,vlr:vo,vrl:xo},hyp:{no:ue,m:"manual",a:_e},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:co,o:po,u:ho},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:Y,c:G,j:hs,r:ee,s:B,e:T},tp:{all:ae,col:s(se,nn,dt,Ur),icon:s(ge,ye),flt:s(sn,rn),ind:s(qe,Ne),sz:s(te,er,tr,le,sr,ir),esz:s(nr,rr,or,cr,ar,lr),o:pe,b:be,f:ms,g:cs,pos:s(fe,Y,X,Z,ee),tf:s(ne,Ei,me,Ri,"skew",Vi)},lb:{a:_e,any:"anywhere",n:ce,l:"loose",s:"strict"},ov:{h:Ie,s:Oe,a:_e,c:ke,e:"ellipsis"},v:{h:Ie,v:"visible",c:"collapse",a:_e},wc:{a:_e,sp:Zo,c:N,tf:ne,o:pe,i:Ti,tfi:ne+","+Ti},afm:{no:ue,f:"forwards",b:"backwards",both:Ae},adir:{r:ve,a:wi,ar:Si},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:ce},app:{n:ue,a:_e},pe:{a:_e,no:ue,all:ae,f:ge,s:ye},cur:{h:"help",a:_e,p:So,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:j,vt:Eo,cp:"copy",m:"move",g:Ro,gng:Vo,cr:Io,rr:Ko,nr:Po,er:Co,sr:To,wr:Bo,ner:Go,ewr:Ho,nwr:Jo,ser:Lo,swr:Mo,nsr:Do,neswr:Fo,nwser:Qo,zi:Uo,zo:Xo},res:{n:ue,v:S,h:w,b:Ae},toa:{a:_e,no:ue,px:$o,pl:ko,pr:zo,py:Oo,pu:qo,pd:No,pz:Ao,m:"manipulation"},us:{n:ue,t:j,all:ae,a:_e},sb:{a:_e,s:"smooth"},sss:{n:ce,a:"always"},sst:{n:ue,x:v,y:x,b:V,i:R,both:Ae,xm:Pr,ym:Cr,bm:Tr,im:Br,bothm:Gr,xp:Jr,yp:Lr,bp:Mr,ip:Dr,bothp:Fr},fst:{i:"italic",n:ce,o:"oblique"},pos:{r:"relative",a:"absolute",f:we,s:"static"},posv:{b:Z,t:X,c:G,l:Y,r:ee,lt:Ii,rt:Ki,lb:Pi,rb:Ci},csz:{cv:"cover",cn:"contain",a:_e,f:ge,sd:Ht},cf:{a:_e,b:"balance"},cs:{no:ue,all:ae},box:{c:Dt,p:Lt,b:Mt,f:Ft,s:Qt,v:Ut,nc:Xt,t:j},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:je,l:$e},mm:{a:je,l:$e,m:"match-source"},bgbm:{n:ce,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:Ve+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:se,lum:"luminosity",cd:yn,cb:vn,hl:xn,sl:wn},bga:{s:Oe,f:we,l:"local"},ls:{no:ue,dt:"dotted",i:Ti,h:Ie,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},cnt:{n:ce,s:W,is:ar}},En={a:ai,an:li,adur:mi,adel:di,aps:bi,afm:fi,adir:pi,aic:hi,atf:ci,trn:ui,tdur:vi,tdel:xi,tb:_i,tp:gi,ttf:yi,bor:be,bw:De,br:rt,bs:jt,bls:$t,brs:kt,bts:zt,bbs:Ot,bbls:qt,bis:Nt,bbss:At,bbes:Et,biss:Rt,bies:Vt,brw:Ue,blw:Qe,btw:Xe,bbw:Fe,btlr:at,btrr:lt,bbrr:nt,bblr:ot,biw:Ze,bblw:Ye,bbew:tt,bbsw:et,bisw:st,biew:it,besr:mt,beer:ht,bssr:pt,bser:ct,bc:dt,blc:bt,brc:ft,btc:ut,bbc:_t,bblc:gt,bic:yt,bbsc:vt,bbec:xt,bisc:wt,biec:St,bgc:nn,c:se,acc:tn,ctc:en,st:ye,fi:ge,flt:sn,bf:rn,g:cs,f:ms,dis:"display",jc:ys,ji:vs,ai:xs,ac:ws,gtr:js,gtc:$s,rg:ks,cg:zs,as:Ss,js:Os,gre:qs,grs:Ns,gce:As,gcs:Es,fd:_s,fw:gs,fs:us,fg:fs,fb:bs,ord:"order",m:Ne,ml:os,mr:as,mt:ns,mb:ls,p:qe,pl:ts,pr:is,pt:ss,pb:rs,oc:Wt,ow:It,os:Kt,oo:Pt,l:Y,r:ee,t:X,b:Z,ins:Ti,ib:Ji,ibe:Li,ibs:Mi,ii:Di,iie:Fi,iis:Qi,wc:"will-change",app:"appearance",pe:Yo,cur:"cursor",toa:"touch-action",us:"user-select",res:Wo,sb:hr,ssa:Vr,sss:Wr,sst:Ir,sm:mr,sml:fr,smr:ur,smt:dr,smb:br,sp:Sr,spl:kr,spr:zr,spt:jr,spb:$r,smbl:_r,smbe:gr,smbs:yr,smi:vr,smie:xr,smis:wr,spbl:Or,spbe:qr,spbs:Nr,spi:Ar,spie:Er,spis:Rr,ar:"aspect-ratio",w:te,maxw:er,minw:tr,h:le,minh:ir,maxh:sr,bl:rr,maxb:or,minb:nr,i:ar,mini:cr,maxi:lr,per:Vi,pero:Wi,rot:Ri,sc:me,tf:ne,tfb:Bi,tfo:Gi,tfs:Hi,tr:Ei,z:ze,lts:"letter-spacing",lh:ao,lb:lo,fst:oo,ff:ro,fwg:io,fsz:so,tt:Xr,td:Qr,ta:Yr,to:Zr,ws:"white-space",tor:eo,wb:to,wm:no,hyp:"hyphens",bsz:Zi,bsh:Jt,pos:fe,cf:Vs,crs:Is,crc:Ws,crw:Ks,cs:Ps,cw:Cs,cc:Rs,bgcl:an,bgp:cn,bgpx:pn,bgpy:hn,bgbm:bn,bgo:ln,bgr:mn,bga:fn,bgsz:dn,mcl:Us,mcm:Xs,mm:Ys,mo:Zs,mp:ei,mre:ti,msz:si,mtp:ii,obf:Bt,obp:Gt,con:q,ov:ie,ovx:Ct,ovy:Tt,v:he,cv:gn,o:pe,zi:"z-index",zm:ze,lg:_n,inf:"infinite",cnt:kn,cnn:zn,r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)",red_m_:"@media (prefers-reduced-motion)",ori_l_:"@media (orientation: landscape)",ori_p_:"@media (orientation: portrait)"},Rn={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:An},Vn=e=>`{${e}}`,Wn=Object.assign.bind(Object),In=(e,t)=>`${e}:${t};`,Kn=(e,t)=>["@property",e,Vn(In("syntax",t.syn||'"*"')+In("inherits",t.inh||!1)+(t.ini?In("initial-value",t.ini):""))].join(" "),Pn=e=>`var(${e})`,Cn=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,Tn=["l","c","h","a"];class Bn{constructor(e){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=Rn,this._compKeys={},this._compValues={},this._analyzeParams=e=>{var t,s;if(e)for(const t in e)this._params[t]=Wn(this._params[t]||{},e[t]);const{time:i,rem:v,szu:x,sz:w,sp:S,rad:j,th:$,perc:k,bp:z,fsz:O,lsp:q,tr:N,sk:A,rot:E,fb:R,ra:V,ca:W,ins:I,cqw:K,cqh:P,cqb:C,cqi:T,cqmin:B,cqmax:G,vw:H,vh:J,vmin:L,vmax:M}=this._params.root;this._params.root=Wn(this._params.root,{cqw:f(K),cqh:u(P),cqb:d(C),cqi:b(T),cqmin:_(B),cqmax:g(G),vw:c(H),vh:p(J),vmin:h(L),vmax:m(M),fb:r(R),ra:y(V),ca:y(W),ins:r(I),sz:Wn(o(w)||{},x),sp:Wn(o(S)||{},x),rad:o(j),th:o($),bp:o(z),fsz:o(O),lsp:o(q),tr:o(N),sk:l(A),rot:l(E),perc:r(k),time:n(i),rem:a(v)});const D=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(s[i[r]]=e[i[r]])}return s}(this._params,["root"]),F=Object.entries(D),Q={_mode:{root:{}}},U={};F.forEach((([e,t])=>{Q._mode[e]||(Q._mode[e]={}),Object.entries(t).forEach((([t,s])=>{Object.entries(s).forEach((([s,i])=>{const r=this._prepareVarName(t,s);Q._mode[e][r]=i,Q._mode.root[r]||(Q._mode.root[r]=i,U[t]||(U[t]={}),U[t][s]=`var(${r})`)}))}))})),this._compValues=U,this._compKeys=Object.entries(this._params.root.bp||{}).reduce(((e,[t,s])=>(e[`min_${t}_`]=`@media (min-width:${s})`,e[`max_${t}_`]=`@media (max-width:${s})`,e)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},Q),{$r_:Object.assign(Object.assign({},Q._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=Q._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:Q._mode.dark}}:{}),(null===(s=Q._mode)||void 0===s?void 0:s.light)?{$light_:{$r_:Q._mode.light}}:{})})},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this._prepareKeyframesName=(...e)=>[this._prefix,...e].join("-"),this.compile=(e,t)=>{const{_:s,kf:i,k:r={},v:o={},c:n}=t,a=this._prepareSelector.bind(this),l=this._parseSelector.bind(this);let c=Wn({},n),p=Wn({},r),h=Wn({_:{}},o),m="";if(s)for(let t in s){const i=s[t];if("c"===i.typ){const s={};Tn.forEach((r=>{const o=t+r,n=this._prepareVarName(e,o);s[r]=n,p["_"+o]=s[r],m+=Kn(n,i)})),h._[t]=Cn({l:Pn(s.l),c:Pn(s.c),h:Pn(s.h),a:Pn(s.a)}),i.all&&(c["_"+t+"l"]=`&lig=>${this._prepareVarName(e,t+"l")}:{1}`,c["_"+t+"c"]=`&chr=>${this._prepareVarName(e,t+"c")}:{1}`,c["_"+t+"h"]=`&hue=>${this._prepareVarName(e,t+"h")}:{1}`,c["_"+t+"a"]=`&alp=>${this._prepareVarName(e,t+"a")}:{1}`)}else{const s=this._prepareVarName(e,t);p["_"+t]=s,h._[t]=Pn(s),m+=Kn(s,i)}}const d=e=>p[e]||this._compKeys[e]||En[e],b=e=>h[e]||this._compValues[e]||this._params.root[e],f=e=>e.replaceAll(/\{(.+?)\}/g,((e,t)=>{const[s,i]=t.split(".");if(i){const e=b(s);return(null==e?void 0:e[i])||(null==e?void 0:e.def)}return d(s)})),u=e=>{const t=e.split("?");let s;for(let e in t){const i=t[e],[r,o]=i.split("=>"),[n,a,l]=r.match(/(\w+)(\[[\w,]+\])?/),c=b(a);if(!c)continue;s=c;let p=Object.entries(s);const h=null==l?void 0:l.slice(1,-1).split(",");if(h){const e=new Set(h);p=p.filter((([t,s])=>e.has(t)))}if(o){let[e,t]=o.split("|");void 0===t&&(t=e,e=""),p=p.map((([s,i])=>[e.replace("{0}",s)||s,f(t.replaceAll("{1}",i))]))}(h||o)&&(s=Object.fromEntries(p));break}return s};function _(t,s,i){var r,o,n,c;let p=""+t;if((null===(r=null==t?void 0:t.startsWith)||void 0===r?void 0:r.call(t,"$"))&&(p=d(t.slice(1)),!p))return"";if(Array.isArray(s))return _(p,Object.assign({},...s.map((e=>"string"==typeof e?u(e):e))),i);if(null==s)return"";if("object"==typeof s){const t=!i||(null===(o=i.startsWith)||void 0===o?void 0:o.call(i,"@"))||p.startsWith("&")||p.startsWith("@")?"":"&";if(p.startsWith("_")){const{e:i,m:r,mv:o}=l(p);return r&&"string"!=typeof o?Object.entries(s).reduce(((s,[o,n])=>{let l;return l="object"==typeof n?Object.entries(n).reduce(((e,t)=>e+_(...t,p)),""):n+";",s+t+a({b:e,e:i,m:r,mv:o})+Vn(l)}),""):t+a({b:e,e:i,m:r,mv:o})+Vn(Object.entries(s).reduce(((e,t)=>e+_(...t,p)),""))}return t+p+Vn(Object.entries(s).reduce(((e,t)=>e+_(...t,p)),""))}{let e=""+s;return(null===(n=null==e?void 0:e.startsWith)||void 0===n?void 0:n.call(e,"&"))?_(p,u(e.slice(1)),i):(null===(c=null==e?void 0:e.includes)||void 0===c?void 0:c.call(e,"{"))?_(p,f(e),i):In(p,s)}}let g="";if(i)for(let t in i){const s=i[t],r=this._prepareKeyframesName(e,t);p["kf_"+t]=r,g+=`@keyframes ${r} `+Vn(Object.entries(s).reduce(((e,[t,s])=>e+t+(String(+t)===t?"%":"")+Vn(Object.entries(s).reduce(((e,t)=>e+_(...t)),""))),""))}return m+g+Object.entries(c).reduce(((e,t)=>e+_(...t)),"")};const{mode:t,prefix:s,params:i}=e;this._mode=t||"a",this._prefix=s||"eff","c"===this._mode?this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")+(r?":"+r:"")}`:this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`[data-${e}${t?"-"+t:""}${s?'~="'+s+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,this._analyzeParams(i)}_parseSelector(e){let t,s,i,r;return e.startsWith("__")?[t,s,i]=e.slice(2).split("_"):[t,s,i]=e.split("_"),i&&([i,r]=i.split(":")),{e:t,m:s,mv:i,s:r}}expandSelector(e,t){const{e:s,m:i,mv:r,s:o}=this._parseSelector(t),n=o&&this._getStateSelector(o);return[this._prepareSelector({b:e,e:s,m:i,mv:r}),this._prepareSelector({b:e,e:s,m:i,mv:r,s:o})+"{"+n]}_getStateSelector(e){const t=e+"_",s=this._compKeys[t]||En[t];if(s)return(s.startsWith("&")||s.startsWith("@")?"":"&")+s}}class Gn{constructor(e){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=e=>this._stylesheets[e],this.getAll=()=>this._stylesheets,this.add=(e,t)=>{if(!this._stylesheets[e])return this._stylesheets[e]=t,this._styleSheetsArray.push(t),this.cacheRules(e,t),this.notify(),!0},this.remove=e=>{const t=this.get(e);if(!t)return;const s=this._styleSheetsArray.findIndex((e=>e===t));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[e],delete this._rules[e],delete this._expandedSelectors[e]),this.notify(),!0},this.pack=(e,t)=>{const s=new CSSStyleSheet;if(s.replaceSync(t),s.cssRules.length)return this.add(e,s);console.log(`StyleSheet '${e}' is empty`)},this.cacheRules=(e,t)=>{[...t.cssRules].forEach((t=>{const s=t.cssText.split(" {")[0];s&&(this._rules[e]||(this._rules[e]={}),this._rules[e][s]=t)})),this._expandedSelectors[e]=new Set},this.getExpandedSelectors=e=>this._expandedSelectors[e],this.expandRule=(e,t,s)=>{const i=this._rules[e];if(!i)return void console.log(`No stylesheet found with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${e}'`);const[o,n]=r.cssText.split("{");if(r.parentStyleSheet){const t=s+"{"+n+"}",o=r.parentStyleSheet.insertRule(t,r.parentStyleSheet.cssRules.length),a=r.parentStyleSheet.cssRules[o],l=s.split("{")[0];return i[l]=a,this._expandedSelectors[e].add(l),!0}},this.apply=e=>{e.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=e=>{this._listeners.push(new WeakRef(e)),this.apply(e)},this.unregisterNode=e=>{const t=this._listeners.findIndex((t=>t.deref()===e));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((e,t)=>{const s=t.deref();return s&&(this.apply(s),e.push(t)),e}),[])},e)for(let t in e)this.pack(t,e[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}const Hn="style-provider";customElements.define(Hn,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||"effcss"}constructor(){super(),this.getSettings=()=>{var e;const t=null===(e=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===e?void 0:e.textContent;return t?JSON.parse(t):{}},this.compileStyleSheet=(e,t)=>{var s,i;const r=null===(s=this.processor)||void 0===s?void 0:s.compile(e,t);if(r)return null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)},this.expandStyleSheet=(e,t)=>{var s;const i=null===(s=this.manager)||void 0===s?void 0:s.getExpandedSelectors(e);if(this.processor&&i){const s=new Set(t).difference(i),r=s.size;return r&&this.processor&&s.keys().forEach((t=>{var s;const[i,r]=this.processor.expandSelector(e,t);null===(s=this.manager)||void 0===s||s.expandRule(e,i,r)})),r}},this.processStyles=(e,t)=>{if(e)for(let t in e){const s=e[t];this.compileStyleSheet(t,s)}if(t)for(let e in t){const s=t[e];this.expandStyleSheet(e,s)}return!0}}connectedCallback(){const e=this.getSettings(),{params:t,styles:s,ext:i}=e;this.processor=new Bn({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new Gn({init:`${Hn} {display: contents;}`+this.processor.baseStyles}),this.processStyles(s,i),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}});
@@ -1 +1 @@
1
- import{argsToDeg as t,scale3d as $,comma as o,scaleX as f,scale as n,translate3d as e,translateZ as i,space as a,rotateX as s,rotateY as v,perspective as u,pseudoWhere as b,pseudoHover as r,pseudoVisited as c,pseudoLink as h,pseudoActive as l,pseudoFocus as p}from"../css/functions.js";const d=t(-20,-15,-5,10,90),m="In",x="Out",z="Down",k="Up",_="Left",g="Right",y="zoom",j=y+m,w=y+x,B="pulse",D="bounce",I=D+m,L=D+x,O="fade",R=O+m,U=R+z,q=R+k,A=R+_,C=R+g,E=O+x,F=E+z,G=E+k,H=E+_,J=E+g,K="flip",M=K+m+"x",N=K+m+"y",P=K+x+"x",Q=K+x+"y",S="slide",T=S+m,V=T+z,W=T+k,X=T+g,Y=T+_,Z=S+x,tt=Z+z,$t=Z+k,ot=Z+g,ft=Z+_,nt="heartBeat",et=u("25rem");var it,at={kf:{[j]:{0:{$o:0,$tf:$(o(.25,.25,.25))},50:{$o:1}},[w]:{0:{$o:1},50:{$o:0,$tf:$(o(.25,.25,.25))},to:{$o:0}},[B]:{0:{$tf:f(1)},50:{$tf:$(o(1.05,1.05,1.05))},to:{$tf:f(1)}},[nt]:{0:{$tf:n(1)},15:{$tf:n(1.25)},30:{$tf:n(1)},45:{$tf:n(1.25)},70:{$tf:n(0)}},[I]:{"0, 20%, 40%, 60%, 80%, to":{$atf:"cubic-bezier(.215,.61,.355,1)"},0:{$o:0,$tf:$(o(.25,.25,.25))},20:{$tf:$(o(1.1,1.1,1.1))},40:{$tf:$(o(.9,.9,.9))},60:{$o:1,$tf:$(o(1.05,1.05,1.05))},80:{$tf:$(o(.95,.95,.95))},to:{$o:1,$tf:f(1)}},[L]:{20:{$tf:$(o(.9,.9,.9))},"50%, 55%":{$o:1,$tf:$(o(1.1,1.1,1.1))},to:{$o:0,$tf:$(o(.3,.3,.3))}},[R]:{0:{$o:0},to:{$o:1}},[U]:{0:{$o:0,$tf:e(0,"100%",0)},to:{$o:1,$tf:i(0)}},[A]:{0:{$o:0,$tf:e("-100%",0,0)},to:{$o:1,$tf:i(0)}},[C]:{0:{$o:0,$tf:e("-100%",0,0)},to:{$o:1,$tf:i(0)}},[q]:{0:{$o:0,$tf:e(0,"100%",0)},to:{$o:1,$tf:i(0)}},[E]:{0:{$o:1},to:{$o:0}},[F]:{0:{$o:1},to:{$o:0,$tf:e(0,"-100%",0)}},[H]:{0:{$o:1},to:{$o:0,$tf:e("-100%",0,0)}},[J]:{0:{$o:1},to:{$o:0,$tf:e("100%",0,0)}},[G]:{0:{$o:1},to:{$o:0,$tf:e(0,"-100%",0)}},[M]:{0:{$atf:"{ttf.ei}",$o:0,$tf:a(et,s(d[90]))},40:{$atf:"{ttf.ei}",$tf:a(et,s(d[-20]))},60:{$o:1,$tf:a(et,s(d[10]))},80:{$tf:a(et,s(d[-5]))},to:{$tf:et}},[N]:{0:{$atf:"{ttf.ei}",$o:0,$tf:a(et,v(d[90]))},40:{$atf:"{ttf.ei}",$tf:a(et,v(d[-20]))},60:{$o:1,$tf:a(et,v(d[10]))},80:{$tf:a(et,v(d[-5]))},to:{$tf:et}},[P]:{0:{$tf:et},30:{$o:1,$tf:a(et,s(d[-20]))},to:{$o:0,$tf:a(et,s(d[90]))}},[Q]:{0:{$tf:et},30:{$o:1,$tf:a(et,v(d[-15]))},to:{$o:0,$tf:a(et,v(d[90]))}},[V]:{0:{$tf:e(0,"-100%",0),$v:"{v.v}"},to:{$tf:i(0)}},[Y]:{0:{$tf:e("-100%",0,0),$v:"{v.v}"},to:{$tf:i(0)}},[X]:{0:{$tf:e("100%",0,0),$v:"{v.v}"},to:{$tf:i(0)}},[W]:{0:{$tf:e(0,"100%",0),$v:"{v.v}"},to:{$tf:i(0)}},[tt]:{0:{$tf:i(0)},to:{$tf:e(0,"100%",0),$v:"{v.h}"}},[ft]:{0:{$tf:i(0)},to:{$tf:e("-100%",0,0),$v:"{v.h}"}},[ot]:{0:{$tf:i(0)},to:{$tf:e("100%",0,0),$v:"{v.h}"}},[$t]:{0:{$tf:i(0)},to:{$tf:e(0,"-100%",0),$v:"{v.h}"}}},c:(it=[j,w,B,nt,I,L,R,U,A,C,q,E,F,H,J,G,M,N,P,Q,V,Y,X,W,tt,ft,ot,$t],it.reduce(((t,$)=>(t["_"+$+"_"]={$an:`{kf_${$}}`},t)),{}))},st={t:"",k:{},c:{$:{$p:0,$m:0,$bor:"{uni.no}",$bsz:"{box.b}",$ba_:{$bsz:"{box.b}"}},[b(o("a",h("a"),c("a"),r("a")))]:{$td:"{uni.no}"},[b("aside,nav,footer,header,section,main")]:{$dis:"{dis.b}"},":host,html":{$lh:1.5},[b("menu,ol,ul")]:{$ls:"{ls.no}"},[b("input,textarea,button,select")]:{$ff:"{uni.inh}",$fsz:"{uni.inh}",$c:"{uni.inh}",$bgc:"transparent"},[b(o(p("input"),l("input"),p("button"),l("button")))]:{$o:"none"}}};export{at as kf,st as reset};
1
+ import{argsToDeg as t,scale3d as $,comma as o,scaleX as f,scale as e,translate3d as n,translateZ as a,space as i,rotateX as s,rotateY as v,perspective as u,pseudoWhere as b,pseudoHover as r,pseudoVisited as c,pseudoLink as h,pseudoActive as l,pseudoFocus as p}from"../css/functions.js";const d=t(-20,-15,-5,10,90),m="In",x="Out",z="Down",_="Up",k="Left",g="Right",y="zoom",j=y+m,w=y+x,B="pulse",D="bounce",I=D+m,L=D+x,O="fade",R=O+m,U=R+z,q=R+_,A=R+k,C=R+g,E=O+x,F=E+z,G=E+_,H=E+k,J=E+g,K="flip",M=K+m+"x",N=K+m+"y",P=K+x+"x",Q=K+x+"y",S="slide",T=S+m,V=T+z,W=T+_,X=T+g,Y=T+k,Z=S+x,tt=Z+z,$t=Z+_,ot=Z+g,ft=Z+k,et="heartBeat",nt=u("25rem");var at,it={kf:{[j]:{0:{$o:0,$tf:$(o(.25,.25,.25))},50:{$o:1}},[w]:{0:{$o:1},50:{$o:0,$tf:$(o(.25,.25,.25))},to:{$o:0}},[B]:{0:{$tf:f(1)},50:{$tf:$(o(1.05,1.05,1.05))},to:{$tf:f(1)}},[et]:{0:{$tf:e(1)},15:{$tf:e(1.25)},30:{$tf:e(1)},45:{$tf:e(1.25)},70:{$tf:e(0)}},[I]:{"0, 20%, 40%, 60%, 80%, to":{$atf:"cubic-bezier(.215,.61,.355,1)"},0:{$o:0,$tf:$(o(.25,.25,.25))},20:{$tf:$(o(1.1,1.1,1.1))},40:{$tf:$(o(.9,.9,.9))},60:{$o:1,$tf:$(o(1.05,1.05,1.05))},80:{$tf:$(o(.95,.95,.95))},to:{$o:1,$tf:f(1)}},[L]:{20:{$tf:$(o(.9,.9,.9))},"50%, 55%":{$o:1,$tf:$(o(1.1,1.1,1.1))},to:{$o:0,$tf:$(o(.3,.3,.3))}},[R]:{0:{$o:0},to:{$o:1}},[U]:{0:{$o:0,$tf:n(0,"100%",0)},to:{$o:1,$tf:a(0)}},[A]:{0:{$o:0,$tf:n("-100%",0,0)},to:{$o:1,$tf:a(0)}},[C]:{0:{$o:0,$tf:n("-100%",0,0)},to:{$o:1,$tf:a(0)}},[q]:{0:{$o:0,$tf:n(0,"100%",0)},to:{$o:1,$tf:a(0)}},[E]:{0:{$o:1},to:{$o:0}},[F]:{0:{$o:1},to:{$o:0,$tf:n(0,"-100%",0)}},[H]:{0:{$o:1},to:{$o:0,$tf:n("-100%",0,0)}},[J]:{0:{$o:1},to:{$o:0,$tf:n("100%",0,0)}},[G]:{0:{$o:1},to:{$o:0,$tf:n(0,"-100%",0)}},[M]:{0:{$atf:"{ttf.ei}",$o:0,$tf:i(nt,s(d[90]))},40:{$atf:"{ttf.ei}",$tf:i(nt,s(d[-20]))},60:{$o:1,$tf:i(nt,s(d[10]))},80:{$tf:i(nt,s(d[-5]))},to:{$tf:nt}},[N]:{0:{$atf:"{ttf.ei}",$o:0,$tf:i(nt,v(d[90]))},40:{$atf:"{ttf.ei}",$tf:i(nt,v(d[-20]))},60:{$o:1,$tf:i(nt,v(d[10]))},80:{$tf:i(nt,v(d[-5]))},to:{$tf:nt}},[P]:{0:{$tf:nt},30:{$o:1,$tf:i(nt,s(d[-20]))},to:{$o:0,$tf:i(nt,s(d[90]))}},[Q]:{0:{$tf:nt},30:{$o:1,$tf:i(nt,v(d[-15]))},to:{$o:0,$tf:i(nt,v(d[90]))}},[V]:{0:{$tf:n(0,"-100%",0),$v:"{v.v}"},to:{$tf:a(0)}},[Y]:{0:{$tf:n("-100%",0,0),$v:"{v.v}"},to:{$tf:a(0)}},[X]:{0:{$tf:n("100%",0,0),$v:"{v.v}"},to:{$tf:a(0)}},[W]:{0:{$tf:n(0,"100%",0),$v:"{v.v}"},to:{$tf:a(0)}},[tt]:{0:{$tf:a(0)},to:{$tf:n(0,"100%",0),$v:"{v.h}"}},[ft]:{0:{$tf:a(0)},to:{$tf:n("-100%",0,0),$v:"{v.h}"}},[ot]:{0:{$tf:a(0)},to:{$tf:n("100%",0,0),$v:"{v.h}"}},[$t]:{0:{$tf:a(0)},to:{$tf:n(0,"-100%",0),$v:"{v.h}"}}},c:(at=[j,w,B,et,I,L,R,U,A,C,q,E,F,H,J,G,M,N,P,Q,V,Y,X,W,tt,ft,ot,$t],at.reduce(((t,$)=>(t["_"+$+"_"]={$an:`{kf_${$}}`},t)),{}))},st={c:{$:{$p:0,$m:0,$bor:"none",$bsz:"{box.b}",$ba_:{$bsz:"{box.b}"}},[b(o("a",h("a"),c("a"),r("a")))]:{$td:"none"},[b("aside,nav,footer,header,section,main")]:{$dis:"{dis.b}"},":host,html":{$lh:1.5},[b("menu,ol,ul")]:{$ls:"{ls.no}"},[b("input,textarea,button,select")]:{$ff:"{uni.inh}",$fsz:"{uni.inh}",$c:"{uni.inh}",$bgc:"transparent"},[b(o(p("input"),l("input"),p("button"),l("button")))]:{$o:"none"}}};export{it as kf,st as reset};
package/dist/css/dict.js CHANGED
@@ -1 +1 @@
1
- import{dash as s,space as e,comma as t}from"./functions.js";const r="x",i="y",a="horizontal",o="vertical",n="text",b="font",l="column",c="max",p="min",m="content",d=m+"s",f="items",w="self",h="inline",g="block",u="size",v="radius",y="direction",x="outline",_="style",z="end",k="start",j="center",q="word",A="line",B="break",C="wrap",D="nowarp",E="template",F="rule",G="object",H="top",I="left",J="bottom",K="right",L="width",M="color",N="overflow",O="align",P="type",Q="transform",R="all",S="height",T="normal",U="opacity",V="visibility",W="scale",X="box",Y="border",Z="position",$="none",ss="auto",es="fill",ts="stroke",rs="reverse",is="space",as="fixed",os="origin",ns="alpha",bs="luminance",ls="clip",cs="zoom",ps="scroll",ms="padding",ds="margin",fs="both",ws="mode",hs="repeat",gs="light",us="linear",vs="hidden",ys=s(Y,J),xs=s(Y,I),_s=s(Y,K),zs=s(Y,H),ks=s(Y,g),js=s(Y,h),qs=s(ks,k),As=s(ks,z),Bs=s(js,k),Cs=s(js,z),Ds=s(Y,L),Es=s(ys,L),Fs=s(xs,L),Gs=s(_s,L),Hs=s(zs,L),Is=s(ks,L),Js=s(js,L),Ks=s(qs,L),Ls=s(As,L),Ms=s(Bs,L),Ns=s(Cs,L),Os=s(Y,v),Ps=s(Y,J,I,v),Qs=s(Y,J,K,v),Rs=s(Y,H,I,v),Ss=s(Y,H,K,v),Ts=s(Y,k,z,v),Us=s(Y,k,k,v),Vs=s(Y,z,z,v),Ws=s(Y,z,k,v),Xs=s(Y,M),Ys=s(xs,M),Zs=s(_s,M),$s=s(zs,M),se=s(ys,M),ee=s(ks,M),te=s(js,M),re=s(qs,M),ie=s(As,M),ae=s(Bs,M),oe=s(Cs,M),ne=s(Y,_),be=s(xs,_),le=s(_s,_),ce=s(zs,_),pe=s(ys,_),me=s(ks,_),de=s(js,_),fe=s(qs,_),we=s(As,_),he=s(Bs,_),ge=s(Cs,_),ue=s(x,M),ve=s(x,L),ye=s(x,_),xe=s(x,"offset"),_e=s(N,r),ze=s(N,i),ke=s(G,"fit"),je=s(G,Z),qe=s(W,"down"),Ae=s(X,"shadow"),Be=s(ms,X),Ce=s(Y,X),De=s(m,X),Ee=s(es,X),Fe=s(ts,X),Ge=s("view",X),He=s("no",ls),Ie=s(hs,r),Je=s(hs,i),Ke=s("no",hs),Le=s(ms,I),Me=s(ms,H),Ne=s(ms,K),Oe=s(ms,J),Pe=s(ds,I),Qe=s(ds,H),Re=s(ds,K),Se=s(ds,J),Te="grid",Ue="row",Ve="justify",We="flex",Xe=s(h,We),Ye=s(We,"basis"),Ze=s(We,"grow"),$e=s(We,"shrink"),st=s(We,y),et=s(We,C),tt=s(Ve,m),rt=s(Ve,f),it=s(O,f),at=s(O,m),ot=s(O,w),nt=s(Te,E,Ue+"s"),bt=s(Te,E,l+"s"),lt=s(Ue,"gap"),ct=s(l,"gap"),pt=s(Ve,w),mt=s(Te,Ue,z),dt=s(Te,Ue,k),ft=s(Te,l,z),wt=s(Te,l,k),ht=s(l,"count"),gt=s(l,es),ut=s(l,F,M),vt=s(l,F,_),yt=s(l,F,L),xt=s(l,"span"),_t=s(l,L),zt=s(Ue,rs),kt=s(l,rs),jt=s(C,rs),qt=s(We,z),At=s(We,k),Bt=s(is,"between"),Ct=s(is,"around"),Dt=s(is,"evenly"),Et=s(h,Te),Ft="mask",Gt=s(Ft,ls),Ht=s(Ft,"composite"),It=s(Ft,ws),Jt=s(Ft,os),Kt=s(Ft,Z),Lt=s(Ft,hs),Mt=s(Ft,u),Nt=s(Ft,P),Ot="timing-function",Pt="delay",Qt="duration",Rt="animation",St=s(Rt,"name"),Tt=s(Rt,Ot),Ut=s(Rt,y),Vt=s(Rt,"iteration-count"),Wt=s(Rt,Qt),Xt=s(Rt,Pt),Yt=Rt+"-play-state",Zt=s(Rt,es,ws),$t="transition",sr=$t+"-behavior",er=$t+"-property",tr=s($t,Ot),rr=s($t,Qt),ir=s($t,Pt),ar="alternate",or=s(ar,rs),nr="-out",br="ease",lr=br+"-in",cr=lr+nr,pr=br+nr,mr="step",dr=s(mr,k),fr=s(mr,z),wr="translate",hr="rotate",gr="perspective",ur=s(gr,os),vr=e(I,H),yr=e(K,H),xr=e(I,J),_r=e(K,J),zr="inset",kr=s(Q,X),jr=s(Q,os),qr=s(Q,_),Ar=s(zr,g),Br=s(zr,g,z),Cr=s(zr,g,k),Dr=s(zr,h),Er=s(zr,h,z),Fr=s(zr,h,k),Gr=s("fit",m),Hr=s(p,m),Ir=s(c,m),Jr=s(X,"sizing"),Kr=s(c,L),Lr=s(p,L),Mr=s(c,S),Nr=s(p,S),Or=s(g,u),Pr=s(c,Or),Qr=s(p,Or),Rr=s(h,u),Sr=s(c,Rr),Tr=s(p,Rr),Ur="snap",Vr=s(ps,"behavior"),Wr=s(ps,ds),Xr=s(ps,ds,H),Yr=s(ps,ds,J),Zr=s(ps,ds,I),$r=s(ps,ds,K),si=s(ps,ds,g),ei=s(ps,ds,g,z),ti=s(ps,ds,g,k),ri=s(ps,ds,h),ii=s(ps,ds,h,z),ai=s(ps,ds,h,k),oi=s(ps,ms),ni=s(ps,ms,H),bi=s(ps,ms,J),li=s(ps,ms,I),ci=s(ps,ms,K),pi=s(ps,ms,g),mi=s(ps,ms,g,z),di=s(ps,ms,g,k),fi=s(ps,ms,h),wi=s(ps,ms,h,z),hi=s(ps,ms,h,k),gi=s(ps,Ur,O),ui=s(ps,Ur,"stop"),vi=s(ps,Ur,P),yi="mandatory",xi=e(r,yi),_i=e(i,yi),zi=e(g,yi),ki=e(h,yi),ji=e(fs,yi),qi="proximity",Ai=e(r,qi),Bi=e(i,qi),Ci=e(g,qi),Di=e(h,qi),Ei=e(fs,qi),Fi=s(n,"decoration"),Gi=s(Fi,M),Hi=s(n,Q),Ii=s(n,O),Ji=s(n,N),Ki=s(n,"orientation"),Li=s(q,B),Mi=s(b,u),Ni=b+"-weight",Oi=b+"-family",Pi=s(b,_),Qi=s("writing",ws),Ri=s(A,S),Si=s(A,B),Ti=A+"-through",Ui="over"+A,Vi="under"+A,Wi="pre",Xi=s(Wi,A),Yi=s(Wi,C),Zi=B+"-spaces",$i=s(B,R),sa=s(B,q),ea=a+"-tb",ta=o+"-lr",ra=o+"-rl",ia="keep-"+R,aa="pointer",oa="pan",na=s(oa,r),ba=s(oa,I),la=s(oa,K),ca=s(oa,i),pa=s(oa,"up"),ma=s(oa,"down"),da=s("pinch",cs),fa=s(o,n),wa="grab",ha=wa+"bing",ga="resize",ua="col-"+ga,va="row-"+ga,ya="n-"+ga,xa="e-"+ga,_a="s-"+ga,za="w-"+ga,ka="ne-"+ga,ja="ew-"+ga,qa="nw-"+ga,Aa="se-"+ga,Ba="sw-"+ga,Ca="ns-"+ga,Da="nesw-"+ga,Ea="nwse-"+ga,Fa=s(cs,"in"),Ga=s(cs,"out"),Ha=s(aa,"events"),Ia=s(ps,Z),Ja=s("caret",M),Ka=s("accent",M),La="filter",Ma="backdrop-"+La,Na="background",Oa=s(Na,M),Pa=s(Na,ls),Qa=s(Na,os),Ra=s(Na,Z),Sa=s(Na,Z,r),Ta=s(Na,Z,i),Ua=s(Na,hs),Va=s(Na,u),Wa=s(Na,"blend",ws),Xa=s(Na,"attachment"),Ya="gradient",Za=s(us,Ya);s("radial",Ya),s("conic",Ya);const $a=s(m,V);s(ts,L),s(es,F);const so=s(M,"dodge"),eo=s(M,"burn"),to=s("hard",gs),ro=s("soft",gs);s(M,"mix");const io="revert",ao={uni:{ini:"initial",inh:"inherit",u:"unset",r:io,rl:s(io,"layer"),a:ss,no:$},ali:{s:k,e:z,c:j,st:"stretch",sb:Bt,sa:Ct,se:Dt,b:"baseline",fs:At,fe:qt,no:$},dis:{g:Te,ig:Et,f:We,if:Xe},fd:{r:Ue,rr:zt,c:l,cr:kt},fw:{w:C,nw:D,wr:jt},rep:{rx:Ie,ry:Je,r:hs,s:is,ro:"round",nr:Ke},ttf:{l:us,e:br,ei:lr,eo:pr,eio:cr,ss:dr,se:fr},ws:{n:T,nw:D,p:Wi,pl:Xi,pw:Yi,bs:Zi},wb:{n:T,ba:$i,ka:ia,bw:sa},wm:{htb:ea,vlr:ta,vrl:ra},hyp:{no:$,m:"manual",a:ss},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:Ti,o:Ui,u:Vi},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:I,c:j,j:Ve,r:K,s:k,e:z},tp:{all:R,col:t(M,Oa,Xs,Gi),icon:t(es,ts),filter:t(La,Ma),ind:t(ms,ds),sz:t(L,Kr,Lr,S,Mr,Nr),esz:t(Qr,Or,Pr,Tr,Rr,Sr),o:U,b:Y,f:We,g:Te,pos:t(Z,I,H,J,K),tf:t(Q,wr,W,hr,"skew",gr)},lb:{a:ss,any:"anywhere",n:T,l:"loose",s:"strict"},ov:{h:vs,s:ps,a:ss,c:ls,e:"ellipsis"},v:{h:vs,v:"visible",c:"collapse",a:ss},wc:{a:ss,sp:Ia,c:d,tf:Q,o:U,i:zr,tfi:Q+","+zr},afm:{no:$,f:"forwards",b:"backwards",both:fs},adir:{r:rs,a:ar,ar:or},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:T},app:{n:$,a:ss},pe:{a:ss,no:$,all:R,f:es,s:ts},cur:{h:"help",a:ss,p:aa,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:n,vt:fa,cp:"copy",m:"move",g:wa,gng:ha,cr:ua,rr:va,nr:ya,er:xa,sr:_a,wr:za,ner:ka,ewr:ja,nwr:qa,ser:Aa,swr:Ba,nsr:Ca,neswr:Da,nwser:Ea,zi:Fa,zo:Ga},res:{n:$,v:o,h:a,b:fs},toa:{a:ss,no:$,px:na,pl:ba,pr:la,py:ca,pu:pa,pd:ma,pz:da,m:"manipulation"},us:{n:$,t:n,all:R,a:ss},sb:{a:ss,s:"smooth"},sss:{n:T,a:"always"},sst:{n:$,x:r,y:i,b:g,i:h,both:fs,xm:xi,ym:_i,bm:zi,im:ki,bothm:ji,xp:Ai,yp:Bi,bp:Ci,ip:Di,bothp:Ei},fst:{i:"italic",n:T,o:"oblique"},pos:{r:"relative",a:"absolute",f:as,s:"static"},posv:{b:J,t:H,c:j,l:I,r:K,lt:vr,rt:yr,lb:xr,rb:_r},csz:{cv:"cover",cn:"contain",a:ss,f:es,sd:qe},cf:{a:ss,b:"balance"},cs:{no:$,all:R},box:{c:De,p:Be,b:Ce,f:Ee,s:Fe,v:Ge,nc:He,t:n},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:ns,l:bs},mm:{a:ns,l:bs,m:"match-source"},bgbm:{n:T,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:gs+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:M,lum:"luminosity",cd:so,cb:eo,hl:to,sl:ro},bga:{s:ps,f:as,l:"local"},ls:{no:$,dt:"dotted",i:zr,h:vs,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},usz:{min:Hr,max:Ir,fit:Gr,no:0,a:ss}},oo={a:Rt,an:St,adur:Wt,adel:Xt,aps:Yt,afm:Zt,adir:Ut,aic:Vt,atf:Tt,trn:$t,tdur:rr,tdel:ir,tb:sr,tp:er,ttf:tr,bor:Y,bw:Ds,br:Os,bs:ne,bls:be,brs:le,bts:ce,bbs:pe,bbls:me,bis:de,bbss:fe,bbes:we,biss:he,bies:ge,brw:Gs,blw:Fs,btw:Hs,bbw:Es,btlr:Rs,btrr:Ss,bbrr:Qs,bblr:Ps,biw:Js,bblw:Is,bbew:Ls,bbsw:Ks,bisw:Ms,biew:Ns,besr:Ws,beer:Vs,bssr:Us,bser:Ts,bc:Xs,blc:Ys,brc:Zs,btc:$s,bbc:se,bblc:ee,bic:te,bbsc:re,bbec:ie,bisc:ae,biec:oe,bgc:Oa,c:M,acc:Ka,ctc:Ja,st:ts,fi:es,flt:La,bf:Ma,g:Te,f:We,dis:"display",jc:tt,ji:rt,ai:it,ac:at,gtr:nt,gtc:bt,rg:lt,cg:ct,as:ot,js:pt,gre:mt,grs:dt,gce:ft,gcs:wt,fd:st,fw:et,fs:$e,fg:Ze,fb:Ye,ord:"order",m:ds,ml:Pe,mr:Re,mt:Qe,mb:Se,p:ms,pl:Le,pr:Ne,pt:Me,pb:Oe,oc:ue,ow:ve,os:ye,oo:xe,l:I,r:K,t:H,b:J,ins:zr,ib:Ar,ibe:Br,ibs:Cr,ii:Dr,iie:Er,iis:Fr,wc:"will-change",app:"appearance",pe:Ha,cur:"cursor",toa:"touch-action",us:"user-select",res:ga,sb:Vr,ssa:gi,sss:ui,sst:vi,sm:Wr,sml:Zr,smr:$r,smt:Xr,smb:Yr,sp:oi,spl:li,spr:ci,spt:ni,spb:bi,smbl:si,smbe:ei,smbs:ti,smi:ri,smie:ii,smis:ai,spbl:pi,spbe:mi,spbs:di,spi:fi,spie:wi,spis:hi,ar:"aspect-ratio",w:L,maxw:Kr,minw:Lr,h:S,minh:Nr,maxh:Mr,bl:Or,maxb:Pr,minb:Qr,i:Rr,mini:Tr,maxi:Sr,per:gr,pero:ur,rot:hr,sc:W,tf:Q,tfb:kr,tfo:jr,tfs:qr,tr:wr,z:cs,lts:"letter-spacing",lh:Ri,lb:Si,fst:Pi,ff:Oi,fwg:Ni,fsz:Mi,tt:Hi,td:Fi,ta:Ii,to:Ji,ws:"white-space",tor:Ki,wb:Li,wm:Qi,hyp:"hyphens",bsz:Jr,bsh:Ae,pos:Z,cf:gt,crs:vt,crc:ut,crw:yt,cs:xt,cw:_t,cc:ht,bgcl:Pa,bgp:Ra,bgpx:Sa,bgpy:Ta,bgbm:Wa,bgo:Qa,bgr:Ua,bga:Xa,bgsz:Va,mcl:Gt,mcm:Ht,mm:It,mo:Jt,mp:Kt,mre:Lt,msz:Mt,mtp:Nt,obf:ke,obp:je,cnt:m,ov:N,ovx:_e,ovy:ze,v:V,cv:$a,o:U,zi:"z-index",zm:cs,lg:Za,inf:"infinite",r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)"};export{oo as keys,ao as values};
1
+ import{dash as s,space as e,comma as t}from"./functions.js";const i="x",r="y",a="horizontal",o="vertical",l="text",n="font",c="column",b="max",m="min",p="content",d=p+"s",f="items",w="self",h="inline",x="block",g="size",u="radius",v="direction",y="outline",_="style",z="end",k="start",j="center",q="word",G="line",R="break",A="wrap",B="nowarp",C="template",D="rule",E="object",F="top",H="left",I="bottom",J="right",K="width",L="color",M="overflow",N="align",O="type",P="transform",Q="all",S="height",T="normal",U="opacity",V="visibility",W="scale",X="box",Y="border",Z="position",$="none",ss="auto",es="fill",ts="stroke",is="reverse",rs="space",as="fixed",os="origin",ls="alpha",ns="luminance",cs="clip",bs="zoom",ms="scroll",ps="padding",ds="margin",fs="both",ws="mode",hs="repeat",xs="light",gs="linear",us="hidden",vs=s(Y,I),ys=s(Y,H),_s=s(Y,J),zs=s(Y,F),ks=s(Y,x),js=s(Y,h),qs=s(ks,k),Gs=s(ks,z),Rs=s(js,k),As=s(js,z),Bs=s(Y,K),Cs=s(vs,K),Ds=s(ys,K),Es=s(_s,K),Fs=s(zs,K),Hs=s(ks,K),Is=s(js,K),Js=s(qs,K),Ks=s(Gs,K),Ls=s(Rs,K),Ms=s(As,K),Ns=s(Y,u),Os=s(Y,I,H,u),Ps=s(Y,I,J,u),Qs=s(Y,F,H,u),Ss=s(Y,F,J,u),Ts=s(Y,k,z,u),Us=s(Y,k,k,u),Vs=s(Y,z,z,u),Ws=s(Y,z,k,u),Xs=s(Y,L),Ys=s(ys,L),Zs=s(_s,L),$s=s(zs,L),se=s(vs,L),ee=s(ks,L),te=s(js,L),ie=s(qs,L),re=s(Gs,L),ae=s(Rs,L),oe=s(As,L),le=s(Y,_),ne=s(ys,_),ce=s(_s,_),be=s(zs,_),me=s(vs,_),pe=s(ks,_),de=s(js,_),fe=s(qs,_),we=s(Gs,_),he=s(Rs,_),xe=s(As,_),ge=s(y,L),ue=s(y,K),ve=s(y,_),ye=s(y,"offset"),_e=s(M,i),ze=s(M,r),ke=s(E,"fit"),je=s(E,Z),qe=s(W,"down"),Ge=s(X,"shadow"),Re=s(ps,X),Ae=s(Y,X),Be=s(p,X),Ce=s(es,X),De=s(ts,X),Ee=s("view",X),Fe=s("no",cs),He=s(hs,i),Ie=s(hs,r),Je=s("no",hs),Ke=s(ps,H),Le=s(ps,F),Me=s(ps,J),Ne=s(ps,I),Oe=s(ds,H),Pe=s(ds,F),Qe=s(ds,J),Se=s(ds,I),Te="grid",Ue="row",Ve="justify",We="flex",Xe=s(h,We),Ye=s(We,"basis"),Ze=s(We,"grow"),$e=s(We,"shrink"),st=s(We,v),et=s(We,A),tt=s(Ve,p),it=s(Ve,f),rt=s(N,f),at=s(N,p),ot=s(N,w),lt=s(Te,C,Ue+"s"),nt=s(Te,C,c+"s"),ct=s(Ue,"gap"),bt=s(c,"gap"),mt=s(Ve,w),pt=s(Te,Ue,z),dt=s(Te,Ue,k),ft=s(Te,c,z),wt=s(Te,c,k),ht=s(c,"count"),xt=s(c,es),gt=s(c,D,L),ut=s(c,D,_),vt=s(c,D,K),yt=s(c,"span"),_t=s(c,K),zt=s(Ue,is),kt=s(c,is),jt=s(A,is),qt=s(We,z),Gt=s(We,k),Rt=s(rs,"between"),At=s(rs,"around"),Bt=s(rs,"evenly"),Ct=s(h,Te),Dt="mask",Et=s(Dt,cs),Ft=s(Dt,"composite"),Ht=s(Dt,ws),It=s(Dt,os),Jt=s(Dt,Z),Kt=s(Dt,hs),Lt=s(Dt,g),Mt=s(Dt,O),Nt="timing-function",Ot="delay",Pt="duration",Qt="animation",St=s(Qt,"name"),Tt=s(Qt,Nt),Ut=s(Qt,v),Vt=s(Qt,"iteration-count"),Wt=s(Qt,Pt),Xt=s(Qt,Ot),Yt=Qt+"-play-state",Zt=s(Qt,es,ws),$t="transition",si=$t+"-behavior",ei=$t+"-property",ti=s($t,Nt),ii=s($t,Pt),ri=s($t,Ot),ai="alternate",oi=s(ai,is),li="-out",ni="ease",ci=ni+"-in",bi=ci+li,mi=ni+li,pi="step",di=s(pi,k),fi=s(pi,z),wi="translate",hi="rotate",xi="perspective",gi=s(xi,os),ui=e(H,F),vi=e(J,F),yi=e(H,I),_i=e(J,I),zi="inset",ki=s(P,X),ji=s(P,os),qi=s(P,_),Gi=s(zi,x),Ri=s(zi,x,z),Ai=s(zi,x,k),Bi=s(zi,h),Ci=s(zi,h,z),Di=s(zi,h,k),Ei=s("fit",p),Fi=s(m,p),Hi=s(b,p),Ii=s(X,"sizing"),Ji=s(b,K),Ki=s(m,K),Li=s(b,S),Mi=s(m,S),Ni=s(x,g),Oi=s(b,Ni),Pi=s(m,Ni),Qi=s(h,g),Si=s(b,Qi),Ti=s(m,Qi),Ui="snap",Vi=s(ms,"behavior"),Wi=s(ms,ds),Xi=s(ms,ds,F),Yi=s(ms,ds,I),Zi=s(ms,ds,H),$i=s(ms,ds,J),sr=s(ms,ds,x),er=s(ms,ds,x,z),tr=s(ms,ds,x,k),ir=s(ms,ds,h),rr=s(ms,ds,h,z),ar=s(ms,ds,h,k),or=s(ms,ps),lr=s(ms,ps,F),nr=s(ms,ps,I),cr=s(ms,ps,H),br=s(ms,ps,J),mr=s(ms,ps,x),pr=s(ms,ps,x,z),dr=s(ms,ps,x,k),fr=s(ms,ps,h),wr=s(ms,ps,h,z),hr=s(ms,ps,h,k),xr=s(ms,Ui,N),gr=s(ms,Ui,"stop"),ur=s(ms,Ui,O),vr="mandatory",yr=e(i,vr),_r=e(r,vr),zr=e(x,vr),kr=e(h,vr),jr=e(fs,vr),qr="proximity",Gr=e(i,qr),Rr=e(r,qr),Ar=e(x,qr),Br=e(h,qr),Cr=e(fs,qr),Dr=s(l,"decoration"),Er=s(Dr,L),Fr=s(l,P),Hr=s(l,N),Ir=s(l,M),Jr=s(l,"orientation"),Kr=s(q,R),Lr=s(n,g),Mr=n+"-weight",Nr=n+"-family",Or=s(n,_),Pr=s("writing",ws),Qr=s(G,S),Sr=s(G,R),Tr=G+"-through",Ur="over"+G,Vr="under"+G,Wr="pre",Xr=s(Wr,G),Yr=s(Wr,A),Zr=R+"-spaces",$r=s(R,Q),sa=s(R,q),ea=a+"-tb",ta=o+"-lr",ia=o+"-rl",ra="keep-"+Q,aa="pointer",oa="pan",la=s(oa,i),na=s(oa,H),ca=s(oa,J),ba=s(oa,r),ma=s(oa,"up"),pa=s(oa,"down"),da=s("pinch",bs),fa=s(o,l),wa="grab",ha=wa+"bing",xa="resize",ga="col-"+xa,ua="row-"+xa,va="n-"+xa,ya="e-"+xa,_a="s-"+xa,za="w-"+xa,ka="ne-"+xa,ja="ew-"+xa,qa="nw-"+xa,Ga="se-"+xa,Ra="sw-"+xa,Aa="ns-"+xa,Ba="nesw-"+xa,Ca="nwse-"+xa,Da=s(bs,"in"),Ea=s(bs,"out"),Fa=s(aa,"events"),Ha=s(ms,Z),Ia=s("caret",L),Ja=s("accent",L),Ka="filter",La="backdrop-"+Ka,Ma="background",Na=s(Ma,L),Oa=s(Ma,cs),Pa=s(Ma,os),Qa=s(Ma,Z),Sa=s(Ma,Z,i),Ta=s(Ma,Z,r),Ua=s(Ma,hs),Va=s(Ma,g),Wa=s(Ma,"blend",ws),Xa=s(Ma,"attachment"),Ya="gradient",Za=s(gs,Ya);s("radial",Ya),s("conic",Ya);const $a=s(p,V);s(ts,K),s(es,D);const so=s(L,"dodge"),eo=s(L,"burn"),to=s("hard",xs),io=s("soft",xs);s(L,"mix");const ro="revert",ao=s(ro,"layer"),oo="container",lo=s(oo,O),no=s(oo,"name"),co={0:0,"1/4":25,"1/2":50,"3/4":75,1:100},bo={0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},mo=[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((s,e)=>(s[e]=e,s)),{}),po={lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:mo,rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0,min:Fi,max:Hi,fit:Ei},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vw:co,vh:co,vmin:co,vmax:co,cqw:co,cqh:co,cqb:co,cqi:co,cqmin:co,cqmax:co,perc:bo,rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2},ins:bo,uni:{ini:"initial",inh:"inherit",u:"unset",r:ro,rl:ao},ali:{s:k,e:z,c:j,st:"stretch",sb:Rt,sa:At,se:Bt,b:"baseline",fs:Gt,fe:qt,no:$},dis:{g:Te,ig:Ct,f:We,if:Xe,b:x,i:h},ca:mo,co:mo,ra:mo,ro:mo,fd:{r:Ue,rr:zt,c:c,cr:kt},fb:bo,fo:mo,fg:mo,fs:mo,fw:{w:A,nw:B,wr:jt},rep:{rx:He,ry:Ie,r:hs,s:rs,ro:"round",nr:Je},ttf:{l:gs,e:ni,ei:ci,eo:mi,eio:bi,ss:di,se:fi},ws:{n:T,nw:B,p:Wr,pl:Xr,pw:Yr,bs:Zr},wb:{n:T,ba:$r,ka:ra,bw:sa},wm:{htb:ea,vlr:ta,vrl:ia},hyp:{no:$,m:"manual",a:ss},tt:{l:"lowercase",u:"uppercase",c:"capitalize"},td:{lt:Tr,o:Ur,u:Vr},tor:{m:"mixed",u:"upright",sr:"sideways-right",s:"sideways",ugo:"use-glyph-orientation"},ta:{l:H,c:j,j:Ve,r:J,s:k,e:z},tp:{all:Q,col:t(L,Na,Xs,Er),icon:t(es,ts),flt:t(Ka,La),ind:t(ps,ds),sz:t(K,Ji,Ki,S,Li,Mi),esz:t(Pi,Ni,Oi,Ti,Qi,Si),o:U,b:Y,f:We,g:Te,pos:t(Z,H,F,I,J),tf:t(P,wi,W,hi,"skew",xi)},lb:{a:ss,any:"anywhere",n:T,l:"loose",s:"strict"},ov:{h:us,s:ms,a:ss,c:cs,e:"ellipsis"},v:{h:us,v:"visible",c:"collapse",a:ss},wc:{a:ss,sp:Ha,c:d,tf:P,o:U,i:zi,tfi:P+","+zi},afm:{no:$,f:"forwards",b:"backwards",both:fs},adir:{r:is,a:ai,ar:oi},aps:{r:"running",p:"paused"},tb:{ad:"allow-discrete",n:T},app:{n:$,a:ss},pe:{a:ss,no:$,all:Q,f:es,s:ts},cur:{h:"help",a:ss,p:aa,cm:"context-menu",pr:"progress",w:"wait",cell:"cell",crh:"crosshair",t:l,vt:fa,cp:"copy",m:"move",g:wa,gng:ha,cr:ga,rr:ua,nr:va,er:ya,sr:_a,wr:za,ner:ka,ewr:ja,nwr:qa,ser:Ga,swr:Ra,nsr:Aa,neswr:Ba,nwser:Ca,zi:Da,zo:Ea},res:{n:$,v:o,h:a,b:fs},toa:{a:ss,no:$,px:la,pl:na,pr:ca,py:ba,pu:ma,pd:pa,pz:da,m:"manipulation"},us:{n:$,t:l,all:Q,a:ss},sb:{a:ss,s:"smooth"},sss:{n:T,a:"always"},sst:{n:$,x:i,y:r,b:x,i:h,both:fs,xm:yr,ym:_r,bm:zr,im:kr,bothm:jr,xp:Gr,yp:Rr,bp:Ar,ip:Br,bothp:Cr},fst:{i:"italic",n:T,o:"oblique"},pos:{r:"relative",a:"absolute",f:as,s:"static"},posv:{b:I,t:F,c:j,l:H,r:J,lt:ui,rt:vi,lb:yi,rb:_i},csz:{cv:"cover",cn:"contain",a:ss,f:es,sd:qe},cf:{a:ss,b:"balance"},cs:{no:$,all:Q},box:{c:Be,p:Re,b:Ae,f:Ce,s:De,v:Ee,nc:Fe,t:l},mcm:{a:"add",s:"subtract",i:"intersect",e:"exclude"},mtp:{a:ls,l:ns},mm:{a:ls,l:ns,m:"match-source"},bgbm:{n:T,m:"multiply",scr:"screen",o:"overlay",d:"darken",l:xs+"en",dif:"difference",exc:"exclusion",h:"hue",sat:"saturation",c:L,lum:"luminosity",cd:so,cb:eo,hl:to,sl:io},bga:{s:ms,f:as,l:"local"},ls:{no:$,dt:"dotted",i:zi,h:us,ds:"dashed",s:"solid",db:"double",o:"outset",r:"ridge",g:"groove"},cnt:{n:T,s:g,is:Qi}},fo={a:Qt,an:St,adur:Wt,adel:Xt,aps:Yt,afm:Zt,adir:Ut,aic:Vt,atf:Tt,trn:$t,tdur:ii,tdel:ri,tb:si,tp:ei,ttf:ti,bor:Y,bw:Bs,br:Ns,bs:le,bls:ne,brs:ce,bts:be,bbs:me,bbls:pe,bis:de,bbss:fe,bbes:we,biss:he,bies:xe,brw:Es,blw:Ds,btw:Fs,bbw:Cs,btlr:Qs,btrr:Ss,bbrr:Ps,bblr:Os,biw:Is,bblw:Hs,bbew:Ks,bbsw:Js,bisw:Ls,biew:Ms,besr:Ws,beer:Vs,bssr:Us,bser:Ts,bc:Xs,blc:Ys,brc:Zs,btc:$s,bbc:se,bblc:ee,bic:te,bbsc:ie,bbec:re,bisc:ae,biec:oe,bgc:Na,c:L,acc:Ja,ctc:Ia,st:ts,fi:es,flt:Ka,bf:La,g:Te,f:We,dis:"display",jc:tt,ji:it,ai:rt,ac:at,gtr:lt,gtc:nt,rg:ct,cg:bt,as:ot,js:mt,gre:pt,grs:dt,gce:ft,gcs:wt,fd:st,fw:et,fs:$e,fg:Ze,fb:Ye,ord:"order",m:ds,ml:Oe,mr:Qe,mt:Pe,mb:Se,p:ps,pl:Ke,pr:Me,pt:Le,pb:Ne,oc:ge,ow:ue,os:ve,oo:ye,l:H,r:J,t:F,b:I,ins:zi,ib:Gi,ibe:Ri,ibs:Ai,ii:Bi,iie:Ci,iis:Di,wc:"will-change",app:"appearance",pe:Fa,cur:"cursor",toa:"touch-action",us:"user-select",res:xa,sb:Vi,ssa:xr,sss:gr,sst:ur,sm:Wi,sml:Zi,smr:$i,smt:Xi,smb:Yi,sp:or,spl:cr,spr:br,spt:lr,spb:nr,smbl:sr,smbe:er,smbs:tr,smi:ir,smie:rr,smis:ar,spbl:mr,spbe:pr,spbs:dr,spi:fr,spie:wr,spis:hr,ar:"aspect-ratio",w:K,maxw:Ji,minw:Ki,h:S,minh:Mi,maxh:Li,bl:Ni,maxb:Oi,minb:Pi,i:Qi,mini:Ti,maxi:Si,per:xi,pero:gi,rot:hi,sc:W,tf:P,tfb:ki,tfo:ji,tfs:qi,tr:wi,z:bs,lts:"letter-spacing",lh:Qr,lb:Sr,fst:Or,ff:Nr,fwg:Mr,fsz:Lr,tt:Fr,td:Dr,ta:Hr,to:Ir,ws:"white-space",tor:Jr,wb:Kr,wm:Pr,hyp:"hyphens",bsz:Ii,bsh:Ge,pos:Z,cf:xt,crs:ut,crc:gt,crw:vt,cs:yt,cw:_t,cc:ht,bgcl:Oa,bgp:Qa,bgpx:Sa,bgpy:Ta,bgbm:Wa,bgo:Pa,bgr:Ua,bga:Xa,bgsz:Va,mcl:Et,mcm:Ft,mm:Ht,mo:It,mp:Jt,mre:Kt,msz:Lt,mtp:Mt,obf:ke,obp:je,con:p,ov:M,ovx:_e,ovy:ze,v:V,cv:$a,o:U,zi:"z-index",zm:bs,lg:Za,inf:"infinite",cnt:lo,cnn:no,r_:":root","":"*",h_:":hover",f_:":focus",a_:":active",v_:":visited",val_:":valid",inv_:":invalid",e_:":empty",d_:":disabled",fc_:":first-child",lc_:":last-child",oc_:":only-child",odd_:":nth-child(odd)",even_:":nth-child(even)",ft_:":first-of-type",lt_:":last-of-type",ot_:":only-of-type",bef_:"::before",aft_:"::after",bd_:"::backdrop",ba_:"&::before,&::after",light_:"@media(prefers-color-scheme: light)",dark_:"@media(prefers-color-scheme: dark)",red_m_:"@media (prefers-reduced-motion)",ori_l_:"@media (orientation: landscape)",ori_p_:"@media (orientation: portrait)"};export{fo as keys,po as values};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{values as e,keys as t}from"./css/dict.js";import{toPercent as s,toCqb as i,toCqi as r,toCqmin as l,toCqmax as o,toVw as n,toVh as a,toVmin as c,toVmax as h,toSpan as p,toRem as d,toDeg as m,toMs as f,toPx as u}from"./css/functions.js";import{COMPONENT_NAME as _,SETTINGS_ID as y,getProviderStyles as x}from"./utils.js";"function"==typeof SuppressedError&&SuppressedError;const v={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:Object.assign({lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9},hue:{def:261.35,b:261.35,i:194.77,e:29.23,w:70.66,s:142.49},chr:{def:.03,xs:.03,s:.06,m:.1,l:.15,xl:.25},alp:{def:1,min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},rem:{def:16},ff:{def:"Roboto, sans-serif",b:"Georgia, serif"},fwg:{xs:100,s:200,m:400,l:600,xl:700},time:{def:300,xs:100,s:200,m:300,l:450,xl:600,no:0,min:50,max:750},coef:[0,1,2,3,4,5,6,7,8,9,10,11,12].reduce(((e,t)=>(e[t]=t,e)),{}),rat:{1:1,"2/1":2,"1/2":.5,"4/3":1.3333,"3/4":.75,"9/16":.5625,"16/9":1.7778},sp:{"3xs":.125,"2xs":.25,xs:.5,s:.75,m:1,l:1.25,xl:1.5,"2xl":2,"3xl":4},sz:{"3xs":1,"2xs":1.5,xs:2,s:5,m:10,l:15,xl:20,"2xl":25,"3xl":30},szu:{a:"auto",no:0},bp:{xs:30,sm:40,md:48,lg:64,xl:80},o:{min:0,xs:.1,s:.25,m:.5,l:.75,xl:.9,max:1},vu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},cqu:{0:0,"1/4":25,"1/2":50,"3/4":75,1:100},fr:{0:0,"1/12":"0.0833","1/10":"0.1","1/6":"0.1667","1/5":"0.2","1/4":"0.25","3/10":"0.3","1/3":"0.3333","2/5":"0.4","5/12":"0.4167","1/2":"0.5","7/12":"0.5833","3/5":"0.6","2/3":"0.6667","7/10":"0.7","3/4":"0.75","4/5":"0.8","5/6":"0.8333","9/10":"0.9","11/12":"0.9167",1:"1"},rad:{s:.5,m:1,l:2},th:{s:.1,m:.25,l:.5},sc:{xs:.5,s:.67,m:1,l:1.5,xl:2},tr:{xs:.25,s:.5,m:1,l:1.5,xl:2},sk:{xs:-15,s:-10,m:0,l:10,xl:15},rot:{xs:-180,s:-90,m:0,l:90,xl:180},zm:{s:.8,m:1,l:1.2},pers:{s:"100px",m:"200px"},fsz:{xs:.25,s:.5,m:1,l:1.5,xl:2},lh:{xs:1,s:1.25,m:1.5,l:1.75,xl:2},lsp:{no:0,s:.05,m:.1,l:.2},zi:{1:1,2:2,3:3,4:4,5:5},ic:{inf:"infinite",1:1,2:2}},e)},S=e=>`{${e}}`,g=Object.assign.bind(Object),b=(e,t)=>`${e}:${t};`,$=(e,t)=>["@property",e,S(b("syntax",t.syn||'"*"')+b("inherits",t.inh||!1)+(t.ini?b("initial-value",t.ini):""))].join(" "),j=e=>`var(${e})`,O=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,k=["l","c","h","a"];class w{constructor(e){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=v,this._compKeys={},this._compValues={},this._analyzeParams=e=>{var t,_;if(e)for(const t in e)this._params[t]=g(this._params[t]||{},e[t]);const{time:y,rem:x,coef:v,szu:S,sz:b,sp:$,rad:j,th:O,fr:k,bp:w,fsz:A,lsp:N,tr:z,sk:E,rot:R,fg:V,fs:q,fb:W,fo:I,ra:K,ro:P,co:C,ca:T,ins:B,cqu:G,cqb:H,cqi:J,cqmin:L,cqmax:M,vu:D,vw:F,vh:Q,vmin:U,vmax:X}=this._params.root,Y=s(k);this._params.root=g(this._params.root,{cqb:i(H||G),cqi:r(J||G),cqmin:l(L||G),cqmax:o(M||G),vw:n(F||D),vh:a(Q||D),vmin:c(U||D),vmax:h(X||D),fo:I||v,fg:V||v,fs:q||v,fb:W||Y,ra:K||p(v),ro:P||v,ca:T||p(v),co:C||v,ins:B||Y,sz:g(d(b)||{},S),sp:g(d($)||{},S),rad:d(j),th:d(O),bp:d(w),fsz:d(A),lsp:d(N),tr:d(z),sk:m(E),rot:m(R),perc:Y,time:f(y),rem:u(x)});const Z=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(s[i[r]]=e[i[r]])}return s}(this._params,["root"]),ee=Object.entries(Z),te={_mode:{root:{}}},se={};ee.forEach((([e,t])=>{te._mode[e]||(te._mode[e]={}),Object.entries(t).forEach((([t,s])=>{Object.entries(s).forEach((([s,i])=>{const r=this._prepareVarName(t,s);te._mode[e][r]=i,te._mode.root[r]||(te._mode.root[r]=i,se[t]||(se[t]={}),se[t][s]=`var(${r})`)}))}))})),this._compValues=se,this._compKeys=Object.entries(this._params.root.bp||{}).reduce(((e,[t,s])=>(e[`min_${t}_`]=`@media (min-width:${s})`,e[`max_${t}_`]=`@media (max-width:${s})`,e)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},te),{$r_:Object.assign(Object.assign({},te._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=te._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:te._mode.dark}}:{}),(null===(_=te._mode)||void 0===_?void 0:_.light)?{$light_:{$r_:te._mode.light}}:{})})},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this._prepareKeyframesName=(...e)=>[this._prefix,...e].join("-"),this.compile=(e,s)=>{const{_:i,kf:r,k:l={},v:o={},c:n}=s,a=this._prepareSelector.bind(this),c=this._parseSelector.bind(this);let h=g({},n),p=g({},l),d=g({_:{}},o),m="";if(i)for(let t in i){const s=i[t];if("c"===s.typ){const i={};k.forEach((r=>{const l=t+r,o=this._prepareVarName(e,l);i[r]=o,p["_"+l]=i[r],m+=$(o,s)})),d._[t]=O({l:j(i.l),c:j(i.c),h:j(i.h),a:j(i.a)}),s.all&&(h["_"+t+"l"]=`&lig=>${this._prepareVarName(e,t+"l")}:{1}`,h["_"+t+"c"]=`&chr=>${this._prepareVarName(e,t+"c")}:{1}`,h["_"+t+"h"]=`&hue=>${this._prepareVarName(e,t+"h")}:{1}`,h["_"+t+"a"]=`&alp=>${this._prepareVarName(e,t+"a")}:{1}`)}else{const i=this._prepareVarName(e,t);p["_"+t]=i,d._[t]=j(i),m+=$(i,s)}}const f=e=>p[e]||this._compKeys[e]||t[e],u=e=>d[e]||this._compValues[e]||this._params.root[e],_=e=>e.replaceAll(/\{(.+?)\}/g,((e,t)=>{const[s,i]=t.split(".");if(i){const e=u(s);return(null==e?void 0:e[i])||(null==e?void 0:e.def)}return f(s)})),y=e=>{const t=e.split("?");let s;for(let e in t){const i=t[e],[r,l]=i.split("=>"),[o,n,a]=r.match(/(\w+)(\[[\w,]+\])?/),c=u(n);if(!c)continue;s=c;let h=Object.entries(s);const p=null==a?void 0:a.slice(1,-1).split(",");if(p){const e=new Set(p);h=h.filter((([t,s])=>e.has(t)))}if(l){let[e,t]=l.split("|");void 0===t&&(t=e,e=""),h=h.map((([s,i])=>[e.replace("{0}",s)||s,_(t.replaceAll("{1}",i))]))}(p||l)&&(s=Object.fromEntries(h));break}return s};function x(t,s,i){var r,l,o,n;let h=""+t;if((null===(r=null==t?void 0:t.startsWith)||void 0===r?void 0:r.call(t,"$"))&&(h=f(t.slice(1)),!h))return"";if(Array.isArray(s))return x(h,Object.assign({},...s.map((e=>"string"==typeof e?y(e):e))),i);if(null==s)return"";if("object"==typeof s){const t=!i||(null===(l=i.startsWith)||void 0===l?void 0:l.call(i,"@"))||h.startsWith("&")||h.startsWith("@")?"":"&";if(h.startsWith("_")){const{e:i,m:r,mv:l}=c(h);return r&&"string"!=typeof l?Object.entries(s).reduce(((s,[l,o])=>{let n;return n="object"==typeof o?Object.entries(o).reduce(((e,t)=>e+x(...t,h)),""):o+";",s+t+a({b:e,e:i,m:r,mv:l})+S(n)}),""):t+a({b:e,e:i,m:r,mv:l})+S(Object.entries(s).reduce(((e,t)=>e+x(...t,h)),""))}return t+h+S(Object.entries(s).reduce(((e,t)=>e+x(...t,h)),""))}{let e=""+s;return(null===(o=null==e?void 0:e.startsWith)||void 0===o?void 0:o.call(e,"&"))?x(h,y(e.slice(1)),i):(null===(n=null==e?void 0:e.includes)||void 0===n?void 0:n.call(e,"{"))?x(h,_(e),i):b(h,s)}}let v="";if(r)for(let t in r){const s=r[t],i=this._prepareKeyframesName(e,t);p["kf_"+t]=i,v+=`@keyframes ${i} `+S(Object.entries(s).reduce(((e,[t,s])=>e+t+(String(+t)===t?"%":"")+S(Object.entries(s).reduce(((e,t)=>e+x(...t)),""))),""))}return m+v+Object.entries(h).reduce(((e,t)=>e+x(...t)),"")};const{mode:_,prefix:y,params:x}=e;this._mode=_||"a",this._prefix=y||"eff","c"===this._mode?this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")+(r?":"+r:"")}`:this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`[data-${e}${t?"-"+t:""}${s?'~="'+s+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,this._analyzeParams(x)}_parseSelector(e){let t,s,i,r;return e.startsWith("__")?[t,s,i]=e.slice(2).split("_"):[t,s,i]=e.split("_"),i&&([i,r]=i.split(":")),{e:t,m:s,mv:i,s:r}}expandSelector(e,t){const{e:s,m:i,mv:r,s:l}=this._parseSelector(t),o=l&&this._getStateSelector(l);return[this._prepareSelector({b:e,e:s,m:i,mv:r}),this._prepareSelector({b:e,e:s,m:i,mv:r,s:l})+"{"+o]}_getStateSelector(e){const s=e+"_",i=this._compKeys[s]||t[s];if(i)return(i.startsWith("&")||i.startsWith("@")?"":"&")+i}}class A{constructor(e){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=e=>this._stylesheets[e],this.getAll=()=>this._stylesheets,this.add=(e,t)=>{if(!this._stylesheets[e])return this._stylesheets[e]=t,this._styleSheetsArray.push(t),this.cacheRules(e,t),this.notify(),!0},this.remove=e=>{const t=this.get(e);if(!t)return;const s=this._styleSheetsArray.findIndex((e=>e===t));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[e],delete this._rules[e],delete this._expandedSelectors[e]),this.notify(),!0},this.pack=(e,t)=>{const s=new CSSStyleSheet;if(s.replaceSync(t),s.cssRules.length)return this.add(e,s);console.log(`StyleSheet '${e}' is empty`)},this.cacheRules=(e,t)=>{[...t.cssRules].forEach((t=>{const s=t.cssText.split(" {")[0];s&&(this._rules[e]||(this._rules[e]={}),this._rules[e][s]=t)})),this._expandedSelectors[e]=new Set},this.getExpandedSelectors=e=>this._expandedSelectors[e],this.expandRule=(e,t,s)=>{const i=this._rules[e];if(!i)return void console.log(`No stylesheet found with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${e}'`);const[l,o]=r.cssText.split("{");if(r.parentStyleSheet){const t=s+"{"+o+"}",l=r.parentStyleSheet.insertRule(t,r.parentStyleSheet.cssRules.length),n=r.parentStyleSheet.cssRules[l],a=s.split("{")[0];return i[a]=n,this._expandedSelectors[e].add(a),!0}},this.apply=e=>{e.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=e=>{this._listeners.push(new WeakRef(e)),this.apply(e)},this.unregisterNode=e=>{const t=this._listeners.findIndex((t=>t.deref()===e));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((e,t)=>{const s=t.deref();return s&&(this.apply(s),e.push(t)),e}),[])},e)for(let t in e)this.pack(t,e[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}function N(e){customElements.define((null==e?void 0:e.name)||_,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||y}constructor(){super(),this.getSettings=()=>{var t;const s=null===(t=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===t?void 0:t.textContent;return s?JSON.parse(s):(null==e?void 0:e.config)||{}},this.compileStyleSheet=(e,t)=>{var s,i;const r=null===(s=this.processor)||void 0===s?void 0:s.compile(e,t);if(r)return null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)},this.expandStyleSheet=(e,t)=>{var s;const i=null===(s=this.manager)||void 0===s?void 0:s.getExpandedSelectors(e);if(this.processor&&i){const s=new Set(t).difference(i),r=s.size;return r&&this.processor&&s.keys().forEach((t=>{var s;const[i,r]=this.processor.expandSelector(e,t);null===(s=this.manager)||void 0===s||s.expandRule(e,i,r)})),r}},this.processStyles=(e,t)=>{if(e)for(let t in e){const s=e[t];this.compileStyleSheet(t,s)}if(t)for(let e in t){const s=t[e];this.expandStyleSheet(e,s)}return!0}}connectedCallback(){const e=this.getSettings(),{params:t,styles:s,ext:i}=e;this.processor=new w({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new A({init:x()+this.processor.baseStyles}),this.processStyles(s,i),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}})}export{N as defineStyleProvider};
1
+ import{values as e,keys as t}from"./css/dict.js";import{toCqw as s,toCqh as i,toCqb as r,toCqi as o,toCqmin as n,toCqmax as l,toVw as c,toVh as a,toVmin as h,toVmax as p,toPercent as d,toSpan as m,toRem as _,toDeg as u,toMs as f,toPx as y}from"./css/functions.js";import{COMPONENT_NAME as S,SETTINGS_ID as v,getProviderStyles as b}from"./utils.js";"function"==typeof SuppressedError&&SuppressedError;const g={light:{lig:{def:.75,c:.05,s:.65,m:.75,l:.85,n:.9}},dark:{lig:{def:.4,n:.25,s:.3,m:.4,l:.5,c:.95}},root:e},$=e=>`{${e}}`,x=Object.assign.bind(Object),j=(e,t)=>`${e}:${t};`,O=(e,t)=>["@property",e,$(j("syntax",t.syn||'"*"')+j("inherits",t.inh||!1)+(t.ini?j("initial-value",t.ini):""))].join(" "),w=e=>`var(${e})`,k=({l:e,c:t,h:s,a:i=1})=>`oklch(${e} ${t} ${s} / ${i})`,A=["l","c","h","a"];class N{constructor(e){this.baseStyles="",this._prefix="eff",this._mode="a",this._params=g,this._compKeys={},this._compValues={},this._analyzeParams=e=>{var t,S;if(e)for(const t in e)this._params[t]=x(this._params[t]||{},e[t]);const{time:v,rem:b,szu:g,sz:$,sp:j,rad:O,th:w,perc:k,bp:A,fsz:N,lsp:E,tr:q,sk:V,rot:z,fb:R,ra:W,ca:I,ins:K,cqw:P,cqh:C,cqb:T,cqi:B,cqmin:H,cqmax:J,vw:L,vh:M,vmin:D,vmax:F}=this._params.root;this._params.root=x(this._params.root,{cqw:s(P),cqh:i(C),cqb:r(T),cqi:o(B),cqmin:n(H),cqmax:l(J),vw:c(L),vh:a(M),vmin:h(D),vmax:p(F),fb:d(R),ra:m(W),ca:m(I),ins:d(K),sz:x(_($)||{},g),sp:x(_(j)||{},g),rad:_(O),th:_(w),bp:_(A),fsz:_(N),lsp:_(E),tr:_(q),sk:u(V),rot:u(z),perc:d(k),time:f(v),rem:y(b)});const G=function(e,t){var s={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(s[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(s[i[r]]=e[i[r]])}return s}(this._params,["root"]),Q=Object.entries(G),U={_mode:{root:{}}},X={};Q.forEach((([e,t])=>{U._mode[e]||(U._mode[e]={}),Object.entries(t).forEach((([t,s])=>{Object.entries(s).forEach((([s,i])=>{const r=this._prepareVarName(t,s);U._mode[e][r]=i,U._mode.root[r]||(U._mode.root[r]=i,X[t]||(X[t]={}),X[t][s]=`var(${r})`)}))}))})),this._compValues=X,this._compKeys=Object.entries(this._params.root.bp||{}).reduce(((e,[t,s])=>(e[`min_${t}_`]=`@media (min-width:${s})`,e[`max_${t}_`]=`@media (max-width:${s})`,e)),{}),this.baseStyles=this.compile("init",{c:Object.assign(Object.assign(Object.assign(Object.assign({},U),{$r_:Object.assign(Object.assign({},U._mode.root),{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}",$:{$c:"{uni.inh}",$fsz:"{rem.def}",$ff:"{ff.def}"}})}),(null===(t=U._mode)||void 0===t?void 0:t.dark)?{$dark_:{$r_:U._mode.dark}}:{}),(null===(S=U._mode)||void 0===S?void 0:S.light)?{$light_:{$r_:U._mode.light}}:{})})},this._prepareVarName=(...e)=>["-",this._prefix,...e].join("-"),this._prepareKeyframesName=(...e)=>[this._prefix,...e].join("-"),this.compile=(e,s)=>{const{_:i,kf:r,k:o={},v:n={},c:l}=s,c=this._prepareSelector.bind(this),a=this._parseSelector.bind(this);let h=x({},l),p=x({},o),d=x({_:{}},n),m="";if(i)for(let t in i){const s=i[t];if("c"===s.typ){const i={};A.forEach((r=>{const o=t+r,n=this._prepareVarName(e,o);i[r]=n,p["_"+o]=i[r],m+=O(n,s)})),d._[t]=k({l:w(i.l),c:w(i.c),h:w(i.h),a:w(i.a)}),s.all&&(h["_"+t+"l"]=`&lig=>${this._prepareVarName(e,t+"l")}:{1}`,h["_"+t+"c"]=`&chr=>${this._prepareVarName(e,t+"c")}:{1}`,h["_"+t+"h"]=`&hue=>${this._prepareVarName(e,t+"h")}:{1}`,h["_"+t+"a"]=`&alp=>${this._prepareVarName(e,t+"a")}:{1}`)}else{const i=this._prepareVarName(e,t);p["_"+t]=i,d._[t]=w(i),m+=O(i,s)}}const _=e=>p[e]||this._compKeys[e]||t[e],u=e=>d[e]||this._compValues[e]||this._params.root[e],f=e=>e.replaceAll(/\{(.+?)\}/g,((e,t)=>{const[s,i]=t.split(".");if(i){const e=u(s);return(null==e?void 0:e[i])||(null==e?void 0:e.def)}return _(s)})),y=e=>{const t=e.split("?");let s;for(let e in t){const i=t[e],[r,o]=i.split("=>"),[n,l,c]=r.match(/(\w+)(\[[\w,]+\])?/),a=u(l);if(!a)continue;s=a;let h=Object.entries(s);const p=null==c?void 0:c.slice(1,-1).split(",");if(p){const e=new Set(p);h=h.filter((([t,s])=>e.has(t)))}if(o){let[e,t]=o.split("|");void 0===t&&(t=e,e=""),h=h.map((([s,i])=>[e.replace("{0}",s)||s,f(t.replaceAll("{1}",i))]))}(p||o)&&(s=Object.fromEntries(h));break}return s};function S(t,s,i){var r,o,n,l;let h=""+t;if((null===(r=null==t?void 0:t.startsWith)||void 0===r?void 0:r.call(t,"$"))&&(h=_(t.slice(1)),!h))return"";if(Array.isArray(s))return S(h,Object.assign({},...s.map((e=>"string"==typeof e?y(e):e))),i);if(null==s)return"";if("object"==typeof s){const t=!i||(null===(o=i.startsWith)||void 0===o?void 0:o.call(i,"@"))||h.startsWith("&")||h.startsWith("@")?"":"&";if(h.startsWith("_")){const{e:i,m:r,mv:o}=a(h);return r&&"string"!=typeof o?Object.entries(s).reduce(((s,[o,n])=>{let l;return l="object"==typeof n?Object.entries(n).reduce(((e,t)=>e+S(...t,h)),""):n+";",s+t+c({b:e,e:i,m:r,mv:o})+$(l)}),""):t+c({b:e,e:i,m:r,mv:o})+$(Object.entries(s).reduce(((e,t)=>e+S(...t,h)),""))}return t+h+$(Object.entries(s).reduce(((e,t)=>e+S(...t,h)),""))}{let e=""+s;return(null===(n=null==e?void 0:e.startsWith)||void 0===n?void 0:n.call(e,"&"))?S(h,y(e.slice(1)),i):(null===(l=null==e?void 0:e.includes)||void 0===l?void 0:l.call(e,"{"))?S(h,f(e),i):j(h,s)}}let v="";if(r)for(let t in r){const s=r[t],i=this._prepareKeyframesName(e,t);p["kf_"+t]=i,v+=`@keyframes ${i} `+$(Object.entries(s).reduce(((e,[t,s])=>e+t+(String(+t)===t?"%":"")+$(Object.entries(s).reduce(((e,t)=>e+S(...t)),""))),""))}return m+v+Object.entries(h).reduce(((e,t)=>e+S(...t)),"")};const{mode:S,prefix:v,params:b}=e;this._mode=S||"a",this._prefix=v||"eff","c"===this._mode?this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`.${e}${(t?"__"+t:"")+(s?"_"+s:"")+(s&&i?"_"+i:"")+(r?":"+r:"")}`:this._prepareSelector=({b:e,e:t,m:s,mv:i,s:r})=>`[data-${e}${t?"-"+t:""}${s?'~="'+s+(i?"-"+i:"")+(r?":"+r:"")+'"':""}]`,this._analyzeParams(b)}_parseSelector(e){let t,s,i,r;return e.startsWith("__")?[t,s,i]=e.slice(2).split("_"):[t,s,i]=e.split("_"),i&&([i,r]=i.split(":")),{e:t,m:s,mv:i,s:r}}expandSelector(e,t){const{e:s,m:i,mv:r,s:o}=this._parseSelector(t),n=o&&this._getStateSelector(o);return[this._prepareSelector({b:e,e:s,m:i,mv:r}),this._prepareSelector({b:e,e:s,m:i,mv:r,s:o})+"{"+n]}_getStateSelector(e){const s=e+"_",i=this._compKeys[s]||t[s];if(i)return(i.startsWith("&")||i.startsWith("@")?"":"&")+i}}class E{constructor(e){if(this._stylesheets={},this._rules={},this._expandedSelectors={},this._styleSheetsArray=[],this._listeners=[],this.get=e=>this._stylesheets[e],this.getAll=()=>this._stylesheets,this.add=(e,t)=>{if(!this._stylesheets[e])return this._stylesheets[e]=t,this._styleSheetsArray.push(t),this.cacheRules(e,t),this.notify(),!0},this.remove=e=>{const t=this.get(e);if(!t)return;const s=this._styleSheetsArray.findIndex((e=>e===t));return s>-1&&(this._styleSheetsArray.splice(s,1),delete this._stylesheets[e],delete this._rules[e],delete this._expandedSelectors[e]),this.notify(),!0},this.pack=(e,t)=>{const s=new CSSStyleSheet;if(s.replaceSync(t),s.cssRules.length)return this.add(e,s);console.log(`StyleSheet '${e}' is empty`)},this.cacheRules=(e,t)=>{[...t.cssRules].forEach((t=>{const s=t.cssText.split(" {")[0];s&&(this._rules[e]||(this._rules[e]={}),this._rules[e][s]=t)})),this._expandedSelectors[e]=new Set},this.getExpandedSelectors=e=>this._expandedSelectors[e],this.expandRule=(e,t,s)=>{const i=this._rules[e];if(!i)return void console.log(`No stylesheet found with key '${e}'`);const r=i[t];if(!r)return void console.log(`No rule with selector '${t}' found in stylesheet with key '${e}'`);const[o,n]=r.cssText.split("{");if(r.parentStyleSheet){const t=s+"{"+n+"}",o=r.parentStyleSheet.insertRule(t,r.parentStyleSheet.cssRules.length),l=r.parentStyleSheet.cssRules[o],c=s.split("{")[0];return i[c]=l,this._expandedSelectors[e].add(c),!0}},this.apply=e=>{e.adoptedStyleSheets=this._styleSheetsArray},this.registerNode=e=>{this._listeners.push(new WeakRef(e)),this.apply(e)},this.unregisterNode=e=>{const t=this._listeners.findIndex((t=>t.deref()===e));t>=0&&this._listeners.splice(t,1)},this.notify=()=>{this._listeners=this._listeners.reduce(((e,t)=>{const s=t.deref();return s&&(this.apply(s),e.push(t)),e}),[])},e)for(let t in e)this.pack(t,e[t])}removeAll(){return this._styleSheetsArray.splice(0),this._stylesheets={},this._rules={},this._expandedSelectors={},this.notify(),!0}}function q(e){customElements.define((null==e?void 0:e.name)||S,class extends HTMLElement{get settingsId(){return this.getAttribute("settingsid")||v}constructor(){super(),this.getSettings=()=>{var t;const s=null===(t=null===document||void 0===document?void 0:document.getElementById(this.settingsId))||void 0===t?void 0:t.textContent;return s?JSON.parse(s):(null==e?void 0:e.config)||{}},this.compileStyleSheet=(e,t)=>{var s,i;const r=null===(s=this.processor)||void 0===s?void 0:s.compile(e,t);if(r)return null===(i=this.manager)||void 0===i?void 0:i.pack(e,r)},this.expandStyleSheet=(e,t)=>{var s;const i=null===(s=this.manager)||void 0===s?void 0:s.getExpandedSelectors(e);if(this.processor&&i){const s=new Set(t).difference(i),r=s.size;return r&&this.processor&&s.keys().forEach((t=>{var s;const[i,r]=this.processor.expandSelector(e,t);null===(s=this.manager)||void 0===s||s.expandRule(e,i,r)})),r}},this.processStyles=(e,t)=>{if(e)for(let t in e){const s=e[t];this.compileStyleSheet(t,s)}if(t)for(let e in t){const s=t[e];this.expandStyleSheet(e,s)}return!0}}connectedCallback(){const e=this.getSettings(),{params:t,styles:s,ext:i}=e;this.processor=new N({prefix:this.getAttribute("prefix")||void 0,mode:this.getAttribute("mode")||void 0,params:t}),this.manager=new E({init:b()+this.processor.baseStyles}),this.processStyles(s,i),null===this.getAttribute("isolated")&&this.manager.registerNode(document)}})}export{q as defineStyleProvider};
@@ -259,10 +259,6 @@ export interface IValues {
259
259
  * Line-height coefficients
260
260
  */
261
261
  lh: TVariants;
262
- /**
263
- * Viewport units
264
- */
265
- vu: TVariants;
266
262
  /**
267
263
  * Viewport width
268
264
  */
@@ -279,10 +275,6 @@ export interface IValues {
279
275
  * Viewport max size
280
276
  */
281
277
  vmax: TVariants;
282
- /**
283
- * Container query units
284
- */
285
- cqu: TVariants;
286
278
  /**
287
279
  * Container query block size
288
280
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "effcss",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "description": "Next generation CSS-in-JS library",
5
5
  "scripts": {
6
6
  "build": "rollup -c",