@cntrl-site/components 1.0.120 → 1.0.121

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 (30) hide show
  1. package/dist/{Burger-C8JIQQwm.mjs → Burger-BKeZH3HS.mjs} +1 -1
  2. package/dist/{Burger-C_SjPZWp.js → Burger-DxjmS1t5.js} +1 -1
  3. package/dist/{Chronicles-BNvvaFYY.mjs → Chronicles-BXfNFANB.mjs} +1 -1
  4. package/dist/{Chronicles-Dj1gvNjE.js → Chronicles-mir8oCdq.js} +1 -1
  5. package/dist/{ChroniclesComponent-8lhIeord.mjs → ChroniclesComponent-CH-c7QBm.mjs} +18 -35
  6. package/dist/{ChroniclesComponent-5ZbqHNpi.js → ChroniclesComponent-D425pM5e.js} +1 -1
  7. package/dist/Components/Slider20/Slider20.d.ts +1 -2
  8. package/dist/{LightboxJournal-BDUs6T0B.mjs → LightboxJournal-By2sN-Ix.mjs} +1 -1
  9. package/dist/{LightboxJournal-Bf_rZzmz.js → LightboxJournal-DEQXz8wX.js} +1 -1
  10. package/dist/{LightboxStrip-Cuhb2fIR.mjs → LightboxStrip-GwaY8uLD.mjs} +1 -1
  11. package/dist/{LightboxStrip-RA4ABUC-.js → LightboxStrip-XbD9uQKr.js} +1 -1
  12. package/dist/Slider20-BOmjDRf2.js +272 -0
  13. package/dist/Slider20-DUi6qwnd.mjs +851 -0
  14. package/dist/{components-CBJ6asBX.mjs → components-BN4QKcJm.mjs} +1 -1
  15. package/dist/{components-BHB4G3ma.js → components-QZW1MaQM.js} +1 -1
  16. package/dist/elements.js +1 -1
  17. package/dist/elements.mjs +5 -5
  18. package/dist/elements.node.js +1 -1
  19. package/dist/elements.node.mjs +1 -1
  20. package/dist/index.js +1 -1
  21. package/dist/index.mjs +2 -2
  22. package/dist/sources.js +168 -213
  23. package/dist/sources.mjs +167 -212
  24. package/dist/useLightboxScrollLock-CjSZPvqJ.mjs +18 -0
  25. package/dist/useLightboxScrollLock-CmwKl-Vu.js +1 -0
  26. package/package.json +1 -1
  27. package/dist/Slider20-C2o_EB1I.mjs +0 -872
  28. package/dist/Slider20-DzxWCTg-.js +0 -273
  29. package/dist/useLightboxScrollLock-Hf16Eq4g.js +0 -1
  30. package/dist/useLightboxScrollLock-VQ07s7EJ.mjs +0 -18
@@ -3,7 +3,7 @@ import { useRef as y, useMemo as uo, useState as R, useEffect as A, useLayoutEff
3
3
  import { s as z } from "./scalingValue-C9JH5L6O.mjs";
4
4
  import { b as Rn } from "./buildColorVars-CLyWQm5K.mjs";
5
5
  import { u as _n } from "./useScopedStyles-DhBG3557.mjs";
6
- import { u as Mn } from "./useLightboxScrollLock-VQ07s7EJ.mjs";
6
+ import { u as Mn } from "./useLightboxScrollLock-CjSZPvqJ.mjs";
7
7
  import { o as Wn, t as En } from "./textStylesToCss-05Mn6I_2.mjs";
8
8
  import { i as ut, l as Gn } from "./loadSvgMaskUrl-xHgGYgPe.mjs";
9
9
  const w = 300, v = 300, Un = 8 / 1440, X = 4e-3, Dn = 50, jn = 1440, W = Dn / jn;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),s=require("react"),N=require("./scalingValue-CSHYgTZl.js"),Rn=require("./buildColorVars-CE2D5cQV.js"),On=require("./useScopedStyles-Bf6yohVQ.js"),Hn=require("./useLightboxScrollLock-Hf16Eq4g.js"),gt=require("./textStylesToCss-CNN3zZTV.js"),Bo=require("./loadSvgMaskUrl-DfF7ay6h.js"),w=300,h=300,Fn=8/1440,V=.004,In=50,jn=1440,I=In/jn;function Mn(o){if(o==="default"||o==="compact"||o==="open")return o;if(o==="onScroll")return"compact"}function _n(o){return o==="center"||o==="right"?o:"left"}function Wn(o){return o==="left"||o==="right"?o:"center"}function En(o,t,e){const n=N.scalingValue(t,e);return o==="center"?`translateX(calc(-50% + ${n}))`:`translateX(${n})`}function Un(o,t){if(o&&typeof o=="object"){if(t&&typeof o[t]=="string")return o[t];for(const e in o)if(typeof o[e]=="string")return o[e];return}return o}function Io(o,t){const e=(Un(o,t)??"always").trim().toLowerCase().replace(/[_-]+/g," ");return e==="open only"||e==="openonly"?"open only":e==="default only"||e==="defaultonly"?"default only":e==="open and compact"||e==="openandcompact"?"open and compact":e==="default and open"||e==="defaultandopen"?"default and open":e==="default and compact"||e==="defaultandcompact"?"default and compact":"always"}function Vn(o,t,e){switch(Io(o.showIn,e)){case"open only":return!1;case"default only":return t==="default";case"open and compact":return t==="compact";case"default and compact":return!0;case"default and open":return t==="default";default:return!0}}function Gn(o,t){switch(Io(o.showIn,t)){case"default only":case"default and compact":return!1;default:return!0}}function Ct(o,t){return!Array.isArray(o)||o.length===0?!0:o.some(e=>Io(e==null?void 0:e.showIn,t)!=="default only")}function Dn(o){return(o==null?void 0:o.find(t=>t.slug===""))??(o==null?void 0:o[0])}function Xn(o,t){const e=o?t==null?void 0:t.find(n=>n.id===o):Dn(t);return!o&&!e?"":e?e.slug===""?"/":`/${e.slug}`:o.startsWith("/")||o.startsWith("#")||/^[a-z][a-z\d+\-.]*:/i.test(o)?o:t?`/${o}`:o}function pt(o){const t=(o??"").toLowerCase();return t==="blank"||t==="_blank"||t.includes("new")}function Oo(o){const t=o.link;if(t&&typeof t=="object"){const n=pt(t.target)?"_blank":void 0;if(t.type==="url")return{type:"url",value:t.value??t.url??"",target:n};if(t.type==="anchor")return{type:"anchor",value:t.value??"",target:n};if(t.type==="page")return{type:"page",value:t.value??"",target:n,anchor:t.anchor};if(t.type==="file")return{type:"file",value:t.value??""};if(typeof t.url=="string")return{type:"url",value:t.url,target:n,download:typeof t.download=="string"?t.download:void 0}}const e=pt(o.openIn)?"_blank":void 0;return o.mode==="url"?{type:"url",value:o.url??"",target:e}:{type:"page",value:o.page??"",target:e,anchor:o.anchor}}function Yn(o){return/^[a-z][a-z\d+\-.]*:/i.test(o)||o.startsWith("/")||o.startsWith("#")?o:`https://${o}`}function Ho(o,t){const e=o.label||"Link",n=Oo(o);if(n.type==="url")return{label:e,href:n.value,target:n.target,download:n.download};if(n.type==="file")return{label:e,href:n.value?"#":"",target:"_blank"};if(n.type==="anchor"){const v=n.value.replace(/^#/,"");return{label:e,href:v?`#${v}`:"",target:n.target}}const r=Xn(n.value,t),c=(n.anchor??"").replace(/^#/,""),g=c?r?`${r}#${c}`:`#${c}`:r;return{label:e,href:g,target:n.target}}const H=24,O=H*.125,Tt=H*.125,Ro=(H-(3*O+2*Tt))/2,vt=O+Tt;function qn({className:o,lineClassName:t}){return l.jsxs("svg",{className:o,viewBox:`0 0 ${H} ${H}`,"aria-hidden":"true",children:[l.jsx("rect",{className:`${t} ${t}-top`,x:"0",y:Ro,width:H,height:O,rx:O/2}),l.jsx("rect",{className:`${t} ${t}-mid`,x:"0",y:Ro+vt,width:H,height:O,rx:O/2}),l.jsx("rect",{className:`${t} ${t}-bot`,x:"0",y:Ro+2*vt,width:H,height:O,rx:O/2})]})}function Kn(o,t,e,n){return t!==void 0&&t<(o??.01)?`${e} ${n}`:e}function Zn(o,t,e,n){const r=o??.01;return t===void 0||t>=r?{}:{[`--${e}-text-leading-gap`]:N.scalingValue((r-t)/2,n)}}const Nt=.004;let eo;function Jn(){return eo!==void 0?eo:typeof document>"u"?(eo=null,null):(eo=document.createElement("canvas").getContext("2d"),eo)}function Qn(o){const t=getComputedStyle(o),e=parseFloat(t.fontSize)||0;if(e<=0)return 0;const n=Jn();if(!n)return 0;n.font=`${t.fontStyle} ${t.fontWeight} ${e}px ${t.fontFamily}`;const r=n.measureText("H"),c=r.actualBoundingBoxAscent>0?r.actualBoundingBoxAscent:0,g=Math.max(0,r.actualBoundingBoxDescent||0),v=r.fontBoundingBoxAscent||0,f=r.fontBoundingBoxDescent||0;return c<=0||v<=0&&f<=0?0:(f-g-(v-c))/2/e}function ht(o,t){const[e,n]=s.useState(0);return s.useLayoutEffect(()=>{const r=o.current;if(!r)return;const c=()=>{const f=Qn(r);n(x=>Math.abs(x-f)<Nt?x:f)};c();const g=document.fonts;g.ready.then(c).catch(()=>{}),g.addEventListener("loadingdone",c);const v=new ResizeObserver(c);return v.observe(r),()=>{g.removeEventListener("loadingdone",c),v.disconnect()}},[o,t]),e}function ut(o){if(!(Math.abs(o)<Nt))return`translateY(${o}em)`}function $t(o){var t,e;return[o.fontFamily??"",((t=o.fontSettings)==null?void 0:t.fontWeight)??400,((e=o.fontSettings)==null?void 0:e.fontStyle)??"normal",o.fontSize??"",o.lineHeight??""].join("\0")}function mt(o){return{fontFamily:o.fontFamily,fontWeight:o.fontWeight,fontStyle:o.fontStyle,fontSize:o.fontSize,lineHeight:o.lineHeight,position:"absolute",top:0,left:0,visibility:"hidden",pointerEvents:"none",whiteSpace:"nowrap"}}function xt(o,t={}){return{fontFamily:o.fontFamily??t.fontFamily,fontSettings:o.fontSettings??t.fontSettings,fontSize:o.fontSize??t.fontSize,lineHeight:o.lineHeight??t.lineHeight,letterSpacing:o.letterSpacing??t.letterSpacing??0,wordSpacing:o.wordSpacing??t.wordSpacing??0,textAlign:o.textAlign??t.textAlign??"left",textAppearance:o.textAppearance??t.textAppearance}}function kt(o,t,e){var r,c;const n={fontSettings:{fontFamily:t.fontFamily,fontWeight:((r=t.fontSettings)==null?void 0:r.fontWeight)??400,fontStyle:((c=t.fontSettings)==null?void 0:c.fontStyle)??"normal"},fontSize:t.fontSize??.01,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing??0,wordSpacing:t.wordSpacing??0,textAlign:t.textAlign,textAppearance:t.textAppearance,color:""};return{css:{...gt.omitTextColors(gt.textStylesToCss(n,e)),...Zn(t.fontSize,t.lineHeight,o,e)},className:Kn(t.fontSize,t.lineHeight,`${o}-link-text`,`${o}-text-tight-leading`)}}function bt(o){const t=o.split(/\r?\n/);return t.length===1?o:t.map((e,n)=>l.jsxs(s.Fragment,{children:[e,n<t.length-1?l.jsx("br",{}):null]},n))}function St(o,t,e,n){const r=Math.max(0,e-n),c=o+t;if(c<=r||c<=0)return{start:o,end:t};const g=r/c;return{start:o*g,end:t*g}}function At(o){const e=Math.max(I,o.fontSize??I),{start:n,end:r}=St(o.textPaddingTop,o.textPaddingBottom,1,e),{start:c,end:g}=St(o.textPaddingLeft,o.textPaddingRight,1,I);return{effectivePaddingLeft:c,effectivePaddingRight:g,effectivePaddingTop:n,effectivePaddingBottom:r,panelSize:1}}function Pn(o){if(o==="center"||o==="center-center")return{horizontalAlign:"center",verticalAlign:"center"};const[t,e]=o.split("-");return{horizontalAlign:t,verticalAlign:e}}function oa(o){return o.position?Pn(o.position):{horizontalAlign:o.horizontalAlign??"left",verticalAlign:o.verticalAlign??"top"}}function ta(o,t){return o.textPaddingLeft!==t.textPaddingLeft||o.textPaddingRight!==t.textPaddingRight||o.textPaddingTop!==t.textPaddingTop||o.textPaddingBottom!==t.textPaddingBottom}const ea=[["onScrollIconColor","compactIconColor"],["onScrollLinkColor","compactLinkColor"],["onScrollLogoColor","compactLogoColor"],["onScrollBackgroundColor","compactBackgroundColor"],["onScrollPanelColor","compactBackgroundColor"],["onScrollLogoMaxWidth","compactLogoMaxWidth"],["onScrollLogoMaxHeight","compactLogoMaxHeight"],["onScrollLogoPosition","compactLogoPosition"],["onScrollPanelHeight","compactPanelHeight"],["onScrollIconSize","compactIconSize"],["onScrollNavTextWidth","compactNavTextWidth"],["onScrollNavGap","compactNavGap"],["onScrollNavPaddingLeft","compactNavPaddingLeft"],["onScrollNavPaddingRight","compactNavPaddingRight"],["onScrollFontFamily","compactFontFamily"],["onScrollFontSettings","compactFontSettings"],["onScrollFontSize","compactFontSize"],["onScrollLineHeight","compactLineHeight"],["onScrollLetterSpacing","compactLetterSpacing"],["onScrollWordSpacing","compactWordSpacing"],["onScrollTextAlign","compactTextAlign"],["onScrollTextAppearance","compactTextAppearance"]];function zt(o){var r,c;const t=o,e={};for(const[g,v]of ea)o[v]!==void 0||t[g]===void 0||(e[v]=t[g]);const n=t.stateOverrides;return n&&(n.onScroll!==void 0||n["onScroll-hover"]!==void 0)&&(e.stateOverrides={...o.stateOverrides},n.onScroll!==void 0&&((r=o.stateOverrides)==null?void 0:r.compact)===void 0&&(e.stateOverrides.compact=n.onScroll),n["onScroll-hover"]!==void 0&&((c=o.stateOverrides)==null?void 0:c["compact-hover"])===void 0&&(e.stateOverrides["compact-hover"]=n["onScroll-hover"])),Object.keys(e).length===0?o:{...o,...e}}function yt(o){var r,c,g,v,f,x,L,A,S,a,$,z,G,D,X,R;o=zt(o);const t=o,e={};if(o.backgroundColor===void 0&&t.panelColor!==void 0&&(e.backgroundColor=t.panelColor),o.openFontFamily===void 0&&o.fontFamily!==void 0&&(e.openFontFamily=o.fontFamily),o.openFontSettings===void 0&&o.fontSettings!==void 0&&(e.openFontSettings=o.fontSettings),o.openFontSize===void 0&&o.fontSize!==void 0&&(e.openFontSize=o.fontSize),o.openLineHeight===void 0&&o.lineHeight!==void 0&&(e.openLineHeight=o.lineHeight),o.openLetterSpacing===void 0&&o.letterSpacing!==void 0&&(e.openLetterSpacing=o.letterSpacing),o.openWordSpacing===void 0&&o.wordSpacing!==void 0&&(e.openWordSpacing=o.wordSpacing),o.openTextAlign===void 0&&o.textAlign!==void 0&&(e.openTextAlign=o.textAlign),o.openTextAppearance===void 0&&o.textAppearance!==void 0&&(e.openTextAppearance=o.textAppearance),o.openLinkColor===void 0){const p=((c=(r=o.stateOverrides)==null?void 0:r.open)==null?void 0:c.openLinkColor)??((v=(g=o.stateOverrides)==null?void 0:g.open)==null?void 0:v.linkColor)??o.linkColor;p!==void 0&&(e.openLinkColor=p)}if(o.compactIconColor===void 0){const p=((x=(f=o.stateOverrides)==null?void 0:f.compact)==null?void 0:x.iconColor)??o.iconColor;p!==void 0&&(e.compactIconColor=p)}if(o.compactLinkColor===void 0){const p=((A=(L=o.stateOverrides)==null?void 0:L.compact)==null?void 0:A.linkColor)??o.linkColor;p!==void 0&&(e.compactLinkColor=p)}if(o.compactLogoColor===void 0){const p=((a=(S=o.stateOverrides)==null?void 0:S.compact)==null?void 0:a.logoColor)??o.logoColor;p!==void 0&&(e.compactLogoColor=p)}if(o.openLogoColor===void 0){const p=((z=($=o.stateOverrides)==null?void 0:$.open)==null?void 0:z.logoColor)??o.logoColor;p!==void 0&&(e.openLogoColor=p)}if(o.compactBackgroundColor===void 0){const p=((D=(G=o.stateOverrides)==null?void 0:G.compact)==null?void 0:D.backgroundColor)??((R=(X=t.stateOverrides)==null?void 0:X.compact)==null?void 0:R.panelColor)??t.compactPanelColor??t.onScrollPanelColor??o.backgroundColor??e.backgroundColor;p!==void 0&&(e.compactBackgroundColor=p)}o.logoMaxHeight===void 0&&o.logoMaxWidth!==void 0&&(e.logoMaxHeight=o.logoMaxWidth),o.compactLogoMaxHeight===void 0&&o.compactLogoMaxWidth!==void 0&&(e.compactLogoMaxHeight=o.compactLogoMaxWidth);const n=(p,Y)=>{if(o[p]!==void 0)return;const q=o[Y];q!==void 0&&(e[p]=q)};return n("compactLogoMaxHeight","logoMaxHeight"),n("compactLogoPosition","logoPosition"),n("compactPanelHeight","panelHeight"),n("compactShowIcon","showIcon"),n("compactIconSize","iconSize"),n("compactNavTextWidth","navTextWidth"),n("compactNavTextPosition","navTextPosition"),n("compactNavTextOffset","navTextOffset"),n("compactNavGap","navGap"),n("compactNavPaddingLeft","navPaddingLeft"),n("compactNavPaddingRight","navPaddingRight"),n("compactFontFamily","fontFamily"),n("compactFontSettings","fontSettings"),n("compactFontSize","fontSize"),n("compactLineHeight","lineHeight"),n("compactLetterSpacing","letterSpacing"),n("compactWordSpacing","wordSpacing"),n("compactTextAlign","textAlign"),n("compactTextAppearance","textAppearance"),Object.keys(e).length===0?o:{...o,...e}}function Bt(o,t){const e=At({textPaddingLeft:o.textPaddingLeft??0,textPaddingRight:o.textPaddingRight??0,textPaddingTop:o.textPaddingTop??0,textPaddingBottom:o.textPaddingBottom??0,fontSize:o.openFontSize??o.fontSize??t.openFontSize??t.fontSize}),n={};return(o.textPaddingLeft??0)!==e.effectivePaddingLeft&&(n.textPaddingLeft=e.effectivePaddingLeft),(o.textPaddingRight??0)!==e.effectivePaddingRight&&(n.textPaddingRight=e.effectivePaddingRight),(o.textPaddingTop??0)!==e.effectivePaddingTop&&(n.textPaddingTop=e.effectivePaddingTop),(o.textPaddingBottom??0)!==e.effectivePaddingBottom&&(n.textPaddingBottom=e.effectivePaddingBottom),Object.keys(n).length===0?o:{...o,...n}}function na(o,t){return{paddingLeft:N.scalingValue(o.effectivePaddingLeft,t),paddingRight:N.scalingValue(o.effectivePaddingRight,t),paddingTop:N.scalingValue(o.effectivePaddingTop,t),paddingBottom:N.scalingValue(o.effectivePaddingBottom,t)}}function aa(o,t,e,n){const r=Math.max(I,e??I),c=Math.max(t.effectivePaddingTop,V),g=Math.max(t.effectivePaddingBottom,V),v=Math.max(0,t.panelSize-t.effectivePaddingBottom-r),f=Math.max(0,t.panelSize-t.effectivePaddingTop-r),x=Math.max(t.effectivePaddingLeft,V),L=Math.max(t.effectivePaddingRight,V),A=Math.max(0,t.panelSize-t.effectivePaddingRight-I),S=Math.max(0,t.panelSize-t.effectivePaddingLeft-I);return l.jsxs(l.Fragment,{children:[l.jsx("div",{"data-controls":"textPaddingTop","data-controls-axis":"y","data-controls-variant":"row-padding","data-controls-min":"0","data-controls-max-fraction":String(v),className:`${o}-control-anchor`,style:{top:0,left:0,width:"100%",height:n(c)}}),l.jsx("div",{"data-controls":"textPaddingBottom","data-controls-axis":"y","data-controls-variant":"row-padding","data-controls-reverse":"","data-controls-min":"0","data-controls-max-fraction":String(f),className:`${o}-control-anchor`,style:{bottom:0,left:0,width:"100%",height:n(g)}}),l.jsx("div",{"data-controls":"textPaddingLeft","data-controls-axis":"x","data-controls-variant":"column-padding","data-controls-min":"0","data-controls-max-fraction":String(A),className:`${o}-control-anchor`,style:{top:0,left:0,width:n(x),height:"100%"}}),l.jsx("div",{"data-controls":"textPaddingRight","data-controls-axis":"x","data-controls-variant":"column-padding","data-controls-reverse":"","data-controls-min":"0","data-controls-max-fraction":String(S),className:`${o}-control-anchor`,style:{top:0,right:0,width:n(L),height:"100%"}})]})}const ra={iconColor:"icon-color",closeButtonColor:"close-button-color",linkColor:"link-color",openLinkColor:"menu-link-color",compactIconColor:"compact-icon-color",compactLinkColor:"compact-link-color",compactLogoColor:"compact-logo-color",compactBackgroundColor:"compact-background-color",openLogoColor:"open-logo-color",menuBackgroundColor:"menu-background-color",overlayColor:"overlay-color",backgroundColor:"background-color",logoColor:"logo-color"},ia=["hover","open"],ca={top:"flex-start",center:"center",bottom:"flex-end"},la={left:"flex-start",center:"center",right:"flex-end"};function sa(o){return`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),s=require("react"),N=require("./scalingValue-CSHYgTZl.js"),Rn=require("./buildColorVars-CE2D5cQV.js"),On=require("./useScopedStyles-Bf6yohVQ.js"),Hn=require("./useLightboxScrollLock-CmwKl-Vu.js"),gt=require("./textStylesToCss-CNN3zZTV.js"),Bo=require("./loadSvgMaskUrl-DfF7ay6h.js"),w=300,h=300,Fn=8/1440,V=.004,In=50,jn=1440,I=In/jn;function Mn(o){if(o==="default"||o==="compact"||o==="open")return o;if(o==="onScroll")return"compact"}function _n(o){return o==="center"||o==="right"?o:"left"}function Wn(o){return o==="left"||o==="right"?o:"center"}function En(o,t,e){const n=N.scalingValue(t,e);return o==="center"?`translateX(calc(-50% + ${n}))`:`translateX(${n})`}function Un(o,t){if(o&&typeof o=="object"){if(t&&typeof o[t]=="string")return o[t];for(const e in o)if(typeof o[e]=="string")return o[e];return}return o}function Io(o,t){const e=(Un(o,t)??"always").trim().toLowerCase().replace(/[_-]+/g," ");return e==="open only"||e==="openonly"?"open only":e==="default only"||e==="defaultonly"?"default only":e==="open and compact"||e==="openandcompact"?"open and compact":e==="default and open"||e==="defaultandopen"?"default and open":e==="default and compact"||e==="defaultandcompact"?"default and compact":"always"}function Vn(o,t,e){switch(Io(o.showIn,e)){case"open only":return!1;case"default only":return t==="default";case"open and compact":return t==="compact";case"default and compact":return!0;case"default and open":return t==="default";default:return!0}}function Gn(o,t){switch(Io(o.showIn,t)){case"default only":case"default and compact":return!1;default:return!0}}function Ct(o,t){return!Array.isArray(o)||o.length===0?!0:o.some(e=>Io(e==null?void 0:e.showIn,t)!=="default only")}function Dn(o){return(o==null?void 0:o.find(t=>t.slug===""))??(o==null?void 0:o[0])}function Xn(o,t){const e=o?t==null?void 0:t.find(n=>n.id===o):Dn(t);return!o&&!e?"":e?e.slug===""?"/":`/${e.slug}`:o.startsWith("/")||o.startsWith("#")||/^[a-z][a-z\d+\-.]*:/i.test(o)?o:t?`/${o}`:o}function pt(o){const t=(o??"").toLowerCase();return t==="blank"||t==="_blank"||t.includes("new")}function Oo(o){const t=o.link;if(t&&typeof t=="object"){const n=pt(t.target)?"_blank":void 0;if(t.type==="url")return{type:"url",value:t.value??t.url??"",target:n};if(t.type==="anchor")return{type:"anchor",value:t.value??"",target:n};if(t.type==="page")return{type:"page",value:t.value??"",target:n,anchor:t.anchor};if(t.type==="file")return{type:"file",value:t.value??""};if(typeof t.url=="string")return{type:"url",value:t.url,target:n,download:typeof t.download=="string"?t.download:void 0}}const e=pt(o.openIn)?"_blank":void 0;return o.mode==="url"?{type:"url",value:o.url??"",target:e}:{type:"page",value:o.page??"",target:e,anchor:o.anchor}}function Yn(o){return/^[a-z][a-z\d+\-.]*:/i.test(o)||o.startsWith("/")||o.startsWith("#")?o:`https://${o}`}function Ho(o,t){const e=o.label||"Link",n=Oo(o);if(n.type==="url")return{label:e,href:n.value,target:n.target,download:n.download};if(n.type==="file")return{label:e,href:n.value?"#":"",target:"_blank"};if(n.type==="anchor"){const v=n.value.replace(/^#/,"");return{label:e,href:v?`#${v}`:"",target:n.target}}const r=Xn(n.value,t),c=(n.anchor??"").replace(/^#/,""),g=c?r?`${r}#${c}`:`#${c}`:r;return{label:e,href:g,target:n.target}}const H=24,O=H*.125,Tt=H*.125,Ro=(H-(3*O+2*Tt))/2,vt=O+Tt;function qn({className:o,lineClassName:t}){return l.jsxs("svg",{className:o,viewBox:`0 0 ${H} ${H}`,"aria-hidden":"true",children:[l.jsx("rect",{className:`${t} ${t}-top`,x:"0",y:Ro,width:H,height:O,rx:O/2}),l.jsx("rect",{className:`${t} ${t}-mid`,x:"0",y:Ro+vt,width:H,height:O,rx:O/2}),l.jsx("rect",{className:`${t} ${t}-bot`,x:"0",y:Ro+2*vt,width:H,height:O,rx:O/2})]})}function Kn(o,t,e,n){return t!==void 0&&t<(o??.01)?`${e} ${n}`:e}function Zn(o,t,e,n){const r=o??.01;return t===void 0||t>=r?{}:{[`--${e}-text-leading-gap`]:N.scalingValue((r-t)/2,n)}}const Nt=.004;let eo;function Jn(){return eo!==void 0?eo:typeof document>"u"?(eo=null,null):(eo=document.createElement("canvas").getContext("2d"),eo)}function Qn(o){const t=getComputedStyle(o),e=parseFloat(t.fontSize)||0;if(e<=0)return 0;const n=Jn();if(!n)return 0;n.font=`${t.fontStyle} ${t.fontWeight} ${e}px ${t.fontFamily}`;const r=n.measureText("H"),c=r.actualBoundingBoxAscent>0?r.actualBoundingBoxAscent:0,g=Math.max(0,r.actualBoundingBoxDescent||0),v=r.fontBoundingBoxAscent||0,f=r.fontBoundingBoxDescent||0;return c<=0||v<=0&&f<=0?0:(f-g-(v-c))/2/e}function ht(o,t){const[e,n]=s.useState(0);return s.useLayoutEffect(()=>{const r=o.current;if(!r)return;const c=()=>{const f=Qn(r);n(x=>Math.abs(x-f)<Nt?x:f)};c();const g=document.fonts;g.ready.then(c).catch(()=>{}),g.addEventListener("loadingdone",c);const v=new ResizeObserver(c);return v.observe(r),()=>{g.removeEventListener("loadingdone",c),v.disconnect()}},[o,t]),e}function ut(o){if(!(Math.abs(o)<Nt))return`translateY(${o}em)`}function $t(o){var t,e;return[o.fontFamily??"",((t=o.fontSettings)==null?void 0:t.fontWeight)??400,((e=o.fontSettings)==null?void 0:e.fontStyle)??"normal",o.fontSize??"",o.lineHeight??""].join("\0")}function mt(o){return{fontFamily:o.fontFamily,fontWeight:o.fontWeight,fontStyle:o.fontStyle,fontSize:o.fontSize,lineHeight:o.lineHeight,position:"absolute",top:0,left:0,visibility:"hidden",pointerEvents:"none",whiteSpace:"nowrap"}}function xt(o,t={}){return{fontFamily:o.fontFamily??t.fontFamily,fontSettings:o.fontSettings??t.fontSettings,fontSize:o.fontSize??t.fontSize,lineHeight:o.lineHeight??t.lineHeight,letterSpacing:o.letterSpacing??t.letterSpacing??0,wordSpacing:o.wordSpacing??t.wordSpacing??0,textAlign:o.textAlign??t.textAlign??"left",textAppearance:o.textAppearance??t.textAppearance}}function kt(o,t,e){var r,c;const n={fontSettings:{fontFamily:t.fontFamily,fontWeight:((r=t.fontSettings)==null?void 0:r.fontWeight)??400,fontStyle:((c=t.fontSettings)==null?void 0:c.fontStyle)??"normal"},fontSize:t.fontSize??.01,lineHeight:t.lineHeight,letterSpacing:t.letterSpacing??0,wordSpacing:t.wordSpacing??0,textAlign:t.textAlign,textAppearance:t.textAppearance,color:""};return{css:{...gt.omitTextColors(gt.textStylesToCss(n,e)),...Zn(t.fontSize,t.lineHeight,o,e)},className:Kn(t.fontSize,t.lineHeight,`${o}-link-text`,`${o}-text-tight-leading`)}}function bt(o){const t=o.split(/\r?\n/);return t.length===1?o:t.map((e,n)=>l.jsxs(s.Fragment,{children:[e,n<t.length-1?l.jsx("br",{}):null]},n))}function St(o,t,e,n){const r=Math.max(0,e-n),c=o+t;if(c<=r||c<=0)return{start:o,end:t};const g=r/c;return{start:o*g,end:t*g}}function At(o){const e=Math.max(I,o.fontSize??I),{start:n,end:r}=St(o.textPaddingTop,o.textPaddingBottom,1,e),{start:c,end:g}=St(o.textPaddingLeft,o.textPaddingRight,1,I);return{effectivePaddingLeft:c,effectivePaddingRight:g,effectivePaddingTop:n,effectivePaddingBottom:r,panelSize:1}}function Pn(o){if(o==="center"||o==="center-center")return{horizontalAlign:"center",verticalAlign:"center"};const[t,e]=o.split("-");return{horizontalAlign:t,verticalAlign:e}}function oa(o){return o.position?Pn(o.position):{horizontalAlign:o.horizontalAlign??"left",verticalAlign:o.verticalAlign??"top"}}function ta(o,t){return o.textPaddingLeft!==t.textPaddingLeft||o.textPaddingRight!==t.textPaddingRight||o.textPaddingTop!==t.textPaddingTop||o.textPaddingBottom!==t.textPaddingBottom}const ea=[["onScrollIconColor","compactIconColor"],["onScrollLinkColor","compactLinkColor"],["onScrollLogoColor","compactLogoColor"],["onScrollBackgroundColor","compactBackgroundColor"],["onScrollPanelColor","compactBackgroundColor"],["onScrollLogoMaxWidth","compactLogoMaxWidth"],["onScrollLogoMaxHeight","compactLogoMaxHeight"],["onScrollLogoPosition","compactLogoPosition"],["onScrollPanelHeight","compactPanelHeight"],["onScrollIconSize","compactIconSize"],["onScrollNavTextWidth","compactNavTextWidth"],["onScrollNavGap","compactNavGap"],["onScrollNavPaddingLeft","compactNavPaddingLeft"],["onScrollNavPaddingRight","compactNavPaddingRight"],["onScrollFontFamily","compactFontFamily"],["onScrollFontSettings","compactFontSettings"],["onScrollFontSize","compactFontSize"],["onScrollLineHeight","compactLineHeight"],["onScrollLetterSpacing","compactLetterSpacing"],["onScrollWordSpacing","compactWordSpacing"],["onScrollTextAlign","compactTextAlign"],["onScrollTextAppearance","compactTextAppearance"]];function zt(o){var r,c;const t=o,e={};for(const[g,v]of ea)o[v]!==void 0||t[g]===void 0||(e[v]=t[g]);const n=t.stateOverrides;return n&&(n.onScroll!==void 0||n["onScroll-hover"]!==void 0)&&(e.stateOverrides={...o.stateOverrides},n.onScroll!==void 0&&((r=o.stateOverrides)==null?void 0:r.compact)===void 0&&(e.stateOverrides.compact=n.onScroll),n["onScroll-hover"]!==void 0&&((c=o.stateOverrides)==null?void 0:c["compact-hover"])===void 0&&(e.stateOverrides["compact-hover"]=n["onScroll-hover"])),Object.keys(e).length===0?o:{...o,...e}}function yt(o){var r,c,g,v,f,x,L,A,S,a,$,z,G,D,X,R;o=zt(o);const t=o,e={};if(o.backgroundColor===void 0&&t.panelColor!==void 0&&(e.backgroundColor=t.panelColor),o.openFontFamily===void 0&&o.fontFamily!==void 0&&(e.openFontFamily=o.fontFamily),o.openFontSettings===void 0&&o.fontSettings!==void 0&&(e.openFontSettings=o.fontSettings),o.openFontSize===void 0&&o.fontSize!==void 0&&(e.openFontSize=o.fontSize),o.openLineHeight===void 0&&o.lineHeight!==void 0&&(e.openLineHeight=o.lineHeight),o.openLetterSpacing===void 0&&o.letterSpacing!==void 0&&(e.openLetterSpacing=o.letterSpacing),o.openWordSpacing===void 0&&o.wordSpacing!==void 0&&(e.openWordSpacing=o.wordSpacing),o.openTextAlign===void 0&&o.textAlign!==void 0&&(e.openTextAlign=o.textAlign),o.openTextAppearance===void 0&&o.textAppearance!==void 0&&(e.openTextAppearance=o.textAppearance),o.openLinkColor===void 0){const p=((c=(r=o.stateOverrides)==null?void 0:r.open)==null?void 0:c.openLinkColor)??((v=(g=o.stateOverrides)==null?void 0:g.open)==null?void 0:v.linkColor)??o.linkColor;p!==void 0&&(e.openLinkColor=p)}if(o.compactIconColor===void 0){const p=((x=(f=o.stateOverrides)==null?void 0:f.compact)==null?void 0:x.iconColor)??o.iconColor;p!==void 0&&(e.compactIconColor=p)}if(o.compactLinkColor===void 0){const p=((A=(L=o.stateOverrides)==null?void 0:L.compact)==null?void 0:A.linkColor)??o.linkColor;p!==void 0&&(e.compactLinkColor=p)}if(o.compactLogoColor===void 0){const p=((a=(S=o.stateOverrides)==null?void 0:S.compact)==null?void 0:a.logoColor)??o.logoColor;p!==void 0&&(e.compactLogoColor=p)}if(o.openLogoColor===void 0){const p=((z=($=o.stateOverrides)==null?void 0:$.open)==null?void 0:z.logoColor)??o.logoColor;p!==void 0&&(e.openLogoColor=p)}if(o.compactBackgroundColor===void 0){const p=((D=(G=o.stateOverrides)==null?void 0:G.compact)==null?void 0:D.backgroundColor)??((R=(X=t.stateOverrides)==null?void 0:X.compact)==null?void 0:R.panelColor)??t.compactPanelColor??t.onScrollPanelColor??o.backgroundColor??e.backgroundColor;p!==void 0&&(e.compactBackgroundColor=p)}o.logoMaxHeight===void 0&&o.logoMaxWidth!==void 0&&(e.logoMaxHeight=o.logoMaxWidth),o.compactLogoMaxHeight===void 0&&o.compactLogoMaxWidth!==void 0&&(e.compactLogoMaxHeight=o.compactLogoMaxWidth);const n=(p,Y)=>{if(o[p]!==void 0)return;const q=o[Y];q!==void 0&&(e[p]=q)};return n("compactLogoMaxHeight","logoMaxHeight"),n("compactLogoPosition","logoPosition"),n("compactPanelHeight","panelHeight"),n("compactShowIcon","showIcon"),n("compactIconSize","iconSize"),n("compactNavTextWidth","navTextWidth"),n("compactNavTextPosition","navTextPosition"),n("compactNavTextOffset","navTextOffset"),n("compactNavGap","navGap"),n("compactNavPaddingLeft","navPaddingLeft"),n("compactNavPaddingRight","navPaddingRight"),n("compactFontFamily","fontFamily"),n("compactFontSettings","fontSettings"),n("compactFontSize","fontSize"),n("compactLineHeight","lineHeight"),n("compactLetterSpacing","letterSpacing"),n("compactWordSpacing","wordSpacing"),n("compactTextAlign","textAlign"),n("compactTextAppearance","textAppearance"),Object.keys(e).length===0?o:{...o,...e}}function Bt(o,t){const e=At({textPaddingLeft:o.textPaddingLeft??0,textPaddingRight:o.textPaddingRight??0,textPaddingTop:o.textPaddingTop??0,textPaddingBottom:o.textPaddingBottom??0,fontSize:o.openFontSize??o.fontSize??t.openFontSize??t.fontSize}),n={};return(o.textPaddingLeft??0)!==e.effectivePaddingLeft&&(n.textPaddingLeft=e.effectivePaddingLeft),(o.textPaddingRight??0)!==e.effectivePaddingRight&&(n.textPaddingRight=e.effectivePaddingRight),(o.textPaddingTop??0)!==e.effectivePaddingTop&&(n.textPaddingTop=e.effectivePaddingTop),(o.textPaddingBottom??0)!==e.effectivePaddingBottom&&(n.textPaddingBottom=e.effectivePaddingBottom),Object.keys(n).length===0?o:{...o,...n}}function na(o,t){return{paddingLeft:N.scalingValue(o.effectivePaddingLeft,t),paddingRight:N.scalingValue(o.effectivePaddingRight,t),paddingTop:N.scalingValue(o.effectivePaddingTop,t),paddingBottom:N.scalingValue(o.effectivePaddingBottom,t)}}function aa(o,t,e,n){const r=Math.max(I,e??I),c=Math.max(t.effectivePaddingTop,V),g=Math.max(t.effectivePaddingBottom,V),v=Math.max(0,t.panelSize-t.effectivePaddingBottom-r),f=Math.max(0,t.panelSize-t.effectivePaddingTop-r),x=Math.max(t.effectivePaddingLeft,V),L=Math.max(t.effectivePaddingRight,V),A=Math.max(0,t.panelSize-t.effectivePaddingRight-I),S=Math.max(0,t.panelSize-t.effectivePaddingLeft-I);return l.jsxs(l.Fragment,{children:[l.jsx("div",{"data-controls":"textPaddingTop","data-controls-axis":"y","data-controls-variant":"row-padding","data-controls-min":"0","data-controls-max-fraction":String(v),className:`${o}-control-anchor`,style:{top:0,left:0,width:"100%",height:n(c)}}),l.jsx("div",{"data-controls":"textPaddingBottom","data-controls-axis":"y","data-controls-variant":"row-padding","data-controls-reverse":"","data-controls-min":"0","data-controls-max-fraction":String(f),className:`${o}-control-anchor`,style:{bottom:0,left:0,width:"100%",height:n(g)}}),l.jsx("div",{"data-controls":"textPaddingLeft","data-controls-axis":"x","data-controls-variant":"column-padding","data-controls-min":"0","data-controls-max-fraction":String(A),className:`${o}-control-anchor`,style:{top:0,left:0,width:n(x),height:"100%"}}),l.jsx("div",{"data-controls":"textPaddingRight","data-controls-axis":"x","data-controls-variant":"column-padding","data-controls-reverse":"","data-controls-min":"0","data-controls-max-fraction":String(S),className:`${o}-control-anchor`,style:{top:0,right:0,width:n(L),height:"100%"}})]})}const ra={iconColor:"icon-color",closeButtonColor:"close-button-color",linkColor:"link-color",openLinkColor:"menu-link-color",compactIconColor:"compact-icon-color",compactLinkColor:"compact-link-color",compactLogoColor:"compact-logo-color",compactBackgroundColor:"compact-background-color",openLogoColor:"open-logo-color",menuBackgroundColor:"menu-background-color",overlayColor:"overlay-color",backgroundColor:"background-color",logoColor:"logo-color"},ia=["hover","open"],ca={top:"flex-start",center:"center",bottom:"flex-end"},la={left:"flex-start",center:"center",right:"flex-end"};function sa(o){return`
2
2
  .${o}-root {
3
3
  position: relative;
4
4
  display: block;
@@ -7,7 +7,7 @@ import { b as Dt } from "./buildColorVars-CLyWQm5K.mjs";
7
7
  import { u as Kt } from "./useScopedStyles-DhBG3557.mjs";
8
8
  import { b as Ut } from "./buildValidUrl-BbtqqeHr.mjs";
9
9
  import { o as Je, t as Qe } from "./textStylesToCss-05Mn6I_2.mjs";
10
- import { u as Yt } from "./useLightboxScrollLock-VQ07s7EJ.mjs";
10
+ import { u as Yt } from "./useLightboxScrollLock-CjSZPvqJ.mjs";
11
11
  const Gt = ["title2", "title3", "title4"], j = ["column1Width", "column2Width", "column3Width", "column4Width"], Xt = ["column1", "column2", "column3", "column4", "column5"], ue = ["group", "title", ...Gt], ho = ["A", "B", "C", "D", "E"], qt = Object.fromEntries(
12
12
  ue.map((e, n) => [e, Xt[n]])
13
13
  );
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),s=require("react"),At=require("react-dom"),x=require("classnames"),kt=require("./scalingValue-CSHYgTZl.js"),zt=require("./buildColorVars-CE2D5cQV.js"),Ft=require("./useScopedStyles-Bf6yohVQ.js"),Wt=require("./buildValidUrl-CtJWFCPi.js"),X=require("./textStylesToCss-CNN3zZTV.js"),Ut=require("./useLightboxScrollLock-Hf16Eq4g.js"),Ze=["title2","title3","title4"],j=["column1Width","column2Width","column3Width","column4Width"],Je=["column1","column2","column3","column4","column5"],G=["group","title",...Ze],Vt=["A","B","C","D","E"],Qe=Object.fromEntries(G.map((e,n)=>[e,Je[n]]));function Z(e){const n=Array.isArray(e)?e.filter(o=>G.includes(o)):[];return[...new Set([...n,...G])]}const Pe={center:{x:"50%",y:"50%"},"left-top":{x:"0%",y:"0%"},"top-center":{x:"50%",y:"0%"},"top-right":{x:"100%",y:"0%"},"left-center":{x:"0%",y:"50%"},"right-center":{x:"100%",y:"50%"},"left-bottom":{x:"0%",y:"100%"},"bottom-center":{x:"50%",y:"100%"},"right-bottom":{x:"100%",y:"100%"}},Yt=Object.keys(Pe),F=300,ae=300,J=.004,Bt=20,De=/\.(mp4|webm|ogg|mov)(\?|$)/i,et=["--cntrl-article-width","--cntrl-article-top","--cntrl-article-left","--cntrl-viewport-height"],Kt={triggerColor:"trigger-color",triggerHoverColor:"trigger-hover-color",closeColor:"close-color",closeHoverColor:"close-hover-color",panelColor:"panel-color",textColor:"text-color",textHoverColor:"text-hover-color",overlayColor:"overlay-color"},qt=[{side:"top",axis:"y",variant:"row-padding"},{side:"bottom",axis:"y",variant:"row-padding"},{side:"left",axis:"x",variant:"column-padding",opposite:"right"},{side:"right",axis:"x",variant:"column-padding",opposite:"left",reverse:!0}];function tt({columns:e,columnGap:n,panelWidth:o,panelPadding:i}){return Math.max(0,o-i.left-i.right-(e-1)*n)}function ot(e){const n=tt(e)/e.columns;return Object.fromEntries(j.slice(0,e.columns-1).map(o=>[o,n]))}function Dt(e,n){const o={...n,...e};if(typeof e.columns=="number"&&e.columns!==n.columns)return{...e,...ot(o)};const i=Z(e.columnsOrder),a=Z(n.columnsOrder);if(typeof o.columns!="number"||i.every((g,h)=>g===a[h]))return e;const u=nt(o),p=a.slice(0,o.columns),m=i.slice(0,o.columns),r=p.flatMap((g,h)=>m.includes(g)?[]:[u[h]]),E=m.map(g=>{const h=p.indexOf(g);return h>=0?u[h]:r.shift()??0});return{...e,...Object.fromEntries(j.slice(0,o.columns-1).map((g,h)=>[g,E[h]]))}}function nt(e){const n=tt(e),o=j.slice(0,e.columns-1).map(u=>{const p=e[u];return typeof p=="number"?Math.max(0,p):n/e.columns}),i=o.reduce((u,p)=>u+p,0),a=i>n?n/i:1;return[...o.map(u=>u*a),Math.max(0,n-i*a)]}function Xt(e){const n=e.reduce((o,i)=>o+i,0);return e.map(o=>`minmax(0, ${n>0?o/n*100:1}fr)`).join(" ")}function Gt(e,n){const o=[];return e.forEach((i,a)=>{var m;const u=((m=i[n])==null?void 0:m.trim())??"",p=o[o.length-1];if(!p||u!==""&&u!==p.label){o.push({label:u,rows:[{item:i,index:a}]});return}p.rows.push({item:i,index:a})}),o}function z(e){return((e==null?void 0:e.image)??[]).filter(n=>!!(n!=null&&n.assetId))}function Xe(e,n,o){return`${e}-${n}-${o}`}function rt({type:e,name:n,assetId:o}){return e?e==="video":De.test(n??"")||De.test(o)}function st(e){const n=e?getComputedStyle(e).getPropertyValue("--cntrl-article-width").trim():"";if(!n)return e;let o=e;for(let i=o.parentElement;i&&getComputedStyle(i).getPropertyValue("--cntrl-article-width").trim()===n;i=i.parentElement)o=i;return o}function le(e){const n=st(e);if(!n)return{};const o=getComputedStyle(n);return Object.fromEntries(et.map(i=>[i,o.getPropertyValue(i).trim()]).filter(([,i])=>i))}function Ge(e,n){const o=i=>e[`${n}${i}`];return{fontSettings:{fontFamily:o("FontFamily"),...o("FontSettings")},fontSize:o("FontSize"),lineHeight:o("LineHeight"),letterSpacing:o("LetterSpacing"),wordSpacing:o("WordSpacing"),textAlign:o("TextAlign"),textAppearance:o("TextAppearance"),color:"#000000"}}function Zt(e){return`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),s=require("react"),At=require("react-dom"),x=require("classnames"),kt=require("./scalingValue-CSHYgTZl.js"),zt=require("./buildColorVars-CE2D5cQV.js"),Ft=require("./useScopedStyles-Bf6yohVQ.js"),Wt=require("./buildValidUrl-CtJWFCPi.js"),X=require("./textStylesToCss-CNN3zZTV.js"),Ut=require("./useLightboxScrollLock-CmwKl-Vu.js"),Ze=["title2","title3","title4"],j=["column1Width","column2Width","column3Width","column4Width"],Je=["column1","column2","column3","column4","column5"],G=["group","title",...Ze],Vt=["A","B","C","D","E"],Qe=Object.fromEntries(G.map((e,n)=>[e,Je[n]]));function Z(e){const n=Array.isArray(e)?e.filter(o=>G.includes(o)):[];return[...new Set([...n,...G])]}const Pe={center:{x:"50%",y:"50%"},"left-top":{x:"0%",y:"0%"},"top-center":{x:"50%",y:"0%"},"top-right":{x:"100%",y:"0%"},"left-center":{x:"0%",y:"50%"},"right-center":{x:"100%",y:"50%"},"left-bottom":{x:"0%",y:"100%"},"bottom-center":{x:"50%",y:"100%"},"right-bottom":{x:"100%",y:"100%"}},Yt=Object.keys(Pe),F=300,ae=300,J=.004,Bt=20,De=/\.(mp4|webm|ogg|mov)(\?|$)/i,et=["--cntrl-article-width","--cntrl-article-top","--cntrl-article-left","--cntrl-viewport-height"],Kt={triggerColor:"trigger-color",triggerHoverColor:"trigger-hover-color",closeColor:"close-color",closeHoverColor:"close-hover-color",panelColor:"panel-color",textColor:"text-color",textHoverColor:"text-hover-color",overlayColor:"overlay-color"},qt=[{side:"top",axis:"y",variant:"row-padding"},{side:"bottom",axis:"y",variant:"row-padding"},{side:"left",axis:"x",variant:"column-padding",opposite:"right"},{side:"right",axis:"x",variant:"column-padding",opposite:"left",reverse:!0}];function tt({columns:e,columnGap:n,panelWidth:o,panelPadding:i}){return Math.max(0,o-i.left-i.right-(e-1)*n)}function ot(e){const n=tt(e)/e.columns;return Object.fromEntries(j.slice(0,e.columns-1).map(o=>[o,n]))}function Dt(e,n){const o={...n,...e};if(typeof e.columns=="number"&&e.columns!==n.columns)return{...e,...ot(o)};const i=Z(e.columnsOrder),a=Z(n.columnsOrder);if(typeof o.columns!="number"||i.every((g,h)=>g===a[h]))return e;const u=nt(o),p=a.slice(0,o.columns),m=i.slice(0,o.columns),r=p.flatMap((g,h)=>m.includes(g)?[]:[u[h]]),E=m.map(g=>{const h=p.indexOf(g);return h>=0?u[h]:r.shift()??0});return{...e,...Object.fromEntries(j.slice(0,o.columns-1).map((g,h)=>[g,E[h]]))}}function nt(e){const n=tt(e),o=j.slice(0,e.columns-1).map(u=>{const p=e[u];return typeof p=="number"?Math.max(0,p):n/e.columns}),i=o.reduce((u,p)=>u+p,0),a=i>n?n/i:1;return[...o.map(u=>u*a),Math.max(0,n-i*a)]}function Xt(e){const n=e.reduce((o,i)=>o+i,0);return e.map(o=>`minmax(0, ${n>0?o/n*100:1}fr)`).join(" ")}function Gt(e,n){const o=[];return e.forEach((i,a)=>{var m;const u=((m=i[n])==null?void 0:m.trim())??"",p=o[o.length-1];if(!p||u!==""&&u!==p.label){o.push({label:u,rows:[{item:i,index:a}]});return}p.rows.push({item:i,index:a})}),o}function z(e){return((e==null?void 0:e.image)??[]).filter(n=>!!(n!=null&&n.assetId))}function Xe(e,n,o){return`${e}-${n}-${o}`}function rt({type:e,name:n,assetId:o}){return e?e==="video":De.test(n??"")||De.test(o)}function st(e){const n=e?getComputedStyle(e).getPropertyValue("--cntrl-article-width").trim():"";if(!n)return e;let o=e;for(let i=o.parentElement;i&&getComputedStyle(i).getPropertyValue("--cntrl-article-width").trim()===n;i=i.parentElement)o=i;return o}function le(e){const n=st(e);if(!n)return{};const o=getComputedStyle(n);return Object.fromEntries(et.map(i=>[i,o.getPropertyValue(i).trim()]).filter(([,i])=>i))}function Ge(e,n){const o=i=>e[`${n}${i}`];return{fontSettings:{fontFamily:o("FontFamily"),...o("FontSettings")},fontSize:o("FontSize"),lineHeight:o("LineHeight"),letterSpacing:o("LetterSpacing"),wordSpacing:o("WordSpacing"),textAlign:o("TextAlign"),textAppearance:o("TextAppearance"),color:"#000000"}}function Zt(e){return`
2
2
  .${e}-trigger,
3
3
  .${e}-close {
4
4
  display: inline-block;
@@ -9,18 +9,18 @@ import { Hive as At } from "./Hive-DyxYd5eg.mjs";
9
9
  import { J as F, w as i, x as gt, y as ut, z as kt } from "./utils-FxC9rcxw.mjs";
10
10
  import { createListTextStylePanelTab as zt, LIST_TEXT_STYLE_PREFIXES as B, applyListColumnCountChange as Et, List as Bt, getListColumnTextSettingKey as l, COLUMN_TEXT_PREFIXES as _t, COLUMN_CONTENT_KEYS as _, normalizeListColumnVerticalAlign as Dt, CUT_LABEL_TEXT_PREFIX as D, COLUMN_VALIGN_BASIC_OPTIONS as q } from "./List-Bh_-l9vD.mjs";
11
11
  import { FAQ as Rt } from "./FAQ-CJHCMSBa.mjs";
12
- import { STRIP_TEXT_STYLE_PREFIXES as I, createStripTextStylePanelTab as jt, LightboxStrip as Nt, getStripTextStyleSettingKey as p } from "./LightboxStrip-Cuhb2fIR.mjs";
13
- import { LightboxJournal as Gt } from "./LightboxJournal-BDUs6T0B.mjs";
12
+ import { STRIP_TEXT_STYLE_PREFIXES as I, createStripTextStylePanelTab as jt, LightboxStrip as Nt, getStripTextStyleSettingKey as p } from "./LightboxStrip-GwaY8uLD.mjs";
13
+ import { LightboxJournal as Gt } from "./LightboxJournal-By2sN-Ix.mjs";
14
14
  import { ClickGallerie as Qt } from "./ClickGallerie-Cjc_1Gxy.mjs";
15
15
  import { Scale as Ot } from "./Scale-TnkWtRrs.mjs";
16
16
  import { SimpleButton as Xt } from "./SimpleButton-GXckV2Tj.mjs";
17
17
  import { Waterfall as Vt } from "./Waterfall-3kKioKh2.mjs";
18
- import { Slider20 as $t } from "./Slider20-C2o_EB1I.mjs";
18
+ import { Slider20 as $t } from "./Slider20-DUi6qwnd.mjs";
19
19
  import { Mercury as qt } from "./Mercury-CCW0Es-s.mjs";
20
20
  import { Helix as Kt } from "./Helix-CidI3ucE.mjs";
21
- import { Burger as Yt, isBurgerOpenMenuAvailable as Jt } from "./Burger-C8JIQQwm.mjs";
21
+ import { Burger as Yt, isBurgerOpenMenuAvailable as Jt } from "./Burger-BKeZH3HS.mjs";
22
22
  import { settingsForEditablePreset as dt, SHAPE_IDS as ht, Pretext as Zt } from "./Pretext-10CcyP1E.mjs";
23
- import { CHRONICLES_COLUMN_STYLE_PREFIXES as bt, CHRONICLES_PANEL_POSITIONS as Ut, CHRONICLES_COLUMN_KEYS as h, CHRONICLES_COLUMN_LETTERS as K, applyChroniclesLayoutSettingsChange as te, Chronicles as ee, CHRONICLES_COLUMN_STYLE_PREFIX_BY_KEY as ft, getChroniclesEqualColumnWidths as ie, CHRONICLES_COLUMN_WIDTH_KEYS as oe, CHRONICLES_EXTRA_TITLE_KEYS as St } from "./Chronicles-BNvvaFYY.mjs";
23
+ import { CHRONICLES_COLUMN_STYLE_PREFIXES as bt, CHRONICLES_PANEL_POSITIONS as Ut, CHRONICLES_COLUMN_KEYS as h, CHRONICLES_COLUMN_LETTERS as K, applyChroniclesLayoutSettingsChange as te, Chronicles as ee, CHRONICLES_COLUMN_STYLE_PREFIX_BY_KEY as ft, getChroniclesEqualColumnWidths as ie, CHRONICLES_COLUMN_WIDTH_KEYS as oe, CHRONICLES_EXTRA_TITLE_KEYS as St } from "./Chronicles-BXfNFANB.mjs";
24
24
  const ne = [
25
25
  { name: "name", type: "text", placeholder: "Enter your name", label: "Name", isRequired: !1, error: "Please, enter your name." },
26
26
  { name: "email", type: "email", placeholder: "Enter your email", label: "Email", isRequired: !0, error: "Please, enter a valid e-mail." },
@@ -8935,21 +8935,6 @@ const hi = {
8935
8935
  title: "Transition",
8936
8936
  display: { type: "toggle-cycle", enum: ["slide", "fade in", "reveal"] }
8937
8937
  },
8938
- imageCorners: {
8939
- type: "number",
8940
- scope: "layout",
8941
- title: "Round corners",
8942
- min: 0,
8943
- display: { type: "numeric-input" }
8944
- },
8945
- transitionSpeed: {
8946
- type: "number",
8947
- scope: "common",
8948
- title: "Speed",
8949
- display: { type: "speed-control" },
8950
- min: 0,
8951
- max: 2
8952
- },
8953
8938
  nav: {
8954
8939
  type: "string",
8955
8940
  scope: "common",
@@ -9117,7 +9102,6 @@ const hi = {
9117
9102
  },
9118
9103
  direction: "horizontal",
9119
9104
  transition: "slide",
9120
- transitionSpeed: 1,
9121
9105
  nav: "classic",
9122
9106
  controls: null,
9123
9107
  show: "always",
@@ -9150,8 +9134,7 @@ const hi = {
9150
9134
  titleFontSize: 16 / 1440,
9151
9135
  titleLineHeight: 16 / 1440,
9152
9136
  navSize: "m",
9153
- navUnit: 1 / 1440,
9154
- imageCorners: 0
9137
+ navUnit: 1 / 1440
9155
9138
  },
9156
9139
  t: {
9157
9140
  controlsMaxWidth: 30 / 768,
@@ -9161,8 +9144,7 @@ const hi = {
9161
9144
  titleFontSize: 16 / 768,
9162
9145
  titleLineHeight: 16 / 768,
9163
9146
  navSize: "m",
9164
- navUnit: 1 / 768,
9165
- imageCorners: 0
9147
+ navUnit: 1 / 768
9166
9148
  },
9167
9149
  m: {
9168
9150
  controlsMaxWidth: 30 / 375,
@@ -9172,8 +9154,7 @@ const hi = {
9172
9154
  titleFontSize: 16 / 375,
9173
9155
  titleLineHeight: 16 / 375,
9174
9156
  navSize: "m",
9175
- navUnit: 1 / 375,
9176
- imageCorners: 0
9157
+ navUnit: 1 / 375
9177
9158
  }
9178
9159
  },
9179
9160
  displayRules: [
@@ -9207,8 +9188,6 @@ const hi = {
9207
9188
  "trigger",
9208
9189
  "direction",
9209
9190
  "transition",
9210
- "transitionSpeed",
9211
- "imageCorners",
9212
9191
  "nav",
9213
9192
  "navSize",
9214
9193
  "controls",
@@ -9232,9 +9211,8 @@ const hi = {
9232
9211
  layout: [
9233
9212
  "__componentName__",
9234
9213
  { type: "row", title: "", items: ["trigger", "direction"] },
9235
- { type: "row", title: "", items: ["transition", "transitionSpeed"] },
9236
- { type: "row", title: "", items: ["nav", "navSize"] },
9237
- { type: "row", title: "Image", items: ["imageCorners"] },
9214
+ { type: "row", title: "", items: ["transition", "nav"] },
9215
+ { type: "row", title: "", items: ["navSize"] },
9238
9216
  {
9239
9217
  type: "group",
9240
9218
  title: "Controls",
@@ -9292,12 +9270,12 @@ const hi = {
9292
9270
  label: "Image",
9293
9271
  contentKey: "gallery",
9294
9272
  display: {
9295
- type: "media-input",
9296
- isObjectFitEditable: !1
9273
+ type: "media-input"
9297
9274
  },
9298
9275
  properties: {
9299
9276
  assetId: { type: "string" },
9300
- name: { type: "string" }
9277
+ name: { type: "string" },
9278
+ objectFit: { type: "string", enum: ["cover", "contain"] }
9301
9279
  },
9302
9280
  required: ["assetId", "name"]
9303
9281
  },
@@ -9313,6 +9291,7 @@ const hi = {
9313
9291
  default: [
9314
9292
  {
9315
9293
  image: {
9294
+ objectFit: "cover",
9316
9295
  assetId: "01M3QM74XESYN1HRYH9VRTZ5CK"
9317
9296
  },
9318
9297
  imageCaption: [
@@ -9321,6 +9300,7 @@ const hi = {
9321
9300
  },
9322
9301
  {
9323
9302
  image: {
9303
+ objectFit: "cover",
9324
9304
  assetId: "01M3QM74XERA3G7J0J00XVKEXX"
9325
9305
  },
9326
9306
  imageCaption: [
@@ -9329,6 +9309,7 @@ const hi = {
9329
9309
  },
9330
9310
  {
9331
9311
  image: {
9312
+ objectFit: "cover",
9332
9313
  assetId: "01M3QM74XEE2101QD8PM6E4JSA"
9333
9314
  },
9334
9315
  imageCaption: [
@@ -9337,6 +9318,7 @@ const hi = {
9337
9318
  },
9338
9319
  {
9339
9320
  image: {
9321
+ objectFit: "cover",
9340
9322
  assetId: "01M3QM74XEVZ9F59FC7M9BA63Q"
9341
9323
  },
9342
9324
  imageCaption: [
@@ -9345,6 +9327,7 @@ const hi = {
9345
9327
  },
9346
9328
  {
9347
9329
  image: {
9330
+ objectFit: "cover",
9348
9331
  assetId: "01M3QM74XEGBJMJ7Q63KMZY6NA"
9349
9332
  },
9350
9333
  imageCaption: [