efficient-storefront-blocks 0.131.1 → 0.132.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/chunks/{CustomHtmlCodeWindow-JINOMDUB.js → CustomHtmlCodeWindow-2WCOBTZI.js} +1 -1
  3. package/dist/chunks/{EditorPreviewCheckout-B5B4BHEG.js → EditorPreviewCheckout-CXHJMY3C.js} +1 -1
  4. package/dist/chunks/SiteEditorProvider-IOAQH4S4.js +1 -0
  5. package/dist/chunks/{chunk-3QCDDPXL.js → chunk-3P4XQK3S.js} +1 -1
  6. package/dist/chunks/{chunk-QYTBEMMG.js → chunk-3RAPOAJE.js} +2 -2
  7. package/dist/chunks/{chunk-43XANC6T.js → chunk-OBAUAKZL.js} +1 -1
  8. package/dist/chunks/{chunk-GVSVEV2H.js → chunk-PB4FLVPH.js} +8 -8
  9. package/dist/chunks/{chunk-SV3VVDBH.js → chunk-TNWF32DT.js} +1 -1
  10. package/dist/chunks/{chunk-7W33H2GG.js → chunk-UFQDBLLF.js} +1 -1
  11. package/dist/chunks/{chunk-R5FDAR72.js → chunk-XXVOKKJV.js} +1 -1
  12. package/dist/chunks/{chunk-PJVO662Y.js → chunk-ZHLVGCNF.js} +1 -1
  13. package/dist/chunks/{fitment-data-FRSLYOCL.js → fitment-data-MW7I7F7T.js} +1 -1
  14. package/dist/chunks/{section-css-style-3IQWMPDP.js → section-css-style-7OKHUI7L.js} +1 -1
  15. package/dist/editor/lib/document/blocks/commerce/GalleryB/fields.js +1 -1
  16. package/dist/editor/lib/storefront-editor-words.d.ts +1 -0
  17. package/dist/editor/lib/storefront-editor-words.js +1 -1
  18. package/dist/index.js +28 -28
  19. package/dist/render/built-with.json +1 -1
  20. package/dist/render/components/GalleryCard.d.ts +2 -1
  21. package/dist/render/components/GalleryCard.js +1 -1
  22. package/dist/render/components/GalleryGrid.d.ts +2 -1
  23. package/dist/render/components/GalleryGrid.js +3 -3
  24. package/dist/render/components/GalleryItem.d.ts +1 -0
  25. package/dist/render/components/GalleryItem.js +1 -1
  26. package/dist/render/lib/document/blocks/commerce/GalleryB/render.js +1 -1
  27. package/dist/render/lib/sections/gallery-mosaic.d.ts +3 -0
  28. package/dist/render/lib/sections/gallery-mosaic.js +1 -0
  29. package/dist/render/lib/sections/gallery-toolbar.js +1 -1
  30. package/dist/routine-index.json +1 -1
  31. package/dist/value-index.json +1 -1
  32. package/dist/words.d.ts +2 -0
  33. package/dist/words.js +2 -2
  34. package/package.json +2 -2
  35. package/dist/chunks/SiteEditorProvider-CJRYE2LF.js +0 -1
  36. /package/dist/chunks/{chunk-TICXZI44.js → chunk-2NWFNMO3.js} +0 -0
  37. /package/dist/chunks/{chunk-QYTBEMMG.js.LEGAL.txt → chunk-3RAPOAJE.js.LEGAL.txt} +0 -0
  38. /package/dist/chunks/{chunk-FVHAKC6L.js → chunk-AHUOASUP.js} +0 -0
  39. /package/dist/chunks/{chunk-43XANC6T.js.LEGAL.txt → chunk-OBAUAKZL.js.LEGAL.txt} +0 -0
  40. /package/dist/chunks/{chunk-T5PQ7BY4.js → chunk-YDV7IGPY.js} +0 -0
@@ -1,4 +1,4 @@
1
- import{$ as sf,D as Av,E as Fv,F as of,G as Bv,H as Wv,I as Or,J as $v,K as zv,L as Uv,M as nt,N as tf,O as vo,P as fe,R as rf,S as Er,T as af,X as jv,Y as nf,Z as _r,_ as Gv,a as Xo,b as Ys,ba as tP,c as jd,d as yn,e as Xs,f as iv,fa as uP,g as Sn,h as Gd,ha as mP,ia as Nf,ja as $T,ka as zT,r as tl,t as _v}from"./chunk-7W33H2GG.js";import{a as yP,d as Sf,e as st,f as bf,g as wf,h as Pf,l as Kx}from"./chunk-T5PQ7BY4.js";import{$ as ix,$a as mv,$b as rl,$c as sa,$e as bP,$j as Wx,$k as VT,A as vC,Aa as px,Ab as el,Ac as ik,Ad as $k,Ae as pP,Ah as ca,Ak as LT,Al as ZT,B as kC,Ba as JC,Bb as zt,Bc as dk,Bd as zk,Bh as Ff,Bj as wT,Bk as RT,Bl as Mf,C as PC,Ca as QC,Cb as wn,Cc as fk,Cd as Uk,Ce as vt,Cj as Lf,Cl as JT,D as rt,Da as ev,Db as ol,Dc as jt,Dd as jk,Df as BP,Dg as XP,Dh as pT,Dj as Nx,Dk as DT,E as TC,Ea as ov,Ec as Ue,Ed as Gk,Ee as je,Ef as _x,Eh as uT,Ej as CT,El as Ln,F as OC,Fa as tv,Fc as Ar,Fd as vx,Fe as kt,Ff as LP,Fh as mT,Fj as vT,Fk as zx,Fl as Hf,G as EC,Ga as rv,Gb as Ix,Gc as Sx,Gd as Kk,Ge as Oe,Gf as RP,Gh as xT,Gj as Mx,H as _C,Ha as kr,Hb as na,Hc as ck,Hd as kx,He as IP,Hf as DP,Hg as ZP,I as AC,Ia as av,Ib as ef,Ic as pk,Id as qk,If as NP,Ig as JP,Ij as En,J as FC,Jb as Tv,Jc as uk,Jd as Vk,Jg as QP,Jj as kT,K as BC,Ka as nv,Kb as Ov,Kc as mf,Kd as Yk,Kf as MP,Kg as eT,La as Kd,Lb as Ev,Lc as al,Ld as Gt,Le as Px,Lg as oT,Lk as pl,M as LC,Ma as Zs,Mb as lf,Mc as mk,Md as Xk,Mg as Bx,Mj as Hx,Mk as Df,N as RC,Na as qd,Nb as Vv,Nc as xk,Nd as da,Ng as tT,Nj as fl,Nk as Ux,O as DC,Oa as dv,Ob as df,Oc as hk,Od as Zk,Oe as il,Og as Lx,Ok as NT,P as Md,Pb as yx,Pc as xf,Pd as Pn,Pg as dr,Pk as ua,Q as NC,Qb as ff,Qc as Ik,Qg as Rx,Qj as _n,Qk as MT,R as MC,Rc as gk,Rd as lr,Rg as Ef,Rk as HT,Sa as fv,Sc as bx,Sd as Jk,Se as gP,Sg as rT,Sj as PT,Sk as WT,Ta as cv,Tc as yk,Td as ll,Te as Tx,Tf as HP,Tg as aT,Ua as Js,Uc as kn,Ud as Qk,Ue as SP,Uf as WP,Ug as nT,Uk as UT,Vb as Cn,Vd as fa,Vf as $P,Vg as sT,Vk as jx,W as lx,Wa as bn,Wc as Sk,Wd as eP,Wf as zP,Wg as lT,Xa as pv,Xc as bk,Xf as Ax,Xk as jT,Y as qs,Ya as Vd,Yb as Yv,Yc as wk,Yd as hf,Yf as UP,Yk as GT,Z as Hd,Za as uv,Zb as Xv,Zc as Ck,Zd as Br,Zf as jP,Zg as iT,Zk as KT,_ as Ao,_a as Qs,_b as Zv,_c as vk,_d as oP,_f as Fx,_g as dT,_j as TT,_k as qT,a as _o,aa as hn,ab as xv,ad as kk,af as wP,ak as OT,al as YT,b as un,ba as HC,bb as mx,bd as wx,bf as Cf,bj as pa,bk as ET,ca as WC,cb as hv,cd as Pk,cf as CP,cg as ir,d as sC,da as $C,db as Yd,dd as Tk,df as Ox,dj as fr,dk as Rf,e as rx,ea as zC,eb as Iv,ed as Ok,ef as vP,eg as Tn,ek as An,f as lC,fa as UC,fb as xx,fd as Ek,ff as kP,fi as hT,fk as Fn,g as c,ga as dx,gd as _k,ge as rP,gf as PP,gg as GP,gh as _f,gi as IT,gk as cl,h as $t,hb as gv,hd as Fr,hf as TP,hg as KP,hk as Bn,i as xn,ia as jC,ib as yv,id as nl,if as vf,ig as Tf,ik as _T,j as Gs,ja as Wd,jd as la,je as aP,jg as Lr,k as No,kb as Xd,kc as vn,kd as Ak,ke as nP,kf as OP,kg as Of,kj as Bf,l as Ks,lb as Sv,lc as Ut,le as sP,mb as bv,mc as Jv,md as ia,mg as On,mh as fT,mj as ST,n as xC,nb as wv,nc as Qv,nd as sl,nf as Ex,o as hC,ob as Cv,oc as ek,od as Fk,oh as cT,p as IC,pb as Zd,pc as ok,pd as Bk,pk as AT,q as gC,qb as vv,qc as tk,qe as Mo,qi as gT,qk as FT,r as yC,rc as cf,rd as Lk,re as ao,ri as yT,rl as Gx,s as SC,sc as pf,sd as Rk,sf as EP,t as bC,tb as kv,tc as rk,td as Dk,te as If,tf as _P,u as wC,ub as Pr,ue as lP,uf as kf,v as Nd,vb as Jd,vc as ak,vd as Nk,ve as iP,vf as AP,vg as Rr,w as vr,wa as VC,wb as Qd,wc as nk,wd as Mk,we as dP,wf as FP,wg as qP,xa as YC,xb as Pv,xc as sk,xd as Hk,xe as fP,xg as VP,xk as $x,y as sx,ya as XC,yb as ho,yc as uf,yd as Wk,ye as gf,yg as YP,yh as Dx,yj as bT,z as CC,za as ZC,zb as hx,zc as lk,zd as Cx,ze as cP,zh as Af,zk as BT,zl as XT}from"./chunk-GVSVEV2H.js";import{a as uC,b as Dd,c as mC,g as Kv,h as gx,i as qv}from"./chunk-SV3VVDBH.js";import{$ as Ib,$a as Mb,$c as R,$e as Jm,$g as cC,A as io,Ab as Jb,Ad as pw,B as on,Be as Xm,Bf as ox,Ca as ye,Cb as Ws,Cd as Vm,Ce as ww,D as Ns,Db as Qb,E as id,Ed as uw,Ee as Zm,F as Nt,Fd as bd,G as tn,Ga as ot,Gg as Jw,H as ze,Ha as bt,Hb as gd,Hd as tt,Hg as Qw,I as Xe,Ia as Em,Ic as nw,Id as Do,Ie as vd,If as Dw,Ig as eC,J as rn,Ja as _m,Jd as ro,Je as kd,Jg as oC,K as dd,Kc as Um,Kd as Ht,Ke as Cw,Kh as ux,L as fb,La as Am,Ld as nr,Le as Pd,Lf as sr,Lh as In,M as cb,Ma as Fm,Mb as ew,Md as Ct,Me as Td,Mg as tC,Mh as sv,Nd as dn,Ne as vw,Nh as at,O as pb,Od as mw,Oe as kw,Oh as Yo,P as fd,Pd as fn,Pe as Od,Pg as rC,Ph as Ud,Q as ub,Qa as Bm,Qd as xw,Qe as Ed,Qg as aC,Qh as lv,R as ea,Ra as _b,Rb as yd,Rc as sw,Re as aa,Rf as Nw,Rh as gn,S as mb,Sa as Ab,Se as Pw,Sg as nC,T as xb,Ta as Ke,U as Ms,Ua as Fb,Ub as ow,Ud as ra,Ug as iC,Uh as Lv,V as Tm,Va as xd,Vb as tw,Vd as hw,Vg as dC,W as Ce,Wa as Bb,Wd as Iw,We as Tw,X as q,Xa as Lb,Xb as rw,Xd as cn,Xf as Mw,Xg as Cr,Y as hb,Ya as Rb,Yc as U,Yd as zs,Yf as Hw,Yh as Rv,Za as Db,Zb as Wm,Zc as oe,Zd as Us,Ze as Wt,Zf as Ww,Zg as fC,_ as cd,_a as Nb,_c as jm,_d as Ym,_e as js,_f as $w,_g as ax,a as en,ab as Hb,ad as Co,ae as gw,af as Qm,ah as nx,b as xo,ba as gb,bb as Wb,bd as rr,be as yw,bf as Ow,bh as Rd,c as lo,ca as pd,cb as hd,cd as lw,ce as Sw,cf as Ew,cg as zw,d as or,da as yb,db as Id,dd as H,df as _d,dg as Uw,dh as pC,di as Dv,ea as Sb,eb as $b,ed as Sd,ee as bw,ef as _w,ei as Tr,f as Vo,fa as Om,fb as zb,fd as Ro,fg as jw,g as Ds,ga as bb,gc as $m,gd as iw,ge as wd,gg as Gw,gi as Nv,h as tb,ha as wb,hb as Ub,hd as wt,hf as Aw,hg as Bd,hi as Mv,i as rb,ia as Cb,ib as jb,id as Mt,ie as Cd,if as Ad,ig as Kw,ii as Hv,j as ab,jb as Lm,jd as Gm,jf as Fw,jg as Ld,k as nb,kb as Gb,kd as br,kf as ex,kg as tx,la as vb,lb as Kb,ld as ar,lf as Bw,ma as kb,mb as Rm,md as dw,mf as Lw,mi as ko,na as Pb,nb as nn,nf as Fd,ng as qw,o as sb,od as Be,of as pn,og as Vw,pa as Tb,pb as oa,pd as ta,pf as mn,qb as Dm,qd as $s,qf as wr,qi as dl,ra as Ob,rb as Nm,rd as sn,rg as Yw,rh as fx,s as lb,sa as ud,sb as Mm,sd as fw,sg as Xw,sh as $d,ta as Eb,tb as qb,td as Km,th as GC,u as Me,ua as md,ub as Vb,ud as ln,uf as Rw,uh as cx,v as ib,vb as Yb,vc as zm,vd as qm,vg as Zw,vh as KC,w as ld,wb as Hm,x as db,xb as Xb,xc as aw,xh as zd,ya as Hs,yb as tr,yh as qC,z as Te,za as an,zb as Zb,zd as cw,zh as Vs}from"./chunk-3QCDDPXL.js";import{a as z,b as eo}from"./chunk-FVHAKC6L.js";import{c as xP,d as hP,e as yf}from"./chunk-TICXZI44.js";import{jsx as qx,Fragment as p6,jsxs as u6}from"react/jsx-runtime";import{createContext as m6,useContext as x6}from"react";var h6={mirrorHostStyles:!0,css:null,fontHrefs:[]},QT=m6(h6);function Yne({value:e,children:o}){return qx(QT.Provider,{value:e,children:o})}function ul(){return x6(QT)}function e0(){let{css:e,fontHrefs:o}=ul();return u6(p6,{children:[o.map(t=>qx("link",{rel:"stylesheet",href:t},t)),e?qx("style",{"data-sf-canvas-css":"",children:e}):null]})}import{jsx as I6}from"react/jsx-runtime";import{createContext as g6,useContext as y6}from"react";var o0=g6(void 0);function Qne({metadata:e,children:o}){return I6(o0.Provider,{value:e,children:o})}var t0=()=>y6(o0);import{jsx as uo,Fragment as Q4,jsxs as od}from"react/jsx-runtime";import{useCallback as _s,useEffect as Zt,useRef as bne,useState as Y4}from"react";import{SettingsSwitch as wne}from"efficient-easel/panel";import{PagesIcon as Cne,StylesIcon as vne}from"efficient-easel/rail";import{PaletteIcon as kne}from"efficient-shell/icons/efficient";import{Subtree as Pne,TreeRow as e6}from"efficient-easel/tree";import{useEasel as o6}from"efficient-easel/easel";import{toItemSelector as Tne}from"efficient-easel/node-ops";import{useEaselStrings as t6}from"efficient-easel/strings";import{createContext as S6,useContext as b6}from"react";var Vx=S6(!1),tse=()=>b6(Vx);import{useMemo as w6,useRef as C6}from"react";import{useEaselApi as v6}from"efficient-easel/easel";import{useSectionOps as k6}from"efficient-easel/screen/lib/document/use-section-ops";function Wf(){let e=v6(),o=k6(),t=C6(o);return t.current=o,w6(()=>({getItemById:r=>e.getState().getItemById(r),getSelectorForId:r=>e.getState().getSelectorForId(r),get components(){return e.getState().config.components},replace:(r,a,n)=>t.current.replaceComponent(r,a,n)}),[e])}import{encodePartId as K6}from"efficient-easel/draw";import{insertAt as q6,moveTo as V6,removeAt as Y6}from"efficient-easel/fields";import{useSyncExternalStore as H6}from"react";import{isNodeList as r0}from"efficient-easel/data";var a0="Flex";function Rn(e,o){return Wt(e)?typeof e?.[Vo]=="string"?Yx(o?.[Vo]):"":Yx(e?.[Vo])}var Yx=e=>typeof e=="string"?e.trim():"",P6=e=>e.type===io&&Array.isArray(e.props?.[Zm])&&e.props[Zm].some(o=>Yx(o?.[Vo])!==""),T6=new Intl.NumberFormat("en-US");function O6(e){return/^\d+$/.test(e)?T6.format(Number(e)):e}function pse(e,o){let t=o?o.find(r=>r.key===e)?.value:lb(Ds).find(r=>r.key===e)?.value;return t===void 0?null:O6(t)}var E6={[Vo]:"any"};function Xx(e,o=!1){let t=e.props;if(!t)return{node:e,names:!1};let r=e.type==="Text"&&(Rn(t)!==""||o&&Rn(t,E6)!==""),a=o||P6(e),n=Xe(e,l=>ze(l,i=>{let d=Xx(i,a);return d.names&&(r=!0),d.node})).props;if(e.type!==a0)return{node:n===t?e:{...e,props:n},names:r};let s=Me(n);if(r&&!s&&(n={...n,[lo]:Ds}),!r&&s===Ds){let{[lo]:l,...i}=n;n=i}return{node:n===t?e:{...e,props:n},names:!1}}function n0(e,o,t){for(let r of e){if(r?.props?.id===o)return t;for(let a of tn(r??{})){let n=n0(a,o,r.type===a0?r:t);if(n!==void 0)return n}}}function use(e,o){if(!r0(e))return!0;let t=n0(e,o,null);if(t===void 0)return!0;if(t===null)return!1;let r=Me(t.props);return!r||r===Ds}function s0(e){let o=e?.content;if(!r0(o))return e;let t=o.map(r=>Xx(r));return t.every((r,a)=>r.node===o[a])?e:{...e,content:t.map(r=>r.node)}}function l0(e){return Xx(e).node}import{decodePartId as W6}from"efficient-easel/draw";function Dn(e,o){let t=nk(e);return t?.control==="textList"?o.rowKey===(t.itemKey??"text")?LT(t,o.index):null:sk(e)?.[o.rowKey]??null}function $f(e,o,t){let r=e.node.props,{key:a,row:n}=Ut(e.propKey),s=n?ik(r,a,n,e.kind,o):ak(r,a,e.kind,o);return s?(t(e.zone,e.index,{...e.node,props:s}),!0):!1}import{readHidable as f0}from"efficient-easel/draw";import{parseOption as _6}from"efficient-shell/format";var Zx=e=>String(e+1).padStart(2,"0"),A6=[{label:"01 \xB7",value:"two-digit"},{label:"1.",value:"plain"}],Jx="two-digit",i0=e=>_6(A6,Jx,e),zf=(e,o)=>e==="plain"?`${o+1}.`:Zx(o);var oh="Contents",Qx="Flex",d0="Text",F6="numberForm",B6="_contentsEntries",L6="_kickerNumber",c0="data-sf-kicker-number",R6=e=>f0(e).text.trim(),p0=e=>fa(e?.anchor),eh=e=>String(e.props?.id??""),D6=e=>!f0(e.props?.text).hidden&&!Rn(e.props)&&!Wt(e.props),ml=e=>tn(e);function u0(e){for(let o of ml(e))for(let t of o){if(lr(t.props??{}))continue;if(t.type===d0&&D6(t))return t;if(t.type===d0)continue;let r=u0(t);if(r)return r}}function m0(e){return ml(e).some(o=>o.some(t=>t&&!lr(t.props??{})&&(t.type===oh||m0(t))))}var x0=e=>e.type===Qx&&Tn(Qx,e.props?.direction)==="row";function h0(e){return ml(e).some(o=>o.some(t=>t&&!lr(t.props??{})&&(t.type===oh||!x0(t)&&h0(t))))}function N6(e){let o=[],t=(r,a)=>{for(let n of r){if(!n||lr(n.props??{}))continue;if(n.type===oh){a.open={contents:n,sections:a.waiting??[]},a.waiting=null,o.push(a.open);continue}if(x0(n)&&h0(n)){let l={inRow:!0,open:null,waiting:[]};for(let i of ml(n))t(i,l);a.inRow||(a.open=null);continue}let s=a.open?.sections??a.waiting;if(n.type===Qx&&p0(n.props)&&s&&!m0(n)){s.push({box:n,kicker:u0(n)});continue}for(let l of ml(n))t(l,a)}};return t(e,{inRow:!1,open:null,waiting:null}),o}function M6(e){return e.map(o=>({label:o.kicker?an(R6(o.kicker.props?.text)):"",anchor:p0(o.box.props)}))}function th(e){let o=e?.length?N6(e):[];if(!o.length)return null;let t=new Map,r=new Map;for(let a of o){let n=eh(a.contents);n&&t.set(n,M6(a.sections));let s=i0(a.contents.props?.[F6]);a.sections.forEach((l,i)=>{let d=l.kicker?eh(l.kicker):"";d&&r.set(d,zf(s,i))})}return{entries:t,numbers:r}}var Fse=e=>e.endsWith(".")?`${e} `:`${e} \xB7 `;function I0(e){let o=e;if(!o?.content?.length)return e;let t=th(o.content);if(!t)return e;let{entries:r,numbers:a}=t,n=s=>{let l=Xe(s,h=>ze(h,n)),i=l.props??{},d=l!==s,f=eh(s),m=f?r.get(f):void 0;m&&(i={...i,[B6]:m},d=!0);let u=f?a.get(f):void 0;return u&&(i={...i,[L6]:u},d=!0),d?{...s,props:i}:s};return{...o,content:o.content.map(n)}}var $6=`[${c0}]`,z6=["bold","italic","underline","strike","link","sup","sub"],U6=["bullet","number"];function nh(e,o){return e?[...z6,...o?U6:[]]:[]}function g0(e,o){let t=W6(e);if(!t?.propKey)return null;let{nodeId:r,propKey:a}=t,n=o.getItemById(r),s=o.getSelectorForId(r);if(!n||!s)return null;let{key:l,row:i}=Ut(a),d=o.components[n.type]?.fields?.[l],f=i?Dn(d,i):d,m=cf(f);if(!m)return null;let u=n.props??{};if(hT(u)!==null||!i&&_d(n.type,u,l)||n.type==="Text"&&l==="text"&&Rn(u)||i&&!(Array.isArray(u[l])&&i.index<u[l].length))return null;let h=i?uf(u[l],i):u[l];return{node:n,selector:s,propKey:a,kind:m,stored:h,offPage:Bf(f),panelOnly:tk(f)}}function Uf(e,o){let t=g0(e,o);if(!t)return null;let{text:r,hidden:a}=pa(t.stored);if(!gk({offPage:t.offPage,hidden:!!a,panelOnly:t.panelOnly}))return null;let n=pf(t.kind);return{partId:e,value:r,rules:ud,multiline:n,skip:$6,offered:nh(t.kind!=="plainText",n),write:s=>{let l=g0(e,o);l&&$f({node:l.node,propKey:l.propKey,kind:l.kind,zone:l.selector.zone,index:l.selector.index},s,o.replace)}}}function sh(e,o,t){return e?.isConnected&&e.getAttribute(Ue)===t?e:o?.querySelector(`[${Ue}="${jf(t)}"]`)??null}function jf(e){return e.replace(/["\\]/g,"\\$&")}function y0(e){let o=e.activeElement;return o?o.tagName==="IFRAME"||!!o.closest(".es-canvas"):!1}var rh=null,ah=new Set;function j6(){return rh}function lh(e){if(e!==rh){rh=e;for(let o of ah)o()}}function G6(e){return ah.add(e),()=>{ah.delete(e)}}function S0(){return H6(G6,j6,()=>null)}function b0(e,o){if(e.outer)return null;let t=o.getItemById(e.ownerId);if(!t)return null;let r=vw(t.type);return!r||Me(t.props)?null:{node:t,rows:r}}function X6(e,o){let t=b0(e,o),r=o.getItemById(e.nodeId);if(!t||!r)return null;let a=_w(r.type,r.props,e.key);if(!a)return null;let n=t.node.props[t.rows];return!Array.isArray(n)||e.index<0||e.index>=n.length?null:K6(e.ownerId,vn(t.rows,{index:e.index,rowKey:a}))}function Gf(e,o){let t=X6(e,o);return t?Uf(t,o):null}function w0(e,o){return Gf(e,o)?.value}function C0(e,o){let t=Gf(e,o);return t?(t.write(e.text),!0):!1}function v0(e,o){let t=b0(e,o),r=t&&o.getSelectorForId(e.ownerId);if(!t||!r)return!1;let a=t.node.props,n=a[t.rows],s=e.index;if(!Array.isArray(n)||s<0||s>=n.length)return!1;let l;switch(e.action){case"addAfter":{let i=o.components[t.node.type]?.fields?.[t.rows];l=q6(n,s+1,{...i?.defaultItemProps??{}});break}case"moveEarlier":case"moveLater":{let i=e.action==="moveEarlier"?s-1:s+1;if(i<0||i>=n.length)return!1;l=V6(n,s,i);break}case"delete":l=Y6(n,s);break;default:return!1}return o.replace(r.zone,r.index,{...t.node,props:{...a,[t.rows]:l}}),!0}import{jsx as Pe,Fragment as RJ,jsxs as Wu}from"react/jsx-runtime";import{Fragment as DJ,useEffect as gH,useMemo as yH,useRef as NJ,useState as za}from"react";import{useScreenDocument as vH}from"efficient-easel/screen/components/ScreenDocumentContext";import{UiIcon as Wy}from"efficient-easel/draw/client";import MJ from"efficient-easel/screen/components/SidePanelHead";import{InspectorIconButton as HJ}from"efficient-easel/chrome";import{Input as WJ,LoadingSpinner as $J,PopupMenu as zJ,PopupMenuItem as SH,toast as bH}from"efficient-shell/ui";import{LayersTree as UJ,TreeGroupLabel as jJ,TreeRow as wH,TreeRowAction as $u}from"efficient-easel/tree";import{AddIcon as GJ,DuplicateIcon as KJ,PageIcon as qJ,SettingsIcon as VJ}from"efficient-easel/icons";import{PagesIcon as YJ}from"efficient-easel/rail";import{useEaselHost as XJ}from"efficient-easel/screen/lib/host";import{useEaselSession as $y}from"efficient-easel/screen/lib/session-context";import{useCallback as Kf,useEffect as Z6,useSyncExternalStore as J6}from"react";import{useScreenDocument as O0}from"efficient-easel/screen/components/ScreenDocumentContext";var k0=new WeakMap;function xl(e){let o=k0.get(e);return o||(o={rows:null,loading:null,listeners:new Set},k0.set(e,o)),o}function ih(e,o){e.rows=o;for(let t of e.listeners)t()}var qf=new Set;function Vf(e,o){o?qf.add(e):qf.delete(e)}function P0(e){let o=xl(e),t=e.listPages().then(r=>ih(o,qf.size?r.filter(a=>!qf.has(a.id)):r),()=>ih(o,[])).finally(()=>{o.loading===t&&(o.loading=null)});return o.loading=t,t}var T0=()=>null,Q6=()=>()=>{};function hl(){let{adapter:e,ready:o}=O0(),t=Kf(l=>{let{listeners:i}=xl(e);return i.add(l),()=>i.delete(l)},[e]),r=Kf(()=>xl(e).rows,[e]),a=J6(o?t:Q6,o?r:T0,T0);Z6(()=>{if(!o)return;let l=xl(e);l.rows===null&&!l.loading&&P0(e)},[e,o]);let n=Kf(()=>o?P0(e):Promise.resolve(),[e,o]),s=Kf(l=>ih(xl(e),l),[e]);return{rows:a,reload:n,setRows:s,getRows:r}}function e3(e,o){return e?.find(t=>t.slug===o)?.label?.trim()||`/${o}`}function E0(){let{currentSlug:e}=O0(),{rows:o}=hl();return e3(o,e)}import{canDuplicatePage as ZJ,DuplicatePageDialog as JJ}from"efficient-easel/page-copy";import{jsx as Oo,jsxs as fH}from"react/jsx-runtime";import{useEffect as gJ,useId as yJ,useMemo as SJ,useRef as bJ,useState as Ny}from"react";import{useScreenDocument as wJ}from"efficient-easel/screen/components/ScreenDocumentContext";import{useEaselSession as CJ}from"efficient-easel/screen/lib/session-context";import{uniqueSlug as cH}from"efficient-easel/page-copy";import{AddIcon as vJ}from"efficient-easel/icons";import{Button as kJ,Dialog as PJ,EmptyState as TJ,LoadingSpinner as OJ,Paragraph as EJ,SidebarLayout as _J,SidebarNavItem as My,Title as AJ,toast as pH}from"efficient-shell/ui";import{jsx as Ot,jsxs as TR}from"react/jsx-runtime";import{useEffect as gq,useState as Ag}from"react";import{CanvasFrame as yq}from"efficient-easel/easel";import{Button as Sq,Card as bq,FitFrame as wq,Text as Cq}from"efficient-shell/ui";import{jsx as L0,Fragment as p3,jsxs as u3}from"react/jsx-runtime";import{useEffect as R0,useLayoutEffect as m3}from"react";var Yf="data-theme",_0="light";function o3(e){return e.getAttribute(Yf)===_0?"light":"dark"}function t3(e,o){return o3(e)===o?!1:(o==="light"?e.setAttribute(Yf,_0):e.removeAttribute(Yf),!0)}function r3(e){return Kx(e).getItem(ox)}function lle(e,o){Kx(e).setItem(ox,o)}function a3(e,o,t=new Date().getHours()){return Dw({mode:o.mode,override:r3(e),switchShown:o.switchShown,hour:t})}function A0(e,o){let t=e.documentElement;if(!t)return()=>{};let r=()=>t3(t,a3(e,o));r();let a=e.defaultView?.MutationObserver;if(!a)return()=>{};let n=new a(r);return n.observe(t,{attributes:!0,attributeFilter:[Yf]}),()=>n.disconnect()}var n3="style";function s3(e,o){let t=Ld(o),r=!1;for(let a of Kw){let n=t[a]??"";e.style.getPropertyValue(a)!==n&&(n?e.style.setProperty(a,n):e.style.removeProperty(a),r=!0)}return r}function F0(e,o){let t=e.body;if(!t)return()=>{};let r=()=>s3(t,o);r();let a=e.defaultView?.MutationObserver;if(!a)return()=>{};let n=new a(r);return n.observe(t,{attributes:!0,attributeFilter:[n3]}),()=>n.disconnect()}import{VIEW_DESKTOP_MIN as l3,VIEW_TABLET_MIN as i3}from"efficient-easel/screen/lib/content/view-tiers";var cr={fit:"data-fit",fitTablet:"data-fit-tablet",fitPhone:"data-fit-phone",min:"data-fit-min",minTablet:"data-fit-min-tablet",minPhone:"data-fit-min-phone",edge:"data-fit-edge"},Zo=cr,d3=e=>e.flatMap(o=>[`[${o}] p`,`[${o}] li`]).join(","),f3=String.raw`(function (doc) {
1
+ import{$ as sf,D as Av,E as Fv,F as of,G as Bv,H as Wv,I as Or,J as $v,K as zv,L as Uv,M as nt,N as tf,O as vo,P as fe,R as rf,S as Er,T as af,X as jv,Y as nf,Z as _r,_ as Gv,a as Xo,b as Ys,ba as tP,c as jd,d as yn,e as Xs,f as iv,fa as uP,g as Sn,h as Gd,ha as mP,ia as Nf,ja as $T,ka as zT,r as tl,t as _v}from"./chunk-UFQDBLLF.js";import{a as yP,d as Sf,e as st,f as bf,g as wf,h as Pf,l as Kx}from"./chunk-YDV7IGPY.js";import{$ as ix,$a as Qs,$b as Zv,$c as vk,$d as oP,$f as Fx,$g as dT,$j as TT,$k as qT,A as vC,Aa as ZC,Ab as hx,Ac as lk,Ad as Cx,Ae as cP,Ah as Af,Ak as BT,Al as XT,B as kC,Ba as px,Bb as el,Bc as ik,Bd as $k,Be as pP,Bh as ca,Bk as LT,Bl as ZT,C as PC,Ca as JC,Cb as zt,Cc as dk,Cd as zk,Ch as Ff,Cj as wT,Ck as RT,Cl as Mf,D as rt,Da as QC,Db as wn,Dc as fk,Dd as Uk,De as vt,Dj as Lf,Dl as JT,E as TC,Ea as ev,Eb as ol,Ec as jt,Ed as jk,Ef as BP,Eg as XP,Eh as pT,Ej as Nx,Ek as DT,F as OC,Fa as ov,Fc as Ue,Fd as Gk,Fe as je,Ff as _x,Fh as uT,Fj as CT,Fl as Ln,G as EC,Ga as tv,Gc as Ar,Gd as vx,Ge as kt,Gf as LP,Gh as mT,Gj as vT,Gk as zx,Gl as Hf,H as _C,Ha as rv,Hb as Ix,Hc as Sx,Hd as Kk,He as Oe,Hf as RP,Hh as xT,Hj as Mx,I as AC,Ia as kr,Ib as na,Ic as ck,Id as kx,Ie as IP,If as DP,Ig as ZP,J as FC,Ja as av,Jb as ef,Jc as pk,Jd as qk,Jf as NP,Jg as JP,Jj as En,K as BC,Kb as Tv,Kc as uk,Kd as Vk,Kg as QP,Kj as kT,La as nv,Lb as Ov,Lc as mf,Ld as Yk,Lf as MP,Lg as eT,M as LC,Ma as Kd,Mb as Ev,Mc as al,Md as Gt,Me as Px,Mg as oT,Mk as pl,N as RC,Na as Zs,Nb as lf,Nc as mk,Nd as Xk,Ng as Bx,Nj as Hx,Nk as Df,O as DC,Oa as qd,Ob as Vv,Oc as xk,Od as da,Og as tT,Oj as fl,Ok as Ux,P as Md,Pa as dv,Pb as df,Pc as hk,Pd as Zk,Pe as il,Pg as Lx,Pk as NT,Q as NC,Qb as yx,Qc as xf,Qd as Pn,Qg as dr,Qk as ua,R as MC,Rb as ff,Rc as Ik,Rg as Rx,Rj as _n,Rk as MT,Sc as gk,Sd as lr,Sg as Ef,Sk as HT,Ta as fv,Tc as bx,Td as Jk,Te as gP,Tg as rT,Tj as PT,Tk as WT,Ua as cv,Uc as yk,Ud as ll,Ue as Tx,Uf as HP,Ug as aT,Va as Js,Vc as kn,Vd as Qk,Ve as SP,Vf as WP,Vg as nT,Vk as UT,W as lx,Wb as Cn,Wd as fa,Wf as $P,Wg as sT,Wk as jx,Xa as bn,Xc as Sk,Xd as eP,Xf as zP,Xg as lT,Y as qs,Ya as pv,Yc as bk,Yf as Ax,Yk as jT,Z as Hd,Za as Vd,Zb as Yv,Zc as wk,Zd as hf,Zf as UP,Zk as GT,_ as Ao,_a as uv,_b as Xv,_c as Ck,_d as Br,_f as jP,_g as iT,_k as KT,a as _o,aa as hn,ab as mv,ac as rl,ad as sa,af as bP,ak as Wx,al as VT,b as un,ba as HC,bb as xv,bd as kk,bf as wP,bk as OT,bl as YT,ca as WC,cb as mx,cd as wx,cf as Cf,cj as pa,ck as ET,d as sC,da as $C,db as hv,dd as Pk,df as CP,dg as ir,e as rx,ea as zC,eb as Yd,ed as Tk,ef as Ox,ej as fr,ek as Rf,f as lC,fa as UC,fb as Iv,fd as Ok,ff as vP,fg as Tn,fk as An,g as c,ga as dx,gb as xx,gd as Ek,gf as kP,gi as hT,gk as Fn,h as $t,hd as _k,he as rP,hf as PP,hg as GP,hh as _f,hi as IT,hk as cl,i as xn,ia as jC,ib as gv,id as Fr,if as TP,ig as KP,ik as Bn,j as Gs,ja as Wd,jb as yv,jd as nl,jf as vf,jg as Tf,jk as _T,k as No,kd as la,ke as aP,kg as Lr,l as Ks,lb as Xd,lc as vn,ld as Ak,le as nP,lf as OP,lg as Of,lj as Bf,mb as Sv,mc as Ut,me as sP,n as xC,nb as bv,nc as Jv,nd as ia,ng as On,nh as fT,nj as ST,o as hC,ob as wv,oc as Qv,od as sl,of as Ex,p as IC,pb as Cv,pc as ek,pd as Fk,ph as cT,q as gC,qb as Zd,qc as ok,qd as Bk,qk as AT,r as yC,rb as vv,rc as tk,re as Mo,ri as gT,rk as FT,s as SC,sc as cf,sd as Lk,se as ao,si as yT,sl as Gx,t as bC,tc as pf,td as Rk,tf as EP,u as wC,ub as kv,uc as rk,ud as Dk,ue as If,uf as _P,v as Nd,vb as Pr,ve as lP,vf as kf,w as vr,wb as Jd,wc as ak,wd as Nk,we as iP,wf as AP,wg as Rr,xa as VC,xb as Qd,xc as nk,xd as Mk,xe as dP,xf as FP,xg as qP,y as sx,ya as YC,yb as Pv,yc as sk,yd as Hk,ye as fP,yg as VP,yk as $x,z as CC,za as XC,zb as ho,zc as uf,zd as Wk,ze as gf,zg as YP,zh as Dx,zj as bT}from"./chunk-PB4FLVPH.js";import{a as uC,b as Dd,c as mC,g as Kv,h as gx,i as qv}from"./chunk-TNWF32DT.js";import{$ as Ib,$a as Mb,$c as R,$e as Jm,$g as cC,A as io,Ab as Jb,Ad as pw,B as on,Be as Xm,Bf as ox,Ca as ye,Cb as Ws,Cd as Vm,Ce as ww,D as Ns,Db as Qb,E as id,Ed as uw,Ee as Zm,F as Nt,Fd as bd,G as tn,Ga as ot,Gg as Jw,H as ze,Ha as bt,Hb as gd,Hd as tt,Hg as Qw,I as Xe,Ia as Em,Ic as nw,Id as Do,Ie as vd,If as Dw,Ig as eC,J as rn,Ja as _m,Jd as ro,Je as kd,Jg as oC,K as dd,Kc as Um,Kd as Ht,Ke as Cw,Kh as ux,L as fb,La as Am,Ld as nr,Le as Pd,Lf as sr,Lh as In,M as cb,Ma as Fm,Mb as ew,Md as Ct,Me as Td,Mg as tC,Mh as sv,Nd as dn,Ne as vw,Nh as at,O as pb,Od as mw,Oe as kw,Oh as Yo,P as fd,Pd as fn,Pe as Od,Pg as rC,Ph as Ud,Q as ub,Qa as Bm,Qd as xw,Qe as Ed,Qg as aC,Qh as lv,R as ea,Ra as _b,Rb as yd,Rc as sw,Re as aa,Rf as Nw,Rh as gn,S as mb,Sa as Ab,Se as Pw,Sg as nC,T as xb,Ta as Ke,U as Ms,Ua as Fb,Ub as ow,Ud as ra,Ug as iC,Uh as Lv,V as Tm,Va as xd,Vb as tw,Vd as hw,Vg as dC,W as Ce,Wa as Bb,Wd as Iw,We as Tw,X as q,Xa as Lb,Xb as rw,Xd as cn,Xf as Mw,Xg as Cr,Y as hb,Ya as Rb,Yc as U,Yd as zs,Yf as Hw,Yh as Rv,Za as Db,Zb as Wm,Zc as oe,Zd as Us,Ze as Wt,Zf as Ww,Zg as fC,_ as cd,_a as Nb,_c as jm,_d as Ym,_e as js,_f as $w,_g as ax,a as en,ab as Hb,ad as Co,ae as gw,af as Qm,ah as nx,b as xo,ba as gb,bb as Wb,bd as rr,be as yw,bf as Ow,bh as Rd,c as lo,ca as pd,cb as hd,cd as lw,ce as Sw,cf as Ew,cg as zw,d as or,da as yb,db as Id,dd as H,df as _d,dg as Uw,dh as pC,di as Dv,ea as Sb,eb as $b,ed as Sd,ee as bw,ef as _w,ei as Tr,f as Vo,fa as Om,fb as zb,fd as Ro,fg as jw,g as Ds,ga as bb,gc as $m,gd as iw,ge as wd,gg as Gw,gi as Nv,h as tb,ha as wb,hb as Ub,hd as wt,hf as Aw,hg as Bd,hi as Mv,i as rb,ia as Cb,ib as jb,id as Mt,ie as Cd,if as Ad,ig as Kw,ii as Hv,j as ab,jb as Lm,jd as Gm,jf as Fw,jg as Ld,k as nb,kb as Gb,kd as br,kf as ex,kg as tx,la as vb,lb as Kb,ld as ar,lf as Bw,ma as kb,mb as Rm,md as dw,mf as Lw,mi as ko,na as Pb,nb as nn,nf as Fd,ng as qw,o as sb,od as Be,of as pn,og as Vw,pa as Tb,pb as oa,pd as ta,pf as mn,qb as Dm,qd as $s,qf as wr,qi as dl,ra as Ob,rb as Nm,rd as sn,rg as Yw,rh as fx,s as lb,sa as ud,sb as Mm,sd as fw,sg as Xw,sh as $d,ta as Eb,tb as qb,td as Km,th as GC,u as Me,ua as md,ub as Vb,ud as ln,uf as Rw,uh as cx,v as ib,vb as Yb,vc as zm,vd as qm,vg as Zw,vh as KC,w as ld,wb as Hm,x as db,xb as Xb,xc as aw,xh as zd,ya as Hs,yb as tr,yh as qC,z as Te,za as an,zb as Zb,zd as cw,zh as Vs}from"./chunk-3P4XQK3S.js";import{a as z,b as eo}from"./chunk-AHUOASUP.js";import{c as xP,d as hP,e as yf}from"./chunk-2NWFNMO3.js";import{jsx as qx,Fragment as p6,jsxs as u6}from"react/jsx-runtime";import{createContext as m6,useContext as x6}from"react";var h6={mirrorHostStyles:!0,css:null,fontHrefs:[]},QT=m6(h6);function Yne({value:e,children:o}){return qx(QT.Provider,{value:e,children:o})}function ul(){return x6(QT)}function e0(){let{css:e,fontHrefs:o}=ul();return u6(p6,{children:[o.map(t=>qx("link",{rel:"stylesheet",href:t},t)),e?qx("style",{"data-sf-canvas-css":"",children:e}):null]})}import{jsx as I6}from"react/jsx-runtime";import{createContext as g6,useContext as y6}from"react";var o0=g6(void 0);function Qne({metadata:e,children:o}){return I6(o0.Provider,{value:e,children:o})}var t0=()=>y6(o0);import{jsx as uo,Fragment as Q4,jsxs as od}from"react/jsx-runtime";import{useCallback as _s,useEffect as Zt,useRef as bne,useState as Y4}from"react";import{SettingsSwitch as wne}from"efficient-easel/panel";import{PagesIcon as Cne,StylesIcon as vne}from"efficient-easel/rail";import{PaletteIcon as kne}from"efficient-shell/icons/efficient";import{Subtree as Pne,TreeRow as e6}from"efficient-easel/tree";import{useEasel as o6}from"efficient-easel/easel";import{toItemSelector as Tne}from"efficient-easel/node-ops";import{useEaselStrings as t6}from"efficient-easel/strings";import{createContext as S6,useContext as b6}from"react";var Vx=S6(!1),tse=()=>b6(Vx);import{useMemo as w6,useRef as C6}from"react";import{useEaselApi as v6}from"efficient-easel/easel";import{useSectionOps as k6}from"efficient-easel/screen/lib/document/use-section-ops";function Wf(){let e=v6(),o=k6(),t=C6(o);return t.current=o,w6(()=>({getItemById:r=>e.getState().getItemById(r),getSelectorForId:r=>e.getState().getSelectorForId(r),get components(){return e.getState().config.components},replace:(r,a,n)=>t.current.replaceComponent(r,a,n)}),[e])}import{encodePartId as K6}from"efficient-easel/draw";import{insertAt as q6,moveTo as V6,removeAt as Y6}from"efficient-easel/fields";import{useSyncExternalStore as H6}from"react";import{isNodeList as r0}from"efficient-easel/data";var a0="Flex";function Rn(e,o){return Wt(e)?typeof e?.[Vo]=="string"?Yx(o?.[Vo]):"":Yx(e?.[Vo])}var Yx=e=>typeof e=="string"?e.trim():"",P6=e=>e.type===io&&Array.isArray(e.props?.[Zm])&&e.props[Zm].some(o=>Yx(o?.[Vo])!==""),T6=new Intl.NumberFormat("en-US");function O6(e){return/^\d+$/.test(e)?T6.format(Number(e)):e}function pse(e,o){let t=o?o.find(r=>r.key===e)?.value:lb(Ds).find(r=>r.key===e)?.value;return t===void 0?null:O6(t)}var E6={[Vo]:"any"};function Xx(e,o=!1){let t=e.props;if(!t)return{node:e,names:!1};let r=e.type==="Text"&&(Rn(t)!==""||o&&Rn(t,E6)!==""),a=o||P6(e),n=Xe(e,l=>ze(l,i=>{let d=Xx(i,a);return d.names&&(r=!0),d.node})).props;if(e.type!==a0)return{node:n===t?e:{...e,props:n},names:r};let s=Me(n);if(r&&!s&&(n={...n,[lo]:Ds}),!r&&s===Ds){let{[lo]:l,...i}=n;n=i}return{node:n===t?e:{...e,props:n},names:!1}}function n0(e,o,t){for(let r of e){if(r?.props?.id===o)return t;for(let a of tn(r??{})){let n=n0(a,o,r.type===a0?r:t);if(n!==void 0)return n}}}function use(e,o){if(!r0(e))return!0;let t=n0(e,o,null);if(t===void 0)return!0;if(t===null)return!1;let r=Me(t.props);return!r||r===Ds}function s0(e){let o=e?.content;if(!r0(o))return e;let t=o.map(r=>Xx(r));return t.every((r,a)=>r.node===o[a])?e:{...e,content:t.map(r=>r.node)}}function l0(e){return Xx(e).node}import{decodePartId as W6}from"efficient-easel/draw";function Dn(e,o){let t=nk(e);return t?.control==="textList"?o.rowKey===(t.itemKey??"text")?LT(t,o.index):null:sk(e)?.[o.rowKey]??null}function $f(e,o,t){let r=e.node.props,{key:a,row:n}=Ut(e.propKey),s=n?ik(r,a,n,e.kind,o):ak(r,a,e.kind,o);return s?(t(e.zone,e.index,{...e.node,props:s}),!0):!1}import{readHidable as f0}from"efficient-easel/draw";import{parseOption as _6}from"efficient-shell/format";var Zx=e=>String(e+1).padStart(2,"0"),A6=[{label:"01 \xB7",value:"two-digit"},{label:"1.",value:"plain"}],Jx="two-digit",i0=e=>_6(A6,Jx,e),zf=(e,o)=>e==="plain"?`${o+1}.`:Zx(o);var oh="Contents",Qx="Flex",d0="Text",F6="numberForm",B6="_contentsEntries",L6="_kickerNumber",c0="data-sf-kicker-number",R6=e=>f0(e).text.trim(),p0=e=>fa(e?.anchor),eh=e=>String(e.props?.id??""),D6=e=>!f0(e.props?.text).hidden&&!Rn(e.props)&&!Wt(e.props),ml=e=>tn(e);function u0(e){for(let o of ml(e))for(let t of o){if(lr(t.props??{}))continue;if(t.type===d0&&D6(t))return t;if(t.type===d0)continue;let r=u0(t);if(r)return r}}function m0(e){return ml(e).some(o=>o.some(t=>t&&!lr(t.props??{})&&(t.type===oh||m0(t))))}var x0=e=>e.type===Qx&&Tn(Qx,e.props?.direction)==="row";function h0(e){return ml(e).some(o=>o.some(t=>t&&!lr(t.props??{})&&(t.type===oh||!x0(t)&&h0(t))))}function N6(e){let o=[],t=(r,a)=>{for(let n of r){if(!n||lr(n.props??{}))continue;if(n.type===oh){a.open={contents:n,sections:a.waiting??[]},a.waiting=null,o.push(a.open);continue}if(x0(n)&&h0(n)){let l={inRow:!0,open:null,waiting:[]};for(let i of ml(n))t(i,l);a.inRow||(a.open=null);continue}let s=a.open?.sections??a.waiting;if(n.type===Qx&&p0(n.props)&&s&&!m0(n)){s.push({box:n,kicker:u0(n)});continue}for(let l of ml(n))t(l,a)}};return t(e,{inRow:!1,open:null,waiting:null}),o}function M6(e){return e.map(o=>({label:o.kicker?an(R6(o.kicker.props?.text)):"",anchor:p0(o.box.props)}))}function th(e){let o=e?.length?N6(e):[];if(!o.length)return null;let t=new Map,r=new Map;for(let a of o){let n=eh(a.contents);n&&t.set(n,M6(a.sections));let s=i0(a.contents.props?.[F6]);a.sections.forEach((l,i)=>{let d=l.kicker?eh(l.kicker):"";d&&r.set(d,zf(s,i))})}return{entries:t,numbers:r}}var Fse=e=>e.endsWith(".")?`${e} `:`${e} \xB7 `;function I0(e){let o=e;if(!o?.content?.length)return e;let t=th(o.content);if(!t)return e;let{entries:r,numbers:a}=t,n=s=>{let l=Xe(s,h=>ze(h,n)),i=l.props??{},d=l!==s,f=eh(s),m=f?r.get(f):void 0;m&&(i={...i,[B6]:m},d=!0);let u=f?a.get(f):void 0;return u&&(i={...i,[L6]:u},d=!0),d?{...s,props:i}:s};return{...o,content:o.content.map(n)}}var $6=`[${c0}]`,z6=["bold","italic","underline","strike","link","sup","sub"],U6=["bullet","number"];function nh(e,o){return e?[...z6,...o?U6:[]]:[]}function g0(e,o){let t=W6(e);if(!t?.propKey)return null;let{nodeId:r,propKey:a}=t,n=o.getItemById(r),s=o.getSelectorForId(r);if(!n||!s)return null;let{key:l,row:i}=Ut(a),d=o.components[n.type]?.fields?.[l],f=i?Dn(d,i):d,m=cf(f);if(!m)return null;let u=n.props??{};if(hT(u)!==null||!i&&_d(n.type,u,l)||n.type==="Text"&&l==="text"&&Rn(u)||i&&!(Array.isArray(u[l])&&i.index<u[l].length))return null;let h=i?uf(u[l],i):u[l];return{node:n,selector:s,propKey:a,kind:m,stored:h,offPage:Bf(f),panelOnly:tk(f)}}function Uf(e,o){let t=g0(e,o);if(!t)return null;let{text:r,hidden:a}=pa(t.stored);if(!gk({offPage:t.offPage,hidden:!!a,panelOnly:t.panelOnly}))return null;let n=pf(t.kind);return{partId:e,value:r,rules:ud,multiline:n,skip:$6,offered:nh(t.kind!=="plainText",n),write:s=>{let l=g0(e,o);l&&$f({node:l.node,propKey:l.propKey,kind:l.kind,zone:l.selector.zone,index:l.selector.index},s,o.replace)}}}function sh(e,o,t){return e?.isConnected&&e.getAttribute(Ue)===t?e:o?.querySelector(`[${Ue}="${jf(t)}"]`)??null}function jf(e){return e.replace(/["\\]/g,"\\$&")}function y0(e){let o=e.activeElement;return o?o.tagName==="IFRAME"||!!o.closest(".es-canvas"):!1}var rh=null,ah=new Set;function j6(){return rh}function lh(e){if(e!==rh){rh=e;for(let o of ah)o()}}function G6(e){return ah.add(e),()=>{ah.delete(e)}}function S0(){return H6(G6,j6,()=>null)}function b0(e,o){if(e.outer)return null;let t=o.getItemById(e.ownerId);if(!t)return null;let r=vw(t.type);return!r||Me(t.props)?null:{node:t,rows:r}}function X6(e,o){let t=b0(e,o),r=o.getItemById(e.nodeId);if(!t||!r)return null;let a=_w(r.type,r.props,e.key);if(!a)return null;let n=t.node.props[t.rows];return!Array.isArray(n)||e.index<0||e.index>=n.length?null:K6(e.ownerId,vn(t.rows,{index:e.index,rowKey:a}))}function Gf(e,o){let t=X6(e,o);return t?Uf(t,o):null}function w0(e,o){return Gf(e,o)?.value}function C0(e,o){let t=Gf(e,o);return t?(t.write(e.text),!0):!1}function v0(e,o){let t=b0(e,o),r=t&&o.getSelectorForId(e.ownerId);if(!t||!r)return!1;let a=t.node.props,n=a[t.rows],s=e.index;if(!Array.isArray(n)||s<0||s>=n.length)return!1;let l;switch(e.action){case"addAfter":{let i=o.components[t.node.type]?.fields?.[t.rows];l=q6(n,s+1,{...i?.defaultItemProps??{}});break}case"moveEarlier":case"moveLater":{let i=e.action==="moveEarlier"?s-1:s+1;if(i<0||i>=n.length)return!1;l=V6(n,s,i);break}case"delete":l=Y6(n,s);break;default:return!1}return o.replace(r.zone,r.index,{...t.node,props:{...a,[t.rows]:l}}),!0}import{jsx as Pe,Fragment as RJ,jsxs as Wu}from"react/jsx-runtime";import{Fragment as DJ,useEffect as gH,useMemo as yH,useRef as NJ,useState as za}from"react";import{useScreenDocument as vH}from"efficient-easel/screen/components/ScreenDocumentContext";import{UiIcon as Wy}from"efficient-easel/draw/client";import MJ from"efficient-easel/screen/components/SidePanelHead";import{InspectorIconButton as HJ}from"efficient-easel/chrome";import{Input as WJ,LoadingSpinner as $J,PopupMenu as zJ,PopupMenuItem as SH,toast as bH}from"efficient-shell/ui";import{LayersTree as UJ,TreeGroupLabel as jJ,TreeRow as wH,TreeRowAction as $u}from"efficient-easel/tree";import{AddIcon as GJ,DuplicateIcon as KJ,PageIcon as qJ,SettingsIcon as VJ}from"efficient-easel/icons";import{PagesIcon as YJ}from"efficient-easel/rail";import{useEaselHost as XJ}from"efficient-easel/screen/lib/host";import{useEaselSession as $y}from"efficient-easel/screen/lib/session-context";import{useCallback as Kf,useEffect as Z6,useSyncExternalStore as J6}from"react";import{useScreenDocument as O0}from"efficient-easel/screen/components/ScreenDocumentContext";var k0=new WeakMap;function xl(e){let o=k0.get(e);return o||(o={rows:null,loading:null,listeners:new Set},k0.set(e,o)),o}function ih(e,o){e.rows=o;for(let t of e.listeners)t()}var qf=new Set;function Vf(e,o){o?qf.add(e):qf.delete(e)}function P0(e){let o=xl(e),t=e.listPages().then(r=>ih(o,qf.size?r.filter(a=>!qf.has(a.id)):r),()=>ih(o,[])).finally(()=>{o.loading===t&&(o.loading=null)});return o.loading=t,t}var T0=()=>null,Q6=()=>()=>{};function hl(){let{adapter:e,ready:o}=O0(),t=Kf(l=>{let{listeners:i}=xl(e);return i.add(l),()=>i.delete(l)},[e]),r=Kf(()=>xl(e).rows,[e]),a=J6(o?t:Q6,o?r:T0,T0);Z6(()=>{if(!o)return;let l=xl(e);l.rows===null&&!l.loading&&P0(e)},[e,o]);let n=Kf(()=>o?P0(e):Promise.resolve(),[e,o]),s=Kf(l=>ih(xl(e),l),[e]);return{rows:a,reload:n,setRows:s,getRows:r}}function e3(e,o){return e?.find(t=>t.slug===o)?.label?.trim()||`/${o}`}function E0(){let{currentSlug:e}=O0(),{rows:o}=hl();return e3(o,e)}import{canDuplicatePage as ZJ,DuplicatePageDialog as JJ}from"efficient-easel/page-copy";import{jsx as Oo,jsxs as fH}from"react/jsx-runtime";import{useEffect as gJ,useId as yJ,useMemo as SJ,useRef as bJ,useState as Ny}from"react";import{useScreenDocument as wJ}from"efficient-easel/screen/components/ScreenDocumentContext";import{useEaselSession as CJ}from"efficient-easel/screen/lib/session-context";import{uniqueSlug as cH}from"efficient-easel/page-copy";import{AddIcon as vJ}from"efficient-easel/icons";import{Button as kJ,Dialog as PJ,EmptyState as TJ,LoadingSpinner as OJ,Paragraph as EJ,SidebarLayout as _J,SidebarNavItem as My,Title as AJ,toast as pH}from"efficient-shell/ui";import{jsx as Ot,jsxs as TR}from"react/jsx-runtime";import{useEffect as gq,useState as Ag}from"react";import{CanvasFrame as yq}from"efficient-easel/easel";import{Button as Sq,Card as bq,FitFrame as wq,Text as Cq}from"efficient-shell/ui";import{jsx as L0,Fragment as p3,jsxs as u3}from"react/jsx-runtime";import{useEffect as R0,useLayoutEffect as m3}from"react";var Yf="data-theme",_0="light";function o3(e){return e.getAttribute(Yf)===_0?"light":"dark"}function t3(e,o){return o3(e)===o?!1:(o==="light"?e.setAttribute(Yf,_0):e.removeAttribute(Yf),!0)}function r3(e){return Kx(e).getItem(ox)}function lle(e,o){Kx(e).setItem(ox,o)}function a3(e,o,t=new Date().getHours()){return Dw({mode:o.mode,override:r3(e),switchShown:o.switchShown,hour:t})}function A0(e,o){let t=e.documentElement;if(!t)return()=>{};let r=()=>t3(t,a3(e,o));r();let a=e.defaultView?.MutationObserver;if(!a)return()=>{};let n=new a(r);return n.observe(t,{attributes:!0,attributeFilter:[Yf]}),()=>n.disconnect()}var n3="style";function s3(e,o){let t=Ld(o),r=!1;for(let a of Kw){let n=t[a]??"";e.style.getPropertyValue(a)!==n&&(n?e.style.setProperty(a,n):e.style.removeProperty(a),r=!0)}return r}function F0(e,o){let t=e.body;if(!t)return()=>{};let r=()=>s3(t,o);r();let a=e.defaultView?.MutationObserver;if(!a)return()=>{};let n=new a(r);return n.observe(t,{attributes:!0,attributeFilter:[n3]}),()=>n.disconnect()}import{VIEW_DESKTOP_MIN as l3,VIEW_TABLET_MIN as i3}from"efficient-easel/screen/lib/content/view-tiers";var cr={fit:"data-fit",fitTablet:"data-fit-tablet",fitPhone:"data-fit-phone",min:"data-fit-min",minTablet:"data-fit-min-tablet",minPhone:"data-fit-min-phone",edge:"data-fit-edge"},Zo=cr,d3=e=>e.flatMap(o=>[`[${o}] p`,`[${o}] li`]).join(","),f3=String.raw`(function (doc) {
2
2
  if (doc.__sfFitWords) return;
3
3
  var win = doc.defaultView;
4
4
  var SELECTOR = "h1,h2,h3,h4,h5,h6,[class*='font-heading'],[class*='font-display']";
@@ -301,7 +301,7 @@ import{$ as sf,D as Av,E as Fv,F as of,G as Bv,H as Wv,I as Or,J as $v,K as zv,L
301
301
  doc.__sfFitWords.floorOf = floorOf;
302
302
  })(document);`,c3="storefront-fit-words";function B0(e){let o=e.createElement("script");return o.id=c3,o.textContent=f3,(e.head??e.documentElement).appendChild(o),()=>{e.__sfFitWords?.(),o.remove()}}var x3=`
303
303
  [${Ue}][${Ue}] { cursor: text; }
304
- `;function Xf({children:e,document:o}){let{theme:t,themeMode:r,themeSwitchShown:a}=ko(),n=sr(t);return R0(()=>{if(o)return A0(o,{mode:r,switchShown:a})},[o,r,a]),R0(()=>{if(o)return F0(o,n)},[o,n]),m3(()=>{if(o)return B0(o)},[o]),u3(p3,{children:[L0(e0,{}),L0("style",{children:x3}),e]})}import{jsx as kL}from"react/jsx-runtime";import{memo as o7}from"react";import{Render as t7}from"efficient-easel/render";import{jsx as Nn}from"react/jsx-runtime";import{createContext as h3,useContext as I3,useMemo as g3}from"react";var dh=h3(null);function y3({children:e}){return Nn(dh.Provider,{value:"first",children:e})}function Jf({children:e}){return Nn(dh.Provider,{value:"below",children:e})}function Il(){return I3(dh)}function fh(){return Il()==="below"?{loading:"lazy"}:{}}function Qf(e){let o=fh();return Nn("img",{...e,...o})}var D0="laterSlideIds",S3=new Set(["Breadcrumb","CategoryBar","Divider","Spacer","Ticker"]);function N0(e){return Cf(e?.filter(o=>!o?.type||!S3.has(o.type)))}function Zf(e,o=[]){if(Array.isArray(e))for(let t of e)Zf(t,o);else if(e&&typeof e=="object"){let{slides:t}=e;if(Array.isArray(t))for(let r of t.slice(1))typeof r?.props?.id=="string"&&o.push(r.props.id);for(let r of Object.values(e))Zf(r,o)}return o}function M0(e,o){let t=o?.type,r=o?.props?.id;return g3(()=>{let a=t?e.components[t]:void 0;if(!t||!a)return e;let n=a.render,s=l=>l.id===r?Nn(y3,{children:Nn(n,{...l})}):Nn(n,{...l});return{...e,components:{...e.components,[t]:{...a,render:s}}}},[e,t,r])}function H0(e){return e.props?Xe(e,o=>{let t=ze(o,H0),r=e.type===qC&&t.every(a=>a.type===$d)?GC(t):t;return r.length!==o.length||r.some((a,n)=>a!==o[n])?r:o}):e}function W0(e){return dd(e,o=>ze(o,H0))}var b3="Flex",$0="ListSearch",z0=["FAQ"],w3="listKey";function U0(e,o){let t={search:e.type===$0,list:z0.includes(String(e.type))};return Xe(e,r=>{for(let a of r){let n=U0(a,o);t.search||=n.search,t.list||=n.list}return r}),e.type===b3&&t.search&&t.list&&String(e.props?.id??"")?(o.add(e),{search:!1,list:!1}):t}function j0(e,o,t){let r=o.has(e)?String(e.props?.id):t,a=Xe(e,n=>ze(n,s=>j0(s,o,r)));return r&&(e.type===$0||z0.includes(String(e.type)))?{...a,props:{...a.props,[w3]:r}}:a}function G0(e){return rn(e,o=>{let t=new Set;for(let r of o)U0(r,t);return t.size?ze(o,r=>j0(r,t,"")):o})}import{isNode as _$,isNodeList as zE}from"efficient-easel/data";import{jsx as _e,Fragment as g$,jsxs as mr}from"react/jsx-runtime";import{jsx as gh}from"react/jsx-runtime";import{Fragment as O3,jsx as E3}from"react/jsx-runtime";import{jsx as ch}from"react/jsx-runtime";import{createContext as k3,Fragment as P3,useContext as T3}from"react";import{jsx as K0,jsxs as C3}from"react/jsx-runtime";import{lazy as v3}from"react";var q0=v3(()=>import("./section-css-style-3IQWMPDP.js"));function V0({css:e,id:o,attr:t}){return K0(q0,{css:e,id:o,attr:t})}var Y0={name:"sectionCustomCss",applies:(e,o,t)=>o.isSection(e)&&!!t&&typeof t.render=="function",panel(e,o,t){e.fields={...e.fields,...t.customCssFields()}},draw(e){e.defaultProps={...e.defaultProps,[Dd]:""};let o=e.render;e.render=t=>{let r=mC(t),a=typeof t.id=="string"?t.id:"";return!r||!a?o(t):C3(_r,{className:"sf-section-css",attrs:{[uC]:a},children:[K0(q0,{css:r,id:a}),o(t)]})}}};var X0=k3(null);function Z0({rootProps:e,children:o}){let t=e&&typeof e=="object"?e:null,r=Ov(t),a=ch(P3,{children:o},"page");return ch(X0.Provider,{value:t,children:r?[ch(V0,{css:r,id:Tv,attr:ef},"css"),a]:a})}function J0(){return T3(X0)}function Pt(){return Nd(J0())===wC}function ec({className:e,children:o}){let t=Pt();return E3(O3,{children:o(rt(e,t))})}import{SITE_SIDE as _3}from"efficient-easel/screen/lib/content/length-units";var Q0="sideSpace",gl=_3,ph="none",Gle=[{value:"box",label:"Box"},{value:gl,label:"Site"},{value:ph,label:"None"}],Kle="box",qle="Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. None: from 800 px up the Box runs to the screen's edges; on small screens it keeps the site's Side space, up to 20 px.";function eO(e){return e===gl||e===ph?e:"box"}function Vle(e){return e===gl||e===ph?e:void 0}import{parseOption as xh}from"efficient-shell/format";var oc="standard",aO=[{label:"Standard",value:"standard"},{label:"Editorial",value:"editorial"},{label:"Simple",value:"simple"},{label:"Statement",value:"statement"},{label:"Natural",value:"natural"},{label:"Essay",value:"essay"}],mh=["numStyle","logoSrc","logoAlt","linkText","linkHref","_gLogo"],uh=[...mh,"description"],oO={standard:["eyebrowLook"],editorial:[...mh,"eyebrowLook"],simple:uh,statement:uh,natural:mh,essay:uh},tO=["gap-5","gap-3"],rO=["text-[length:var(--size-body,16px)]","text-[15px]"];function Jle(e){return xh(tO,tO[0],e)}function Qle(e){return xh(rO,rO[0],e)}function nO(e){return xh(aO,oc,e)}function eie(e){let o=aO.map(r=>r.value),t=[...new Set(Object.values(oO).flat())];return tt(e,t.map(r=>[[r],bd("headStyle",o,oc,o.filter(a=>!oO[a].includes(r)))]))}import{readHidable as A3,VIEW_TIERS as F3,viewKeyAt as B3}from"efficient-easel/draw";var ma={direction:"row",share:"content",align:"center"},xa={top:14,bottom:14,topPhone:12,bottomPhone:12},tc={wrap:"nowrap",loop:"scroll",sectionAccent:cC,gap:60,gapPhone:32,separator:"dot",sectionBorder:{top:1,bottom:1}},sO={gap:120,gapPhone:64},rc={...Ro,sizeToken:{step:"label",px:14,pxPhone:12},letterSpacing:.25,lineHeight:1.5},lO={textStyle:"heading-3",letterSpacing:.005,case:"upper",lineHeight:1},yl={top:24,bottom:24,topPhone:16,bottomPhone:16},ha={top:16,bottom:16,topPhone:12,bottomPhone:12},Sl={justify:"between",wrap:"wrap",gap:32,separator:"none"},bl={...Ro,letterSpacing:.1,lineHeight:1.5};var ac={top:24,bottom:24,topPhone:24,bottomPhone:24},nc={top:72,bottom:72,topPhone:72,bottomPhone:72},Mn={top:100,bottom:100,topPhone:60,bottomPhone:60},sc={top:120,bottom:120,topPhone:70,bottomPhone:70},L3={top:24,bottom:24,topPhone:24,bottomPhone:24},R3=40,lc={top:120,bottom:120,topTablet:80,bottomTablet:80,topPhone:80,bottomPhone:80},D3={top:24,bottom:24,topPhone:24,bottomPhone:24},ic={top:24,bottom:24,topPhone:24,bottomPhone:24},N3={top:84,bottom:84,topPhone:84,bottomPhone:84},dc={top:48,bottom:48,topPhone:48,bottomPhone:48},fc={top:80,bottom:80,topPhone:60,bottomPhone:60},cc={top:100,bottom:60,topPhone:60,bottomPhone:40},pc={top:60,bottom:60,topPhone:40,bottomPhone:40},uc={top:80,bottom:80,topTablet:60,bottomTablet:60,topPhone:60,bottomPhone:60},mc={top:76,bottom:76,topPhone:76,bottomPhone:76},xc={top:76,bottom:76,topPhone:76,bottomPhone:76},Cl={top:80,bottom:40,topPhone:60,bottomPhone:32},vl={top:76,bottom:76,topPhone:76,bottomPhone:76},hc={top:72,bottom:72,topPhone:72,bottomPhone:72},Ic={top:40,bottom:64,topPhone:24,bottomPhone:36},gc={top:120,bottom:120,topPhone:80,bottomPhone:80,topTablet:80,bottomTablet:80},yc={top:48,bottom:48,topPhone:48,bottomPhone:48},kl=e=>{let o=ye(e.bandPadding)??R3;return{top:o,bottom:o,topPhone:o,bottomPhone:o}},iO=(e,o,t)=>({desktop:e,tablet:o,mobile:t}),hh=e=>fn(e.headPlacement)==="own-box",Le=(e,o)=>({top:iO(e.top,o?.top??e.topTablet??e.top,e.topPhone),bottom:iO(e.bottom,o?.bottom??e.bottomTablet??e.bottom,e.bottomPhone)}),dO=e=>({top:e.topPhone,bottom:e.bottomPhone}),wl=e=>o=>hh(o)?{top:0,bottom:e.bottom}:e,M3=(e,o)=>{let t=A3(e[o]);return t.hidden?!1:!!t.text||e.editor?.isEditing===!0},Sc={Banner:{frame:()=>Le(ac)},Cards:{frame:wl(Le(nc))},Chart:{frame:()=>Le(vl)},ContactLocations:{frame:()=>Le(Mn,dO(Mn))},Countdown:{frame:()=>Le(dc)},DocBody:{frame:()=>Le(fc)},DocMasthead:{frame:()=>Le(cc)},DocMetaCards:{frame:()=>Le(pc)},FAQ:{frame:e=>{let o=hh(e)||!["num","title","linkText"].some(r=>M3(e,r)),t=Le(sc);return o?{top:0,bottom:t.bottom}:t},edge:!0},FeaturedCover:{frame:()=>Le(uc)},Grid:{frame:()=>Le(L3)},Integrations:{frame:()=>Le(mc)},KeyFeatures:{frame:()=>Le(xc)},Logos:{frame:e=>hh(e)?0:Le(kl(e))},LongRead:{frame:wl(Le(lc))},Masthead:{frame:()=>Le(Cl,dO(Cl))},Mockup:{frame:()=>Le(vl)},OrderSummary:{frame:()=>Le(D3)},PaymentBadges:{frame:()=>Le(ic)},Prose:{frame:wl(Le(hc))},SectionHeader:{frame:e=>{let o=Le(Ic);return nO(e.headStyle)==="standard"?o:{top:o.top,bottom:0}},edge:!0},Series:{frame:wl(Le(gc))},Stats:{frame:()=>Le(yc)},Testimonials:{frame:wl(Le(N3))},Ticker:{frame:()=>Le(xa),edge:!0}};function pie(e,o,t){let r=z(Sc,e)??t;return r?na({values:el(o,ho,!0),frame:r.frame(o),drawsFrame:!0,edge:r.edge},!0).root:null}var fO=(e,o)=>typeof e=="object"&&"top"in e?e[o]:e;function H3(e,o){let t={...e};for(let r of F3)delete t[B3(o,r)];return t}function uie(e,o,t,r){let a=z(Sc,e)??t;if(!a)return{first:null,last:null};let n=a.frame(o),s=el(o,ho,!0),l=(i,d)=>na({values:H3(s,i),frame:d,drawsFrame:!0,edge:a.edge},!0).root;return{first:l("bottom",{top:fO(n,"top"),bottom:r.firstBottom}),last:l("top",{top:r.lastTop,bottom:fO(n,"bottom")})}}var W3=/^(?:[^\s]*:)?p[ytb]-/;function cO(e,o,t){if(!o)return t?{className:e,style:t}:{className:e};let r=e.split(/\s+/).filter(n=>n&&!W3.test(n)),a={...t,...o.style};return{className:[...r,o.className].filter(Boolean).join(" "),...Object.keys(a).length?{style:a}:{},...o.attrs}}import{isNodeList as $3}from"efficient-easel/data";var Ih=new Set(["FAQ"]);function Jo(e,o){if(!Ih.has(e))return!1;let t=o.template;return typeof t=="function"?(t.blockCount??0)>0:$3(t)}var mO={ParagraphsA:{top:60,bottom:80},StatsParagraph:{top:120,bottom:120},Timeline:{top:120,bottom:120},Footprint:{top:120,bottom:120},TimelineTrack:{top:120,bottom:120},TitleWithButtons:{top:140,bottom:140},ProcessSteps:{top:120,bottom:120}},xO=new Set(Object.keys(mO));function yh(e,o){return o?.innerPadding??z(mO,e)}var Hn=e=>yh(e)??{};var bc=new Set(["Flex","Text","Heading","ImageBlock","ButtonBlock"]),z3=new Set(["Divider"]),U3=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),pO=new Set(["ProductGrid"]);function Sh(e,o,t=!1,r){let a=e.render;e.render=n=>{if(o?.(n))return a(n);let s={...el(n,ho,t),sideSpace:eO(n.sideSpace)},l=r?na({values:s,frame:r(n)},!0).outer:vv(s),i=a(n);if(!l)return i;let d=u=>gh(ec,{className:u?`${l.className} ${u}`:l.className,children:h=>gh(fe,{className:h,style:l.style,children:i})}),f=Tr(n,{atSectionLine:!0}),m=Tr(n);return f===m?d(f):gh(rf,{line:"by-box",draw:u=>d(u?m:f)})}}var hO={name:"sectionPadding",applies:(e,o,t)=>o.isSection(e)&&!U3.has(e)&&!!t&&typeof t.render=="function",panel(e,o,t){let r=yh(o,e);if(r){e.fields={...e.fields,...t.sidesPaddingFields({keys:Pr,unitKey:Jd,fallback:r,tablet:!0,siteSide:!0})};return}if(pO.has(o))return;let a=[Pr.top,Pr.bottom].filter(s=>e.fields!=null&&s in e.fields);if(a.length)throw new Error(`section-padding: ${o} declares its own ${a.join(" / ")} row; declare \`innerPadding: { top, bottom }\` in its meta and the one Padding row draws on its band`);let n=uO(o,e);if(n){gO(e,o,t,n);return}e.fields={...e.fields,...t.sidesPaddingFields({tablet:!0,siteSide:!0})}},draw(e,o){if(!yh(o,e)){if(pO.has(o)){Sh(e);return}bc.has(o)||z3.has(o)||Sh(e,o==="Flex"?t=>Yv(t.bgImage):Ih.has(o)?t=>Jo(o,t):void 0,!0,uO(o,e))}}},j3=["Heading","Text","ImageBlock","ButtonBlock"],G3=["LogoBlock"],IO={Text:e=>Fr(e,"text").textStyle?.startsWith("heading-")?ol.heading:ol.text,Heading:()=>ol.heading,ButtonBlock:()=>ol.text,Breadcrumb:()=>Ix(yl),SpecStrip:()=>Ix(ha),...Object.fromEntries(Object.entries(Sc).map(([e,o])=>[e,o.frame]))};function uO(e,o){return z(IO,e)??o?.ownPad?.frame}var K3={ButtonBlock:"Outer padding"};function q3(e,o){let t=e[zt],r=Array.isArray(t)?t.filter(i=>typeof i=="string"):[],a=wn().filter(i=>o?.[i]);if(!a.length)return e;let n=[...r.filter(i=>!a.includes(i)),...a.filter(i=>typeof e[i]=="number")];if(n.length===r.length&&n.every((i,d)=>i===r[d]))return e;let{[zt]:s,...l}=e;return n.length?{...l,[zt]:n}:l}function V3(e,o,t){if(o<=0)return null;let r=Array.isArray(e[zt])?e[zt]:[];return(t?wn().filter(a=>a.startsWith(ho[t])):wn()).some(a=>typeof e[a]=="number"&&!r.includes(a))?c("plus {n} px (older setting)",{n:o}):null}function gO(e,o,t,r){e.fields={...e.fields,...t.ownPaddingFields?.(r,V3,z(K3,o))??t.sidesPaddingFields({tablet:!0,siteSide:!0})};let a=e.resolveData;e.resolveData=(n,s)=>{let l=n.props??{},i=s?.trigger==="replace"?q3(l,s.changed):l,d=i===l?n:{...n,props:i};return a?a(d,s):d}}var yO={name:"blockPadding",applies:(e,o,t)=>(j3.includes(e)||G3.includes(e))&&!!t&&typeof t.render=="function",panel(e,o,t){let r=z(IO,o);if(!r){e.fields={...e.fields,...t.sidesPaddingFields({tablet:!0,siteSide:!0})};return}gO(e,o,t,r)},draw(e,o){bc.has(o)||Sh(e,void 0,!0)}};import{createContext as bh,useContext as wc}from"react";var SO=bh(null);function Bie(){return wc(SO)===!0}function Lie(){return wc(SO)!==null}var Y3=bh(!1);function Rie(){return wc(Y3)}function Die(e,o,t){let r=e.boxes;if(!r)return t;let a=r.indexOf(o);return a>=0?a:(r.push(o),r.length-1)}var Cc=bh(null);function Nie(){return wc(Cc)}import{jsx as Ia}from"react/jsx-runtime";import{Component as rW,createContext as aW,lazy as Qie,Suspense as ede,useContext as nW,useSyncExternalStore as sW}from"react";function X3(e,o){let t=e.trim();if(!vc(t))return!1;if(!o)return!0;let r;try{r=new URL(t,"https://x.invalid").host}catch{return!1}let a=n=>n.toLowerCase().replace(/^www\./,"");return a(r)!==a(o)}function Wie(e){return e.startsWith("/")||vc(e)}function vc(e){return/^(?:https?:)?\/\//i.test(e.trim())}var Pl=Object.freeze({target:"_blank",rel:"noopener noreferrer"});function bO(e,o){return X3(e,o)?{...Pl}:{}}function $ie(e){return typeof e=="string"?e.trim():""}var zie="data-sf-box-link",wO="absolute inset-0 -z-[1] outline-none focus-visible:z-[2] focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-accent",wh="relative isolate pointer-events-none [&_a]:pointer-events-auto [&_button]:pointer-events-auto [&_input]:pointer-events-auto [&_select]:pointer-events-auto [&_textarea]:pointer-events-auto [&_label]:pointer-events-auto [&_summary]:pointer-events-auto [&_iframe]:pointer-events-auto [&_video]:pointer-events-auto [&_audio]:pointer-events-auto [&_[role=button]]:pointer-events-auto [&_[tabindex]:not([tabindex='-1'])]:pointer-events-auto",Z3="data-sf-box-jump";function J3(e){return`sf-box-jump-${e}`}function Uie(e,o){return e===!0?fa(o):""}function Q3({box:e,lit:o,first:t}){let r=s=>s.join(`,
304
+ `;function Xf({children:e,document:o}){let{theme:t,themeMode:r,themeSwitchShown:a}=ko(),n=sr(t);return R0(()=>{if(o)return A0(o,{mode:r,switchShown:a})},[o,r,a]),R0(()=>{if(o)return F0(o,n)},[o,n]),m3(()=>{if(o)return B0(o)},[o]),u3(p3,{children:[L0(e0,{}),L0("style",{children:x3}),e]})}import{jsx as kL}from"react/jsx-runtime";import{memo as o7}from"react";import{Render as t7}from"efficient-easel/render";import{jsx as Nn}from"react/jsx-runtime";import{createContext as h3,useContext as I3,useMemo as g3}from"react";var dh=h3(null);function y3({children:e}){return Nn(dh.Provider,{value:"first",children:e})}function Jf({children:e}){return Nn(dh.Provider,{value:"below",children:e})}function Il(){return I3(dh)}function fh(){return Il()==="below"?{loading:"lazy"}:{}}function Qf(e){let o=fh();return Nn("img",{...e,...o})}var D0="laterSlideIds",S3=new Set(["Breadcrumb","CategoryBar","Divider","Spacer","Ticker"]);function N0(e){return Cf(e?.filter(o=>!o?.type||!S3.has(o.type)))}function Zf(e,o=[]){if(Array.isArray(e))for(let t of e)Zf(t,o);else if(e&&typeof e=="object"){let{slides:t}=e;if(Array.isArray(t))for(let r of t.slice(1))typeof r?.props?.id=="string"&&o.push(r.props.id);for(let r of Object.values(e))Zf(r,o)}return o}function M0(e,o){let t=o?.type,r=o?.props?.id;return g3(()=>{let a=t?e.components[t]:void 0;if(!t||!a)return e;let n=a.render,s=l=>l.id===r?Nn(y3,{children:Nn(n,{...l})}):Nn(n,{...l});return{...e,components:{...e.components,[t]:{...a,render:s}}}},[e,t,r])}function H0(e){return e.props?Xe(e,o=>{let t=ze(o,H0),r=e.type===qC&&t.every(a=>a.type===$d)?GC(t):t;return r.length!==o.length||r.some((a,n)=>a!==o[n])?r:o}):e}function W0(e){return dd(e,o=>ze(o,H0))}var b3="Flex",$0="ListSearch",z0=["FAQ"],w3="listKey";function U0(e,o){let t={search:e.type===$0,list:z0.includes(String(e.type))};return Xe(e,r=>{for(let a of r){let n=U0(a,o);t.search||=n.search,t.list||=n.list}return r}),e.type===b3&&t.search&&t.list&&String(e.props?.id??"")?(o.add(e),{search:!1,list:!1}):t}function j0(e,o,t){let r=o.has(e)?String(e.props?.id):t,a=Xe(e,n=>ze(n,s=>j0(s,o,r)));return r&&(e.type===$0||z0.includes(String(e.type)))?{...a,props:{...a.props,[w3]:r}}:a}function G0(e){return rn(e,o=>{let t=new Set;for(let r of o)U0(r,t);return t.size?ze(o,r=>j0(r,t,"")):o})}import{isNode as _$,isNodeList as zE}from"efficient-easel/data";import{jsx as _e,Fragment as g$,jsxs as mr}from"react/jsx-runtime";import{jsx as gh}from"react/jsx-runtime";import{Fragment as O3,jsx as E3}from"react/jsx-runtime";import{jsx as ch}from"react/jsx-runtime";import{createContext as k3,Fragment as P3,useContext as T3}from"react";import{jsx as K0,jsxs as C3}from"react/jsx-runtime";import{lazy as v3}from"react";var q0=v3(()=>import("./section-css-style-7OKHUI7L.js"));function V0({css:e,id:o,attr:t}){return K0(q0,{css:e,id:o,attr:t})}var Y0={name:"sectionCustomCss",applies:(e,o,t)=>o.isSection(e)&&!!t&&typeof t.render=="function",panel(e,o,t){e.fields={...e.fields,...t.customCssFields()}},draw(e){e.defaultProps={...e.defaultProps,[Dd]:""};let o=e.render;e.render=t=>{let r=mC(t),a=typeof t.id=="string"?t.id:"";return!r||!a?o(t):C3(_r,{className:"sf-section-css",attrs:{[uC]:a},children:[K0(q0,{css:r,id:a}),o(t)]})}}};var X0=k3(null);function Z0({rootProps:e,children:o}){let t=e&&typeof e=="object"?e:null,r=Ov(t),a=ch(P3,{children:o},"page");return ch(X0.Provider,{value:t,children:r?[ch(V0,{css:r,id:Tv,attr:ef},"css"),a]:a})}function J0(){return T3(X0)}function Pt(){return Nd(J0())===wC}function ec({className:e,children:o}){let t=Pt();return E3(O3,{children:o(rt(e,t))})}import{SITE_SIDE as _3}from"efficient-easel/screen/lib/content/length-units";var Q0="sideSpace",gl=_3,ph="none",Gle=[{value:"box",label:"Box"},{value:gl,label:"Site"},{value:ph,label:"None"}],Kle="box",qle="Box: on small screens the Box keeps its own side space, up to 24 px. Site: it uses the site's Side space, as the site's own sections do. None: from 800 px up the Box runs to the screen's edges; on small screens it keeps the site's Side space, up to 20 px.";function eO(e){return e===gl||e===ph?e:"box"}function Vle(e){return e===gl||e===ph?e:void 0}import{parseOption as xh}from"efficient-shell/format";var oc="standard",aO=[{label:"Standard",value:"standard"},{label:"Editorial",value:"editorial"},{label:"Simple",value:"simple"},{label:"Statement",value:"statement"},{label:"Natural",value:"natural"},{label:"Essay",value:"essay"}],mh=["numStyle","logoSrc","logoAlt","linkText","linkHref","_gLogo"],uh=[...mh,"description"],oO={standard:["eyebrowLook"],editorial:[...mh,"eyebrowLook"],simple:uh,statement:uh,natural:mh,essay:uh},tO=["gap-5","gap-3"],rO=["text-[length:var(--size-body,16px)]","text-[15px]"];function Jle(e){return xh(tO,tO[0],e)}function Qle(e){return xh(rO,rO[0],e)}function nO(e){return xh(aO,oc,e)}function eie(e){let o=aO.map(r=>r.value),t=[...new Set(Object.values(oO).flat())];return tt(e,t.map(r=>[[r],bd("headStyle",o,oc,o.filter(a=>!oO[a].includes(r)))]))}import{readHidable as A3,VIEW_TIERS as F3,viewKeyAt as B3}from"efficient-easel/draw";var ma={direction:"row",share:"content",align:"center"},xa={top:14,bottom:14,topPhone:12,bottomPhone:12},tc={wrap:"nowrap",loop:"scroll",sectionAccent:cC,gap:60,gapPhone:32,separator:"dot",sectionBorder:{top:1,bottom:1}},sO={gap:120,gapPhone:64},rc={...Ro,sizeToken:{step:"label",px:14,pxPhone:12},letterSpacing:.25,lineHeight:1.5},lO={textStyle:"heading-3",letterSpacing:.005,case:"upper",lineHeight:1},yl={top:24,bottom:24,topPhone:16,bottomPhone:16},ha={top:16,bottom:16,topPhone:12,bottomPhone:12},Sl={justify:"between",wrap:"wrap",gap:32,separator:"none"},bl={...Ro,letterSpacing:.1,lineHeight:1.5};var ac={top:24,bottom:24,topPhone:24,bottomPhone:24},nc={top:72,bottom:72,topPhone:72,bottomPhone:72},Mn={top:100,bottom:100,topPhone:60,bottomPhone:60},sc={top:120,bottom:120,topPhone:70,bottomPhone:70},L3={top:24,bottom:24,topPhone:24,bottomPhone:24},R3=40,lc={top:120,bottom:120,topTablet:80,bottomTablet:80,topPhone:80,bottomPhone:80},D3={top:24,bottom:24,topPhone:24,bottomPhone:24},ic={top:24,bottom:24,topPhone:24,bottomPhone:24},N3={top:84,bottom:84,topPhone:84,bottomPhone:84},dc={top:48,bottom:48,topPhone:48,bottomPhone:48},fc={top:80,bottom:80,topPhone:60,bottomPhone:60},cc={top:100,bottom:60,topPhone:60,bottomPhone:40},pc={top:60,bottom:60,topPhone:40,bottomPhone:40},uc={top:80,bottom:80,topTablet:60,bottomTablet:60,topPhone:60,bottomPhone:60},mc={top:76,bottom:76,topPhone:76,bottomPhone:76},xc={top:76,bottom:76,topPhone:76,bottomPhone:76},Cl={top:80,bottom:40,topPhone:60,bottomPhone:32},vl={top:76,bottom:76,topPhone:76,bottomPhone:76},hc={top:72,bottom:72,topPhone:72,bottomPhone:72},Ic={top:40,bottom:64,topPhone:24,bottomPhone:36},gc={top:120,bottom:120,topPhone:80,bottomPhone:80,topTablet:80,bottomTablet:80},yc={top:48,bottom:48,topPhone:48,bottomPhone:48},kl=e=>{let o=ye(e.bandPadding)??R3;return{top:o,bottom:o,topPhone:o,bottomPhone:o}},iO=(e,o,t)=>({desktop:e,tablet:o,mobile:t}),hh=e=>fn(e.headPlacement)==="own-box",Le=(e,o)=>({top:iO(e.top,o?.top??e.topTablet??e.top,e.topPhone),bottom:iO(e.bottom,o?.bottom??e.bottomTablet??e.bottom,e.bottomPhone)}),dO=e=>({top:e.topPhone,bottom:e.bottomPhone}),wl=e=>o=>hh(o)?{top:0,bottom:e.bottom}:e,M3=(e,o)=>{let t=A3(e[o]);return t.hidden?!1:!!t.text||e.editor?.isEditing===!0},Sc={Banner:{frame:()=>Le(ac)},Cards:{frame:wl(Le(nc))},Chart:{frame:()=>Le(vl)},ContactLocations:{frame:()=>Le(Mn,dO(Mn))},Countdown:{frame:()=>Le(dc)},DocBody:{frame:()=>Le(fc)},DocMasthead:{frame:()=>Le(cc)},DocMetaCards:{frame:()=>Le(pc)},FAQ:{frame:e=>{let o=hh(e)||!["num","title","linkText"].some(r=>M3(e,r)),t=Le(sc);return o?{top:0,bottom:t.bottom}:t},edge:!0},FeaturedCover:{frame:()=>Le(uc)},Grid:{frame:()=>Le(L3)},Integrations:{frame:()=>Le(mc)},KeyFeatures:{frame:()=>Le(xc)},Logos:{frame:e=>hh(e)?0:Le(kl(e))},LongRead:{frame:wl(Le(lc))},Masthead:{frame:()=>Le(Cl,dO(Cl))},Mockup:{frame:()=>Le(vl)},OrderSummary:{frame:()=>Le(D3)},PaymentBadges:{frame:()=>Le(ic)},Prose:{frame:wl(Le(hc))},SectionHeader:{frame:e=>{let o=Le(Ic);return nO(e.headStyle)==="standard"?o:{top:o.top,bottom:0}},edge:!0},Series:{frame:wl(Le(gc))},Stats:{frame:()=>Le(yc)},Testimonials:{frame:wl(Le(N3))},Ticker:{frame:()=>Le(xa),edge:!0}};function pie(e,o,t){let r=z(Sc,e)??t;return r?na({values:el(o,ho,!0),frame:r.frame(o),drawsFrame:!0,edge:r.edge},!0).root:null}var fO=(e,o)=>typeof e=="object"&&"top"in e?e[o]:e;function H3(e,o){let t={...e};for(let r of F3)delete t[B3(o,r)];return t}function uie(e,o,t,r){let a=z(Sc,e)??t;if(!a)return{first:null,last:null};let n=a.frame(o),s=el(o,ho,!0),l=(i,d)=>na({values:H3(s,i),frame:d,drawsFrame:!0,edge:a.edge},!0).root;return{first:l("bottom",{top:fO(n,"top"),bottom:r.firstBottom}),last:l("top",{top:r.lastTop,bottom:fO(n,"bottom")})}}var W3=/^(?:[^\s]*:)?p[ytb]-/;function cO(e,o,t){if(!o)return t?{className:e,style:t}:{className:e};let r=e.split(/\s+/).filter(n=>n&&!W3.test(n)),a={...t,...o.style};return{className:[...r,o.className].filter(Boolean).join(" "),...Object.keys(a).length?{style:a}:{},...o.attrs}}import{isNodeList as $3}from"efficient-easel/data";var Ih=new Set(["FAQ"]);function Jo(e,o){if(!Ih.has(e))return!1;let t=o.template;return typeof t=="function"?(t.blockCount??0)>0:$3(t)}var mO={ParagraphsA:{top:60,bottom:80},StatsParagraph:{top:120,bottom:120},Timeline:{top:120,bottom:120},Footprint:{top:120,bottom:120},TimelineTrack:{top:120,bottom:120},TitleWithButtons:{top:140,bottom:140},ProcessSteps:{top:120,bottom:120}},xO=new Set(Object.keys(mO));function yh(e,o){return o?.innerPadding??z(mO,e)}var Hn=e=>yh(e)??{};var bc=new Set(["Flex","Text","Heading","ImageBlock","ButtonBlock"]),z3=new Set(["Divider"]),U3=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),pO=new Set(["ProductGrid"]);function Sh(e,o,t=!1,r){let a=e.render;e.render=n=>{if(o?.(n))return a(n);let s={...el(n,ho,t),sideSpace:eO(n.sideSpace)},l=r?na({values:s,frame:r(n)},!0).outer:vv(s),i=a(n);if(!l)return i;let d=u=>gh(ec,{className:u?`${l.className} ${u}`:l.className,children:h=>gh(fe,{className:h,style:l.style,children:i})}),f=Tr(n,{atSectionLine:!0}),m=Tr(n);return f===m?d(f):gh(rf,{line:"by-box",draw:u=>d(u?m:f)})}}var hO={name:"sectionPadding",applies:(e,o,t)=>o.isSection(e)&&!U3.has(e)&&!!t&&typeof t.render=="function",panel(e,o,t){let r=yh(o,e);if(r){e.fields={...e.fields,...t.sidesPaddingFields({keys:Pr,unitKey:Jd,fallback:r,tablet:!0,siteSide:!0})};return}if(pO.has(o))return;let a=[Pr.top,Pr.bottom].filter(s=>e.fields!=null&&s in e.fields);if(a.length)throw new Error(`section-padding: ${o} declares its own ${a.join(" / ")} row; declare \`innerPadding: { top, bottom }\` in its meta and the one Padding row draws on its band`);let n=uO(o,e);if(n){gO(e,o,t,n);return}e.fields={...e.fields,...t.sidesPaddingFields({tablet:!0,siteSide:!0})}},draw(e,o){if(!yh(o,e)){if(pO.has(o)){Sh(e);return}bc.has(o)||z3.has(o)||Sh(e,o==="Flex"?t=>Yv(t.bgImage):Ih.has(o)?t=>Jo(o,t):void 0,!0,uO(o,e))}}},j3=["Heading","Text","ImageBlock","ButtonBlock"],G3=["LogoBlock"],IO={Text:e=>Fr(e,"text").textStyle?.startsWith("heading-")?ol.heading:ol.text,Heading:()=>ol.heading,ButtonBlock:()=>ol.text,Breadcrumb:()=>Ix(yl),SpecStrip:()=>Ix(ha),...Object.fromEntries(Object.entries(Sc).map(([e,o])=>[e,o.frame]))};function uO(e,o){return z(IO,e)??o?.ownPad?.frame}var K3={ButtonBlock:"Outer padding"};function q3(e,o){let t=e[zt],r=Array.isArray(t)?t.filter(i=>typeof i=="string"):[],a=wn().filter(i=>o?.[i]);if(!a.length)return e;let n=[...r.filter(i=>!a.includes(i)),...a.filter(i=>typeof e[i]=="number")];if(n.length===r.length&&n.every((i,d)=>i===r[d]))return e;let{[zt]:s,...l}=e;return n.length?{...l,[zt]:n}:l}function V3(e,o,t){if(o<=0)return null;let r=Array.isArray(e[zt])?e[zt]:[];return(t?wn().filter(a=>a.startsWith(ho[t])):wn()).some(a=>typeof e[a]=="number"&&!r.includes(a))?c("plus {n} px (older setting)",{n:o}):null}function gO(e,o,t,r){e.fields={...e.fields,...t.ownPaddingFields?.(r,V3,z(K3,o))??t.sidesPaddingFields({tablet:!0,siteSide:!0})};let a=e.resolveData;e.resolveData=(n,s)=>{let l=n.props??{},i=s?.trigger==="replace"?q3(l,s.changed):l,d=i===l?n:{...n,props:i};return a?a(d,s):d}}var yO={name:"blockPadding",applies:(e,o,t)=>(j3.includes(e)||G3.includes(e))&&!!t&&typeof t.render=="function",panel(e,o,t){let r=z(IO,o);if(!r){e.fields={...e.fields,...t.sidesPaddingFields({tablet:!0,siteSide:!0})};return}gO(e,o,t,r)},draw(e,o){bc.has(o)||Sh(e,void 0,!0)}};import{createContext as bh,useContext as wc}from"react";var SO=bh(null);function Bie(){return wc(SO)===!0}function Lie(){return wc(SO)!==null}var Y3=bh(!1);function Rie(){return wc(Y3)}function Die(e,o,t){let r=e.boxes;if(!r)return t;let a=r.indexOf(o);return a>=0?a:(r.push(o),r.length-1)}var Cc=bh(null);function Nie(){return wc(Cc)}import{jsx as Ia}from"react/jsx-runtime";import{Component as rW,createContext as aW,lazy as Qie,Suspense as ede,useContext as nW,useSyncExternalStore as sW}from"react";function X3(e,o){let t=e.trim();if(!vc(t))return!1;if(!o)return!0;let r;try{r=new URL(t,"https://x.invalid").host}catch{return!1}let a=n=>n.toLowerCase().replace(/^www\./,"");return a(r)!==a(o)}function Wie(e){return e.startsWith("/")||vc(e)}function vc(e){return/^(?:https?:)?\/\//i.test(e.trim())}var Pl=Object.freeze({target:"_blank",rel:"noopener noreferrer"});function bO(e,o){return X3(e,o)?{...Pl}:{}}function $ie(e){return typeof e=="string"?e.trim():""}var zie="data-sf-box-link",wO="absolute inset-0 -z-[1] outline-none focus-visible:z-[2] focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-accent",wh="relative isolate pointer-events-none [&_a]:pointer-events-auto [&_button]:pointer-events-auto [&_input]:pointer-events-auto [&_select]:pointer-events-auto [&_textarea]:pointer-events-auto [&_label]:pointer-events-auto [&_summary]:pointer-events-auto [&_iframe]:pointer-events-auto [&_video]:pointer-events-auto [&_audio]:pointer-events-auto [&_[role=button]]:pointer-events-auto [&_[tabindex]:not([tabindex='-1'])]:pointer-events-auto",Z3="data-sf-box-jump";function J3(e){return`sf-box-jump-${e}`}function Uie(e,o){return e===!0?fa(o):""}function Q3({box:e,lit:o,first:t}){let r=s=>s.join(`,
305
305
  `),a=t(e),n=o.flatMap(t);return`
306
306
  ${e} {
307
307
  outline: 2px solid transparent;
@@ -1,4 +1,4 @@
1
- import{f as fs,g as hs}from"./chunk-SV3VVDBH.js";import{a as T,b as Sr}from"./chunk-Y6SLVHK3.js";var Sn=T((ud,Ds)=>{"use strict";function Iu(i,e){this.v=i,this.k=e}function ps(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,r=Array(e);t<e;t++)r[t]=i[t];return r}function Lu(i){if(Array.isArray(i))return i}function Du(i,e){var t=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(t!=null){var r,n,s,o,l=[],a=!0,h=!1;try{if(s=(t=t.call(i)).next,e===0){if(Object(t)!==t)return;a=!1}else for(;!(a=(r=s.call(t)).done)&&(l.push(r.value),l.length!==e);a=!0);}catch(f){h=!0,n=f}finally{try{if(!a&&t.return!=null&&(o=t.return(),Object(o)!==o))return}finally{if(h)throw n}}return l}}function Ru(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{f as fs,g as hs}from"./chunk-TNWF32DT.js";import{a as T,b as Sr}from"./chunk-Y6SLVHK3.js";var Sn=T((ud,Ds)=>{"use strict";function Iu(i,e){this.v=i,this.k=e}function ps(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,r=Array(e);t<e;t++)r[t]=i[t];return r}function Lu(i){if(Array.isArray(i))return i}function Du(i,e){var t=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(t!=null){var r,n,s,o,l=[],a=!0,h=!1;try{if(s=(t=t.call(i)).next,e===0){if(Object(t)!==t)return;a=!1}else for(;!(a=(r=s.call(t)).done)&&(l.push(r.value),l.length!==e);a=!0);}catch(f){h=!0,n=f}finally{try{if(!a&&t.return!=null&&(o=t.return(),Object(o)!==o))return}finally{if(h)throw n}}return l}}function Ru(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nu(i,e){return Lu(i)||Du(i,e)||ku(i,e)||Ru()}function ku(i,e){if(i){if(typeof i=="string")return ps(i,e);var t={}.toString.call(i).slice(8,-1);return t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set"?Array.from(i):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?ps(i,e):void 0}}function br(i){var e,t;function r(s,o){try{var l=i[s](o),a=l.value,h=a instanceof Iu;Promise.resolve(h?a.v:a).then(function(f){if(h){var _=s==="return"&&a.k?s:"next";if(!a.k||f.done)return r(_,f);f=i[_](f).value}n(!!l.done,f)},function(f){r("throw",f)})}catch(f){n(2,f)}}function n(s,o){s===2?e.reject(o):e.resolve({value:o,done:s}),(e=e.next)?r(e.key,e.arg):t=null}this._invoke=function(s,o){return new Promise(function(l,a){var h={key:s,arg:o,resolve:l,reject:a,next:null};t?t=t.next=h:(e=t=h,r(s,o))})},typeof i.return!="function"&&(this.return=void 0)}br.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},br.prototype.next=function(i){return this._invoke("next",i)},br.prototype.throw=function(i){return this._invoke("throw",i)},br.prototype.return=function(i){return this._invoke("return",i)};var xs=Object.entries,ds=Object.setPrototypeOf,Mu=Object.isFrozen,Fu=Object.getPrototypeOf,qu=Object.getOwnPropertyDescriptor,J=Object.freeze,re=Object.seal,vt=Object.create,Cs=typeof Reflect<"u"&&Reflect,vn=Cs.apply,wn=Cs.construct;J||(J=function(e){return e});re||(re=function(e){return e});vn||(vn=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];return e.apply(t,n)});wn||(wn=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});var Ge=X(Array.prototype.forEach);Array.prototype.indexOf;var ju=X(Array.prototype.lastIndexOf),ms=X(Array.prototype.pop),kt=X(Array.prototype.push);Array.prototype.slice;var Uu=X(Array.prototype.splice),wt=Array.isArray,qt=X(String.prototype.toLowerCase),pn=X(String.prototype.toString),gs=X(String.prototype.match),Mt=X(String.prototype.replace),ys=X(String.prototype.indexOf),Bu=X(String.prototype.trim),zu=X(Number.prototype.toString),Wu=X(Boolean.prototype.toString),_s=typeof BigInt>"u"?null:X(BigInt.prototype.toString),vs=typeof Symbol>"u"?null:X(Symbol.prototype.toString),ue=X(Object.prototype.hasOwnProperty),Ft=X(Object.prototype.toString),oe=X(RegExp.prototype.test),ke=Hu(TypeError);function X(i){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return vn(i,e,r)}}function Hu(i){return function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wn(i,t)}}function D(i,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qt;if(ds&&ds(i,null),!wt(e))return i;let r=e.length;for(;r--;){let n=e[r];if(typeof n=="string"){let s=t(n);s!==n&&(Mu(e)||(e[r]=s),n=s)}i[n]=!0}return i}function Gu(i){for(let e=0;e<i.length;e++)ue(i,e)||(i[e]=null);return i}function he(i){let e=vt(null);for(let r of xs(i)){var t=Nu(r,2);let n=t[0],s=t[1];ue(i,n)&&(wt(s)?e[n]=Gu(s):s&&typeof s=="object"&&s.constructor===Object?e[n]=he(s):e[n]=s)}return e}function Yu(i){switch(typeof i){case"string":return i;case"number":return zu(i);case"boolean":return Wu(i);case"bigint":return _s?_s(i):"0";case"symbol":return vs?vs(i):"Symbol()";case"undefined":return Ft(i);case"function":case"object":{if(i===null)return Ft(i);let e=i,t=me(e,"toString");if(typeof t=="function"){let r=t(e);return typeof r=="string"?r:Ft(r)}return Ft(i)}default:return Ft(i)}}function me(i,e){for(;i!==null;){let r=qu(i,e);if(r){if(r.get)return X(r.get);if(typeof r.value=="function")return X(r.value)}i=Fu(i)}function t(){return null}return t}function $u(i){try{return oe(i,""),!0}catch{return!1}}var ws=J(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),dn=J(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),mn=J(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Vu=J(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),gn=J(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Qu=J(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ss=J(["#text"]),bs=J(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),yn=J(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Ts=J(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Tr=J(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Xu=re(/{{[\w\W]*|^[\w\W]*}}/g),Ku=re(/<%[\w\W]*|^[\w\W]*%>/g),Ju=re(/\${[\w\W]*/g),Zu=re(/^data-[\-\w.\u00B7-\uFFFF]+$/),el=re(/^aria-[\-\w]+$/),Es=re(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),tl=re(/^(?:\w+script|data):/i),rl=re(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),nl=re(/^html$/i),il=re(/^[a-z][.\w]*(-[.\w]+)+$/i),Os=re(/<[/\w!]/g),As=re(/<[/\w]/g),sl=re(/<\/no(script|embed|frames)/i),ol=re(/\/>/i),fe={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Is=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],al=J(D({},Is)),ul=(function(){let i={};return Ge(Is,e=>{i[e]=re(new RegExp("</"+e+"(?=[\\t\\n\\f\\r />])","i"))}),J(i)})(),ll=function(){return typeof window>"u"?null:window},cl=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let s="dompurify"+(r?"#"+r:"");try{return e.createPolicy(s,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},Ps=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Me=function(e,t,r,n){return ue(e,t)&&wt(e[t])?D(n.base?he(n.base):{},e[t],n.transform):r},_n=function(e,t,r){let n=ue(e,t)?e[t]:void 0;return n&&typeof n=="object"?he(n):r()};function Ls(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ll(),e=y=>Ls(y);if(e.version="3.4.16",e.removed=[],!i||!i.document||i.document.nodeType!==fe.document||!i.Element)return e.isSupported=!1,e;let t=i.document,r=t,n=r.currentScript;i.DocumentFragment;let s=i.HTMLTemplateElement,o=i.Node,l=i.Element,a=i.NodeFilter;i.NamedNodeMap===void 0&&(i.NamedNodeMap||i.MozNamedAttrMap),i.HTMLFormElement;let h=i.DOMParser,f=i.trustedTypes,_=l.prototype,p=me(_,"cloneNode"),d=me(_,"remove"),v=me(_,"removeAttributeNode"),x=me(_,"nextSibling"),E=me(_,"childNodes"),U=me(_,"parentNode"),Y=me(_,"shadowRoot"),K=me(_,"attributes"),k=o&&o.prototype?me(o.prototype,"nodeType"):null,V=o&&o.prototype?me(o.prototype,"nodeName"):null,Q=o&&o.prototype?me(o.prototype,"ownerDocument"):null,ee=function(u){return k?k(u):u.nodeType},Se=function(u){return V?V(u):u.nodeName};if(typeof s=="function"){let y=t.createElement("template");y.content&&y.content.ownerDocument&&(t=y.content.ownerDocument)}let te,pe="",Lt,ar=!1,Be=0,Ni=function(){if(Be>0)throw ke('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},ct=function(u){Ni(),Be++;try{return te.createHTML(u)}finally{Be--}},ru=function(u){Ni(),Be++;try{return te.createScriptURL(u)}finally{Be--}},nu=function(){return ar||(Lt=cl(f,n),ar=!0),Lt},ur=t,Xr=ur.implementation,ki=ur.createNodeIterator,iu=ur.createDocumentFragment,su=ur.getElementsByTagName,ou=r.importNode,B=Ps();e.isSupported=typeof xs=="function"&&typeof U=="function"&&Xr&&Xr.createHTMLDocument!==void 0;let au=Xu,uu=Ku,lu=Ju,cu=Zu,fu=el,hu=tl,Mi=rl,pu=il,Fi=Es,z=null,Kr=D({},[...ws,...dn,...mn,...gn,...Ss]),W=null,Jr=D({},[...bs,...yn,...Ts,...Tr]),be=Object.seal(vt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Dt=null,qi=null,De=Object.seal(vt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),ji=!0,Zr=!0,Ui=!1,Bi=!0,Re=!1,ze=!0,We=!1,en=!1,lr=null,cr=null,tn=!1,ft=!1,fr=!1,hr=!1,zi=!0,Wi=!1,Hi="user-content-",rn=!0,nn=!1,ht={},pt=null,Gi=D({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),Yi=null,$i=D({},["audio","video","img","source","image","track"]),Vi=null,Qi=D({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pr="http://www.w3.org/1998/Math/MathML",dr="http://www.w3.org/2000/svg",Te="http://www.w3.org/1999/xhtml",dt=Te,sn=!1,on=null,du=D({},[pr,dr,Te],pn),Xi=J(["mi","mo","mn","ms","mtext"]),an=D({},Xi),Ki=J(["annotation-xml"]),un=D({},Ki),mu=D({},["title","style","font","a","script"]),Rt=null,gu=["application/xhtml+xml","text/html"],yu="text/html",$=null,mt=null,_u=t.createElement("form"),Ji=function(u){return u instanceof RegExp||u instanceof Function},ln=function(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(mt&&mt===u)return;(!u||typeof u!="object")&&(u={}),u=he(u),Rt=gu.indexOf(u.PARSER_MEDIA_TYPE)===-1?yu:u.PARSER_MEDIA_TYPE,$=Rt==="application/xhtml+xml"?pn:qt,z=Me(u,"ALLOWED_TAGS",Kr,{transform:$}),W=Me(u,"ALLOWED_ATTR",Jr,{transform:$}),on=Me(u,"ALLOWED_NAMESPACES",du,{transform:pn}),Vi=Me(u,"ADD_URI_SAFE_ATTR",Qi,{transform:$,base:Qi}),Yi=Me(u,"ADD_DATA_URI_TAGS",$i,{transform:$,base:$i}),pt=Me(u,"FORBID_CONTENTS",Gi,{transform:$}),Dt=Me(u,"FORBID_TAGS",he({}),{transform:$}),qi=Me(u,"FORBID_ATTR",he({}),{transform:$}),ht=ue(u,"USE_PROFILES")?u.USE_PROFILES&&typeof u.USE_PROFILES=="object"?he(u.USE_PROFILES):u.USE_PROFILES:!1,ji=u.ALLOW_ARIA_ATTR!==!1,Zr=u.ALLOW_DATA_ATTR!==!1,Ui=u.ALLOW_UNKNOWN_PROTOCOLS||!1,Bi=u.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Re=u.SAFE_FOR_TEMPLATES||!1,ze=u.SAFE_FOR_XML!==!1,We=u.WHOLE_DOCUMENT||!1,ft=u.RETURN_DOM||!1,fr=u.RETURN_DOM_FRAGMENT||!1,hr=u.RETURN_TRUSTED_TYPE||!1,tn=u.FORCE_BODY||!1,zi=u.SANITIZE_DOM!==!1,Wi=u.SANITIZE_NAMED_PROPS||!1,rn=u.KEEP_CONTENT!==!1,nn=u.IN_PLACE||!1,Fi=$u(u.ALLOWED_URI_REGEXP)?u.ALLOWED_URI_REGEXP:Es,dt=typeof u.NAMESPACE=="string"?u.NAMESPACE:Te,an=_n(u,"MATHML_TEXT_INTEGRATION_POINTS",()=>D({},Xi)),un=_n(u,"HTML_INTEGRATION_POINTS",()=>D({},Ki));let c=_n(u,"CUSTOM_ELEMENT_HANDLING",()=>vt(null));if(be=vt(null),ue(c,"tagNameCheck")&&Ji(c.tagNameCheck)&&(be.tagNameCheck=c.tagNameCheck),ue(c,"attributeNameCheck")&&Ji(c.attributeNameCheck)&&(be.attributeNameCheck=c.attributeNameCheck),ue(c,"allowCustomizedBuiltInElements")&&typeof c.allowCustomizedBuiltInElements=="boolean"&&(be.allowCustomizedBuiltInElements=c.allowCustomizedBuiltInElements),re(be),Re&&(Zr=!1),fr&&(ft=!0),ht&&(z=D({},Ss),W=vt(null),ht.html===!0&&(D(z,ws),D(W,bs)),ht.svg===!0&&(D(z,dn),D(W,yn),D(W,Tr)),ht.svgFilters===!0&&(D(z,mn),D(W,yn),D(W,Tr)),ht.mathMl===!0&&(D(z,gn),D(W,Ts),D(W,Tr))),De.tagCheck=null,De.attributeCheck=null,ue(u,"ADD_TAGS")&&(typeof u.ADD_TAGS=="function"?De.tagCheck=u.ADD_TAGS:wt(u.ADD_TAGS)&&(z===Kr&&(z=he(z)),D(z,u.ADD_TAGS,$))),ue(u,"ADD_ATTR")&&(typeof u.ADD_ATTR=="function"?De.attributeCheck=u.ADD_ATTR:wt(u.ADD_ATTR)&&(W===Jr&&(W=he(W)),D(W,u.ADD_ATTR,$))),ue(u,"ADD_FORBID_CONTENTS")&&wt(u.ADD_FORBID_CONTENTS)&&(pt===Gi&&(pt=he(pt)),D(pt,u.ADD_FORBID_CONTENTS,$)),rn&&(z["#text"]=!0),We&&D(z,["html","head","body"]),z.table&&(D(z,["tbody"]),delete Dt.tbody),u.TRUSTED_TYPES_POLICY){if(typeof u.TRUSTED_TYPES_POLICY.createHTML!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof u.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ke('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let g=te;te=u.TRUSTED_TYPES_POLICY;try{pe=ct("")}catch(w){throw te=g,w}}else u.TRUSTED_TYPES_POLICY===null?(te=void 0,pe=""):(te===void 0&&(te=nu()),te&&typeof pe=="string"&&(pe=ct("")));J&&J(u),mt=u},Zi=D({},[...dn,...mn,...Vu]),es=D({},[...gn,...Qu]),vu=function(u,c,g){return c.namespaceURI===Te?u==="svg":c.namespaceURI===pr?u==="svg"&&(g==="annotation-xml"||an[g]):!!Zi[u]},wu=function(u,c,g){return c.namespaceURI===Te?u==="math":c.namespaceURI===dr?u==="math"&&un[g]:!!es[u]},Su=function(u,c,g){return c.namespaceURI===dr&&!un[g]||c.namespaceURI===pr&&!an[g]?!1:!es[u]&&(mu[u]||!Zi[u])},bu=function(u){let c=U(u);(!c||!c.tagName)&&(c={namespaceURI:dt,tagName:"template"});let g=qt(u.tagName),w=qt(c.tagName);return on[u.namespaceURI]?u.namespaceURI===dr?vu(g,c,w):u.namespaceURI===pr?wu(g,c,w):u.namespaceURI===Te?Su(g,c,w):!!(Rt==="application/xhtml+xml"&&on[u.namespaceURI]):!1},Ne=function(u){kt(e.removed,{element:u});try{U(u).removeChild(u)}catch{if(d(u),!U(u))throw ke("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},ts=function(u,c,g){try{v(u,c)}catch{try{u.removeAttribute(g)}catch{}}},mr=function(u){gr(u);let c=E(u);if(c){let w=[];Ge(c,A=>{kt(w,A)}),Ge(w,A=>{try{d(A)}catch{}})}let g=K(u);if(g)for(let w=g.length-1;w>=0;--w){let A=g[w],C=A&&A.name;typeof C=="string"&&ts(u,A,C)}},He=function(u,c,g){if(!g)try{g=c.getAttributeNode(u)}catch{g=null}kt(e.removed,{attribute:g||null,from:c});try{g?v(c,g):c.removeAttribute(u)}catch{try{c.removeAttribute(u)}catch{}}if(u==="is")if(ft||fr)try{Ne(c)}catch{}else try{c.setAttribute(u,"")}catch{}},Tu=function(u){let c=K(u);if(c)for(let g=c.length-1;g>=0;--g){let w=c[g],A=w&&w.name;typeof A!="string"||W[$(A)]||ts(u,w,A)}},gr=function(u){let c=[u];for(;c.length>0;){let g=c.pop();ee(g)===fe.element&&Tu(g);let w=E(g);if(w)for(let A=w.length-1;A>=0;--A)c.push(w[A])}},rs=function(u,c){return ze?u==="patchsrc"?!0:u==="for"&&c!=="label"&&c!=="output":!1},Eu=function(u){if(!ze)return;let c=[u];for(;c.length>0;){let g=c.pop(),w=ee(g);if(w===fe.processingInstruction||w===fe.comment&&oe(As,g.data)){try{d(g)}catch{}continue}if(w===fe.element){let C=g,L=$(Se(g));try{C.hasAttribute&&C.hasAttribute("patchsrc")&&C.removeAttribute("patchsrc"),C.hasAttribute&&C.hasAttribute("for")&&rs("for",L)&&C.removeAttribute("for")}catch{}}let A=E(g);if(A)for(let C=A.length-1;C>=0;--C)c.push(A[C])}},ns=function(u){let c=null,g=null;if(tn)u="<remove></remove>"+u;else{let C=gs(u,/^[\r\n\t ]+/);g=C&&C[0]}Rt==="application/xhtml+xml"&&dt===Te&&(u='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+u+"</body></html>");let w=te?ct(u):u;if(dt===Te)try{c=new h().parseFromString(w,Rt)}catch{}if(!c||!c.documentElement){c=Xr.createDocument(dt,"template",null);try{c.documentElement.innerHTML=sn?pe:w}catch{}}let A=c.body||c.documentElement;return u&&g&&A.insertBefore(t.createTextNode(g),A.childNodes[0]||null),dt===Te?su.call(c,We?"html":"body")[0]:We?c.documentElement:A},is=function(u){let c=Q?Q(u):u.ownerDocument;return ki.call(c||u,u,a.SHOW_ELEMENT|a.SHOW_COMMENT|a.SHOW_TEXT|a.SHOW_PROCESSING_INSTRUCTION|a.SHOW_CDATA_SECTION,null)},yr=function(u){return u=Mt(u,au," "),u=Mt(u,uu," "),u=Mt(u,lu," "),u},cn=function(u){var c;u.normalize();let g=Q?Q(u):u.ownerDocument,w=ki.call(g||u,u,a.SHOW_TEXT|a.SHOW_COMMENT|a.SHOW_CDATA_SECTION|a.SHOW_PROCESSING_INSTRUCTION,null),A=w.nextNode();for(;A;)A.data=yr(A.data),A=w.nextNode();let C=(c=u.querySelectorAll)===null||c===void 0?void 0:c.call(u,"template");C&&Ge(C,L=>{gt(L.content)&&cn(L.content)})},_r=function(u){let c=V?V(u):null;return typeof c!="string"||$(c)!=="form"?!1:typeof u.nodeName!="string"||typeof u.textContent!="string"||typeof u.removeChild!="function"||u.attributes!==K(u)||typeof u.removeAttribute!="function"||typeof u.removeAttributeNode!="function"||typeof u.getAttributeNode!="function"||typeof u.setAttribute!="function"||typeof u.namespaceURI!="string"||typeof u.insertBefore!="function"||typeof u.hasChildNodes!="function"||u.nodeType!==k(u)||u.childNodes!==E(u)},gt=function(u){if(!k||typeof u!="object"||u===null)return!1;try{return k(u)===fe.documentFragment}catch{return!1}},Nt=function(u){if(!k||typeof u!="object"||u===null)return!1;try{return typeof k(u)=="number"}catch{return!1}};function Ee(y,u,c){y.length!==0&&Ge(y,g=>{g.call(e,u,c,mt)})}let Ou=function(u,c){return!!(ze&&u.hasChildNodes()&&!Nt(u.firstElementChild)&&oe(Os,u.textContent)&&oe(Os,u.innerHTML)||ze&&u.namespaceURI===Te&&al[c]&&(Nt(u.firstElementChild)||typeof u.textContent=="string"&&oe(ul[c],u.textContent))||u.nodeType===fe.processingInstruction||ze&&u.nodeType===fe.comment&&oe(As,u.data))},vr=function(u,c){if(u instanceof RegExp)return oe(u,c);if(u instanceof Function){for(var g=arguments.length,w=new Array(g>2?g-2:0),A=2;A<g;A++)w[A-2]=arguments[A];return!!u(c,...w)}return!1},Au=function(u,c,g){if(!Dt[c]&&us(c)&&vr(be.tagNameCheck,c))return!1;if(rn&&!pt[c]){let w=U(u),A=E(u);if(A&&w){let C=A.length;for(let L=C-1;L>=0;--L){let G=u===g?p(A[L],!0):A[L];w.insertBefore(G,x(u))}}}return Ne(u),!0},ss=function(u,c,g,w){return u.length===0?c:c===g||c===w?he(c):c},yt=function(u,c){return u===c||U(u)!==null?!1:(nn&&gr(u),!0)},os=function(u,c){if(Ee(B.beforeSanitizeElements,u,null),yt(u,c))return!0;if(_r(u))return Ne(u),!0;let g=$(Se(u));if(z=ss(B.uponSanitizeElement,z,Kr,lr),Ee(B.uponSanitizeElement,u,{tagName:g,allowedTags:z}),yt(u,c))return!0;if(Ou(u,g))return Ne(u),!0;if(Dt[g]||!(De.tagCheck instanceof Function&&De.tagCheck(g))&&!z[g]){let w=Au(u,g,c);return w===!1&&(Ee(B.afterSanitizeElements,u,null),yt(u,c))?!0:w}if(ee(u)===fe.element&&!bu(u)||(g==="noscript"||g==="noembed"||g==="noframes")&&oe(sl,u.innerHTML))return Ne(u),!0;if(Re&&u.nodeType===fe.text){let w=yr(u.textContent);u.textContent!==w&&(kt(e.removed,{element:u.cloneNode()}),u.textContent=w)}return Ee(B.afterSanitizeElements,u,null),yt(u,c)},as=function(u,c,g){if(qi[c]||rs(c,u)||zi&&(c==="id"||c==="name")&&(g in t||g in _u))return!1;let w=W[c]||De.attributeCheck instanceof Function&&De.attributeCheck(c,u);return Zr&&oe(cu,c)||ji&&oe(fu,c)?!0:w?Vi[c]||oe(Fi,Mt(g,Mi,""))||(c==="src"||c==="xlink:href"||c==="href")&&u!=="script"&&ys(g,"data:")===0&&Yi[u]||Ui&&!oe(hu,Mt(g,Mi,""))?!0:!g:us(u)&&vr(be.tagNameCheck,u)&&vr(be.attributeNameCheck,c,u)||c==="is"&&be.allowCustomizedBuiltInElements&&vr(be.tagNameCheck,g)},Pu=D({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),us=function(u){return!Pu[qt(u)]&&oe(pu,u)},xu=function(u,c,g,w){if(te&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!g)switch(f.getAttributeType(u,c)){case"TrustedHTML":return ct(w);case"TrustedScriptURL":return ru(w)}return w},Cu=function(u,c,g,w){try{return g?u.setAttributeNS(g,c,w):u.setAttribute(c,w),_r(u)?(Ne(u),!1):!0}catch{return He(c,u),!1}},ls=function(u,c){if(Ee(B.beforeSanitizeAttributes,u,null),yt(u,c))return;let g=u.attributes;if(!g||_r(u))return;W=ss(B.uponSanitizeAttribute,W,Jr,cr);let w={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:W,forceKeepAttr:void 0},A=g.length,C=$(u.nodeName);for(;A--;){let L=g[A],G=L.name,de=L.namespaceURI,ce=L.value,_t=$(G),hn=ce,ae=G==="value"?hn:Bu(hn),cs=!1;if(w.attrName=_t,w.attrValue=ae,w.keepAttr=!0,w.forceKeepAttr=void 0,Ee(B.uponSanitizeAttribute,u,w),ae=w.attrValue,Wi&&(_t==="id"||_t==="name")&&ys(ae,Hi)!==0&&(He(G,u,L),ae=Hi+ae,cs=!0),ze&&oe(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,ae)){He(G,u,L);continue}if(_t==="attributename"&&gs(ae,"href")){He(G,u,L);continue}if(!w.forceKeepAttr){if(!w.keepAttr){He(G,u,L);continue}if(!Bi&&oe(ol,ae)){He(G,u,L);continue}if(Re&&(ae=yr(ae)),!as(C,_t,ae)){He(G,u,L);continue}ae=xu(C,_t,de,ae),ae!==hn&&Cu(u,G,de,ae)&&cs&&ms(e.removed)}}Ee(B.afterSanitizeAttributes,u,null),yt(u,c)},wr=function(u){let c=null,g=is(u);for(Ee(B.beforeSanitizeShadowDOM,u,null);c=g.nextNode();)if(Ee(B.uponSanitizeShadowNode,c,null),os(c,u),ls(c,u),gt(c.content)&&wr(c.content),ee(c)===fe.element){let w=Y(c);gt(w)&&(fn(w),wr(w))}Ee(B.afterSanitizeShadowDOM,u,null)},fn=function(u){let c=[{node:u,shadow:null}];for(;c.length>0;){let g=c.pop();if(g.shadow){wr(g.shadow);continue}let w=g.node,A=ee(w)===fe.element,C=E(w);if(C)for(let L=C.length-1;L>=0;--L)c.push({node:C[L],shadow:null});if(A){let L=V?V(w):null;if(typeof L=="string"&&$(L)==="template"){let G=w.content;gt(G)&&c.push({node:G,shadow:null})}}if(A){let L=Y(w);gt(L)&&c.push({node:null,shadow:L},{node:L,shadow:null})}}};return e.sanitize=function(y){let u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=null,g=null,w=null,A=null;if(sn=!y,sn&&(y="<!-->"),typeof y!="string"&&!Nt(y)&&(y=Yu(y),typeof y!="string"))throw ke("dirty is not a string, aborting");if(!e.isSupported)return y;en?(z=lr,W=cr):ln(u),(B.uponSanitizeElement.length>0||B.uponSanitizeAttribute.length>0)&&(z=he(z)),B.uponSanitizeAttribute.length>0&&(W=he(W)),e.removed=[];let C=nn&&typeof y!="string"&&Nt(y);if(C){Eu(y);let de=Se(y);if(typeof de=="string"){let ce=$(de);if(!z[ce]||Dt[ce])throw mr(y),ke("root node is forbidden and cannot be sanitized in-place")}if(_r(y))throw mr(y),ke("root node is clobbered and cannot be sanitized in-place");try{fn(y)}catch(ce){throw mr(y),ce}}else if(Nt(y))c=ns("<!---->"),g=c.ownerDocument.importNode(y,!0),g.nodeType===fe.element&&g.nodeName==="BODY"||g.nodeName==="HTML"?c=g:c.appendChild(g),fn(c);else{if(!ft&&!Re&&!We&&y.indexOf("<")===-1)return te&&hr?ct(y):y;if(c=ns(y),!c)return ft?null:hr?pe:""}c&&tn&&Ne(c.firstChild);let L=C?y:c;try{let de=is(L);for(;w=de.nextNode();)os(w,L),ls(w,L),gt(w.content)&&wr(w.content)}catch(de){throw C&&(mr(y),Ge(e.removed,ce=>{ce.element&&gr(ce.element)})),de}if(C){let de=!1;if(Ge(e.removed,ce=>{ce.element&&(ce.element===y&&(de=!0),gr(ce.element))}),de)throw ke("a node selected for removal could not be safely returned; refusing to sanitize in place");return Re&&cn(y),y}if(ft){if(Re&&cn(c),fr)for(A=iu.call(c.ownerDocument);c.firstChild;)A.appendChild(c.firstChild);else A=c;return(W.shadowroot||W.shadowrootmode)&&(A=ou.call(r,A,!0)),A}let G=We?c.outerHTML:c.innerHTML;return We&&z["!doctype"]&&c.ownerDocument&&c.ownerDocument.doctype&&c.ownerDocument.doctype.name&&oe(nl,c.ownerDocument.doctype.name)&&(G="<!DOCTYPE "+c.ownerDocument.doctype.name+`>
3
3
  `+G),Re&&(G=yr(G)),te&&hr?ct(G):G},e.setConfig=function(){let y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ln(y),en=!0,lr=z,cr=W},e.clearConfig=function(){mt=null,en=!1,lr=null,cr=null,te=Lt,pe=""},e.isValidAttribute=function(y,u,c){mt||ln({});let g=$(y),w=$(u);return as(g,w,c)},e.addHook=function(y,u){typeof u=="function"&&ue(B,y)&&kt(B[y],u)},e.removeHook=function(y,u){if(ue(B,y)){if(u!==void 0){let c=ju(B[y],u);return c===-1?void 0:Uu(B[y],c,1)[0]}return ms(B[y])}},e.removeHooks=function(y){ue(B,y)&&(B[y]=[])},e.removeAllHooks=function(){B=Ps()},e}var fl=Ls();Ds.exports=fl});var Ns=T((ld,bn)=>{"use strict";var P=String,Rs=function(){return{isColorSupported:!1,reset:P,bold:P,dim:P,italic:P,underline:P,inverse:P,hidden:P,strikethrough:P,black:P,red:P,green:P,yellow:P,blue:P,magenta:P,cyan:P,white:P,gray:P,bgBlack:P,bgRed:P,bgGreen:P,bgYellow:P,bgBlue:P,bgMagenta:P,bgCyan:P,bgWhite:P,blackBright:P,redBright:P,greenBright:P,yellowBright:P,blueBright:P,magentaBright:P,cyanBright:P,whiteBright:P,bgBlackBright:P,bgRedBright:P,bgGreenBright:P,bgYellowBright:P,bgBlueBright:P,bgMagentaBright:P,bgCyanBright:P,bgWhiteBright:P}};bn.exports=Rs();bn.exports.createColors=Rs});var Tn=T(()=>{"use strict"});var Er=T((hd,Fs)=>{"use strict";var ks=Ns(),Ms=Tn(),jt=class i extends Error{constructor(e,t,r,n,s,o){super(e),this.name="CssSyntaxError",this.reason=e,s&&(this.file=s),n&&(this.source=n),o&&(this.plugin=o),typeof t<"u"&&typeof r<"u"&&(typeof t=="number"?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=ks.isColorSupported);let r=f=>f,n=f=>f,s=f=>f;if(e){let{bold:f,gray:_,red:p}=ks.createColors(!0);n=d=>f(p(d)),r=d=>_(d),Ms&&(s=d=>Ms(d))}let o=t.split(/\r?\n/),l=Math.max(this.line-3,0),a=Math.min(this.line+2,o.length),h=String(a).length;return o.slice(l,a).map((f,_)=>{let p=l+1+_,d=" "+(" "+p).slice(-h)+" | ";if(p===this.line){if(f.length>160){let x=20,E=typeof this.endColumn=="number"?this.endColumn:this.column,U=Math.max(0,this.column-x),Y=Math.max(this.column+x,E+x),K=f.slice(U,Y),k=r(d.replace(/\d/g," "))+f.slice(0,Math.min(this.column-1,x-1)).replace(/[^\t]/g," ");return n(">")+r(d)+s(K)+`
4
4
  `+k+n("^")}let v=r(d.replace(/\d/g," "))+f.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+r(d)+s(f)+`