@cincoders/cinnamon 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cinnamon.esm.js +1 -1
- package/dist/cinnamon.min.js +1 -1
- package/dist/cinnamon.ssr.js +1 -1
- package/package.json +1 -1
package/dist/cinnamon.esm.js
CHANGED
|
@@ -196,7 +196,7 @@ function Ha(e,t){const n=Za(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
196
196
|
text-transform: none;
|
|
197
197
|
text-decoration: none;
|
|
198
198
|
min-width: 100%;
|
|
199
|
-
`;var jm,Hm={},zm={exports:{}};(jm=zm).exports=function(e){return e&&e.__esModule?e:{default:e}},jm.exports.__esModule=!0,jm.exports.default=jm.exports;var Wm={},Bm=M(sp);!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Bm}(Wm);var Gm=zm.exports;Object.defineProperty(Hm,"__esModule",{value:!0});var Ym=Hm.default=void 0,Um=e,Jm=(0,Gm(Wm).default)((0,Um.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");Ym=Hm.default=Jm;var qm={},Qm=zm.exports;Object.defineProperty(qm,"__esModule",{value:!0});var Xm=qm.default=void 0,Km=e,_m=(0,Qm(Wm).default)((0,Km.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");Xm=qm.default=_m;var $m="data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%2210%22%20viewBox%3D%220%200%2010%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.00016%200.833984C2.696%200.833984%200.833496%202.69648%200.833496%205.00065C0.833496%207.30482%202.696%209.16732%205.00016%209.16732C7.30433%209.16732%209.16683%207.30482%209.16683%205.00065C9.16683%202.69648%207.30433%200.833984%205.00016%200.833984ZM5.00016%208.33398C3.16266%208.33398%201.66683%206.83815%201.66683%205.00065C1.66683%203.16315%203.16266%201.66732%205.00016%201.66732C6.83766%201.66732%208.3335%203.16315%208.3335%205.00065C8.3335%206.83815%206.83766%208.33398%205.00016%208.33398Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E";function eh({iconUrl:e,title:o,IconComponent:r}){return t(jC,{sx:{color:"white",justifyContent:"center"},children:[e&&n("img",{src:e,alt:`${o} icon`}),r&&n(r,{})]})}function th({links:e,visibility:o=!1,setVisibility:r}){const[i,a]=C([]);m((()=>{e&&e.length>0&&a(e.map((()=>!1)))}),[]);const
|
|
199
|
+
`;var jm,Hm={},zm={exports:{}};(jm=zm).exports=function(e){return e&&e.__esModule?e:{default:e}},jm.exports.__esModule=!0,jm.exports.default=jm.exports;var Wm={},Bm=M(sp);!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Bm}(Wm);var Gm=zm.exports;Object.defineProperty(Hm,"__esModule",{value:!0});var Ym=Hm.default=void 0,Um=e,Jm=(0,Gm(Wm).default)((0,Um.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");Ym=Hm.default=Jm;var qm={},Qm=zm.exports;Object.defineProperty(qm,"__esModule",{value:!0});var Xm=qm.default=void 0,Km=e,_m=(0,Qm(Wm).default)((0,Km.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");Xm=qm.default=_m;var $m="data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%2210%22%20viewBox%3D%220%200%2010%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.00016%200.833984C2.696%200.833984%200.833496%202.69648%200.833496%205.00065C0.833496%207.30482%202.696%209.16732%205.00016%209.16732C7.30433%209.16732%209.16683%207.30482%209.16683%205.00065C9.16683%202.69648%207.30433%200.833984%205.00016%200.833984ZM5.00016%208.33398C3.16266%208.33398%201.66683%206.83815%201.66683%205.00065C1.66683%203.16315%203.16266%201.66732%205.00016%201.66732C6.83766%201.66732%208.3335%203.16315%208.3335%205.00065C8.3335%206.83815%206.83766%208.33398%205.00016%208.33398Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E";function eh({iconUrl:e,title:o,IconComponent:r}){return t(jC,{sx:{color:"white",justifyContent:"center"},children:[e&&n("img",{src:e,alt:`${o} icon`}),r&&n(r,{})]})}function th({links:e,visibility:o=!1,setVisibility:r}){const[i,a]=C([]),{pathname:s}=v();m((()=>{window.scrollTo(0,0)}),[s]),m((()=>{e&&e.length>0&&a(e.map((()=>!1)))}),[]);const l=()=>{r(!o)},c=n(Fm,{style:{paddingTop:"15px",paddingBottom:"15px"},children:e.map(((e,o)=>n("div",{children:void 0!==e.children&&e.children.length>0?t(vC,{sx:{display:"flex",padding:"0px",flexDirection:"column"},children:[t(RC,{button:!0,sx:{display:"flex",padding:"0px",paddingRight:"20px",marginRight:"4px",maxWidth:"100%",minHeight:"54px"},onClick:()=>function(e){i[e]?a(i.map(((t,n)=>n!==e&&t))):a(i.map(((t,n)=>n===e||t)))}(o),children:[e.external?t(Zm,{style:{minHeight:"54px"},href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:l,children:[n("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:n(eh,{iconUrl:e.iconUrl,title:e.iconUrl,IconComponent:e.IconComponent})}),n("div",{style:{display:"flex",justifyContent:"left",minWidth:"78%"},children:e.title})]}):t(Pm,{to:e.href,style:{minHeight:"54px",display:"flex",justifyContent:"center",justifyItems:"center"},onClick:l,children:[n("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:n(eh,{iconUrl:e.iconUrl,title:e.iconUrl,IconComponent:e.IconComponent})}),n("div",{style:{display:"flex",justifyContent:"left",minWidth:"78%"},children:e.title})]}),i[o]?n(Ym,{htmlColor:"white",sx:{marginLeft:"-10px",paddingLeft:"1px"}}):n(Xm,{htmlColor:"white",sx:{marginLeft:"-10px",paddingLeft:"1px"}}),n(Uf,{})]},o),n(hp,{in:i[o],timeout:"auto",unmountOnExit:!0,children:n(vC,{component:"div",disablePadding:!0,children:e.children.map(((e,o)=>n(RC,{button:!0,sx:{display:"flex",minWidth:"100%",padding:"0px"},children:e.external?t(Zm,{style:{minHeight:"35px"},href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:l,children:[n("div",{style:{display:"flex",justifyContent:"center",minHeight:"100%",overflow:"clip",flexWrap:"nowrap"},children:n("img",{src:$m,alt:`${e.title} Icon`})}),n("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:e.title})]}):t(Pm,{to:e.href,style:{display:"flex",minHeight:"35px"},onClick:l,children:[n("div",{style:{display:"flex",justifyContent:"center",minHeight:"100%",overflow:"clip",flexWrap:"nowrap"},children:n("img",{src:$m,alt:`${e.title} Icon`})}),n("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:e.title})]})},o)))})}),n(Uf,{})]}):t(vC,{sx:{padding:"0px"},children:[n(RC,{button:!0,sx:{padding:"0px"},children:e.external?t(Zm,{style:{minHeight:"54px"},href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:l,children:[n("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:n(eh,{iconUrl:e.iconUrl,title:e.iconUrl,IconComponent:e.IconComponent})}),n("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:e.title})]}):t(Pm,{to:e.href,style:{minHeight:"54px"},onClick:l,children:[n("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:n(eh,{iconUrl:e.iconUrl,title:e.iconUrl,IconComponent:e.IconComponent})}),n("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:e.title})]})},o),n(Uf,{})]})},o)))});return n("div",{children:n(bm,{children:n(Vm,{open:o,onClose:l,children:c})})})}const nh=Kd.span`
|
|
200
200
|
width: 100%;
|
|
201
201
|
height: 1px;
|
|
202
202
|
|
package/dist/cinnamon.min.js
CHANGED
|
@@ -196,7 +196,7 @@ function Va(e,t){const n=Ia(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
196
196
|
text-transform: none;
|
|
197
197
|
text-decoration: none;
|
|
198
198
|
min-width: 100%;
|
|
199
|
-
`;var Vm,Fm={},Pm={exports:{}};(Vm=Pm).exports=function(e){return e&&e.__esModule?e:{default:e}},Vm.exports.__esModule=!0,Vm.exports.default=Vm.exports;var Zm={},Hm=C(od);!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Hm}(Zm);var zm=Pm.exports;Object.defineProperty(Fm,"__esModule",{value:!0});var Wm=Fm.default=void 0,Bm=zm(Zm),Gm=l.default,Ym=(0,Bm.default)((0,Gm.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");Wm=Fm.default=Ym;var Um={},Jm=Pm.exports;Object.defineProperty(Um,"__esModule",{value:!0});var qm=Um.default=void 0,Qm=Jm(Zm),Xm=l.default,Km=(0,Qm.default)((0,Xm.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");qm=Um.default=Km;var _m="data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%2210%22%20viewBox%3D%220%200%2010%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.00016%200.833984C2.696%200.833984%200.833496%202.69648%200.833496%205.00065C0.833496%207.30482%202.696%209.16732%205.00016%209.16732C7.30433%209.16732%209.16683%207.30482%209.16683%205.00065C9.16683%202.69648%207.30433%200.833984%205.00016%200.833984ZM5.00016%208.33398C3.16266%208.33398%201.66683%206.83815%201.66683%205.00065C1.66683%203.16315%203.16266%201.66732%205.00016%201.66732C6.83766%201.66732%208.3335%203.16315%208.3335%205.00065C8.3335%206.83815%206.83766%208.33398%205.00016%208.33398Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E";function $m({iconUrl:e,title:n,IconComponent:o}){return t.jsxs(VC,{sx:{color:"white",justifyContent:"center"},children:[e&&t.jsx("img",{src:e,alt:`${n} icon`}),o&&t.jsx(o,{})]})}function eh({links:e,visibility:
|
|
199
|
+
`;var Vm,Fm={},Pm={exports:{}};(Vm=Pm).exports=function(e){return e&&e.__esModule?e:{default:e}},Vm.exports.__esModule=!0,Vm.exports.default=Vm.exports;var Zm={},Hm=C(od);!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Hm}(Zm);var zm=Pm.exports;Object.defineProperty(Fm,"__esModule",{value:!0});var Wm=Fm.default=void 0,Bm=zm(Zm),Gm=l.default,Ym=(0,Bm.default)((0,Gm.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");Wm=Fm.default=Ym;var Um={},Jm=Pm.exports;Object.defineProperty(Um,"__esModule",{value:!0});var qm=Um.default=void 0,Qm=Jm(Zm),Xm=l.default,Km=(0,Qm.default)((0,Xm.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");qm=Um.default=Km;var _m="data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%2210%22%20viewBox%3D%220%200%2010%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.00016%200.833984C2.696%200.833984%200.833496%202.69648%200.833496%205.00065C0.833496%207.30482%202.696%209.16732%205.00016%209.16732C7.30433%209.16732%209.16683%207.30482%209.16683%205.00065C9.16683%202.69648%207.30433%200.833984%205.00016%200.833984ZM5.00016%208.33398C3.16266%208.33398%201.66683%206.83815%201.66683%205.00065C1.66683%203.16315%203.16266%201.66732%205.00016%201.66732C6.83766%201.66732%208.3335%203.16315%208.3335%205.00065C8.3335%206.83815%206.83766%208.33398%205.00016%208.33398Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E";function $m({iconUrl:e,title:n,IconComponent:o}){return t.jsxs(VC,{sx:{color:"white",justifyContent:"center"},children:[e&&t.jsx("img",{src:e,alt:`${n} icon`}),o&&t.jsx(o,{})]})}function eh({links:e,visibility:r=!1,setVisibility:i}){const[a,s]=n.useState([]),{pathname:l}=o.useLocation();n.useEffect((()=>{window.scrollTo(0,0)}),[l]),n.useEffect((()=>{e&&e.length>0&&s(e.map((()=>!1)))}),[]);const c=()=>{i(!r)},u=t.jsx(jm,{style:{paddingTop:"15px",paddingBottom:"15px"},children:e.map(((e,n)=>t.jsx("div",{children:void 0!==e.children&&e.children.length>0?t.jsxs(yC,{sx:{display:"flex",padding:"0px",flexDirection:"column"},children:[t.jsxs(NC,{button:!0,sx:{display:"flex",padding:"0px",paddingRight:"20px",marginRight:"4px",maxWidth:"100%",minHeight:"54px"},onClick:()=>function(e){a[e]?s(a.map(((t,n)=>n!==e&&t))):s(a.map(((t,n)=>n===e||t)))}(n),children:[e.external?t.jsxs(Rm,{style:{minHeight:"54px"},href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:c,children:[t.jsx("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:t.jsx($m,{iconUrl:e.iconUrl,title:e.iconUrl,IconComponent:e.IconComponent})}),t.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"78%"},children:e.title})]}):t.jsxs(Im,{to:e.href,style:{minHeight:"54px",display:"flex",justifyContent:"center",justifyItems:"center"},onClick:c,children:[t.jsx("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:t.jsx($m,{iconUrl:e.iconUrl,title:e.iconUrl,IconComponent:e.IconComponent})}),t.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"78%"},children:e.title})]}),a[n]?t.jsx(Wm,{htmlColor:"white",sx:{marginLeft:"-10px",paddingLeft:"1px"}}):t.jsx(qm,{htmlColor:"white",sx:{marginLeft:"-10px",paddingLeft:"1px"}}),t.jsx(Bf,{})]},n),t.jsx(pd,{in:a[n],timeout:"auto",unmountOnExit:!0,children:t.jsx(yC,{component:"div",disablePadding:!0,children:e.children.map(((e,n)=>t.jsx(NC,{button:!0,sx:{display:"flex",minWidth:"100%",padding:"0px"},children:e.external?t.jsxs(Rm,{style:{minHeight:"35px"},href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:c,children:[t.jsx("div",{style:{display:"flex",justifyContent:"center",minHeight:"100%",overflow:"clip",flexWrap:"nowrap"},children:t.jsx("img",{src:_m,alt:`${e.title} Icon`})}),t.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:e.title})]}):t.jsxs(Im,{to:e.href,style:{display:"flex",minHeight:"35px"},onClick:c,children:[t.jsx("div",{style:{display:"flex",justifyContent:"center",minHeight:"100%",overflow:"clip",flexWrap:"nowrap"},children:t.jsx("img",{src:_m,alt:`${e.title} Icon`})}),t.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:e.title})]})},n)))})}),t.jsx(Bf,{})]}):t.jsxs(yC,{sx:{padding:"0px"},children:[t.jsx(NC,{button:!0,sx:{padding:"0px"},children:e.external?t.jsxs(Rm,{style:{minHeight:"54px"},href:e.href,target:"_blank",rel:"noopener noreferrer",onClick:c,children:[t.jsx("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:t.jsx($m,{iconUrl:e.iconUrl,title:e.iconUrl,IconComponent:e.IconComponent})}),t.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:e.title})]}):t.jsxs(Im,{to:e.href,style:{minHeight:"54px"},onClick:c,children:[t.jsx("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:t.jsx($m,{iconUrl:e.iconUrl,title:e.iconUrl,IconComponent:e.IconComponent})}),t.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:e.title})]})},n),t.jsx(Bf,{})]})},n)))});return t.jsx("div",{children:t.jsx(mm,{children:t.jsx(Lm,{open:r,onClose:c,children:u})})})}const th=Ju.span`
|
|
200
200
|
width: 100%;
|
|
201
201
|
height: 1px;
|
|
202
202
|
|
package/dist/cinnamon.ssr.js
CHANGED
|
@@ -196,7 +196,7 @@ function wa(e,t){const n=Ea(e,t);return"production"!==process.env.NODE_ENV?(...t
|
|
|
196
196
|
text-transform: none;
|
|
197
197
|
text-decoration: none;
|
|
198
198
|
min-width: 100%;
|
|
199
|
-
`;var Am,wm={},Dm={exports:{}};(Am=Dm).exports=function(e){return e&&e.__esModule?e:{default:e}},Am.exports.__esModule=!0,Am.exports.default=Am.exports;var Tm={},Om=f(Yu);!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Om}(Tm);var km=Dm.exports;Object.defineProperty(wm,"__esModule",{value:!0});var Mm=wm.default=void 0,Sm=km(Tm),Nm=s.default,Lm=(0,Sm.default)((0,Nm.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");Mm=wm.default=Lm;var jm={},Im=Dm.exports;Object.defineProperty(jm,"__esModule",{value:!0});var Rm=jm.default=void 0,Vm=Im(Tm),Fm=s.default,Pm=(0,Vm.default)((0,Fm.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");Rm=jm.default=Pm;var Zm="data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%2210%22%20viewBox%3D%220%200%2010%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.00016%200.833984C2.696%200.833984%200.833496%202.69648%200.833496%205.00065C0.833496%207.30482%202.696%209.16732%205.00016%209.16732C7.30433%209.16732%209.16683%207.30482%209.16683%205.00065C9.16683%202.69648%207.30433%200.833984%205.00016%200.833984ZM5.00016%208.33398C3.16266%208.33398%201.66683%206.83815%201.66683%205.00065C1.66683%203.16315%203.16266%201.66732%205.00016%201.66732C6.83766%201.66732%208.3335%203.16315%208.3335%205.00065C8.3335%206.83815%206.83766%208.33398%205.00016%208.33398Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E";function Hm({iconUrl:t,title:n,IconComponent:o}){return e.jsxs(AC,{sx:{color:"white",justifyContent:"center"},children:[t&&e.jsx("img",{src:t,alt:`${n} icon`}),o&&e.jsx(o,{})]})}function zm({links:
|
|
199
|
+
`;var Am,wm={},Dm={exports:{}};(Am=Dm).exports=function(e){return e&&e.__esModule?e:{default:e}},Am.exports.__esModule=!0,Am.exports.default=Am.exports;var Tm={},Om=f(Yu);!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=Om}(Tm);var km=Dm.exports;Object.defineProperty(wm,"__esModule",{value:!0});var Mm=wm.default=void 0,Sm=km(Tm),Nm=s.default,Lm=(0,Sm.default)((0,Nm.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess");Mm=wm.default=Lm;var jm={},Im=Dm.exports;Object.defineProperty(jm,"__esModule",{value:!0});var Rm=jm.default=void 0,Vm=Im(Tm),Fm=s.default,Pm=(0,Vm.default)((0,Fm.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore");Rm=jm.default=Pm;var Zm="data:image/svg+xml,%3Csvg%20width%3D%2210%22%20height%3D%2210%22%20viewBox%3D%220%200%2010%2010%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.00016%200.833984C2.696%200.833984%200.833496%202.69648%200.833496%205.00065C0.833496%207.30482%202.696%209.16732%205.00016%209.16732C7.30433%209.16732%209.16683%207.30482%209.16683%205.00065C9.16683%202.69648%207.30433%200.833984%205.00016%200.833984ZM5.00016%208.33398C3.16266%208.33398%201.66683%206.83815%201.66683%205.00065C1.66683%203.16315%203.16266%201.66732%205.00016%201.66732C6.83766%201.66732%208.3335%203.16315%208.3335%205.00065C8.3335%206.83815%206.83766%208.33398%205.00016%208.33398Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E";function Hm({iconUrl:t,title:n,IconComponent:o}){return e.jsxs(AC,{sx:{color:"white",justifyContent:"center"},children:[t&&e.jsx("img",{src:t,alt:`${n} icon`}),o&&e.jsx(o,{})]})}function zm({links:o,visibility:r=!1,setVisibility:i}){const[a,s]=t.useState([]),{pathname:l}=n.useLocation();t.useEffect((()=>{window.scrollTo(0,0)}),[l]),t.useEffect((()=>{o&&o.length>0&&s(o.map((()=>!1)))}),[]);const c=()=>{i(!r)},u=e.jsx(vm,{style:{paddingTop:"15px",paddingBottom:"15px"},children:o.map(((t,n)=>e.jsx("div",{children:void 0!==t.children&&t.children.length>0?e.jsxs(rC,{sx:{display:"flex",padding:"0px",flexDirection:"column"},children:[e.jsxs(bC,{button:!0,sx:{display:"flex",padding:"0px",paddingRight:"20px",marginRight:"4px",maxWidth:"100%",minHeight:"54px"},onClick:()=>function(e){a[e]?s(a.map(((t,n)=>n!==e&&t))):s(a.map(((t,n)=>n===e||t)))}(n),children:[t.external?e.jsxs(Em,{style:{minHeight:"54px"},href:t.href,target:"_blank",rel:"noopener noreferrer",onClick:c,children:[e.jsx("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:e.jsx(Hm,{iconUrl:t.iconUrl,title:t.iconUrl,IconComponent:t.IconComponent})}),e.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"78%"},children:t.title})]}):e.jsxs(xm,{to:t.href,style:{minHeight:"54px",display:"flex",justifyContent:"center",justifyItems:"center"},onClick:c,children:[e.jsx("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:e.jsx(Hm,{iconUrl:t.iconUrl,title:t.iconUrl,IconComponent:t.IconComponent})}),e.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"78%"},children:t.title})]}),a[n]?e.jsx(Mm,{htmlColor:"white",sx:{marginLeft:"-10px",paddingLeft:"1px"}}):e.jsx(Rm,{htmlColor:"white",sx:{marginLeft:"-10px",paddingLeft:"1px"}}),e.jsx(Sf,{})]},n),e.jsx(ed,{in:a[n],timeout:"auto",unmountOnExit:!0,children:e.jsx(rC,{component:"div",disablePadding:!0,children:t.children.map(((t,n)=>e.jsx(bC,{button:!0,sx:{display:"flex",minWidth:"100%",padding:"0px"},children:t.external?e.jsxs(Em,{style:{minHeight:"35px"},href:t.href,target:"_blank",rel:"noopener noreferrer",onClick:c,children:[e.jsx("div",{style:{display:"flex",justifyContent:"center",minHeight:"100%",overflow:"clip",flexWrap:"nowrap"},children:e.jsx("img",{src:Zm,alt:`${t.title} Icon`})}),e.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:t.title})]}):e.jsxs(xm,{to:t.href,style:{display:"flex",minHeight:"35px"},onClick:c,children:[e.jsx("div",{style:{display:"flex",justifyContent:"center",minHeight:"100%",overflow:"clip",flexWrap:"nowrap"},children:e.jsx("img",{src:Zm,alt:`${t.title} Icon`})}),e.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:t.title})]})},n)))})}),e.jsx(Sf,{})]}):e.jsxs(rC,{sx:{padding:"0px"},children:[e.jsx(bC,{button:!0,sx:{padding:"0px"},children:t.external?e.jsxs(Em,{style:{minHeight:"54px"},href:t.href,target:"_blank",rel:"noopener noreferrer",onClick:c,children:[e.jsx("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:e.jsx(Hm,{iconUrl:t.iconUrl,title:t.iconUrl,IconComponent:t.IconComponent})}),e.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:t.title})]}):e.jsxs(xm,{to:t.href,style:{minHeight:"54px"},onClick:c,children:[e.jsx("div",{style:{display:"flex",justifyContent:"center",justifyItems:"center",maxWidth:"20%"},children:e.jsx(Hm,{iconUrl:t.iconUrl,title:t.iconUrl,IconComponent:t.IconComponent})}),e.jsx("div",{style:{display:"flex",justifyContent:"left",minWidth:"80%"},children:t.title})]})},n),e.jsx(Sf,{})]})},n)))});return e.jsx("div",{children:e.jsx(nm,{children:e.jsx(gm,{open:r,onClose:c,children:u})})})}const Wm=Ru.span`
|
|
200
200
|
width: 100%;
|
|
201
201
|
height: 1px;
|
|
202
202
|
|