@sorocraft/ui
Advanced tools
Comparing version 1.0.54 to 1.0.55
@@ -7,4 +7,5 @@ import { ReactNode } from "react"; | ||
theme?: "light" | "gradient" | "gradient2" | "gradient3" | "gradient4" | "dark"; | ||
backgroundColor?: string; | ||
} | ||
declare const Section: ({ title, subtitle, theme, children }: Props) => import("react/jsx-runtime").JSX.Element; | ||
declare const Section: ({ title, subtitle, theme, backgroundColor, children, }: Props) => import("react/jsx-runtime").JSX.Element; | ||
export default Section; |
@@ -1,2 +0,2 @@ | ||
import{jsx as e,jsxs as n,Fragment as o}from"react/jsx-runtime";import{useState as i,Fragment as l,forwardRef as t,useEffect as d,useRef as a,useCallback as _}from"react";import r from"react-dom";var s={avatar:"Avatar-module_avatar__5-kP8",image:"Avatar-module_image__HFFlp",clickable:"Avatar-module_clickable__DD7pl",editable:"Avatar-module_editable__CpXtw",editIcon:"Avatar-module_editIcon__ULUa1",overlay:"Avatar-module_overlay__d95aK",overlayText:"Avatar-module_overlayText__NgsFM",loading:"Avatar-module_loading__9gBDd",xxs:"Avatar-module_xxs__zCCH6",xs:"Avatar-module_xs__1SMBv",sm:"Avatar-module_sm__8TB22",md:"Avatar-module_md__zeW0d",lg:"Avatar-module_lg__MWKN-",xl:"Avatar-module_xl__KCqIL",xxl:"Avatar-module_xxl__ox6gi",xxxl:"Avatar-module_xxxl__9Cc7C",inline:"Avatar-module_inline__H0AhD",flexWide:"Avatar-module_flexWide__GQYaQ",slidein:"Avatar-module_slidein__KV8Ih",fadeInOut:"Avatar-module_fadeInOut__2M9tv",heightAnimation:"Avatar-module_heightAnimation__RCYYu",fadein:"Avatar-module_fadein__lENH2",floatAnimation:"Avatar-module_floatAnimation__PNWhi"};const c=(e,n,o=[])=>{let i=[];for(const o in n)n[o]&&i.push(e[o]);return(null==o?void 0:o.length)>0&&(i=i.concat(o)),i.join(" ")};var u={container:"SVGIcon-module_container__z2RN5",isLoading:"SVGIcon-module_isLoading__8BhuU",fadeInOut:"SVGIcon-module_fadeInOut__EgbCf",dark:"SVGIcon-module_dark__4QbUi",flexWide:"SVGIcon-module_flexWide__IfOOF",slidein:"SVGIcon-module_slidein__RT6-4",heightAnimation:"SVGIcon-module_heightAnimation__CmY-x",fadein:"SVGIcon-module_fadein__Y2P5U",floatAnimation:"SVGIcon-module_floatAnimation__kH3Tr"};const m=({icon:n,size:o="sm",className:i="",isLoading:l=!1,theme:t="light"})=>{const d=(e=>{switch(e){case"xxs":return 8;case"xs":return 12;case"sm":default:return 16;case"md":return 24;case"lg":return 32;case"xl":return 48;case"xxl":return 64;case"xxxl":return 128}})(o);return n?e("div",{className:c(u,{container:!0,isLoading:l},[i,u[t]]),children:e(n,{className:i,width:d,height:d,viewBox:"0 0 24 24",preserveAspectRatio:"xMidYMid meet"})}):null},h=o=>n("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:[e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2 8.377c0-.35 0-.525.015-.673a3 3 0 0 1 2.69-2.69C4.851 5 5.035 5 5.404 5c.143 0 .214 0 .274-.004a2 2 0 0 0 1.735-1.25c.023-.056.044-.12.086-.246.042-.127.063-.19.086-.246a2 2 0 0 1 1.735-1.25C9.38 2 9.448 2 9.58 2h4.838c.133 0 .2 0 .26.004a2 2 0 0 1 1.735 1.25c.023.056.044.12.086.246.042.127.063.19.086.246a2 2 0 0 0 1.735 1.25c.06.004.131.004.273.004.37 0 .554 0 .702.015a3 3 0 0 1 2.69 2.69c.014.147.014.322.014.672V16.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2z"}),e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 16.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8"})]})),g=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 6 9 17l-5-5"})})),f=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m9 18 6-6-6-6"})})),p=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 6 6 18M6 6l12 12"})})),v=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 15.744a4.502 4.502 0 0 0-1.08-8.725 6.002 6.002 0 0 0-11.84 0A4.5 4.5 0 0 0 5 15.744M13 10l-4 6h6l-4 6"})})),x=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m4.272 20.728 6.597-6.597c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668l6.553 6.553M14 15l2.869-2.869c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L22 15M10 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0M6.8 21h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 18.72 22 17.88 22 16.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 21 5.12 21 6.8 21"})})),I=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m2 7 8.165 5.715c.661.463.992.695 1.351.784a2 2 0 0 0 .968 0c.36-.09.69-.32 1.351-.784L22 7M6.8 20h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 17.72 22 16.88 22 15.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 4 18.88 4 17.2 4H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 6.28 2 7.12 2 8.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 20 5.12 20 6.8 20"})})),A=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 14.286c-1.851.817-3 1.955-3 3.214C2 19.985 6.477 22 12 22s10-2.015 10-4.5c0-1.259-1.149-2.397-3-3.214M18 8c0 4.064-4.5 6-6 9-1.5-3-6-4.936-6-9a6 6 0 1 1 12 0m-5 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0"})})),k=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12h18M3 6h18M3 18h18"})})),L=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 9.5h4M8 13h7m-2.5 7a8.5 8.5 0 1 0-8.057-5.783c.108.32.162.481.172.604a.9.9 0 0 1-.028.326c-.03.12-.098.245-.232.494l-1.636 3.027c-.233.432-.35.648-.324.815a.5.5 0 0 0 .234.35c.144.087.388.062.876.011l5.121-.529c.155-.016.233-.024.303-.021s.12.009.187.024c.069.016.155.05.329.116A8.5 8.5 0 0 0 12.5 20"})})),D=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h14"})})),b=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 5v14m-7-7h14"})})),C=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2 10s2.005-2.732 3.634-4.362A9 9 0 1 1 12 21a9.004 9.004 0 0 1-8.648-6.5M2 10V4m0 6h6"})})),N=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 22V11m-5 2v7a2 2 0 0 0 2 2h13.426a3 3 0 0 0 2.965-2.544l1.077-7A3 3 0 0 0 18.503 9H15a1 1 0 0 1-1-1V4.466A2.466 2.466 0 0 0 11.534 2a.82.82 0 0 0-.75.488l-3.52 7.918A1 1 0 0 1 6.35 11H4a2 2 0 0 0-2 2"})})),w=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8 16 4-4m0 0 4 4m-4-4v9m8-4.257A5.5 5.5 0 0 0 16.5 7a.62.62 0 0 1-.534-.302 7.5 7.5 0 1 0-11.78 9.096"})})),y=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5.316 19.438A4 4 0 0 1 9 17h6a4 4 0 0 1 3.684 2.438M16 9.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0m6 2.5c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"})})),B=({source:o=null,alt:i="avatar",size:l="sm",onClick:t,className:d,isEditable:a=!1,overlayIcon:_,inline:r=!1,isLoading:u=!1,overlayText:g})=>{const f=()=>{switch(l){case"xxxl":return 512;case"xxl":return 256;case"xl":return 128;case"lg":return 96;case"md":return 64;case"xs":return 32;case"xxs":return 24;default:return 48}};return n("div",{className:c(s,{avatar:!0,clickable:!!t||a,editable:a,inline:r,loading:u},[s[l],d]),onClick:t,style:{width:f(),height:f()},children:[o?e("img",{src:o,alt:i,className:s.image,width:f(),height:f()}):e(m,{size:l,icon:y}),a&&e("div",{className:s.editIcon,children:e(m,{isLoading:u,icon:u?w:h})}),(!!_||g)&&n("div",{className:s.overlay,children:[!!_&&e(m,{isLoading:u,icon:u?w:_}),!!g&&e("div",{className:s.overlayText,children:g})]})]})};var W,O={container:"Button-module_container__0j8md",confirm:"Button-module_confirm__N5z4A",confirmActions:"Button-module_confirmActions__Xh7kN",button:"Button-module_button__18Bed",label:"Button-module_label__1PsXG",light:"Button-module_light__oUjYe",lightDark:"Button-module_lightDark__vucG6",active:"Button-module_active__UeHD7",lightDanger:"Button-module_lightDanger__aDpy8",lightInfo:"Button-module_lightInfo__oCfFI",lightPrimary:"Button-module_lightPrimary__f7-kQ",lightSecondary:"Button-module_lightSecondary__YK-QR",lightWarning:"Button-module_lightWarning__-Ogcg",lightSuccess:"Button-module_lightSuccess__gSt46",primary:"Button-module_primary__st6yY",secondary:"Button-module_secondary__j-3rj",danger:"Button-module_danger__Hxs5n",dark:"Button-module_dark__T7dl8",info:"Button-module_info__2z1ZG",success:"Button-module_success__CHTsg",warning:"Button-module_warning__1voOb",whiteText:"Button-module_whiteText__12xTM",default:"Button-module_default__TZZU2",borderedPrimary:"Button-module_borderedPrimary__KrZVT",borderedSecondary:"Button-module_borderedSecondary__UPNks",xs:"Button-module_xs__OaJDb",sm:"Button-module_sm__RXFPY",md:"Button-module_md__nDnOD",lg:"Button-module_lg__qD-Qh",xl:"Button-module_xl__S-bZp",xxl:"Button-module_xxl__J-6aP",fullWidth:"Button-module_fullWidth__AHpSl",flexWide:"Button-module_flexWide__xDrEF",slidein:"Button-module_slidein__ofhlO",fadeInOut:"Button-module_fadeInOut__nAOqm",heightAnimation:"Button-module_heightAnimation__fLFCd",fadein:"Button-module_fadein__pspkB",floatAnimation:"Button-module_floatAnimation__0PYtT"};!function(e){e.PRIMARY="primary",e.SECONDARY="secondary",e.DANGER="danger",e.SUCCESS="success",e.WARNING="warning",e.INFO="info",e.LIGHT="light",e.DEFAULT="default",e.DARK="dark",e.LIGHT_PRIMARY="lightPrimary",e.LIGHT_SUCCESS="lightSuccess",e.LIGHT_WARNING="lightWarning",e.LIGHT_INFO="lightInfo",e.LIGHT_DANGER="lightDanger",e.LIGHT_DARK="lightDark",e.LIGHT_SECONDARY="lightSecondary",e.WHITE_TEXT="whiteText",e.BORDERED_PRIMARY="borderedPrimary",e.BORDERED_SECONDARY="borderedSecondary"}(W||(W={}));const S=({type:o=W.PRIMARY,onClick:t,label:d,icon:a,fullWidth:_=!1,isLoading:r,disabled:s,className:u,needConfirm:h=!1,size:g="md"})=>{const[f,p]=i(!1);return n("div",{className:c(O,{container:!0,fullWidth:_}),children:[e("button",{className:c(O,{button:!0,loading:!!r},[O[o],O[g],u]),onClick:h?()=>p(!f):t,disabled:r||s,children:r?e(l,{children:"Loading..."}):n("div",{className:O.label,children:[a&&e(m,{icon:a}),e("span",{children:d})]})}),f&&n("div",{className:O.confirm,children:[e("div",{className:O.confirmMessage,children:"Are you sure?"}),n("div",{className:O.confirmActions,children:[e(S,{type:W.DANGER,onClick:()=>p(!1),label:"No",size:"xs"}),e(S,{type:W.SUCCESS,onClick:()=>{p(!1),t()},label:"Yes",size:"xs"})]})]})]})};var T={iconButton:"IconButton-module_iconButton__PmpB8",noPadding:"IconButton-module_noPadding__Jd2rK",lg:"IconButton-module_lg__KG7lp",md:"IconButton-module_md__s4q7b",sm:"IconButton-module_sm__are9s",xs:"IconButton-module_xs__qYwZc",confirm:"IconButton-module_confirm__-jXH4",confirmMessage:"IconButton-module_confirmMessage__AgI49",confirmActions:"IconButton-module_confirmActions__j7-Tt",topLeft:"IconButton-module_topLeft__aDA0m",bottom:"IconButton-module_bottom__AEpND",disabled:"IconButton-module_disabled__pLK-t",white:"IconButton-module_white__AzyNN",light:"IconButton-module_light__i3AET",active:"IconButton-module_active__popsF",lightDark:"IconButton-module_lightDark__d7NQy",lightDanger:"IconButton-module_lightDanger__bIg02",lightInfo:"IconButton-module_lightInfo__820It",lightPrimary:"IconButton-module_lightPrimary__SCrg-",lightSecondary:"IconButton-module_lightSecondary__vN-aS",lightWarning:"IconButton-module_lightWarning__z1iaR",lightSuccess:"IconButton-module_lightSuccess__mUSnD",primary:"IconButton-module_primary__qjfR5",secondary:"IconButton-module_secondary__-CufX",danger:"IconButton-module_danger__lz3tP",dark:"IconButton-module_dark__QiBJk",info:"IconButton-module_info__eawU-",success:"IconButton-module_success__xkDzZ",warning:"IconButton-module_warning__DhbfD",whiteText:"IconButton-module_whiteText__111Ju",default:"IconButton-module_default__j2U57",borderedPrimary:"IconButton-module_borderedPrimary__DHXJQ",borderedSecondary:"IconButton-module_borderedSecondary__13GNA",flexWide:"IconButton-module_flexWide__BGOfY",slidein:"IconButton-module_slidein__Rmpl5",fadeInOut:"IconButton-module_fadeInOut__Z2E5a",heightAnimation:"IconButton-module_heightAnimation__JnqnZ",fadein:"IconButton-module_fadein__uX9ut",floatAnimation:"IconButton-module_floatAnimation__N-INw"};const P=({icon:o,onClick:l,type:t=W.DEFAULT,needConfirm:d=!1,noPadding:a=!1,isLoading:_=!1,size:r="sm",confirmPosition:s="top",isActive:u=!1})=>{const[h,g]=i(!1);return n("div",{className:c(T,{iconButton:!0,noPadding:a,active:u},[T[t],T[r]]),onClick:_?void 0:d?()=>g(!h):l,children:[e(m,{isLoading:_,icon:o,size:r}),h&&n("div",{className:`${T.confirm} ${T[s]}`,children:[e("div",{className:T.confirmMessage,children:"Are you sure?"}),n("div",{className:T.confirmActions,children:[e(S,{type:W.DANGER,onClick:()=>g(!1),label:"No",size:"xs"}),e(S,{type:W.SUCCESS,onClick:l,label:"Yes",size:"xs"})]})]})]})};var E={listItem:"ListItem-module_listItem__ljWE5",separator:"ListItem-module_separator__CIXS1",dashedSeparator:"ListItem-module_dashedSeparator__SYWNX",content:"ListItem-module_content__mPC1D",data:"ListItem-module_data__e0N6V",title:"ListItem-module_title__YkOz9",subtitle:"ListItem-module_subtitle__5flJp",indicator:"ListItem-module_indicator__BwMsO",success:"ListItem-module_success__lgO8z",info:"ListItem-module_info__MKMBu",warning:"ListItem-module_warning__8P-nA",danger:"ListItem-module_danger__sWYOu",primary:"ListItem-module_primary__-bA-W",completed:"ListItem-module_completed__ovBl4",flexWide:"ListItem-module_flexWide__-0Q5a",slidein:"ListItem-module_slidein__dGxX-",fadeInOut:"ListItem-module_fadeInOut__Yuwsd",heightAnimation:"ListItem-module_heightAnimation__aVO2o",fadein:"ListItem-module_fadein__GSr23",floatAnimation:"ListItem-module_floatAnimation__efvAy"};const M=({title:o,subtitle:i,actionTitle:l="",action:t,completed:d,indicator:a,hasSeparator:_=!1,hasDashedSeparator:r=!1,isActionPending:s=!1})=>n("div",{className:c(E,{listItem:!0,separator:_,dashedSeparator:r}),children:[n("div",{className:E.content,children:[a&&e("div",{className:c(E,{indicator:!0},[E[a]])}),n("div",{className:E.data,children:[e("div",{className:E.title,children:o}),i&&e("div",{className:E.subtitle,children:i})]})]}),t&&e(S,{onClick:t,className:E.action,label:l,isLoading:s}),d&&e("div",{className:E.completed,children:e(m,{icon:g})})]});var H={link:"Link-module_link__35Vo1",fullWidth:"Link-module_fullWidth__eg45D",zero:"Link-module_zero__e-EXa",xxs:"Link-module_xxs__DLzl2",xs:"Link-module_xs__K3V8L",sm:"Link-module_sm__FcTWO",md:"Link-module_md__mmLj-",lg:"Link-module_lg__R71ff",xl:"Link-module_xl__q05MB",xxl:"Link-module_xxl__VZVxK",xxxl:"Link-module_xxxl__91qsW",light:"Link-module_light__Ji8kV",active:"Link-module_active__iCkL0",lightDark:"Link-module_lightDark__1fDCG",lightDanger:"Link-module_lightDanger__lB9Tb",lightInfo:"Link-module_lightInfo__h5lfu",lightPrimary:"Link-module_lightPrimary__aZxve",lightSecondary:"Link-module_lightSecondary__QHh0c",lightWarning:"Link-module_lightWarning__iOuMw",lightSuccess:"Link-module_lightSuccess__zDBp0",primary:"Link-module_primary__CE3uj",secondary:"Link-module_secondary__KSolI",danger:"Link-module_danger__ugf9r",dark:"Link-module_dark__ap0Ls",info:"Link-module_info__9skpg",success:"Link-module_success__DwP-V",warning:"Link-module_warning__FhhXi",whiteText:"Link-module_whiteText__t7SOQ",default:"Link-module_default__3TBlr",borderedPrimary:"Link-module_borderedPrimary__RfPen",borderedSecondary:"Link-module_borderedSecondary__xTeGX",flexWide:"Link-module_flexWide__3A6ZB",slidein:"Link-module_slidein__kBzO4",fadeInOut:"Link-module_fadeInOut__zas8c",heightAnimation:"Link-module_heightAnimation__N7y-w",fadein:"Link-module_fadein__WxUdb",floatAnimation:"Link-module_floatAnimation__XrwU5"};const j=({href:o,title:i,target:l="_self",type:t=W.DEFAULT,padding:d="zero",hasChevron:a=!1,fullWidth:_=!1})=>n("a",{href:o,target:l,rel:"noopener noreferrer",className:c(H,{link:!0,fullWidth:_},[H[t],H[d]]),children:[e("span",{children:i})," ",a&&e(m,{icon:f})]});"function"==typeof SuppressedError&&SuppressedError;var z,R={input:"Input-module_input__505b7",full:"Input-module_full__h2smD",noMargin:"Input-module_noMargin__ysWuN",container:"Input-module_container__itXJp",colorPicker:"Input-module_colorPicker__Efa-c",required:"Input-module_required__kHc93",prefix:"Input-module_prefix__-1end",addon:"Input-module_addon__1cKdz",pointer:"Input-module_pointer__EsKoB",error:"Input-module_error__38tit",avatar:"Input-module_avatar__GJUWC",autoCompleteContent:"Input-module_autoCompleteContent__4anQc",reversed:"Input-module_reversed__dU1hV",transparent:"Input-module_transparent__ko36m",small:"Input-module_small__5vYiK",xsmall:"Input-module_xsmall__-9hXW",hasPrefix:"Input-module_hasPrefix__fU508",hasAddon:"Input-module_hasAddon__mruPW",darkMode:"Input-module_darkMode__DLx4Y",flexWide:"Input-module_flexWide__4Wn1k",slidein:"Input-module_slidein__XYim1",fadeInOut:"Input-module_fadeInOut__bnAwc",heightAnimation:"Input-module_heightAnimation__tmt9Z",fadein:"Input-module_fadein__1HtqV",floatAnimation:"Input-module_floatAnimation__sYawG"};!function(e){e.TEXT="text",e.PASSWORD="password",e.EMAIL="email",e.NUMBER="number",e.URL="url",e.TEL="tel",e.DATE="date",e.DATETIME="datetime",e.SELECT="select",e.COLOR_PICKER="color-picker",e.TEXT_AREA="text-area",e.AVATAR_UPLOAD="avatar-upload",e.UPLOAD_IMAGE_ICON="upload-image-icon",e.DND="dnd"}(z||(z={}));const F=({isLoading:i,value:l,isDisabled:t,placeholder:d,options:a,name:_,onBlur:r,onFocus:s,onChange:c,preIcon:u,addonIcon:h,addonAction:g})=>n(o,{children:[u&&e("div",{className:R.preIcon,children:e(m,{icon:u,isLoading:i})}),n("select",{className:R.field,value:l,onBlur:r,onFocus:s,onChange:c,name:_,disabled:t,children:[d&&e("option",{value:"",children:d}),a.map((({label:n,value:o})=>e("option",{value:o,children:n},o)))]}),h&&e("div",{className:g?`${R.addon} ${R.pointer}`:R.addon,onClick:g,children:e(m,{icon:h,isLoading:i})})]});var G={container:"DnD-module_container__zFojN",dropZone:"DnD-module_dropZone__OJnfw",placeholder:"DnD-module_placeholder__Fkhl4",dropLabel:"DnD-module_dropLabel__TDGan",input:"DnD-module_input__FKtwE",selectedImage:"DnD-module_selectedImage__DsvPl",removeImage:"DnD-module_removeImage__zMc3L",rectangle:"DnD-module_rectangle__cnjIE",square:"DnD-module_square__mc3tn",circle:"DnD-module_circle__kXFaZ",isDragOver:"DnD-module_isDragOver__vfTwp",flexWide:"DnD-module_flexWide__sqZP0",slidein:"DnD-module_slidein__bPiSA",fadeInOut:"DnD-module_fadeInOut__QCEYD",heightAnimation:"DnD-module_heightAnimation__OGSUd",fadein:"DnD-module_fadein__eyNza",floatAnimation:"DnD-module_floatAnimation__PwKWB"};const U=(e,n)=>{const o=new FileReader;o.onload=()=>{n(o.result)},o.readAsDataURL(e)},Y=({value:o,placeholder:l,isMultiUpload:t,dndShape:d="rectangle",isDisabled:a,className:_,onFilesSelect:r,onFileSelect:s})=>{const[u,m]=i(!1),h=e=>{if(e&&e.length>0){if(t&&r)return r(e);const n=e[0];U(n,(e=>{s&&s(n,e)}))}};return e("div",{className:c(G,{container:!0,isDragOver:u}),children:e("div",{onDrop:e=>{if(e.preventDefault(),a)return;const n=e.dataTransfer.files;h(n)},onDragOver:e=>{e.preventDefault()},onDragEnter:()=>m(!0),onDragLeave:()=>m(!1),className:c(G,{dropZone:!0},[G[d],_]),children:o?n("div",{className:G.selectedImage,children:[e("img",{src:String(o),alt:l}),e("div",{className:G.removeImage,children:e(P,{onClick:()=>{s&&s(null,"")},icon:p,type:W.BORDERED_PRIMARY})})]}):n("label",{className:G.dropLabel,children:[e("span",{className:G.placeholder,children:l||"Drop file"}),e("input",{type:"file",className:G.input,hidden:!0,onChange:e=>{const n=e.target;h(n.files)},disabled:a})]})})})};var V={container:"TextArea-module_container__uff42",field:"TextArea-module_field__kapQk",hasPrefix:"TextArea-module_hasPrefix__flVwo",prefix:"TextArea-module_prefix__vGIaC",flexWide:"TextArea-module_flexWide__staBL",slidein:"TextArea-module_slidein__-OBuL",fadeInOut:"TextArea-module_fadeInOut__aNBV4",heightAnimation:"TextArea-module_heightAnimation__mZG0q",fadein:"TextArea-module_fadein__30AAW",floatAnimation:"TextArea-module_floatAnimation__x6a8y"};const X=({value:o,placeholder:i,autoFocus:l,ref:t,isDisabled:d,prefix:a,rows:_=3,onBlur:r,onFocus:s,onChange:u})=>n("div",{className:c(V,{container:!0,hasPrefix:!!a}),children:[!!a&&e("div",{className:V.prefix,children:e("span",{children:a})}),e("textarea",{className:V.field,value:o,placeholder:i,onBlur:r,onFocus:s,onChange:u,autoFocus:l,ref:t,disabled:d,rows:_})]}),Z=t((function(o,i){var{type:t=z.TEXT,label:d,placeholder:a,value:_,required:r=!1,addonIcon:s,preIcon:u,addonText:h,labelAddon:g,errorMessage:f,options:p=[],fullWidth:v,avatarSize:I,source:A,autoCompleteContent:k,autoCompleteReverse:L=!1,noMargin:D=!1,isDisabled:b=!1,isLoading:C=!1,isMultiUpload:N=!1,autoFocus:w=!1,theme:y="oval",size:W="medium",isDarkMode:O=!1,dndShape:S,name:T,prefix:P,rows:E,className:M,onBlur:H,onFocus:j,onChange:G,addonAction:V,onEnter:Z,onEsc:q,onFileSelect:K,onFilesSelect:Q}=o,J=function(e,n){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(i=Object.getOwnPropertySymbols(e);l<i.length;l++)n.indexOf(i[l])<0&&Object.prototype.propertyIsEnumerable.call(e,i[l])&&(o[i[l]]=e[i[l]])}return o}(o,["type","label","placeholder","value","required","addonIcon","preIcon","addonText","labelAddon","errorMessage","options","fullWidth","avatarSize","source","autoCompleteContent","autoCompleteReverse","noMargin","isDisabled","isLoading","isMultiUpload","autoFocus","theme","size","isDarkMode","dndShape","name","prefix","rows","className","onBlur","onFocus","onChange","addonAction","onEnter","onEsc","onFileSelect","onFilesSelect"]);const $=b||C,ee=e=>{switch(e.key){case"Enter":Z&&Z();break;case"Escape":q&&q()}},ne=e=>{const n=e.target.files[0];U(n,(e=>{K&&K(n,e)}))},oe=e=>{const n=e.target;Q&&Q(n.files)};return n("div",{className:c(R,{input:!0,full:!!v,noMargin:D,hasAddon:!!s||!!h,hasPrefix:!!P,darkMode:O},[R[y],R[W]]),children:[d&&n("label",{children:[e("span",{className:r?R.required:"",children:d}),!!g&&e("div",{className:R.labelAddon,children:g})]}),e("div",{className:R.container,children:(()=>{switch(t){case z.SELECT:return e(F,{preIcon:u,isLoading:C,value:_,isDisabled:b,placeholder:a,options:p,onBlur:H,onFocus:j,onChange:G,addonAction:V,addonIcon:s,name:T});case z.DND:return e(Y,{onFilesSelect:Q,onFileSelect:K,placeholder:a,value:_,dndShape:S,isDisabled:b,isMultiUpload:N,className:M});case z.COLOR_PICKER:return e("input",Object.assign({className:`${R.field} ${R.colorPicker}`,type:"color",value:_,placeholder:a,onBlur:H,onFocus:j,onChange:G,disabled:$,ref:i},J));case z.TEXT_AREA:return e(X,{value:_,placeholder:a,onBlur:H,onFocus:j,onChange:G,autoFocus:w,ref:i,prefix:P,rows:E});case z.AVATAR_UPLOAD:return n("label",{htmlFor:"avatar-upload",children:[e(B,{size:I,source:A,isLoading:C,isEditable:!0}),e("input",{type:"file",name:"avatar-upload",id:"avatar-upload",accept:"image/*",onChange:N?oe:ne,ref:i,className:R.avatar,disabled:$,multiple:N})]});case z.UPLOAD_IMAGE_ICON:return n("label",{htmlFor:"upload-image-icon",children:[e(m,{icon:x,isLoading:C,size:"md"}),e("input",{type:"file",name:"upload-image-icon",id:"upload-image-icon",accept:"image/*",onChange:N?oe:ne,ref:i,className:R.avatar,disabled:$,multiple:N})]});default:return n(l,{children:[!!P&&e("div",{className:R.prefix,children:e("span",{children:P})}),e("input",Object.assign({className:R.field,type:t,placeholder:a,value:_,onBlur:H,onFocus:j,onChange:G,onKeyUp:ee,ref:i,disabled:$,autoFocus:w,name:T},J)),s&&e("div",{className:V?`${R.addon} ${R.pointer}`:R.addon,onClick:V,children:e(m,{icon:s,isLoading:C})}),h&&e("div",{className:V?`${R.addon} ${R.pointer}`:R.addon,onClick:V,children:h})]})}})()}),!!f&&e("div",{className:R.error,children:f}),!!k&&e("div",{className:c(R,{autoCompleteContent:!0,reversed:L}),children:k})]})}));var q={menu:"DropDown-module_menu__gRW7p",container:"DropDown-module_container__ms9Bn",action:"DropDown-module_action__D8KuY",light:"DropDown-module_light__6NSjI",active:"DropDown-module_active__rGcA2",lightDark:"DropDown-module_lightDark__Ctspk",lightDanger:"DropDown-module_lightDanger__FaZ6G",lightInfo:"DropDown-module_lightInfo__DMaJO",lightPrimary:"DropDown-module_lightPrimary__sobOp",lightSecondary:"DropDown-module_lightSecondary__PB0m-",lightWarning:"DropDown-module_lightWarning__mkeGN",lightSuccess:"DropDown-module_lightSuccess__QNoVS",primary:"DropDown-module_primary__9-x6Y",secondary:"DropDown-module_secondary__HBses",danger:"DropDown-module_danger__ZbPY6",dark:"DropDown-module_dark__3YhdZ",info:"DropDown-module_info__5qwW6",success:"DropDown-module_success__NbhHj",warning:"DropDown-module_warning__MrYwV",whiteText:"DropDown-module_whiteText__eVLut",default:"DropDown-module_default__D0DNi",borderedPrimary:"DropDown-module_borderedPrimary__oTb-J",borderedSecondary:"DropDown-module_borderedSecondary__GqWsA",xsmall:"DropDown-module_xsmall__Mc6Zx",small:"DropDown-module_small__Goyza",large:"DropDown-module_large__P5F--",flexWide:"DropDown-module_flexWide__ySVZv",slidein:"DropDown-module_slidein__ZYDXA",fadeInOut:"DropDown-module_fadeInOut__hjIWL",heightAnimation:"DropDown-module_heightAnimation__EUum9",fadein:"DropDown-module_fadein__D2VO0",floatAnimation:"DropDown-module_floatAnimation__z5DD5"};const K=(e,n)=>{const o=o=>{e.current&&!e.current.contains(o.target)&&n()};d((()=>(document.addEventListener("click",o),()=>{document.removeEventListener("click",o)})),[])},Q=e=>{const n=a(null),o=_((o=>{n.current&&!n.current.contains(o.target)&&e()}),[e]);return d((()=>(document.addEventListener("click",o),()=>{document.removeEventListener("click",o)})),[o]),n},J=({containerRef:n,contentRef:o,isOpen:l=!1,renderChild:t,onClose:a})=>{const _={isOpen:!1,top:0,left:0,bottom:0,right:0},[s,c]=i(_),u={position:"absolute",top:s.top,left:s.left,bottom:s.bottom,right:s.right,zIndex:111},m=()=>{c(_),a()};return K(n,(()=>m())),d((()=>{if(l)return(()=>{var e,i,l,t,d,a,_;const{top:r,left:s,height:u,width:m}=null!==(l=null===(i=null===(e=null==n?void 0:n.current)||void 0===e?void 0:e.getBoundingClientRect)||void 0===i?void 0:i.call(e))&&void 0!==l?l:{top:0,left:0,height:0,width:0},{innerHeight:h,innerWidth:g}=window,f=h-(r+u),p=r,v=s,x=g-(s+m),I=null!==(d=null===(t=null==o?void 0:o.current)||void 0===t?void 0:t.clientHeight)&&void 0!==d?d:200,A=null!==(_=null===(a=null==o?void 0:o.current)||void 0===a?void 0:a.clientWidth)&&void 0!==_?_:200;let k="auto",L="auto",D="auto",b="auto";f<I&&p>=I?b=h-r-u+20:L=r+u+5,x<A&&v>=A?D=g-s:k=s;const C={top:L,left:k,right:D,bottom:b};c(Object.assign(Object.assign({},C),{isOpen:!0}))})();m()}),[l,null==n?void 0:n.current]),s.isOpen?r.createPortal(e("div",{style:u,onClick:e=>{e.stopPropagation()},children:t(s)}),document.getElementById("portals")):null},$=({children:n})=>e("div",{className:q.menu,children:n}),ee=({action:o,menu:l,type:t=W.DEFAULT,closeRef:_,actionSize:r="medium"})=>{const s=a(null),u=a(null),m=a(null),[h,g]=i(!1),f=()=>g(!1);return d((()=>{(null==_?void 0:_.current)&&(_.current={close:()=>f()})}),[_]),n("div",{className:q.container,ref:s,children:[e("div",{className:c(q,{action:!0},[q[t],q[r]]),ref:m,onClick:()=>g(!h),children:o}),e(J,{containerRef:s,contentRef:u,isOpen:h,onClose:f,renderChild:()=>e("div",{className:q.menuContainer,ref:u,children:e($,{children:l})})})]})};var ne={container:"LoadingItem-module_container__ujRaI",fadeInOut:"LoadingItem-module_fadeInOut__HDJT8",square:"LoadingItem-module_square__OucYB",xxs:"LoadingItem-module_xxs__kTYcZ",xs:"LoadingItem-module_xs__sISZM",sm:"LoadingItem-module_sm__hsDHD",md:"LoadingItem-module_md__bU5yA",lg:"LoadingItem-module_lg__9sK4b",xl:"LoadingItem-module_xl__O0kH8",xxl:"LoadingItem-module_xxl__tIjdb",xxxl:"LoadingItem-module_xxxl__h73z5",xxxxl:"LoadingItem-module_xxxxl__XTzwy",flexWide:"LoadingItem-module_flexWide__sIJC3",slidein:"LoadingItem-module_slidein__8J982",heightAnimation:"LoadingItem-module_heightAnimation__cUh26",fadein:"LoadingItem-module_fadein__-CmLg",floatAnimation:"LoadingItem-module_floatAnimation__gQ2jh"};const oe=({shape:n="square",size:o="md",width:i,height:l})=>e("div",{className:c(ne,{container:!0},[ne[n],ne[o]]),style:{width:i,height:l}});var ie={container:"Accordion-module_container__6rGl0",header:"Accordion-module_header__AYOT5",body:"Accordion-module_body__4IgEa",content:"Accordion-module_content__RyBzl",isOpen:"Accordion-module_isOpen__Bmf-c",flexWide:"Accordion-module_flexWide__Pmyu-",slidein:"Accordion-module_slidein__NIsrY",fadeInOut:"Accordion-module_fadeInOut__Ub-rg",heightAnimation:"Accordion-module_heightAnimation__nT1oQ",fadein:"Accordion-module_fadein__KprHu",floatAnimation:"Accordion-module_floatAnimation__d-fsP"};const le=({title:o,content:l})=>{const[t,d]=i(!1);return n("div",{className:c(ie,{container:!0,isOpen:t}),onClick:()=>d(!t),children:[n("div",{className:ie.header,children:[e("h3",{children:o}),e(m,{icon:t?D:b,size:"md"})]}),e("div",{className:ie.body,children:e("div",{className:ie.content,children:l})})]})};var te={tooltip:"Tooltip-module_tooltip__LjRUX",hint:"Tooltip-module_hint__ZdhCh",top:"Tooltip-module_top__HZqEk",bottom:"Tooltip-module_bottom__hrxCa",right:"Tooltip-module_right__LGQTD",left:"Tooltip-module_left__-LZ0w",flexWide:"Tooltip-module_flexWide__dQnBf",slidein:"Tooltip-module_slidein__Yziit",fadeInOut:"Tooltip-module_fadeInOut__glWW2",heightAnimation:"Tooltip-module_heightAnimation__5cr8-",fadein:"Tooltip-module_fadein__NGjXx",floatAnimation:"Tooltip-module_floatAnimation__R4QxW"};const de=({hint:o,children:i,position:l="top"})=>n("div",{className:te.tooltip,children:[!!o&&e("div",{className:`${te.hint} ${te[l]}`,children:o}),i]});var ae={card:"Card-module_card__LzN-3",header:"Card-module_header__j-c-9",subtitle:"Card-module_subtitle__RVMlO",body:"Card-module_body__v78vB",footer:"Card-module_footer__FjLbG",separated:"Card-module_separated__XYi-z",noBottomMargin:"Card-module_noBottomMargin__X7Gc1",noBodyPadding:"Card-module_noBodyPadding__Qwkyx",fullWidth:"Card-module_fullWidth__HpLSP",fullHeight:"Card-module_fullHeight__Ngt-E",flexWide:"Card-module_flexWide__qc7xl",slidein:"Card-module_slidein__9OQew",fadeInOut:"Card-module_fadeInOut__nlrXf",heightAnimation:"Card-module_heightAnimation__edaK-",fadein:"Card-module_fadein__8Bpsl",floatAnimation:"Card-module_floatAnimation__fuwcu"},_e={heading:"Heading-module_heading__zKyv7",title:"Heading-module_title__poNb0",xl:"Heading-module_xl__EUHx8",lg:"Heading-module_lg__BzP-H",md:"Heading-module_md__etFxz",sm:"Heading-module_sm__DW8pt",xs:"Heading-module_xs__1cGtZ",subtitle:"Heading-module_subtitle__siosa",flexWide:"Heading-module_flexWide__kdze4",slidein:"Heading-module_slidein__aveKx",fadeInOut:"Heading-module_fadeInOut__-4cOS",heightAnimation:"Heading-module_heightAnimation__r9l4u",fadein:"Heading-module_fadein__yua3s",floatAnimation:"Heading-module_floatAnimation__OA9Sm"};const re=({size:o="md",title:i,subtitle:l})=>n("div",{className:_e.heading,children:[e("div",{className:`${_e.title} ${_e[o]}`,children:i}),l&&e("div",{className:_e.subtitle,children:l})]}),se=({title:o,subtitle:i,children:l,toolbar:t,footer:d,separated:a=!1,borderTopWidth:_,borderTopColor:r,noBottomMargin:s=!1,noBodyPadding:u=!1,fullHeight:m=!1,fullWidth:h=!1})=>{const g=_?`${_}px solid ${r}`:"none";return n("div",{className:c(ae,{card:!0,separated:a,noBottomMargin:s,noBodyPadding:u,fullHeight:m,fullWidth:h}),style:Object.assign({},_&&{borderTop:g}),children:[(t||o)&&n("div",{className:ae.header,children:[n("div",{className:ae.headerInfo,children:[o&&e("div",{className:ae.headerTitle,children:e(re,{size:"sm",title:o})}),i&&e("div",{className:ae.headerSubtitle,children:i})]}),t&&e("div",{className:ae.headerToolbar,children:t})]}),e("div",{className:ae.body,children:l}),d&&e("div",{className:ae.footer,children:d})]})};var ce={container:"CookieBanner-module_container__4UQ-V",content:"CookieBanner-module_content__upuyM",flexWide:"CookieBanner-module_flexWide__Vft50",slidein:"CookieBanner-module_slidein__NxJr8",fadeInOut:"CookieBanner-module_fadeInOut__4-sCu",heightAnimation:"CookieBanner-module_heightAnimation__vqvzX",fadein:"CookieBanner-module_fadein__-ogfe",floatAnimation:"CookieBanner-module_floatAnimation__UCwtP"};const ue=new class{constructor(){this.cookieBannerKey="sorocraft_cookie_banner"}saveCookieBannerState(e){localStorage.setItem(this.cookieBannerKey,String(e))}getCookieBannerState(){return localStorage.getItem(this.cookieBannerKey)}};var me;!function(e){e.SEEN="seen"}(me||(me={}));const he=({appName:o})=>{const[l,t]=i(!1);return d((()=>{const e=ue.getCookieBannerState();t(e!==me.SEEN)}),[]),l?n("div",{className:ce.container,children:[n("div",{className:ce.content,children:["As ",o,", we do not use any cookies ourselves, but some of our service providers may. Please check our ",e("a",{href:"/privacy",children:"Privacy Policy"})," page for more details."]}),e("div",{className:ce.actions,children:e(S,{label:"Continue",onClick:()=>{t(!1),ue.saveCookieBannerState(me.SEEN)}})})]}):null};var ge={container:"Container-module_container__exPuE",noPadding:"Container-module_noPadding__lpIsj",fullWidth:"Container-module_fullWidth__BIlSl",flexWide:"Container-module_flexWide__UYxLw",slidein:"Container-module_slidein__2HqKN",fadeInOut:"Container-module_fadeInOut__OfzxZ",heightAnimation:"Container-module_heightAnimation__UR715",fadein:"Container-module_fadein__9rDYD",floatAnimation:"Container-module_floatAnimation__6Lcjo"};const fe=({className:n="",children:o,noPadding:i=!1,fullWidth:l=!1})=>e("div",{className:c(ge,{container:!0,noPadding:i,fullWidth:l},[n]),children:o});var pe="Header-module_header__qxHtx",ve="Header-module_content__DV-in",xe="Header-module_logo__xO2bW",Ie="Header-module_mobileLogo__eNvSP",Ae="Header-module_actions__ZlACk",ke="Header-module_mobileMenuIcon__pFpba",Le="Header-module_menu__Yw9r6",De="Header-module_mobileMenu__4S-NE";const be=({logo:o,menu:l,actions:t=null})=>{const[d,a]=i(!1);return n("header",{className:pe,children:[e(fe,{children:n("div",{className:ve,children:[e("a",{href:"/",className:xe,children:o}),e("a",{href:"/",className:Ie,children:o}),!!l&&e("div",{className:Le,children:l}),n("div",{className:Ae,children:[t,!!l&&e("div",{className:ke,children:e(P,{icon:d?p:k,onClick:()=>a(!d),size:"lg"})})]})]})}),d&&e("div",{className:De,children:l})]})};var Ce={container:"Section-module_container__3n1V-",header:"Section-module_header__uP6hi",subtitle:"Section-module_subtitle__8Y9SH",gradient:"Section-module_gradient__xroL-",black:"Section-module_black__xbyiN",dark:"Section-module_dark__5IiQW",flexWide:"Section-module_flexWide__jFoW4",slidein:"Section-module_slidein__gRGLr",fadeInOut:"Section-module_fadeInOut__yLFY5",heightAnimation:"Section-module_heightAnimation__7ap3B",fadein:"Section-module_fadein__Jbv0F",floatAnimation:"Section-module_floatAnimation__g2TfT"};const Ne=({title:o,subtitle:i,theme:l="light",children:t})=>n("div",{className:c(Ce,{container:!0},[Ce[l]]),children:[n("div",{className:Ce.header,children:[e("h2",{children:o}),!!i&&e("div",{className:Ce.subtitle,children:i})]}),e("div",{className:Ce.body,children:t})]});var we="FAQ-module_container__Kht11";const ye=({items:n,title:o})=>e(Ne,{title:o||"Frequently asked questions",children:e("div",{className:we,children:n.map((({title:n,content:o})=>e(le,{title:n,content:o},n)))})});var Be={container:"ContactsList-module_container__rwdG-",contact:"ContactsList-module_contact__S5Q5T",title:"ContactsList-module_title__2h1V2",value:"ContactsList-module_value__JksBF",flexWide:"ContactsList-module_flexWide__y3ESG",slidein:"ContactsList-module_slidein__WCW87",fadeInOut:"ContactsList-module_fadeInOut__SFFum",heightAnimation:"ContactsList-module_heightAnimation__wjNjX",fadein:"ContactsList-module_fadein__CVVKr",floatAnimation:"ContactsList-module_floatAnimation__JNgpI"};const We=({domain:o,socialLinks:i,address:l,reportLabel:t,writeUsLabel:d,followUsLabel:a,addressLabel:_})=>n("div",{className:Be.container,children:[n("div",{className:Be.contact,children:[e("div",{className:Be.icon,children:e(m,{icon:L,size:"xl"})}),n("div",{className:Be.content,children:[e("div",{className:Be.title,children:t||"Report"}),e("div",{className:Be.value,children:n("a",{href:`mailto:feedback@${o}`,children:["feedback@",o]})})]})]}),n("div",{className:Be.contact,children:[e("div",{className:Be.icon,children:e(m,{icon:I,size:"xl"})}),n("div",{className:Be.content,children:[e("div",{className:Be.title,children:d||"Write us"}),e("div",{className:Be.value,children:n("a",{href:`mailto:contact@${o}`,children:["contact@",o]})})]})]}),n("div",{className:Be.contact,children:[e("div",{className:Be.icon,children:e(m,{icon:N,size:"xl"})}),n("div",{className:Be.content,children:[e("div",{className:Be.title,children:a||"Follow us"}),e("div",{className:Be.value,children:e("ul",{children:i.map((({url:n,icon:o})=>e("li",{children:e("a",{href:n,target:"_blank",children:e(m,{icon:o,size:"md"})})},n)))})})]})]}),n("div",{className:Be.contact,children:[e("div",{className:Be.icon,children:e(m,{icon:A,size:"xl"})}),n("div",{className:Be.content,children:[e("div",{className:Be.title,children:_||"Address"}),e("div",{className:Be.value,children:l})]})]})]});var Oe={description:"Description-module_description__ENVu-",xl:"Description-module_xl__GtUSA",lg:"Description-module_lg__ENF-W",m:"Description-module_m__RqjBl",s:"Description-module_s__RAro3",xs:"Description-module_xs__0chE0",noSpacing:"Description-module_noSpacing__746UN",lighter:"Description-module_lighter__y-rC3",flexWide:"Description-module_flexWide__CEoWm",slidein:"Description-module_slidein__ZJBnB",fadeInOut:"Description-module_fadeInOut__ZdTzP",heightAnimation:"Description-module_heightAnimation__v2n3a",fadein:"Description-module_fadein__bPsva",floatAnimation:"Description-module_floatAnimation__Cq8oz"};const Se=({size:n="m",text:o,noSpacing:i=!1,className:l="",lighter:t=!1})=>e("div",{className:c(Oe,{description:!0,noSpacing:i,lighter:t},[Oe[n],l]),children:o});var Te={alert:"AlertBox-module_alert__y9n9e",inline:"AlertBox-module_inline__upbhQ",error:"AlertBox-module_error__anhZO",success:"AlertBox-module_success__80DOT",icon:"AlertBox-module_icon__FLy1Y",actions:"AlertBox-module_actions__fgPt7","supeer-icon-button":"AlertBox-module_supeer-icon-button__8oUJ8",message:"AlertBox-module_message__ssD6S",flexWide:"AlertBox-module_flexWide__isTSZ",slidein:"AlertBox-module_slidein__BNFh5",fadeInOut:"AlertBox-module_fadeInOut__DW6jj",heightAnimation:"AlertBox-module_heightAnimation__AMoVU",fadein:"AlertBox-module_fadein__5wonR",floatAnimation:"AlertBox-module_floatAnimation__rXaKh"};const Pe=({message:o,onClear:i,onReload:l,type:t,inline:d=!1})=>n("div",{className:c(Te,{alert:!0,inline:d},[Te[t]]),children:[e("div",{className:Te.icon,children:e(m,{icon:v,size:"md",theme:"dark"})}),e("div",{className:Te.message,children:o}),n("div",{className:Te.actions,children:[l&&e(P,{icon:C,onClick:l,type:W.WHITE_TEXT}),e(P,{icon:p,onClick:i,type:W.WHITE_TEXT})]})]});var Ee="Loading-module_loading__7gLQd",Me="Loading-module_image__gig5S";const He=({image:n})=>e("div",{className:Ee,children:e("img",{src:n,alt:"Loading...",className:Me})});var je={container:"Row-module_container__XmQql",fullHeight:"Row-module_fullHeight__Inxzs",fullWidth:"Row-module_fullWidth__cz2RH"};const ze=({alignItems:n="center",justifyContent:o="flex-start",flexWrap:i="nowrap",gap:l=1,fullHeight:t=!1,fullWidth:d=!0,children:a})=>e("div",{className:c(je,{container:!0,fullHeight:t,fullWidth:d}),style:{alignItems:n,justifyContent:o,flexWrap:i,gap:`${l}rem`},children:a});var Re={container:"Column-module_container__Sqvfx",fullHeight:"Column-module_fullHeight__W87C5",fullWidth:"Column-module_fullWidth__lUQrj"};const Fe=({alignItems:n="flex-start",justifyContent:o="flex-start",gap:i=1,fullHeight:l=!1,fullWidth:t=!0,children:d})=>e("div",{className:c(Re,{container:!0,fullHeight:l,fullWidth:t}),style:{alignItems:n,justifyContent:o,gap:`${i}rem`},children:d});var Ge={container:"Flex-module_container__f80QI",grow:"Flex-module_grow__z7OVe",fullHeight:"Flex-module_fullHeight__d4p45",fullWidth:"Flex-module_fullWidth__m4XF-",item:"Flex-module_item__GwWE3",shrink:"Flex-module_shrink__LwfYE"};const Ue=({children:n,grow:o,shrink:i,className:l,fullHeight:t,fullWidth:d})=>e("div",{className:c(Ge,{item:!0,grow:o,shrink:i,fullHeight:t,fullWidth:d},[l]),children:n}),Ye=({children:n,alignItems:o,justifyContent:i,flexWrap:l,gap:t,className:d,direction:a,grow:_,fullHeight:r,fullWidth:s})=>e("div",{className:c(Ge,{container:!0,fullHeight:r,fullWidth:s,grow:_},[d]),style:{alignItems:o,justifyContent:i,flexWrap:l,flexDirection:a,gap:`${t}rem`},children:n});Ue.displayName="Flex.Item",Ye.Item=Ue;var Ve={container:"IconLink-module_container__DPEQm",xxs:"IconLink-module_xxs__VR--q",xs:"IconLink-module_xs__7kP8f",sm:"IconLink-module_sm__VTyu1",md:"IconLink-module_md__YaLm6",lg:"IconLink-module_lg__mEFFB",xl:"IconLink-module_xl__SFhG7",xxl:"IconLink-module_xxl__bxRt7",xxxl:"IconLink-module_xxxl__-ah4f",circle:"IconLink-module_circle__SszO0",light:"IconLink-module_light__ntSbm",dark:"IconLink-module_dark__3JP27",flexWide:"IconLink-module_flexWide__kFlaC",slidein:"IconLink-module_slidein__L3sxO",fadeInOut:"IconLink-module_fadeInOut__UZw3F",heightAnimation:"IconLink-module_heightAnimation__XWKzZ",fadein:"IconLink-module_fadein__mu-Q-",floatAnimation:"IconLink-module_floatAnimation__Upk7f"};const Xe=({icon:n,shape:o,target:i,size:l="xs",href:t,theme:d="light",title:a=""})=>e("a",{className:c(Ve,{container:!0},[Ve[o],Ve[l],Ve[d]]),href:t,target:i,rel:"noopener noreferrer",title:a,children:e(m,{icon:n,size:l,theme:d})});var Ze="Carousel-module_container__voMge",qe="Carousel-module_carousel__cXGTr",Ke="Carousel-module_item__umQ-j";const Qe=({children:n,gap:o=2})=>{const l=a(null),[t,d]=i(!1),[_,r]=i(0),[s,c]=i(0),u=()=>{d(!1)};return e("div",{className:Ze,children:e("div",{className:qe,ref:l,onMouseDown:e=>{var n,o;d(!0),r(e.pageX-((null===(n=l.current)||void 0===n?void 0:n.offsetLeft)||0)),c((null===(o=l.current)||void 0===o?void 0:o.scrollLeft)||0)},onMouseLeave:u,onMouseUp:u,onMouseMove:e=>{var n;if(!t)return;const o=e.pageX-((null===(n=l.current)||void 0===n?void 0:n.offsetLeft)||0)-_;l.current&&(l.current.scrollLeft=s-o)},style:{gap:`${o}rem`,cursor:t?"grabbing":"grab"},children:n})})},Je=({children:n})=>e("div",{className:Ke,children:n});var $e={box:"Chip-module_box__bPxl6",large:"Chip-module_large__vYrP6",small:"Chip-module_small__53iJq",clickable:"Chip-module_clickable__dzpKp",light:"Chip-module_light__29AuI",active:"Chip-module_active__BlTSF",lightDark:"Chip-module_lightDark__XNFQ7",lightDanger:"Chip-module_lightDanger__rLWTT",lightInfo:"Chip-module_lightInfo__lhtRG",lightPrimary:"Chip-module_lightPrimary__YzHWA",lightSecondary:"Chip-module_lightSecondary__qXcsD",lightWarning:"Chip-module_lightWarning__DDYW3",lightSuccess:"Chip-module_lightSuccess__n5gp5",primary:"Chip-module_primary__rvetC",secondary:"Chip-module_secondary__pLu90",danger:"Chip-module_danger__OJzar",dark:"Chip-module_dark__OOepT",info:"Chip-module_info__gtJS1",success:"Chip-module_success__0GXdc",warning:"Chip-module_warning__NBLbz",whiteText:"Chip-module_whiteText__zg28n",default:"Chip-module_default__AZUs1",borderedPrimary:"Chip-module_borderedPrimary__bRpmY",borderedSecondary:"Chip-module_borderedSecondary__JgMYX",flexWide:"Chip-module_flexWide__j8zBM",slidein:"Chip-module_slidein__qMh2s",fadeInOut:"Chip-module_fadeInOut__X5Sw2",heightAnimation:"Chip-module_heightAnimation__OA0dv",fadein:"Chip-module_fadein__CkDEY",floatAnimation:"Chip-module_floatAnimation__PMaOv"};const en=({onClick:n,className:o="",children:i,type:l=W.LIGHT,size:t="medium",active:d=!1})=>e("div",{className:c($e,{box:!0,clickable:!!n,active:d},[$e[l],$e[t],o]),onClick:n,children:i});var nn={container:"Modal-module_container__UCuJv",header:"Modal-module_header__NS30G",body:"Modal-module_body__3zIj9",footer:"Modal-module_footer__Oyz-R",full:"Modal-module_full__13hJb",large:"Modal-module_large__O42Af",flexWide:"Modal-module_flexWide__VReva",slidein:"Modal-module_slidein__ndLPJ",fadeInOut:"Modal-module_fadeInOut__c5Sgq",heightAnimation:"Modal-module_heightAnimation__E3smD",fadein:"Modal-module_fadein__vroAa",floatAnimation:"Modal-module_floatAnimation__dU3VL"};const on=t((function({title:o,content:i,header:l,footer:t,size:d="small",onClose:a},_){return n("div",{className:c(nn,{container:!0},[nn[d]]),ref:_,children:[!o&&l&&e("div",{className:nn.header,children:l}),o&&e("div",{className:nn.header,children:n(ze,{alignItems:"center",justifyContent:"space-between",children:[e("span",{children:o}),a&&e(P,{icon:p,onClick:a})]})}),e("div",{className:nn.body,children:i}),t&&e("div",{className:nn.footer,children:t})]})}));var ln={text:"Text-module_text__XXjeA",bodyText:"Text-module_bodyText__RqN1G",medium:"Text-module_medium__FoS2D",bold:"Text-module_bold__ZRBJh",flexWide:"Text-module_flexWide__fCAfU",slidein:"Text-module_slidein__ccSy8",fadeInOut:"Text-module_fadeInOut__JByvu",heightAnimation:"Text-module_heightAnimation__5YkEI",fadein:"Text-module_fadein__Fcz-y",floatAnimation:"Text-module_floatAnimation__2IgQs"};const tn=({variant:n="bodyText",children:o})=>{const i=(()=>{switch(n){case"h1":case"h2":case"h3":case"h4":case"h5":return n;default:return"div"}})();return e(i,{className:c(ln,{text:!0},[ln[n]]),children:o})};var dn={container:"Table-module_container__BsXT7",left:"Table-module_left__MPER1",right:"Table-module_right__gIcbO",center:"Table-module_center__sEdB2",centered:"Table-module_centered__liK0J",muted:"Table-module_muted__175Ax",flexWide:"Table-module_flexWide__ZT7bf",slidein:"Table-module_slidein__iS-HW",fadeInOut:"Table-module_fadeInOut__kkH6U",heightAnimation:"Table-module_heightAnimation__m6BZj",fadein:"Table-module_fadein__6ldtc",floatAnimation:"Table-module_floatAnimation__MN-bL"};const an=({children:n})=>e("thead",{children:n}),_n=({children:n})=>e("tr",{children:n}),rn=({children:n,align:o="left"})=>e("th",{className:dn[o],children:n}),sn=({children:n,centered:o=!1,muted:i=!1})=>e("td",{className:c(dn,{centered:o,muted:i}),children:n}),cn=({children:n})=>e("tbody",{children:n}),un=({children:n})=>e("div",{className:dn.container,children:e("table",{children:n})}),mn=(e,n)=>0===e?"left":e===n-1?"right":"center";export{le as Accordion,Pe as AlertBox,B as Avatar,S as Button,se as Card,Qe as Carousel,Je as CarouselItem,en as Chip,Fe as Column,We as ContactsList,fe as Container,he as CookieBanner,Se as Description,ee as DropDown,ye as FAQ,Ye as Flex,be as Header,re as Heading,P as IconButton,Xe as IconLink,Z as Input,z as InputType,j as Link,M as ListItem,He as Loading,oe as LoadingItem,on as Modal,ze as Row,m as SVGIcon,Ne as Section,un as Table,cn as TableBody,sn as TableCell,an as TableHead,rn as TableHeadCell,_n as TableRow,tn as Text,de as Tooltip,W as UIElementType,c as classNames,mn as getDataTableHeadAlign,K as useClickOutside,Q as useClickOutsideRef}; | ||
import{jsx as e,jsxs as n,Fragment as o}from"react/jsx-runtime";import{useState as i,Fragment as l,forwardRef as t,useEffect as d,useRef as a,useCallback as _}from"react";import r from"react-dom";var s={avatar:"Avatar-module_avatar__5-kP8",image:"Avatar-module_image__HFFlp",clickable:"Avatar-module_clickable__DD7pl",editable:"Avatar-module_editable__CpXtw",editIcon:"Avatar-module_editIcon__ULUa1",overlay:"Avatar-module_overlay__d95aK",overlayText:"Avatar-module_overlayText__NgsFM",loading:"Avatar-module_loading__9gBDd",xxs:"Avatar-module_xxs__zCCH6",xs:"Avatar-module_xs__1SMBv",sm:"Avatar-module_sm__8TB22",md:"Avatar-module_md__zeW0d",lg:"Avatar-module_lg__MWKN-",xl:"Avatar-module_xl__KCqIL",xxl:"Avatar-module_xxl__ox6gi",xxxl:"Avatar-module_xxxl__9Cc7C",inline:"Avatar-module_inline__H0AhD",flexWide:"Avatar-module_flexWide__GQYaQ",slidein:"Avatar-module_slidein__KV8Ih",fadeInOut:"Avatar-module_fadeInOut__2M9tv",heightAnimation:"Avatar-module_heightAnimation__RCYYu",fadein:"Avatar-module_fadein__lENH2",floatAnimation:"Avatar-module_floatAnimation__PNWhi"};const c=(e,n,o=[])=>{let i=[];for(const o in n)n[o]&&i.push(e[o]);return(null==o?void 0:o.length)>0&&(i=i.concat(o)),i.join(" ")};var u={container:"SVGIcon-module_container__z2RN5",isLoading:"SVGIcon-module_isLoading__8BhuU",fadeInOut:"SVGIcon-module_fadeInOut__EgbCf",dark:"SVGIcon-module_dark__4QbUi",flexWide:"SVGIcon-module_flexWide__IfOOF",slidein:"SVGIcon-module_slidein__RT6-4",heightAnimation:"SVGIcon-module_heightAnimation__CmY-x",fadein:"SVGIcon-module_fadein__Y2P5U",floatAnimation:"SVGIcon-module_floatAnimation__kH3Tr"};const m=({icon:n,size:o="sm",className:i="",isLoading:l=!1,theme:t="light"})=>{const d=(e=>{switch(e){case"xxs":return 8;case"xs":return 12;case"sm":default:return 16;case"md":return 24;case"lg":return 32;case"xl":return 48;case"xxl":return 64;case"xxxl":return 128}})(o);return n?e("div",{className:c(u,{container:!0,isLoading:l},[i,u[t]]),children:e(n,{className:i,width:d,height:d,viewBox:"0 0 24 24",preserveAspectRatio:"xMidYMid meet"})}):null},h=o=>n("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:[e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2 8.377c0-.35 0-.525.015-.673a3 3 0 0 1 2.69-2.69C4.851 5 5.035 5 5.404 5c.143 0 .214 0 .274-.004a2 2 0 0 0 1.735-1.25c.023-.056.044-.12.086-.246.042-.127.063-.19.086-.246a2 2 0 0 1 1.735-1.25C9.38 2 9.448 2 9.58 2h4.838c.133 0 .2 0 .26.004a2 2 0 0 1 1.735 1.25c.023.056.044.12.086.246.042.127.063.19.086.246a2 2 0 0 0 1.735 1.25c.06.004.131.004.273.004.37 0 .554 0 .702.015a3 3 0 0 1 2.69 2.69c.014.147.014.322.014.672V16.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2z"}),e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 16.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8"})]})),g=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 6 9 17l-5-5"})})),f=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m9 18 6-6-6-6"})})),p=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 6 6 18M6 6l12 12"})})),v=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 15.744a4.502 4.502 0 0 0-1.08-8.725 6.002 6.002 0 0 0-11.84 0A4.5 4.5 0 0 0 5 15.744M13 10l-4 6h6l-4 6"})})),x=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m4.272 20.728 6.597-6.597c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668l6.553 6.553M14 15l2.869-2.869c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L22 15M10 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0M6.8 21h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 18.72 22 17.88 22 16.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 21 5.12 21 6.8 21"})})),I=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m2 7 8.165 5.715c.661.463.992.695 1.351.784a2 2 0 0 0 .968 0c.36-.09.69-.32 1.351-.784L22 7M6.8 20h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 17.72 22 16.88 22 15.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 4 18.88 4 17.2 4H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 6.28 2 7.12 2 8.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 20 5.12 20 6.8 20"})})),A=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 14.286c-1.851.817-3 1.955-3 3.214C2 19.985 6.477 22 12 22s10-2.015 10-4.5c0-1.259-1.149-2.397-3-3.214M18 8c0 4.064-4.5 6-6 9-1.5-3-6-4.936-6-9a6 6 0 1 1 12 0m-5 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0"})})),k=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12h18M3 6h18M3 18h18"})})),L=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 9.5h4M8 13h7m-2.5 7a8.5 8.5 0 1 0-8.057-5.783c.108.32.162.481.172.604a.9.9 0 0 1-.028.326c-.03.12-.098.245-.232.494l-1.636 3.027c-.233.432-.35.648-.324.815a.5.5 0 0 0 .234.35c.144.087.388.062.876.011l5.121-.529c.155-.016.233-.024.303-.021s.12.009.187.024c.069.016.155.05.329.116A8.5 8.5 0 0 0 12.5 20"})})),D=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h14"})})),b=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 5v14m-7-7h14"})})),C=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2 10s2.005-2.732 3.634-4.362A9 9 0 1 1 12 21a9.004 9.004 0 0 1-8.648-6.5M2 10V4m0 6h6"})})),N=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 22V11m-5 2v7a2 2 0 0 0 2 2h13.426a3 3 0 0 0 2.965-2.544l1.077-7A3 3 0 0 0 18.503 9H15a1 1 0 0 1-1-1V4.466A2.466 2.466 0 0 0 11.534 2a.82.82 0 0 0-.75.488l-3.52 7.918A1 1 0 0 1 6.35 11H4a2 2 0 0 0-2 2"})})),w=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8 16 4-4m0 0 4 4m-4-4v9m8-4.257A5.5 5.5 0 0 0 16.5 7a.62.62 0 0 1-.534-.302 7.5 7.5 0 1 0-11.78 9.096"})})),y=n=>e("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},n,{children:e("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5.316 19.438A4 4 0 0 1 9 17h6a4 4 0 0 1 3.684 2.438M16 9.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0m6 2.5c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"})})),B=({source:o=null,alt:i="avatar",size:l="sm",onClick:t,className:d,isEditable:a=!1,overlayIcon:_,inline:r=!1,isLoading:u=!1,overlayText:g})=>{const f=()=>{switch(l){case"xxxl":return 512;case"xxl":return 256;case"xl":return 128;case"lg":return 96;case"md":return 64;case"xs":return 32;case"xxs":return 24;default:return 48}};return n("div",{className:c(s,{avatar:!0,clickable:!!t||a,editable:a,inline:r,loading:u},[s[l],d]),onClick:t,style:{width:f(),height:f()},children:[o?e("img",{src:o,alt:i,className:s.image,width:f(),height:f()}):e(m,{size:l,icon:y}),a&&e("div",{className:s.editIcon,children:e(m,{isLoading:u,icon:u?w:h})}),(!!_||g)&&n("div",{className:s.overlay,children:[!!_&&e(m,{isLoading:u,icon:u?w:_}),!!g&&e("div",{className:s.overlayText,children:g})]})]})};var W,O={container:"Button-module_container__0j8md",confirm:"Button-module_confirm__N5z4A",confirmActions:"Button-module_confirmActions__Xh7kN",button:"Button-module_button__18Bed",label:"Button-module_label__1PsXG",light:"Button-module_light__oUjYe",lightDark:"Button-module_lightDark__vucG6",active:"Button-module_active__UeHD7",lightDanger:"Button-module_lightDanger__aDpy8",lightInfo:"Button-module_lightInfo__oCfFI",lightPrimary:"Button-module_lightPrimary__f7-kQ",lightSecondary:"Button-module_lightSecondary__YK-QR",lightWarning:"Button-module_lightWarning__-Ogcg",lightSuccess:"Button-module_lightSuccess__gSt46",primary:"Button-module_primary__st6yY",secondary:"Button-module_secondary__j-3rj",danger:"Button-module_danger__Hxs5n",dark:"Button-module_dark__T7dl8",info:"Button-module_info__2z1ZG",success:"Button-module_success__CHTsg",warning:"Button-module_warning__1voOb",whiteText:"Button-module_whiteText__12xTM",default:"Button-module_default__TZZU2",borderedPrimary:"Button-module_borderedPrimary__KrZVT",borderedSecondary:"Button-module_borderedSecondary__UPNks",xs:"Button-module_xs__OaJDb",sm:"Button-module_sm__RXFPY",md:"Button-module_md__nDnOD",lg:"Button-module_lg__qD-Qh",xl:"Button-module_xl__S-bZp",xxl:"Button-module_xxl__J-6aP",fullWidth:"Button-module_fullWidth__AHpSl",flexWide:"Button-module_flexWide__xDrEF",slidein:"Button-module_slidein__ofhlO",fadeInOut:"Button-module_fadeInOut__nAOqm",heightAnimation:"Button-module_heightAnimation__fLFCd",fadein:"Button-module_fadein__pspkB",floatAnimation:"Button-module_floatAnimation__0PYtT"};!function(e){e.PRIMARY="primary",e.SECONDARY="secondary",e.DANGER="danger",e.SUCCESS="success",e.WARNING="warning",e.INFO="info",e.LIGHT="light",e.DEFAULT="default",e.DARK="dark",e.LIGHT_PRIMARY="lightPrimary",e.LIGHT_SUCCESS="lightSuccess",e.LIGHT_WARNING="lightWarning",e.LIGHT_INFO="lightInfo",e.LIGHT_DANGER="lightDanger",e.LIGHT_DARK="lightDark",e.LIGHT_SECONDARY="lightSecondary",e.WHITE_TEXT="whiteText",e.BORDERED_PRIMARY="borderedPrimary",e.BORDERED_SECONDARY="borderedSecondary"}(W||(W={}));const S=({type:o=W.PRIMARY,onClick:t,label:d,icon:a,fullWidth:_=!1,isLoading:r,disabled:s,className:u,needConfirm:h=!1,size:g="md"})=>{const[f,p]=i(!1);return n("div",{className:c(O,{container:!0,fullWidth:_}),children:[e("button",{className:c(O,{button:!0,loading:!!r},[O[o],O[g],u]),onClick:h?()=>p(!f):t,disabled:r||s,children:r?e(l,{children:"Loading..."}):n("div",{className:O.label,children:[a&&e(m,{icon:a}),e("span",{children:d})]})}),f&&n("div",{className:O.confirm,children:[e("div",{className:O.confirmMessage,children:"Are you sure?"}),n("div",{className:O.confirmActions,children:[e(S,{type:W.DANGER,onClick:()=>p(!1),label:"No",size:"xs"}),e(S,{type:W.SUCCESS,onClick:()=>{p(!1),t()},label:"Yes",size:"xs"})]})]})]})};var T={iconButton:"IconButton-module_iconButton__PmpB8",noPadding:"IconButton-module_noPadding__Jd2rK",lg:"IconButton-module_lg__KG7lp",md:"IconButton-module_md__s4q7b",sm:"IconButton-module_sm__are9s",xs:"IconButton-module_xs__qYwZc",confirm:"IconButton-module_confirm__-jXH4",confirmMessage:"IconButton-module_confirmMessage__AgI49",confirmActions:"IconButton-module_confirmActions__j7-Tt",topLeft:"IconButton-module_topLeft__aDA0m",bottom:"IconButton-module_bottom__AEpND",disabled:"IconButton-module_disabled__pLK-t",white:"IconButton-module_white__AzyNN",light:"IconButton-module_light__i3AET",active:"IconButton-module_active__popsF",lightDark:"IconButton-module_lightDark__d7NQy",lightDanger:"IconButton-module_lightDanger__bIg02",lightInfo:"IconButton-module_lightInfo__820It",lightPrimary:"IconButton-module_lightPrimary__SCrg-",lightSecondary:"IconButton-module_lightSecondary__vN-aS",lightWarning:"IconButton-module_lightWarning__z1iaR",lightSuccess:"IconButton-module_lightSuccess__mUSnD",primary:"IconButton-module_primary__qjfR5",secondary:"IconButton-module_secondary__-CufX",danger:"IconButton-module_danger__lz3tP",dark:"IconButton-module_dark__QiBJk",info:"IconButton-module_info__eawU-",success:"IconButton-module_success__xkDzZ",warning:"IconButton-module_warning__DhbfD",whiteText:"IconButton-module_whiteText__111Ju",default:"IconButton-module_default__j2U57",borderedPrimary:"IconButton-module_borderedPrimary__DHXJQ",borderedSecondary:"IconButton-module_borderedSecondary__13GNA",flexWide:"IconButton-module_flexWide__BGOfY",slidein:"IconButton-module_slidein__Rmpl5",fadeInOut:"IconButton-module_fadeInOut__Z2E5a",heightAnimation:"IconButton-module_heightAnimation__JnqnZ",fadein:"IconButton-module_fadein__uX9ut",floatAnimation:"IconButton-module_floatAnimation__N-INw"};const P=({icon:o,onClick:l,type:t=W.DEFAULT,needConfirm:d=!1,noPadding:a=!1,isLoading:_=!1,size:r="sm",confirmPosition:s="top",isActive:u=!1})=>{const[h,g]=i(!1);return n("div",{className:c(T,{iconButton:!0,noPadding:a,active:u},[T[t],T[r]]),onClick:_?void 0:d?()=>g(!h):l,children:[e(m,{isLoading:_,icon:o,size:r}),h&&n("div",{className:`${T.confirm} ${T[s]}`,children:[e("div",{className:T.confirmMessage,children:"Are you sure?"}),n("div",{className:T.confirmActions,children:[e(S,{type:W.DANGER,onClick:()=>g(!1),label:"No",size:"xs"}),e(S,{type:W.SUCCESS,onClick:l,label:"Yes",size:"xs"})]})]})]})};var E={listItem:"ListItem-module_listItem__ljWE5",separator:"ListItem-module_separator__CIXS1",dashedSeparator:"ListItem-module_dashedSeparator__SYWNX",content:"ListItem-module_content__mPC1D",data:"ListItem-module_data__e0N6V",title:"ListItem-module_title__YkOz9",subtitle:"ListItem-module_subtitle__5flJp",indicator:"ListItem-module_indicator__BwMsO",success:"ListItem-module_success__lgO8z",info:"ListItem-module_info__MKMBu",warning:"ListItem-module_warning__8P-nA",danger:"ListItem-module_danger__sWYOu",primary:"ListItem-module_primary__-bA-W",completed:"ListItem-module_completed__ovBl4",flexWide:"ListItem-module_flexWide__-0Q5a",slidein:"ListItem-module_slidein__dGxX-",fadeInOut:"ListItem-module_fadeInOut__Yuwsd",heightAnimation:"ListItem-module_heightAnimation__aVO2o",fadein:"ListItem-module_fadein__GSr23",floatAnimation:"ListItem-module_floatAnimation__efvAy"};const M=({title:o,subtitle:i,actionTitle:l="",action:t,completed:d,indicator:a,hasSeparator:_=!1,hasDashedSeparator:r=!1,isActionPending:s=!1})=>n("div",{className:c(E,{listItem:!0,separator:_,dashedSeparator:r}),children:[n("div",{className:E.content,children:[a&&e("div",{className:c(E,{indicator:!0},[E[a]])}),n("div",{className:E.data,children:[e("div",{className:E.title,children:o}),i&&e("div",{className:E.subtitle,children:i})]})]}),t&&e(S,{onClick:t,className:E.action,label:l,isLoading:s}),d&&e("div",{className:E.completed,children:e(m,{icon:g})})]});var H={link:"Link-module_link__35Vo1",fullWidth:"Link-module_fullWidth__eg45D",zero:"Link-module_zero__e-EXa",xxs:"Link-module_xxs__DLzl2",xs:"Link-module_xs__K3V8L",sm:"Link-module_sm__FcTWO",md:"Link-module_md__mmLj-",lg:"Link-module_lg__R71ff",xl:"Link-module_xl__q05MB",xxl:"Link-module_xxl__VZVxK",xxxl:"Link-module_xxxl__91qsW",light:"Link-module_light__Ji8kV",active:"Link-module_active__iCkL0",lightDark:"Link-module_lightDark__1fDCG",lightDanger:"Link-module_lightDanger__lB9Tb",lightInfo:"Link-module_lightInfo__h5lfu",lightPrimary:"Link-module_lightPrimary__aZxve",lightSecondary:"Link-module_lightSecondary__QHh0c",lightWarning:"Link-module_lightWarning__iOuMw",lightSuccess:"Link-module_lightSuccess__zDBp0",primary:"Link-module_primary__CE3uj",secondary:"Link-module_secondary__KSolI",danger:"Link-module_danger__ugf9r",dark:"Link-module_dark__ap0Ls",info:"Link-module_info__9skpg",success:"Link-module_success__DwP-V",warning:"Link-module_warning__FhhXi",whiteText:"Link-module_whiteText__t7SOQ",default:"Link-module_default__3TBlr",borderedPrimary:"Link-module_borderedPrimary__RfPen",borderedSecondary:"Link-module_borderedSecondary__xTeGX",flexWide:"Link-module_flexWide__3A6ZB",slidein:"Link-module_slidein__kBzO4",fadeInOut:"Link-module_fadeInOut__zas8c",heightAnimation:"Link-module_heightAnimation__N7y-w",fadein:"Link-module_fadein__WxUdb",floatAnimation:"Link-module_floatAnimation__XrwU5"};const j=({href:o,title:i,target:l="_self",type:t=W.DEFAULT,padding:d="zero",hasChevron:a=!1,fullWidth:_=!1})=>n("a",{href:o,target:l,rel:"noopener noreferrer",className:c(H,{link:!0,fullWidth:_},[H[t],H[d]]),children:[e("span",{children:i})," ",a&&e(m,{icon:f})]});"function"==typeof SuppressedError&&SuppressedError;var z,R={input:"Input-module_input__505b7",full:"Input-module_full__h2smD",noMargin:"Input-module_noMargin__ysWuN",container:"Input-module_container__itXJp",colorPicker:"Input-module_colorPicker__Efa-c",required:"Input-module_required__kHc93",prefix:"Input-module_prefix__-1end",addon:"Input-module_addon__1cKdz",pointer:"Input-module_pointer__EsKoB",error:"Input-module_error__38tit",avatar:"Input-module_avatar__GJUWC",autoCompleteContent:"Input-module_autoCompleteContent__4anQc",reversed:"Input-module_reversed__dU1hV",transparent:"Input-module_transparent__ko36m",small:"Input-module_small__5vYiK",xsmall:"Input-module_xsmall__-9hXW",hasPrefix:"Input-module_hasPrefix__fU508",hasAddon:"Input-module_hasAddon__mruPW",darkMode:"Input-module_darkMode__DLx4Y",flexWide:"Input-module_flexWide__4Wn1k",slidein:"Input-module_slidein__XYim1",fadeInOut:"Input-module_fadeInOut__bnAwc",heightAnimation:"Input-module_heightAnimation__tmt9Z",fadein:"Input-module_fadein__1HtqV",floatAnimation:"Input-module_floatAnimation__sYawG"};!function(e){e.TEXT="text",e.PASSWORD="password",e.EMAIL="email",e.NUMBER="number",e.URL="url",e.TEL="tel",e.DATE="date",e.DATETIME="datetime",e.SELECT="select",e.COLOR_PICKER="color-picker",e.TEXT_AREA="text-area",e.AVATAR_UPLOAD="avatar-upload",e.UPLOAD_IMAGE_ICON="upload-image-icon",e.DND="dnd"}(z||(z={}));const F=({isLoading:i,value:l,isDisabled:t,placeholder:d,options:a,name:_,onBlur:r,onFocus:s,onChange:c,preIcon:u,addonIcon:h,addonAction:g})=>n(o,{children:[u&&e("div",{className:R.preIcon,children:e(m,{icon:u,isLoading:i})}),n("select",{className:R.field,value:l,onBlur:r,onFocus:s,onChange:c,name:_,disabled:t,children:[d&&e("option",{value:"",children:d}),a.map((({label:n,value:o})=>e("option",{value:o,children:n},o)))]}),h&&e("div",{className:g?`${R.addon} ${R.pointer}`:R.addon,onClick:g,children:e(m,{icon:h,isLoading:i})})]});var G={container:"DnD-module_container__zFojN",dropZone:"DnD-module_dropZone__OJnfw",placeholder:"DnD-module_placeholder__Fkhl4",dropLabel:"DnD-module_dropLabel__TDGan",input:"DnD-module_input__FKtwE",selectedImage:"DnD-module_selectedImage__DsvPl",removeImage:"DnD-module_removeImage__zMc3L",rectangle:"DnD-module_rectangle__cnjIE",square:"DnD-module_square__mc3tn",circle:"DnD-module_circle__kXFaZ",isDragOver:"DnD-module_isDragOver__vfTwp",flexWide:"DnD-module_flexWide__sqZP0",slidein:"DnD-module_slidein__bPiSA",fadeInOut:"DnD-module_fadeInOut__QCEYD",heightAnimation:"DnD-module_heightAnimation__OGSUd",fadein:"DnD-module_fadein__eyNza",floatAnimation:"DnD-module_floatAnimation__PwKWB"};const U=(e,n)=>{const o=new FileReader;o.onload=()=>{n(o.result)},o.readAsDataURL(e)},Y=({value:o,placeholder:l,isMultiUpload:t,dndShape:d="rectangle",isDisabled:a,className:_,onFilesSelect:r,onFileSelect:s})=>{const[u,m]=i(!1),h=e=>{if(e&&e.length>0){if(t&&r)return r(e);const n=e[0];U(n,(e=>{s&&s(n,e)}))}};return e("div",{className:c(G,{container:!0,isDragOver:u}),children:e("div",{onDrop:e=>{if(e.preventDefault(),a)return;const n=e.dataTransfer.files;h(n)},onDragOver:e=>{e.preventDefault()},onDragEnter:()=>m(!0),onDragLeave:()=>m(!1),className:c(G,{dropZone:!0},[G[d],_]),children:o?n("div",{className:G.selectedImage,children:[e("img",{src:String(o),alt:l}),e("div",{className:G.removeImage,children:e(P,{onClick:()=>{s&&s(null,"")},icon:p,type:W.BORDERED_PRIMARY})})]}):n("label",{className:G.dropLabel,children:[e("span",{className:G.placeholder,children:l||"Drop file"}),e("input",{type:"file",className:G.input,hidden:!0,onChange:e=>{const n=e.target;h(n.files)},disabled:a})]})})})};var V={container:"TextArea-module_container__uff42",field:"TextArea-module_field__kapQk",hasPrefix:"TextArea-module_hasPrefix__flVwo",prefix:"TextArea-module_prefix__vGIaC",flexWide:"TextArea-module_flexWide__staBL",slidein:"TextArea-module_slidein__-OBuL",fadeInOut:"TextArea-module_fadeInOut__aNBV4",heightAnimation:"TextArea-module_heightAnimation__mZG0q",fadein:"TextArea-module_fadein__30AAW",floatAnimation:"TextArea-module_floatAnimation__x6a8y"};const X=({value:o,placeholder:i,autoFocus:l,ref:t,isDisabled:d,prefix:a,rows:_=3,onBlur:r,onFocus:s,onChange:u})=>n("div",{className:c(V,{container:!0,hasPrefix:!!a}),children:[!!a&&e("div",{className:V.prefix,children:e("span",{children:a})}),e("textarea",{className:V.field,value:o,placeholder:i,onBlur:r,onFocus:s,onChange:u,autoFocus:l,ref:t,disabled:d,rows:_})]}),Z=t((function(o,i){var{type:t=z.TEXT,label:d,placeholder:a,value:_,required:r=!1,addonIcon:s,preIcon:u,addonText:h,labelAddon:g,errorMessage:f,options:p=[],fullWidth:v,avatarSize:I,source:A,autoCompleteContent:k,autoCompleteReverse:L=!1,noMargin:D=!1,isDisabled:b=!1,isLoading:C=!1,isMultiUpload:N=!1,autoFocus:w=!1,theme:y="oval",size:W="medium",isDarkMode:O=!1,dndShape:S,name:T,prefix:P,rows:E,className:M,onBlur:H,onFocus:j,onChange:G,addonAction:V,onEnter:Z,onEsc:q,onFileSelect:K,onFilesSelect:Q}=o,J=function(e,n){var o={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(o[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var l=0;for(i=Object.getOwnPropertySymbols(e);l<i.length;l++)n.indexOf(i[l])<0&&Object.prototype.propertyIsEnumerable.call(e,i[l])&&(o[i[l]]=e[i[l]])}return o}(o,["type","label","placeholder","value","required","addonIcon","preIcon","addonText","labelAddon","errorMessage","options","fullWidth","avatarSize","source","autoCompleteContent","autoCompleteReverse","noMargin","isDisabled","isLoading","isMultiUpload","autoFocus","theme","size","isDarkMode","dndShape","name","prefix","rows","className","onBlur","onFocus","onChange","addonAction","onEnter","onEsc","onFileSelect","onFilesSelect"]);const $=b||C,ee=e=>{switch(e.key){case"Enter":Z&&Z();break;case"Escape":q&&q()}},ne=e=>{const n=e.target.files[0];U(n,(e=>{K&&K(n,e)}))},oe=e=>{const n=e.target;Q&&Q(n.files)};return n("div",{className:c(R,{input:!0,full:!!v,noMargin:D,hasAddon:!!s||!!h,hasPrefix:!!P,darkMode:O},[R[y],R[W]]),children:[d&&n("label",{children:[e("span",{className:r?R.required:"",children:d}),!!g&&e("div",{className:R.labelAddon,children:g})]}),e("div",{className:R.container,children:(()=>{switch(t){case z.SELECT:return e(F,{preIcon:u,isLoading:C,value:_,isDisabled:b,placeholder:a,options:p,onBlur:H,onFocus:j,onChange:G,addonAction:V,addonIcon:s,name:T});case z.DND:return e(Y,{onFilesSelect:Q,onFileSelect:K,placeholder:a,value:_,dndShape:S,isDisabled:b,isMultiUpload:N,className:M});case z.COLOR_PICKER:return e("input",Object.assign({className:`${R.field} ${R.colorPicker}`,type:"color",value:_,placeholder:a,onBlur:H,onFocus:j,onChange:G,disabled:$,ref:i},J));case z.TEXT_AREA:return e(X,{value:_,placeholder:a,onBlur:H,onFocus:j,onChange:G,autoFocus:w,ref:i,prefix:P,rows:E});case z.AVATAR_UPLOAD:return n("label",{htmlFor:"avatar-upload",children:[e(B,{size:I,source:A,isLoading:C,isEditable:!0}),e("input",{type:"file",name:"avatar-upload",id:"avatar-upload",accept:"image/*",onChange:N?oe:ne,ref:i,className:R.avatar,disabled:$,multiple:N})]});case z.UPLOAD_IMAGE_ICON:return n("label",{htmlFor:"upload-image-icon",children:[e(m,{icon:x,isLoading:C,size:"md"}),e("input",{type:"file",name:"upload-image-icon",id:"upload-image-icon",accept:"image/*",onChange:N?oe:ne,ref:i,className:R.avatar,disabled:$,multiple:N})]});default:return n(l,{children:[!!P&&e("div",{className:R.prefix,children:e("span",{children:P})}),e("input",Object.assign({className:R.field,type:t,placeholder:a,value:_,onBlur:H,onFocus:j,onChange:G,onKeyUp:ee,ref:i,disabled:$,autoFocus:w,name:T},J)),s&&e("div",{className:V?`${R.addon} ${R.pointer}`:R.addon,onClick:V,children:e(m,{icon:s,isLoading:C})}),h&&e("div",{className:V?`${R.addon} ${R.pointer}`:R.addon,onClick:V,children:h})]})}})()}),!!f&&e("div",{className:R.error,children:f}),!!k&&e("div",{className:c(R,{autoCompleteContent:!0,reversed:L}),children:k})]})}));var q={menu:"DropDown-module_menu__gRW7p",container:"DropDown-module_container__ms9Bn",action:"DropDown-module_action__D8KuY",light:"DropDown-module_light__6NSjI",active:"DropDown-module_active__rGcA2",lightDark:"DropDown-module_lightDark__Ctspk",lightDanger:"DropDown-module_lightDanger__FaZ6G",lightInfo:"DropDown-module_lightInfo__DMaJO",lightPrimary:"DropDown-module_lightPrimary__sobOp",lightSecondary:"DropDown-module_lightSecondary__PB0m-",lightWarning:"DropDown-module_lightWarning__mkeGN",lightSuccess:"DropDown-module_lightSuccess__QNoVS",primary:"DropDown-module_primary__9-x6Y",secondary:"DropDown-module_secondary__HBses",danger:"DropDown-module_danger__ZbPY6",dark:"DropDown-module_dark__3YhdZ",info:"DropDown-module_info__5qwW6",success:"DropDown-module_success__NbhHj",warning:"DropDown-module_warning__MrYwV",whiteText:"DropDown-module_whiteText__eVLut",default:"DropDown-module_default__D0DNi",borderedPrimary:"DropDown-module_borderedPrimary__oTb-J",borderedSecondary:"DropDown-module_borderedSecondary__GqWsA",xsmall:"DropDown-module_xsmall__Mc6Zx",small:"DropDown-module_small__Goyza",large:"DropDown-module_large__P5F--",flexWide:"DropDown-module_flexWide__ySVZv",slidein:"DropDown-module_slidein__ZYDXA",fadeInOut:"DropDown-module_fadeInOut__hjIWL",heightAnimation:"DropDown-module_heightAnimation__EUum9",fadein:"DropDown-module_fadein__D2VO0",floatAnimation:"DropDown-module_floatAnimation__z5DD5"};const K=(e,n)=>{const o=o=>{e.current&&!e.current.contains(o.target)&&n()};d((()=>(document.addEventListener("click",o),()=>{document.removeEventListener("click",o)})),[])},Q=e=>{const n=a(null),o=_((o=>{n.current&&!n.current.contains(o.target)&&e()}),[e]);return d((()=>(document.addEventListener("click",o),()=>{document.removeEventListener("click",o)})),[o]),n},J=({containerRef:n,contentRef:o,isOpen:l=!1,renderChild:t,onClose:a})=>{const _={isOpen:!1,top:0,left:0,bottom:0,right:0},[s,c]=i(_),u={position:"absolute",top:s.top,left:s.left,bottom:s.bottom,right:s.right,zIndex:111},m=()=>{c(_),a()};return K(n,(()=>m())),d((()=>{if(l)return(()=>{var e,i,l,t,d,a,_;const{top:r,left:s,height:u,width:m}=null!==(l=null===(i=null===(e=null==n?void 0:n.current)||void 0===e?void 0:e.getBoundingClientRect)||void 0===i?void 0:i.call(e))&&void 0!==l?l:{top:0,left:0,height:0,width:0},{innerHeight:h,innerWidth:g}=window,f=h-(r+u),p=r,v=s,x=g-(s+m),I=null!==(d=null===(t=null==o?void 0:o.current)||void 0===t?void 0:t.clientHeight)&&void 0!==d?d:200,A=null!==(_=null===(a=null==o?void 0:o.current)||void 0===a?void 0:a.clientWidth)&&void 0!==_?_:200;let k="auto",L="auto",D="auto",b="auto";f<I&&p>=I?b=h-r-u+20:L=r+u+5,x<A&&v>=A?D=g-s:k=s;const C={top:L,left:k,right:D,bottom:b};c(Object.assign(Object.assign({},C),{isOpen:!0}))})();m()}),[l,null==n?void 0:n.current]),s.isOpen?r.createPortal(e("div",{style:u,onClick:e=>{e.stopPropagation()},children:t(s)}),document.getElementById("portals")):null},$=({children:n})=>e("div",{className:q.menu,children:n}),ee=({action:o,menu:l,type:t=W.DEFAULT,closeRef:_,actionSize:r="medium"})=>{const s=a(null),u=a(null),m=a(null),[h,g]=i(!1),f=()=>g(!1);return d((()=>{(null==_?void 0:_.current)&&(_.current={close:()=>f()})}),[_]),n("div",{className:q.container,ref:s,children:[e("div",{className:c(q,{action:!0},[q[t],q[r]]),ref:m,onClick:()=>g(!h),children:o}),e(J,{containerRef:s,contentRef:u,isOpen:h,onClose:f,renderChild:()=>e("div",{className:q.menuContainer,ref:u,children:e($,{children:l})})})]})};var ne={container:"LoadingItem-module_container__ujRaI",fadeInOut:"LoadingItem-module_fadeInOut__HDJT8",square:"LoadingItem-module_square__OucYB",xxs:"LoadingItem-module_xxs__kTYcZ",xs:"LoadingItem-module_xs__sISZM",sm:"LoadingItem-module_sm__hsDHD",md:"LoadingItem-module_md__bU5yA",lg:"LoadingItem-module_lg__9sK4b",xl:"LoadingItem-module_xl__O0kH8",xxl:"LoadingItem-module_xxl__tIjdb",xxxl:"LoadingItem-module_xxxl__h73z5",xxxxl:"LoadingItem-module_xxxxl__XTzwy",flexWide:"LoadingItem-module_flexWide__sIJC3",slidein:"LoadingItem-module_slidein__8J982",heightAnimation:"LoadingItem-module_heightAnimation__cUh26",fadein:"LoadingItem-module_fadein__-CmLg",floatAnimation:"LoadingItem-module_floatAnimation__gQ2jh"};const oe=({shape:n="square",size:o="md",width:i,height:l})=>e("div",{className:c(ne,{container:!0},[ne[n],ne[o]]),style:{width:i,height:l}});var ie={container:"Accordion-module_container__6rGl0",header:"Accordion-module_header__AYOT5",body:"Accordion-module_body__4IgEa",content:"Accordion-module_content__RyBzl",isOpen:"Accordion-module_isOpen__Bmf-c",flexWide:"Accordion-module_flexWide__Pmyu-",slidein:"Accordion-module_slidein__NIsrY",fadeInOut:"Accordion-module_fadeInOut__Ub-rg",heightAnimation:"Accordion-module_heightAnimation__nT1oQ",fadein:"Accordion-module_fadein__KprHu",floatAnimation:"Accordion-module_floatAnimation__d-fsP"};const le=({title:o,content:l})=>{const[t,d]=i(!1);return n("div",{className:c(ie,{container:!0,isOpen:t}),onClick:()=>d(!t),children:[n("div",{className:ie.header,children:[e("h3",{children:o}),e(m,{icon:t?D:b,size:"md"})]}),e("div",{className:ie.body,children:e("div",{className:ie.content,children:l})})]})};var te={tooltip:"Tooltip-module_tooltip__LjRUX",hint:"Tooltip-module_hint__ZdhCh",top:"Tooltip-module_top__HZqEk",bottom:"Tooltip-module_bottom__hrxCa",right:"Tooltip-module_right__LGQTD",left:"Tooltip-module_left__-LZ0w",flexWide:"Tooltip-module_flexWide__dQnBf",slidein:"Tooltip-module_slidein__Yziit",fadeInOut:"Tooltip-module_fadeInOut__glWW2",heightAnimation:"Tooltip-module_heightAnimation__5cr8-",fadein:"Tooltip-module_fadein__NGjXx",floatAnimation:"Tooltip-module_floatAnimation__R4QxW"};const de=({hint:o,children:i,position:l="top"})=>n("div",{className:te.tooltip,children:[!!o&&e("div",{className:`${te.hint} ${te[l]}`,children:o}),i]});var ae={card:"Card-module_card__LzN-3",header:"Card-module_header__j-c-9",subtitle:"Card-module_subtitle__RVMlO",body:"Card-module_body__v78vB",footer:"Card-module_footer__FjLbG",separated:"Card-module_separated__XYi-z",noBottomMargin:"Card-module_noBottomMargin__X7Gc1",noBodyPadding:"Card-module_noBodyPadding__Qwkyx",fullWidth:"Card-module_fullWidth__HpLSP",fullHeight:"Card-module_fullHeight__Ngt-E",flexWide:"Card-module_flexWide__qc7xl",slidein:"Card-module_slidein__9OQew",fadeInOut:"Card-module_fadeInOut__nlrXf",heightAnimation:"Card-module_heightAnimation__edaK-",fadein:"Card-module_fadein__8Bpsl",floatAnimation:"Card-module_floatAnimation__fuwcu"},_e={heading:"Heading-module_heading__zKyv7",title:"Heading-module_title__poNb0",xl:"Heading-module_xl__EUHx8",lg:"Heading-module_lg__BzP-H",md:"Heading-module_md__etFxz",sm:"Heading-module_sm__DW8pt",xs:"Heading-module_xs__1cGtZ",subtitle:"Heading-module_subtitle__siosa",flexWide:"Heading-module_flexWide__kdze4",slidein:"Heading-module_slidein__aveKx",fadeInOut:"Heading-module_fadeInOut__-4cOS",heightAnimation:"Heading-module_heightAnimation__r9l4u",fadein:"Heading-module_fadein__yua3s",floatAnimation:"Heading-module_floatAnimation__OA9Sm"};const re=({size:o="md",title:i,subtitle:l})=>n("div",{className:_e.heading,children:[e("div",{className:`${_e.title} ${_e[o]}`,children:i}),l&&e("div",{className:_e.subtitle,children:l})]}),se=({title:o,subtitle:i,children:l,toolbar:t,footer:d,separated:a=!1,borderTopWidth:_,borderTopColor:r,noBottomMargin:s=!1,noBodyPadding:u=!1,fullHeight:m=!1,fullWidth:h=!1})=>{const g=_?`${_}px solid ${r}`:"none";return n("div",{className:c(ae,{card:!0,separated:a,noBottomMargin:s,noBodyPadding:u,fullHeight:m,fullWidth:h}),style:Object.assign({},_&&{borderTop:g}),children:[(t||o)&&n("div",{className:ae.header,children:[n("div",{className:ae.headerInfo,children:[o&&e("div",{className:ae.headerTitle,children:e(re,{size:"sm",title:o})}),i&&e("div",{className:ae.headerSubtitle,children:i})]}),t&&e("div",{className:ae.headerToolbar,children:t})]}),e("div",{className:ae.body,children:l}),d&&e("div",{className:ae.footer,children:d})]})};var ce={container:"CookieBanner-module_container__4UQ-V",content:"CookieBanner-module_content__upuyM",flexWide:"CookieBanner-module_flexWide__Vft50",slidein:"CookieBanner-module_slidein__NxJr8",fadeInOut:"CookieBanner-module_fadeInOut__4-sCu",heightAnimation:"CookieBanner-module_heightAnimation__vqvzX",fadein:"CookieBanner-module_fadein__-ogfe",floatAnimation:"CookieBanner-module_floatAnimation__UCwtP"};const ue=new class{constructor(){this.cookieBannerKey="sorocraft_cookie_banner"}saveCookieBannerState(e){localStorage.setItem(this.cookieBannerKey,String(e))}getCookieBannerState(){return localStorage.getItem(this.cookieBannerKey)}};var me;!function(e){e.SEEN="seen"}(me||(me={}));const he=({appName:o})=>{const[l,t]=i(!1);return d((()=>{const e=ue.getCookieBannerState();t(e!==me.SEEN)}),[]),l?n("div",{className:ce.container,children:[n("div",{className:ce.content,children:["As ",o,", we do not use any cookies ourselves, but some of our service providers may. Please check our ",e("a",{href:"/privacy",children:"Privacy Policy"})," page for more details."]}),e("div",{className:ce.actions,children:e(S,{label:"Continue",onClick:()=>{t(!1),ue.saveCookieBannerState(me.SEEN)}})})]}):null};var ge={container:"Container-module_container__exPuE",noPadding:"Container-module_noPadding__lpIsj",fullWidth:"Container-module_fullWidth__BIlSl",flexWide:"Container-module_flexWide__UYxLw",slidein:"Container-module_slidein__2HqKN",fadeInOut:"Container-module_fadeInOut__OfzxZ",heightAnimation:"Container-module_heightAnimation__UR715",fadein:"Container-module_fadein__9rDYD",floatAnimation:"Container-module_floatAnimation__6Lcjo"};const fe=({className:n="",children:o,noPadding:i=!1,fullWidth:l=!1})=>e("div",{className:c(ge,{container:!0,noPadding:i,fullWidth:l},[n]),children:o});var pe="Header-module_header__qxHtx",ve="Header-module_content__DV-in",xe="Header-module_logo__xO2bW",Ie="Header-module_mobileLogo__eNvSP",Ae="Header-module_actions__ZlACk",ke="Header-module_mobileMenuIcon__pFpba",Le="Header-module_menu__Yw9r6",De="Header-module_mobileMenu__4S-NE";const be=({logo:o,menu:l,actions:t=null})=>{const[d,a]=i(!1);return n("header",{className:pe,children:[e(fe,{children:n("div",{className:ve,children:[e("a",{href:"/",className:xe,children:o}),e("a",{href:"/",className:Ie,children:o}),!!l&&e("div",{className:Le,children:l}),n("div",{className:Ae,children:[t,!!l&&e("div",{className:ke,children:e(P,{icon:d?p:k,onClick:()=>a(!d),size:"lg"})})]})]})}),d&&e("div",{className:De,children:l})]})};var Ce={container:"Section-module_container__3n1V-",header:"Section-module_header__uP6hi",subtitle:"Section-module_subtitle__8Y9SH",gradient:"Section-module_gradient__xroL-",black:"Section-module_black__xbyiN",dark:"Section-module_dark__5IiQW",flexWide:"Section-module_flexWide__jFoW4",slidein:"Section-module_slidein__gRGLr",fadeInOut:"Section-module_fadeInOut__yLFY5",heightAnimation:"Section-module_heightAnimation__7ap3B",fadein:"Section-module_fadein__Jbv0F",floatAnimation:"Section-module_floatAnimation__g2TfT"};const Ne=({title:o,subtitle:i,theme:l="light",backgroundColor:t="transparent",children:d})=>n("div",{className:c(Ce,{container:!0},[Ce[l]]),style:{backgroundColor:t},children:[n("div",{className:Ce.header,children:[e("h2",{children:o}),!!i&&e("div",{className:Ce.subtitle,children:i})]}),e("div",{className:Ce.body,children:d})]});var we="FAQ-module_container__Kht11";const ye=({items:n,title:o})=>e(Ne,{title:o||"Frequently asked questions",children:e("div",{className:we,children:n.map((({title:n,content:o})=>e(le,{title:n,content:o},n)))})});var Be={container:"ContactsList-module_container__rwdG-",contact:"ContactsList-module_contact__S5Q5T",title:"ContactsList-module_title__2h1V2",value:"ContactsList-module_value__JksBF",flexWide:"ContactsList-module_flexWide__y3ESG",slidein:"ContactsList-module_slidein__WCW87",fadeInOut:"ContactsList-module_fadeInOut__SFFum",heightAnimation:"ContactsList-module_heightAnimation__wjNjX",fadein:"ContactsList-module_fadein__CVVKr",floatAnimation:"ContactsList-module_floatAnimation__JNgpI"};const We=({domain:o,socialLinks:i,address:l,reportLabel:t,writeUsLabel:d,followUsLabel:a,addressLabel:_})=>n("div",{className:Be.container,children:[n("div",{className:Be.contact,children:[e("div",{className:Be.icon,children:e(m,{icon:L,size:"xl"})}),n("div",{className:Be.content,children:[e("div",{className:Be.title,children:t||"Report"}),e("div",{className:Be.value,children:n("a",{href:`mailto:feedback@${o}`,children:["feedback@",o]})})]})]}),n("div",{className:Be.contact,children:[e("div",{className:Be.icon,children:e(m,{icon:I,size:"xl"})}),n("div",{className:Be.content,children:[e("div",{className:Be.title,children:d||"Write us"}),e("div",{className:Be.value,children:n("a",{href:`mailto:contact@${o}`,children:["contact@",o]})})]})]}),n("div",{className:Be.contact,children:[e("div",{className:Be.icon,children:e(m,{icon:N,size:"xl"})}),n("div",{className:Be.content,children:[e("div",{className:Be.title,children:a||"Follow us"}),e("div",{className:Be.value,children:e("ul",{children:i.map((({url:n,icon:o})=>e("li",{children:e("a",{href:n,target:"_blank",children:e(m,{icon:o,size:"md"})})},n)))})})]})]}),n("div",{className:Be.contact,children:[e("div",{className:Be.icon,children:e(m,{icon:A,size:"xl"})}),n("div",{className:Be.content,children:[e("div",{className:Be.title,children:_||"Address"}),e("div",{className:Be.value,children:l})]})]})]});var Oe={description:"Description-module_description__ENVu-",xl:"Description-module_xl__GtUSA",lg:"Description-module_lg__ENF-W",m:"Description-module_m__RqjBl",s:"Description-module_s__RAro3",xs:"Description-module_xs__0chE0",noSpacing:"Description-module_noSpacing__746UN",lighter:"Description-module_lighter__y-rC3",flexWide:"Description-module_flexWide__CEoWm",slidein:"Description-module_slidein__ZJBnB",fadeInOut:"Description-module_fadeInOut__ZdTzP",heightAnimation:"Description-module_heightAnimation__v2n3a",fadein:"Description-module_fadein__bPsva",floatAnimation:"Description-module_floatAnimation__Cq8oz"};const Se=({size:n="m",text:o,noSpacing:i=!1,className:l="",lighter:t=!1})=>e("div",{className:c(Oe,{description:!0,noSpacing:i,lighter:t},[Oe[n],l]),children:o});var Te={alert:"AlertBox-module_alert__y9n9e",inline:"AlertBox-module_inline__upbhQ",error:"AlertBox-module_error__anhZO",success:"AlertBox-module_success__80DOT",icon:"AlertBox-module_icon__FLy1Y",actions:"AlertBox-module_actions__fgPt7","supeer-icon-button":"AlertBox-module_supeer-icon-button__8oUJ8",message:"AlertBox-module_message__ssD6S",flexWide:"AlertBox-module_flexWide__isTSZ",slidein:"AlertBox-module_slidein__BNFh5",fadeInOut:"AlertBox-module_fadeInOut__DW6jj",heightAnimation:"AlertBox-module_heightAnimation__AMoVU",fadein:"AlertBox-module_fadein__5wonR",floatAnimation:"AlertBox-module_floatAnimation__rXaKh"};const Pe=({message:o,onClear:i,onReload:l,type:t,inline:d=!1})=>n("div",{className:c(Te,{alert:!0,inline:d},[Te[t]]),children:[e("div",{className:Te.icon,children:e(m,{icon:v,size:"md",theme:"dark"})}),e("div",{className:Te.message,children:o}),n("div",{className:Te.actions,children:[l&&e(P,{icon:C,onClick:l,type:W.WHITE_TEXT}),e(P,{icon:p,onClick:i,type:W.WHITE_TEXT})]})]});var Ee="Loading-module_loading__7gLQd",Me="Loading-module_image__gig5S";const He=({image:n})=>e("div",{className:Ee,children:e("img",{src:n,alt:"Loading...",className:Me})});var je={container:"Row-module_container__XmQql",fullHeight:"Row-module_fullHeight__Inxzs",fullWidth:"Row-module_fullWidth__cz2RH"};const ze=({alignItems:n="center",justifyContent:o="flex-start",flexWrap:i="nowrap",gap:l=1,fullHeight:t=!1,fullWidth:d=!0,children:a})=>e("div",{className:c(je,{container:!0,fullHeight:t,fullWidth:d}),style:{alignItems:n,justifyContent:o,flexWrap:i,gap:`${l}rem`},children:a});var Re={container:"Column-module_container__Sqvfx",fullHeight:"Column-module_fullHeight__W87C5",fullWidth:"Column-module_fullWidth__lUQrj"};const Fe=({alignItems:n="flex-start",justifyContent:o="flex-start",gap:i=1,fullHeight:l=!1,fullWidth:t=!0,children:d})=>e("div",{className:c(Re,{container:!0,fullHeight:l,fullWidth:t}),style:{alignItems:n,justifyContent:o,gap:`${i}rem`},children:d});var Ge={container:"Flex-module_container__f80QI",grow:"Flex-module_grow__z7OVe",fullHeight:"Flex-module_fullHeight__d4p45",fullWidth:"Flex-module_fullWidth__m4XF-",item:"Flex-module_item__GwWE3",shrink:"Flex-module_shrink__LwfYE"};const Ue=({children:n,grow:o,shrink:i,className:l,fullHeight:t,fullWidth:d})=>e("div",{className:c(Ge,{item:!0,grow:o,shrink:i,fullHeight:t,fullWidth:d},[l]),children:n}),Ye=({children:n,alignItems:o,justifyContent:i,flexWrap:l,gap:t,className:d,direction:a,grow:_,fullHeight:r,fullWidth:s})=>e("div",{className:c(Ge,{container:!0,fullHeight:r,fullWidth:s,grow:_},[d]),style:{alignItems:o,justifyContent:i,flexWrap:l,flexDirection:a,gap:`${t}rem`},children:n});Ue.displayName="Flex.Item",Ye.Item=Ue;var Ve={container:"IconLink-module_container__DPEQm",xxs:"IconLink-module_xxs__VR--q",xs:"IconLink-module_xs__7kP8f",sm:"IconLink-module_sm__VTyu1",md:"IconLink-module_md__YaLm6",lg:"IconLink-module_lg__mEFFB",xl:"IconLink-module_xl__SFhG7",xxl:"IconLink-module_xxl__bxRt7",xxxl:"IconLink-module_xxxl__-ah4f",circle:"IconLink-module_circle__SszO0",light:"IconLink-module_light__ntSbm",dark:"IconLink-module_dark__3JP27",flexWide:"IconLink-module_flexWide__kFlaC",slidein:"IconLink-module_slidein__L3sxO",fadeInOut:"IconLink-module_fadeInOut__UZw3F",heightAnimation:"IconLink-module_heightAnimation__XWKzZ",fadein:"IconLink-module_fadein__mu-Q-",floatAnimation:"IconLink-module_floatAnimation__Upk7f"};const Xe=({icon:n,shape:o,target:i,size:l="xs",href:t,theme:d="light",title:a=""})=>e("a",{className:c(Ve,{container:!0},[Ve[o],Ve[l],Ve[d]]),href:t,target:i,rel:"noopener noreferrer",title:a,children:e(m,{icon:n,size:l,theme:d})});var Ze="Carousel-module_container__voMge",qe="Carousel-module_carousel__cXGTr",Ke="Carousel-module_item__umQ-j";const Qe=({children:n,gap:o=2})=>{const l=a(null),[t,d]=i(!1),[_,r]=i(0),[s,c]=i(0),u=()=>{d(!1)};return e("div",{className:Ze,children:e("div",{className:qe,ref:l,onMouseDown:e=>{var n,o;d(!0),r(e.pageX-((null===(n=l.current)||void 0===n?void 0:n.offsetLeft)||0)),c((null===(o=l.current)||void 0===o?void 0:o.scrollLeft)||0)},onMouseLeave:u,onMouseUp:u,onMouseMove:e=>{var n;if(!t)return;const o=e.pageX-((null===(n=l.current)||void 0===n?void 0:n.offsetLeft)||0)-_;l.current&&(l.current.scrollLeft=s-o)},style:{gap:`${o}rem`,cursor:t?"grabbing":"grab"},children:n})})},Je=({children:n})=>e("div",{className:Ke,children:n});var $e={box:"Chip-module_box__bPxl6",large:"Chip-module_large__vYrP6",small:"Chip-module_small__53iJq",clickable:"Chip-module_clickable__dzpKp",light:"Chip-module_light__29AuI",active:"Chip-module_active__BlTSF",lightDark:"Chip-module_lightDark__XNFQ7",lightDanger:"Chip-module_lightDanger__rLWTT",lightInfo:"Chip-module_lightInfo__lhtRG",lightPrimary:"Chip-module_lightPrimary__YzHWA",lightSecondary:"Chip-module_lightSecondary__qXcsD",lightWarning:"Chip-module_lightWarning__DDYW3",lightSuccess:"Chip-module_lightSuccess__n5gp5",primary:"Chip-module_primary__rvetC",secondary:"Chip-module_secondary__pLu90",danger:"Chip-module_danger__OJzar",dark:"Chip-module_dark__OOepT",info:"Chip-module_info__gtJS1",success:"Chip-module_success__0GXdc",warning:"Chip-module_warning__NBLbz",whiteText:"Chip-module_whiteText__zg28n",default:"Chip-module_default__AZUs1",borderedPrimary:"Chip-module_borderedPrimary__bRpmY",borderedSecondary:"Chip-module_borderedSecondary__JgMYX",flexWide:"Chip-module_flexWide__j8zBM",slidein:"Chip-module_slidein__qMh2s",fadeInOut:"Chip-module_fadeInOut__X5Sw2",heightAnimation:"Chip-module_heightAnimation__OA0dv",fadein:"Chip-module_fadein__CkDEY",floatAnimation:"Chip-module_floatAnimation__PMaOv"};const en=({onClick:n,className:o="",children:i,type:l=W.LIGHT,size:t="medium",active:d=!1})=>e("div",{className:c($e,{box:!0,clickable:!!n,active:d},[$e[l],$e[t],o]),onClick:n,children:i});var nn={container:"Modal-module_container__UCuJv",header:"Modal-module_header__NS30G",body:"Modal-module_body__3zIj9",footer:"Modal-module_footer__Oyz-R",full:"Modal-module_full__13hJb",large:"Modal-module_large__O42Af",flexWide:"Modal-module_flexWide__VReva",slidein:"Modal-module_slidein__ndLPJ",fadeInOut:"Modal-module_fadeInOut__c5Sgq",heightAnimation:"Modal-module_heightAnimation__E3smD",fadein:"Modal-module_fadein__vroAa",floatAnimation:"Modal-module_floatAnimation__dU3VL"};const on=t((function({title:o,content:i,header:l,footer:t,size:d="small",onClose:a},_){return n("div",{className:c(nn,{container:!0},[nn[d]]),ref:_,children:[!o&&l&&e("div",{className:nn.header,children:l}),o&&e("div",{className:nn.header,children:n(ze,{alignItems:"center",justifyContent:"space-between",children:[e("span",{children:o}),a&&e(P,{icon:p,onClick:a})]})}),e("div",{className:nn.body,children:i}),t&&e("div",{className:nn.footer,children:t})]})}));var ln={text:"Text-module_text__XXjeA",bodyText:"Text-module_bodyText__RqN1G",medium:"Text-module_medium__FoS2D",bold:"Text-module_bold__ZRBJh",flexWide:"Text-module_flexWide__fCAfU",slidein:"Text-module_slidein__ccSy8",fadeInOut:"Text-module_fadeInOut__JByvu",heightAnimation:"Text-module_heightAnimation__5YkEI",fadein:"Text-module_fadein__Fcz-y",floatAnimation:"Text-module_floatAnimation__2IgQs"};const tn=({variant:n="bodyText",children:o})=>{const i=(()=>{switch(n){case"h1":case"h2":case"h3":case"h4":case"h5":return n;default:return"div"}})();return e(i,{className:c(ln,{text:!0},[ln[n]]),children:o})};var dn={container:"Table-module_container__BsXT7",left:"Table-module_left__MPER1",right:"Table-module_right__gIcbO",center:"Table-module_center__sEdB2",centered:"Table-module_centered__liK0J",muted:"Table-module_muted__175Ax",flexWide:"Table-module_flexWide__ZT7bf",slidein:"Table-module_slidein__iS-HW",fadeInOut:"Table-module_fadeInOut__kkH6U",heightAnimation:"Table-module_heightAnimation__m6BZj",fadein:"Table-module_fadein__6ldtc",floatAnimation:"Table-module_floatAnimation__MN-bL"};const an=({children:n})=>e("thead",{children:n}),_n=({children:n})=>e("tr",{children:n}),rn=({children:n,align:o="left"})=>e("th",{className:dn[o],children:n}),sn=({children:n,centered:o=!1,muted:i=!1})=>e("td",{className:c(dn,{centered:o,muted:i}),children:n}),cn=({children:n})=>e("tbody",{children:n}),un=({children:n})=>e("div",{className:dn.container,children:e("table",{children:n})}),mn=(e,n)=>0===e?"left":e===n-1?"right":"center";export{le as Accordion,Pe as AlertBox,B as Avatar,S as Button,se as Card,Qe as Carousel,Je as CarouselItem,en as Chip,Fe as Column,We as ContactsList,fe as Container,he as CookieBanner,Se as Description,ee as DropDown,ye as FAQ,Ye as Flex,be as Header,re as Heading,P as IconButton,Xe as IconLink,Z as Input,z as InputType,j as Link,M as ListItem,He as Loading,oe as LoadingItem,on as Modal,ze as Row,m as SVGIcon,Ne as Section,un as Table,cn as TableBody,sn as TableCell,an as TableHead,rn as TableHeadCell,_n as TableRow,tn as Text,de as Tooltip,W as UIElementType,c as classNames,mn as getDataTableHeadAlign,K as useClickOutside,Q as useClickOutsideRef}; | ||
//# sourceMappingURL=index.esm.js.map |
@@ -1,2 +0,2 @@ | ||
"use strict";var e=require("react/jsx-runtime"),o=require("react"),n=require("react-dom"),i={avatar:"Avatar-module_avatar__5-kP8",image:"Avatar-module_image__HFFlp",clickable:"Avatar-module_clickable__DD7pl",editable:"Avatar-module_editable__CpXtw",editIcon:"Avatar-module_editIcon__ULUa1",overlay:"Avatar-module_overlay__d95aK",overlayText:"Avatar-module_overlayText__NgsFM",loading:"Avatar-module_loading__9gBDd",xxs:"Avatar-module_xxs__zCCH6",xs:"Avatar-module_xs__1SMBv",sm:"Avatar-module_sm__8TB22",md:"Avatar-module_md__zeW0d",lg:"Avatar-module_lg__MWKN-",xl:"Avatar-module_xl__KCqIL",xxl:"Avatar-module_xxl__ox6gi",xxxl:"Avatar-module_xxxl__9Cc7C",inline:"Avatar-module_inline__H0AhD",flexWide:"Avatar-module_flexWide__GQYaQ",slidein:"Avatar-module_slidein__KV8Ih",fadeInOut:"Avatar-module_fadeInOut__2M9tv",heightAnimation:"Avatar-module_heightAnimation__RCYYu",fadein:"Avatar-module_fadein__lENH2",floatAnimation:"Avatar-module_floatAnimation__PNWhi"};const t=(e,o,n=[])=>{let i=[];for(const n in o)o[n]&&i.push(e[n]);return(null==n?void 0:n.length)>0&&(i=i.concat(n)),i.join(" ")};var l={container:"SVGIcon-module_container__z2RN5",isLoading:"SVGIcon-module_isLoading__8BhuU",fadeInOut:"SVGIcon-module_fadeInOut__EgbCf",dark:"SVGIcon-module_dark__4QbUi",flexWide:"SVGIcon-module_flexWide__IfOOF",slidein:"SVGIcon-module_slidein__RT6-4",heightAnimation:"SVGIcon-module_heightAnimation__CmY-x",fadein:"SVGIcon-module_fadein__Y2P5U",floatAnimation:"SVGIcon-module_floatAnimation__kH3Tr"};const a=({icon:o,size:n="sm",className:i="",isLoading:a=!1,theme:d="light"})=>{const s=(e=>{switch(e){case"xxs":return 8;case"xs":return 12;case"sm":default:return 16;case"md":return 24;case"lg":return 32;case"xl":return 48;case"xxl":return 64;case"xxxl":return 128}})(n);return o?e.jsx("div",{className:t(l,{container:!0,isLoading:a},[i,l[d]]),children:e.jsx(o,{className:i,width:s,height:s,viewBox:"0 0 24 24",preserveAspectRatio:"xMidYMid meet"})}):null},d=o=>e.jsxs("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:[e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2 8.377c0-.35 0-.525.015-.673a3 3 0 0 1 2.69-2.69C4.851 5 5.035 5 5.404 5c.143 0 .214 0 .274-.004a2 2 0 0 0 1.735-1.25c.023-.056.044-.12.086-.246.042-.127.063-.19.086-.246a2 2 0 0 1 1.735-1.25C9.38 2 9.448 2 9.58 2h4.838c.133 0 .2 0 .26.004a2 2 0 0 1 1.735 1.25c.023.056.044.12.086.246.042.127.063.19.086.246a2 2 0 0 0 1.735 1.25c.06.004.131.004.273.004.37 0 .554 0 .702.015a3 3 0 0 1 2.69 2.69c.014.147.014.322.014.672V16.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2z"}),e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 16.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8"})]})),s=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 6 9 17l-5-5"})})),r=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m9 18 6-6-6-6"})})),_=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 6 6 18M6 6l12 12"})})),c=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 15.744a4.502 4.502 0 0 0-1.08-8.725 6.002 6.002 0 0 0-11.84 0A4.5 4.5 0 0 0 5 15.744M13 10l-4 6h6l-4 6"})})),u=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m4.272 20.728 6.597-6.597c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668l6.553 6.553M14 15l2.869-2.869c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L22 15M10 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0M6.8 21h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 18.72 22 17.88 22 16.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 21 5.12 21 6.8 21"})})),m=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m2 7 8.165 5.715c.661.463.992.695 1.351.784a2 2 0 0 0 .968 0c.36-.09.69-.32 1.351-.784L22 7M6.8 20h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 17.72 22 16.88 22 15.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 4 18.88 4 17.2 4H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 6.28 2 7.12 2 8.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 20 5.12 20 6.8 20"})})),h=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 14.286c-1.851.817-3 1.955-3 3.214C2 19.985 6.477 22 12 22s10-2.015 10-4.5c0-1.259-1.149-2.397-3-3.214M18 8c0 4.064-4.5 6-6 9-1.5-3-6-4.936-6-9a6 6 0 1 1 12 0m-5 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0"})})),x=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12h18M3 6h18M3 18h18"})})),g=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 9.5h4M8 13h7m-2.5 7a8.5 8.5 0 1 0-8.057-5.783c.108.32.162.481.172.604a.9.9 0 0 1-.028.326c-.03.12-.098.245-.232.494l-1.636 3.027c-.233.432-.35.648-.324.815a.5.5 0 0 0 .234.35c.144.087.388.062.876.011l5.121-.529c.155-.016.233-.024.303-.021s.12.009.187.024c.069.016.155.05.329.116A8.5 8.5 0 0 0 12.5 20"})})),p=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h14"})})),f=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 5v14m-7-7h14"})})),v=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2 10s2.005-2.732 3.634-4.362A9 9 0 1 1 12 21a9.004 9.004 0 0 1-8.648-6.5M2 10V4m0 6h6"})})),j=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 22V11m-5 2v7a2 2 0 0 0 2 2h13.426a3 3 0 0 0 2.965-2.544l1.077-7A3 3 0 0 0 18.503 9H15a1 1 0 0 1-1-1V4.466A2.466 2.466 0 0 0 11.534 2a.82.82 0 0 0-.75.488l-3.52 7.918A1 1 0 0 1 6.35 11H4a2 2 0 0 0-2 2"})})),I=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8 16 4-4m0 0 4 4m-4-4v9m8-4.257A5.5 5.5 0 0 0 16.5 7a.62.62 0 0 1-.534-.302 7.5 7.5 0 1 0-11.78 9.096"})})),A=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5.316 19.438A4 4 0 0 1 9 17h6a4 4 0 0 1 3.684 2.438M16 9.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0m6 2.5c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"})})),k=({source:o=null,alt:n="avatar",size:l="sm",onClick:s,className:r,isEditable:_=!1,overlayIcon:c,inline:u=!1,isLoading:m=!1,overlayText:h})=>{const x=()=>{switch(l){case"xxxl":return 512;case"xxl":return 256;case"xl":return 128;case"lg":return 96;case"md":return 64;case"xs":return 32;case"xxs":return 24;default:return 48}};return e.jsxs("div",{className:t(i,{avatar:!0,clickable:!!s||_,editable:_,inline:u,loading:m},[i[l],r]),onClick:s,style:{width:x(),height:x()},children:[o?e.jsx("img",{src:o,alt:n,className:i.image,width:x(),height:x()}):e.jsx(a,{size:l,icon:A}),_&&e.jsx("div",{className:i.editIcon,children:e.jsx(a,{isLoading:m,icon:m?I:d})}),(!!c||h)&&e.jsxs("div",{className:i.overlay,children:[!!c&&e.jsx(a,{isLoading:m,icon:m?I:c}),!!h&&e.jsx("div",{className:i.overlayText,children:h})]})]})};var L,D={container:"Button-module_container__0j8md",confirm:"Button-module_confirm__N5z4A",confirmActions:"Button-module_confirmActions__Xh7kN",button:"Button-module_button__18Bed",label:"Button-module_label__1PsXG",light:"Button-module_light__oUjYe",lightDark:"Button-module_lightDark__vucG6",active:"Button-module_active__UeHD7",lightDanger:"Button-module_lightDanger__aDpy8",lightInfo:"Button-module_lightInfo__oCfFI",lightPrimary:"Button-module_lightPrimary__f7-kQ",lightSecondary:"Button-module_lightSecondary__YK-QR",lightWarning:"Button-module_lightWarning__-Ogcg",lightSuccess:"Button-module_lightSuccess__gSt46",primary:"Button-module_primary__st6yY",secondary:"Button-module_secondary__j-3rj",danger:"Button-module_danger__Hxs5n",dark:"Button-module_dark__T7dl8",info:"Button-module_info__2z1ZG",success:"Button-module_success__CHTsg",warning:"Button-module_warning__1voOb",whiteText:"Button-module_whiteText__12xTM",default:"Button-module_default__TZZU2",borderedPrimary:"Button-module_borderedPrimary__KrZVT",borderedSecondary:"Button-module_borderedSecondary__UPNks",xs:"Button-module_xs__OaJDb",sm:"Button-module_sm__RXFPY",md:"Button-module_md__nDnOD",lg:"Button-module_lg__qD-Qh",xl:"Button-module_xl__S-bZp",xxl:"Button-module_xxl__J-6aP",fullWidth:"Button-module_fullWidth__AHpSl",flexWide:"Button-module_flexWide__xDrEF",slidein:"Button-module_slidein__ofhlO",fadeInOut:"Button-module_fadeInOut__nAOqm",heightAnimation:"Button-module_heightAnimation__fLFCd",fadein:"Button-module_fadein__pspkB",floatAnimation:"Button-module_floatAnimation__0PYtT"};exports.UIElementType=void 0,(L=exports.UIElementType||(exports.UIElementType={})).PRIMARY="primary",L.SECONDARY="secondary",L.DANGER="danger",L.SUCCESS="success",L.WARNING="warning",L.INFO="info",L.LIGHT="light",L.DEFAULT="default",L.DARK="dark",L.LIGHT_PRIMARY="lightPrimary",L.LIGHT_SUCCESS="lightSuccess",L.LIGHT_WARNING="lightWarning",L.LIGHT_INFO="lightInfo",L.LIGHT_DANGER="lightDanger",L.LIGHT_DARK="lightDark",L.LIGHT_SECONDARY="lightSecondary",L.WHITE_TEXT="whiteText",L.BORDERED_PRIMARY="borderedPrimary",L.BORDERED_SECONDARY="borderedSecondary";const C=({type:n=exports.UIElementType.PRIMARY,onClick:i,label:l,icon:d,fullWidth:s=!1,isLoading:r,disabled:_,className:c,needConfirm:u=!1,size:m="md"})=>{const[h,x]=o.useState(!1);return e.jsxs("div",{className:t(D,{container:!0,fullWidth:s}),children:[e.jsx("button",{className:t(D,{button:!0,loading:!!r},[D[n],D[m],c]),onClick:u?()=>x(!h):i,disabled:r||_,children:r?e.jsx(o.Fragment,{children:"Loading..."}):e.jsxs("div",{className:D.label,children:[d&&e.jsx(a,{icon:d}),e.jsx("span",{children:l})]})}),h&&e.jsxs("div",{className:D.confirm,children:[e.jsx("div",{className:D.confirmMessage,children:"Are you sure?"}),e.jsxs("div",{className:D.confirmActions,children:[e.jsx(C,{type:exports.UIElementType.DANGER,onClick:()=>x(!1),label:"No",size:"xs"}),e.jsx(C,{type:exports.UIElementType.SUCCESS,onClick:()=>{x(!1),i()},label:"Yes",size:"xs"})]})]})]})};var b={iconButton:"IconButton-module_iconButton__PmpB8",noPadding:"IconButton-module_noPadding__Jd2rK",lg:"IconButton-module_lg__KG7lp",md:"IconButton-module_md__s4q7b",sm:"IconButton-module_sm__are9s",xs:"IconButton-module_xs__qYwZc",confirm:"IconButton-module_confirm__-jXH4",confirmMessage:"IconButton-module_confirmMessage__AgI49",confirmActions:"IconButton-module_confirmActions__j7-Tt",topLeft:"IconButton-module_topLeft__aDA0m",bottom:"IconButton-module_bottom__AEpND",disabled:"IconButton-module_disabled__pLK-t",white:"IconButton-module_white__AzyNN",light:"IconButton-module_light__i3AET",active:"IconButton-module_active__popsF",lightDark:"IconButton-module_lightDark__d7NQy",lightDanger:"IconButton-module_lightDanger__bIg02",lightInfo:"IconButton-module_lightInfo__820It",lightPrimary:"IconButton-module_lightPrimary__SCrg-",lightSecondary:"IconButton-module_lightSecondary__vN-aS",lightWarning:"IconButton-module_lightWarning__z1iaR",lightSuccess:"IconButton-module_lightSuccess__mUSnD",primary:"IconButton-module_primary__qjfR5",secondary:"IconButton-module_secondary__-CufX",danger:"IconButton-module_danger__lz3tP",dark:"IconButton-module_dark__QiBJk",info:"IconButton-module_info__eawU-",success:"IconButton-module_success__xkDzZ",warning:"IconButton-module_warning__DhbfD",whiteText:"IconButton-module_whiteText__111Ju",default:"IconButton-module_default__j2U57",borderedPrimary:"IconButton-module_borderedPrimary__DHXJQ",borderedSecondary:"IconButton-module_borderedSecondary__13GNA",flexWide:"IconButton-module_flexWide__BGOfY",slidein:"IconButton-module_slidein__Rmpl5",fadeInOut:"IconButton-module_fadeInOut__Z2E5a",heightAnimation:"IconButton-module_heightAnimation__JnqnZ",fadein:"IconButton-module_fadein__uX9ut",floatAnimation:"IconButton-module_floatAnimation__N-INw"};const N=({icon:n,onClick:i,type:l=exports.UIElementType.DEFAULT,needConfirm:d=!1,noPadding:s=!1,isLoading:r=!1,size:_="sm",confirmPosition:c="top",isActive:u=!1})=>{const[m,h]=o.useState(!1);return e.jsxs("div",{className:t(b,{iconButton:!0,noPadding:s,active:u},[b[l],b[_]]),onClick:r?void 0:d?()=>h(!m):i,children:[e.jsx(a,{isLoading:r,icon:n,size:_}),m&&e.jsxs("div",{className:`${b.confirm} ${b[c]}`,children:[e.jsx("div",{className:b.confirmMessage,children:"Are you sure?"}),e.jsxs("div",{className:b.confirmActions,children:[e.jsx(C,{type:exports.UIElementType.DANGER,onClick:()=>h(!1),label:"No",size:"xs"}),e.jsx(C,{type:exports.UIElementType.SUCCESS,onClick:i,label:"Yes",size:"xs"})]})]})]})};var w={listItem:"ListItem-module_listItem__ljWE5",separator:"ListItem-module_separator__CIXS1",dashedSeparator:"ListItem-module_dashedSeparator__SYWNX",content:"ListItem-module_content__mPC1D",data:"ListItem-module_data__e0N6V",title:"ListItem-module_title__YkOz9",subtitle:"ListItem-module_subtitle__5flJp",indicator:"ListItem-module_indicator__BwMsO",success:"ListItem-module_success__lgO8z",info:"ListItem-module_info__MKMBu",warning:"ListItem-module_warning__8P-nA",danger:"ListItem-module_danger__sWYOu",primary:"ListItem-module_primary__-bA-W",completed:"ListItem-module_completed__ovBl4",flexWide:"ListItem-module_flexWide__-0Q5a",slidein:"ListItem-module_slidein__dGxX-",fadeInOut:"ListItem-module_fadeInOut__Yuwsd",heightAnimation:"ListItem-module_heightAnimation__aVO2o",fadein:"ListItem-module_fadein__GSr23",floatAnimation:"ListItem-module_floatAnimation__efvAy"};var y={link:"Link-module_link__35Vo1",fullWidth:"Link-module_fullWidth__eg45D",zero:"Link-module_zero__e-EXa",xxs:"Link-module_xxs__DLzl2",xs:"Link-module_xs__K3V8L",sm:"Link-module_sm__FcTWO",md:"Link-module_md__mmLj-",lg:"Link-module_lg__R71ff",xl:"Link-module_xl__q05MB",xxl:"Link-module_xxl__VZVxK",xxxl:"Link-module_xxxl__91qsW",light:"Link-module_light__Ji8kV",active:"Link-module_active__iCkL0",lightDark:"Link-module_lightDark__1fDCG",lightDanger:"Link-module_lightDanger__lB9Tb",lightInfo:"Link-module_lightInfo__h5lfu",lightPrimary:"Link-module_lightPrimary__aZxve",lightSecondary:"Link-module_lightSecondary__QHh0c",lightWarning:"Link-module_lightWarning__iOuMw",lightSuccess:"Link-module_lightSuccess__zDBp0",primary:"Link-module_primary__CE3uj",secondary:"Link-module_secondary__KSolI",danger:"Link-module_danger__ugf9r",dark:"Link-module_dark__ap0Ls",info:"Link-module_info__9skpg",success:"Link-module_success__DwP-V",warning:"Link-module_warning__FhhXi",whiteText:"Link-module_whiteText__t7SOQ",default:"Link-module_default__3TBlr",borderedPrimary:"Link-module_borderedPrimary__RfPen",borderedSecondary:"Link-module_borderedSecondary__xTeGX",flexWide:"Link-module_flexWide__3A6ZB",slidein:"Link-module_slidein__kBzO4",fadeInOut:"Link-module_fadeInOut__zas8c",heightAnimation:"Link-module_heightAnimation__N7y-w",fadein:"Link-module_fadein__WxUdb",floatAnimation:"Link-module_floatAnimation__XrwU5"};"function"==typeof SuppressedError&&SuppressedError;var B,T={input:"Input-module_input__505b7",full:"Input-module_full__h2smD",noMargin:"Input-module_noMargin__ysWuN",container:"Input-module_container__itXJp",colorPicker:"Input-module_colorPicker__Efa-c",required:"Input-module_required__kHc93",prefix:"Input-module_prefix__-1end",addon:"Input-module_addon__1cKdz",pointer:"Input-module_pointer__EsKoB",error:"Input-module_error__38tit",avatar:"Input-module_avatar__GJUWC",autoCompleteContent:"Input-module_autoCompleteContent__4anQc",reversed:"Input-module_reversed__dU1hV",transparent:"Input-module_transparent__ko36m",small:"Input-module_small__5vYiK",xsmall:"Input-module_xsmall__-9hXW",hasPrefix:"Input-module_hasPrefix__fU508",hasAddon:"Input-module_hasAddon__mruPW",darkMode:"Input-module_darkMode__DLx4Y",flexWide:"Input-module_flexWide__4Wn1k",slidein:"Input-module_slidein__XYim1",fadeInOut:"Input-module_fadeInOut__bnAwc",heightAnimation:"Input-module_heightAnimation__tmt9Z",fadein:"Input-module_fadein__1HtqV",floatAnimation:"Input-module_floatAnimation__sYawG"};exports.InputType=void 0,(B=exports.InputType||(exports.InputType={})).TEXT="text",B.PASSWORD="password",B.EMAIL="email",B.NUMBER="number",B.URL="url",B.TEL="tel",B.DATE="date",B.DATETIME="datetime",B.SELECT="select",B.COLOR_PICKER="color-picker",B.TEXT_AREA="text-area",B.AVATAR_UPLOAD="avatar-upload",B.UPLOAD_IMAGE_ICON="upload-image-icon",B.DND="dnd";const S=({isLoading:o,value:n,isDisabled:i,placeholder:t,options:l,name:d,onBlur:s,onFocus:r,onChange:_,preIcon:c,addonIcon:u,addonAction:m})=>e.jsxs(e.Fragment,{children:[c&&e.jsx("div",{className:T.preIcon,children:e.jsx(a,{icon:c,isLoading:o})}),e.jsxs("select",{className:T.field,value:n,onBlur:s,onFocus:r,onChange:_,name:d,disabled:i,children:[t&&e.jsx("option",{value:"",children:t}),l.map((({label:o,value:n})=>e.jsx("option",{value:n,children:o},n)))]}),u&&e.jsx("div",{className:m?`${T.addon} ${T.pointer}`:T.addon,onClick:m,children:e.jsx(a,{icon:u,isLoading:o})})]});var W={container:"DnD-module_container__zFojN",dropZone:"DnD-module_dropZone__OJnfw",placeholder:"DnD-module_placeholder__Fkhl4",dropLabel:"DnD-module_dropLabel__TDGan",input:"DnD-module_input__FKtwE",selectedImage:"DnD-module_selectedImage__DsvPl",removeImage:"DnD-module_removeImage__zMc3L",rectangle:"DnD-module_rectangle__cnjIE",square:"DnD-module_square__mc3tn",circle:"DnD-module_circle__kXFaZ",isDragOver:"DnD-module_isDragOver__vfTwp",flexWide:"DnD-module_flexWide__sqZP0",slidein:"DnD-module_slidein__bPiSA",fadeInOut:"DnD-module_fadeInOut__QCEYD",heightAnimation:"DnD-module_heightAnimation__OGSUd",fadein:"DnD-module_fadein__eyNza",floatAnimation:"DnD-module_floatAnimation__PwKWB"};const O=(e,o)=>{const n=new FileReader;n.onload=()=>{o(n.result)},n.readAsDataURL(e)},E=({value:n,placeholder:i,isMultiUpload:l,dndShape:a="rectangle",isDisabled:d,className:s,onFilesSelect:r,onFileSelect:c})=>{const[u,m]=o.useState(!1),h=e=>{if(e&&e.length>0){if(l&&r)return r(e);const o=e[0];O(o,(e=>{c&&c(o,e)}))}};return e.jsx("div",{className:t(W,{container:!0,isDragOver:u}),children:e.jsx("div",{onDrop:e=>{if(e.preventDefault(),d)return;const o=e.dataTransfer.files;h(o)},onDragOver:e=>{e.preventDefault()},onDragEnter:()=>m(!0),onDragLeave:()=>m(!1),className:t(W,{dropZone:!0},[W[a],s]),children:n?e.jsxs("div",{className:W.selectedImage,children:[e.jsx("img",{src:String(n),alt:i}),e.jsx("div",{className:W.removeImage,children:e.jsx(N,{onClick:()=>{c&&c(null,"")},icon:_,type:exports.UIElementType.BORDERED_PRIMARY})})]}):e.jsxs("label",{className:W.dropLabel,children:[e.jsx("span",{className:W.placeholder,children:i||"Drop file"}),e.jsx("input",{type:"file",className:W.input,hidden:!0,onChange:e=>{const o=e.target;h(o.files)},disabled:d})]})})})};var M={container:"TextArea-module_container__uff42",field:"TextArea-module_field__kapQk",hasPrefix:"TextArea-module_hasPrefix__flVwo",prefix:"TextArea-module_prefix__vGIaC",flexWide:"TextArea-module_flexWide__staBL",slidein:"TextArea-module_slidein__-OBuL",fadeInOut:"TextArea-module_fadeInOut__aNBV4",heightAnimation:"TextArea-module_heightAnimation__mZG0q",fadein:"TextArea-module_fadein__30AAW",floatAnimation:"TextArea-module_floatAnimation__x6a8y"};const P=({value:o,placeholder:n,autoFocus:i,ref:l,isDisabled:a,prefix:d,rows:s=3,onBlur:r,onFocus:_,onChange:c})=>e.jsxs("div",{className:t(M,{container:!0,hasPrefix:!!d}),children:[!!d&&e.jsx("div",{className:M.prefix,children:e.jsx("span",{children:d})}),e.jsx("textarea",{className:M.field,value:o,placeholder:n,onBlur:r,onFocus:_,onChange:c,autoFocus:i,ref:l,disabled:a,rows:s})]}),H=o.forwardRef((function(n,i){var{type:l=exports.InputType.TEXT,label:d,placeholder:s,value:r,required:_=!1,addonIcon:c,preIcon:m,addonText:h,labelAddon:x,errorMessage:g,options:p=[],fullWidth:f,avatarSize:v,source:j,autoCompleteContent:I,autoCompleteReverse:A=!1,noMargin:L=!1,isDisabled:D=!1,isLoading:C=!1,isMultiUpload:b=!1,autoFocus:N=!1,theme:w="oval",size:y="medium",isDarkMode:B=!1,dndShape:W,name:M,prefix:H,rows:R,className:z,onBlur:F,onFocus:U,onChange:G,addonAction:Y,onEnter:V,onEsc:X,onFileSelect:q,onFilesSelect:Z}=n,K=function(e,o){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&o.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(i=Object.getOwnPropertySymbols(e);t<i.length;t++)o.indexOf(i[t])<0&&Object.prototype.propertyIsEnumerable.call(e,i[t])&&(n[i[t]]=e[i[t]])}return n}(n,["type","label","placeholder","value","required","addonIcon","preIcon","addonText","labelAddon","errorMessage","options","fullWidth","avatarSize","source","autoCompleteContent","autoCompleteReverse","noMargin","isDisabled","isLoading","isMultiUpload","autoFocus","theme","size","isDarkMode","dndShape","name","prefix","rows","className","onBlur","onFocus","onChange","addonAction","onEnter","onEsc","onFileSelect","onFilesSelect"]);const Q=D||C,J=e=>{switch(e.key){case"Enter":V&&V();break;case"Escape":X&&X()}},$=e=>{const o=e.target.files[0];O(o,(e=>{q&&q(o,e)}))},ee=e=>{const o=e.target;Z&&Z(o.files)};return e.jsxs("div",{className:t(T,{input:!0,full:!!f,noMargin:L,hasAddon:!!c||!!h,hasPrefix:!!H,darkMode:B},[T[w],T[y]]),children:[d&&e.jsxs("label",{children:[e.jsx("span",{className:_?T.required:"",children:d}),!!x&&e.jsx("div",{className:T.labelAddon,children:x})]}),e.jsx("div",{className:T.container,children:(()=>{switch(l){case exports.InputType.SELECT:return e.jsx(S,{preIcon:m,isLoading:C,value:r,isDisabled:D,placeholder:s,options:p,onBlur:F,onFocus:U,onChange:G,addonAction:Y,addonIcon:c,name:M});case exports.InputType.DND:return e.jsx(E,{onFilesSelect:Z,onFileSelect:q,placeholder:s,value:r,dndShape:W,isDisabled:D,isMultiUpload:b,className:z});case exports.InputType.COLOR_PICKER:return e.jsx("input",Object.assign({className:`${T.field} ${T.colorPicker}`,type:"color",value:r,placeholder:s,onBlur:F,onFocus:U,onChange:G,disabled:Q,ref:i},K));case exports.InputType.TEXT_AREA:return e.jsx(P,{value:r,placeholder:s,onBlur:F,onFocus:U,onChange:G,autoFocus:N,ref:i,prefix:H,rows:R});case exports.InputType.AVATAR_UPLOAD:return e.jsxs("label",{htmlFor:"avatar-upload",children:[e.jsx(k,{size:v,source:j,isLoading:C,isEditable:!0}),e.jsx("input",{type:"file",name:"avatar-upload",id:"avatar-upload",accept:"image/*",onChange:b?ee:$,ref:i,className:T.avatar,disabled:Q,multiple:b})]});case exports.InputType.UPLOAD_IMAGE_ICON:return e.jsxs("label",{htmlFor:"upload-image-icon",children:[e.jsx(a,{icon:u,isLoading:C,size:"md"}),e.jsx("input",{type:"file",name:"upload-image-icon",id:"upload-image-icon",accept:"image/*",onChange:b?ee:$,ref:i,className:T.avatar,disabled:Q,multiple:b})]});default:return e.jsxs(o.Fragment,{children:[!!H&&e.jsx("div",{className:T.prefix,children:e.jsx("span",{children:H})}),e.jsx("input",Object.assign({className:T.field,type:l,placeholder:s,value:r,onBlur:F,onFocus:U,onChange:G,onKeyUp:J,ref:i,disabled:Q,autoFocus:N,name:M},K)),c&&e.jsx("div",{className:Y?`${T.addon} ${T.pointer}`:T.addon,onClick:Y,children:e.jsx(a,{icon:c,isLoading:C})}),h&&e.jsx("div",{className:Y?`${T.addon} ${T.pointer}`:T.addon,onClick:Y,children:h})]})}})()}),!!g&&e.jsx("div",{className:T.error,children:g}),!!I&&e.jsx("div",{className:t(T,{autoCompleteContent:!0,reversed:A}),children:I})]})}));var R={menu:"DropDown-module_menu__gRW7p",container:"DropDown-module_container__ms9Bn",action:"DropDown-module_action__D8KuY",light:"DropDown-module_light__6NSjI",active:"DropDown-module_active__rGcA2",lightDark:"DropDown-module_lightDark__Ctspk",lightDanger:"DropDown-module_lightDanger__FaZ6G",lightInfo:"DropDown-module_lightInfo__DMaJO",lightPrimary:"DropDown-module_lightPrimary__sobOp",lightSecondary:"DropDown-module_lightSecondary__PB0m-",lightWarning:"DropDown-module_lightWarning__mkeGN",lightSuccess:"DropDown-module_lightSuccess__QNoVS",primary:"DropDown-module_primary__9-x6Y",secondary:"DropDown-module_secondary__HBses",danger:"DropDown-module_danger__ZbPY6",dark:"DropDown-module_dark__3YhdZ",info:"DropDown-module_info__5qwW6",success:"DropDown-module_success__NbhHj",warning:"DropDown-module_warning__MrYwV",whiteText:"DropDown-module_whiteText__eVLut",default:"DropDown-module_default__D0DNi",borderedPrimary:"DropDown-module_borderedPrimary__oTb-J",borderedSecondary:"DropDown-module_borderedSecondary__GqWsA",xsmall:"DropDown-module_xsmall__Mc6Zx",small:"DropDown-module_small__Goyza",large:"DropDown-module_large__P5F--",flexWide:"DropDown-module_flexWide__ySVZv",slidein:"DropDown-module_slidein__ZYDXA",fadeInOut:"DropDown-module_fadeInOut__hjIWL",heightAnimation:"DropDown-module_heightAnimation__EUum9",fadein:"DropDown-module_fadein__D2VO0",floatAnimation:"DropDown-module_floatAnimation__z5DD5"};const z=(e,n)=>{const i=o=>{e.current&&!e.current.contains(o.target)&&n()};o.useEffect((()=>(document.addEventListener("click",i),()=>{document.removeEventListener("click",i)})),[])},F=({containerRef:i,contentRef:t,isOpen:l=!1,renderChild:a,onClose:d})=>{const s={isOpen:!1,top:0,left:0,bottom:0,right:0},[r,_]=o.useState(s),c={position:"absolute",top:r.top,left:r.left,bottom:r.bottom,right:r.right,zIndex:111},u=()=>{_(s),d()};return z(i,(()=>u())),o.useEffect((()=>{if(l)return(()=>{var e,o,n,l,a,d,s;const{top:r,left:c,height:u,width:m}=null!==(n=null===(o=null===(e=null==i?void 0:i.current)||void 0===e?void 0:e.getBoundingClientRect)||void 0===o?void 0:o.call(e))&&void 0!==n?n:{top:0,left:0,height:0,width:0},{innerHeight:h,innerWidth:x}=window,g=h-(r+u),p=r,f=c,v=x-(c+m),j=null!==(a=null===(l=null==t?void 0:t.current)||void 0===l?void 0:l.clientHeight)&&void 0!==a?a:200,I=null!==(s=null===(d=null==t?void 0:t.current)||void 0===d?void 0:d.clientWidth)&&void 0!==s?s:200;let A="auto",k="auto",L="auto",D="auto";g<j&&p>=j?D=h-r-u+20:k=r+u+5,v<I&&f>=I?L=x-c:A=c;const C={top:k,left:A,right:L,bottom:D};_(Object.assign(Object.assign({},C),{isOpen:!0}))})();u()}),[l,null==i?void 0:i.current]),r.isOpen?n.createPortal(e.jsx("div",{style:c,onClick:e=>{e.stopPropagation()},children:a(r)}),document.getElementById("portals")):null},U=({children:o})=>e.jsx("div",{className:R.menu,children:o});var G={container:"LoadingItem-module_container__ujRaI",fadeInOut:"LoadingItem-module_fadeInOut__HDJT8",square:"LoadingItem-module_square__OucYB",xxs:"LoadingItem-module_xxs__kTYcZ",xs:"LoadingItem-module_xs__sISZM",sm:"LoadingItem-module_sm__hsDHD",md:"LoadingItem-module_md__bU5yA",lg:"LoadingItem-module_lg__9sK4b",xl:"LoadingItem-module_xl__O0kH8",xxl:"LoadingItem-module_xxl__tIjdb",xxxl:"LoadingItem-module_xxxl__h73z5",xxxxl:"LoadingItem-module_xxxxl__XTzwy",flexWide:"LoadingItem-module_flexWide__sIJC3",slidein:"LoadingItem-module_slidein__8J982",heightAnimation:"LoadingItem-module_heightAnimation__cUh26",fadein:"LoadingItem-module_fadein__-CmLg",floatAnimation:"LoadingItem-module_floatAnimation__gQ2jh"};var Y={container:"Accordion-module_container__6rGl0",header:"Accordion-module_header__AYOT5",body:"Accordion-module_body__4IgEa",content:"Accordion-module_content__RyBzl",isOpen:"Accordion-module_isOpen__Bmf-c",flexWide:"Accordion-module_flexWide__Pmyu-",slidein:"Accordion-module_slidein__NIsrY",fadeInOut:"Accordion-module_fadeInOut__Ub-rg",heightAnimation:"Accordion-module_heightAnimation__nT1oQ",fadein:"Accordion-module_fadein__KprHu",floatAnimation:"Accordion-module_floatAnimation__d-fsP"};const V=({title:n,content:i})=>{const[l,d]=o.useState(!1);return e.jsxs("div",{className:t(Y,{container:!0,isOpen:l}),onClick:()=>d(!l),children:[e.jsxs("div",{className:Y.header,children:[e.jsx("h3",{children:n}),e.jsx(a,{icon:l?p:f,size:"md"})]}),e.jsx("div",{className:Y.body,children:e.jsx("div",{className:Y.content,children:i})})]})};var X={tooltip:"Tooltip-module_tooltip__LjRUX",hint:"Tooltip-module_hint__ZdhCh",top:"Tooltip-module_top__HZqEk",bottom:"Tooltip-module_bottom__hrxCa",right:"Tooltip-module_right__LGQTD",left:"Tooltip-module_left__-LZ0w",flexWide:"Tooltip-module_flexWide__dQnBf",slidein:"Tooltip-module_slidein__Yziit",fadeInOut:"Tooltip-module_fadeInOut__glWW2",heightAnimation:"Tooltip-module_heightAnimation__5cr8-",fadein:"Tooltip-module_fadein__NGjXx",floatAnimation:"Tooltip-module_floatAnimation__R4QxW"};var q={card:"Card-module_card__LzN-3",header:"Card-module_header__j-c-9",subtitle:"Card-module_subtitle__RVMlO",body:"Card-module_body__v78vB",footer:"Card-module_footer__FjLbG",separated:"Card-module_separated__XYi-z",noBottomMargin:"Card-module_noBottomMargin__X7Gc1",noBodyPadding:"Card-module_noBodyPadding__Qwkyx",fullWidth:"Card-module_fullWidth__HpLSP",fullHeight:"Card-module_fullHeight__Ngt-E",flexWide:"Card-module_flexWide__qc7xl",slidein:"Card-module_slidein__9OQew",fadeInOut:"Card-module_fadeInOut__nlrXf",heightAnimation:"Card-module_heightAnimation__edaK-",fadein:"Card-module_fadein__8Bpsl",floatAnimation:"Card-module_floatAnimation__fuwcu"},Z={heading:"Heading-module_heading__zKyv7",title:"Heading-module_title__poNb0",xl:"Heading-module_xl__EUHx8",lg:"Heading-module_lg__BzP-H",md:"Heading-module_md__etFxz",sm:"Heading-module_sm__DW8pt",xs:"Heading-module_xs__1cGtZ",subtitle:"Heading-module_subtitle__siosa",flexWide:"Heading-module_flexWide__kdze4",slidein:"Heading-module_slidein__aveKx",fadeInOut:"Heading-module_fadeInOut__-4cOS",heightAnimation:"Heading-module_heightAnimation__r9l4u",fadein:"Heading-module_fadein__yua3s",floatAnimation:"Heading-module_floatAnimation__OA9Sm"};const K=({size:o="md",title:n,subtitle:i})=>e.jsxs("div",{className:Z.heading,children:[e.jsx("div",{className:`${Z.title} ${Z[o]}`,children:n}),i&&e.jsx("div",{className:Z.subtitle,children:i})]});var Q={container:"CookieBanner-module_container__4UQ-V",content:"CookieBanner-module_content__upuyM",flexWide:"CookieBanner-module_flexWide__Vft50",slidein:"CookieBanner-module_slidein__NxJr8",fadeInOut:"CookieBanner-module_fadeInOut__4-sCu",heightAnimation:"CookieBanner-module_heightAnimation__vqvzX",fadein:"CookieBanner-module_fadein__-ogfe",floatAnimation:"CookieBanner-module_floatAnimation__UCwtP"};const J=new class{constructor(){this.cookieBannerKey="sorocraft_cookie_banner"}saveCookieBannerState(e){localStorage.setItem(this.cookieBannerKey,String(e))}getCookieBannerState(){return localStorage.getItem(this.cookieBannerKey)}};var $;!function(e){e.SEEN="seen"}($||($={}));var ee={container:"Container-module_container__exPuE",noPadding:"Container-module_noPadding__lpIsj",fullWidth:"Container-module_fullWidth__BIlSl",flexWide:"Container-module_flexWide__UYxLw",slidein:"Container-module_slidein__2HqKN",fadeInOut:"Container-module_fadeInOut__OfzxZ",heightAnimation:"Container-module_heightAnimation__UR715",fadein:"Container-module_fadein__9rDYD",floatAnimation:"Container-module_floatAnimation__6Lcjo"};const oe=({className:o="",children:n,noPadding:i=!1,fullWidth:l=!1})=>e.jsx("div",{className:t(ee,{container:!0,noPadding:i,fullWidth:l},[o]),children:n});var ne="Header-module_header__qxHtx",ie="Header-module_content__DV-in",te="Header-module_logo__xO2bW",le="Header-module_mobileLogo__eNvSP",ae="Header-module_actions__ZlACk",de="Header-module_mobileMenuIcon__pFpba",se="Header-module_menu__Yw9r6",re="Header-module_mobileMenu__4S-NE";var _e={container:"Section-module_container__3n1V-",header:"Section-module_header__uP6hi",subtitle:"Section-module_subtitle__8Y9SH",gradient:"Section-module_gradient__xroL-",black:"Section-module_black__xbyiN",dark:"Section-module_dark__5IiQW",flexWide:"Section-module_flexWide__jFoW4",slidein:"Section-module_slidein__gRGLr",fadeInOut:"Section-module_fadeInOut__yLFY5",heightAnimation:"Section-module_heightAnimation__7ap3B",fadein:"Section-module_fadein__Jbv0F",floatAnimation:"Section-module_floatAnimation__g2TfT"};const ce=({title:o,subtitle:n,theme:i="light",children:l})=>e.jsxs("div",{className:t(_e,{container:!0},[_e[i]]),children:[e.jsxs("div",{className:_e.header,children:[e.jsx("h2",{children:o}),!!n&&e.jsx("div",{className:_e.subtitle,children:n})]}),e.jsx("div",{className:_e.body,children:l})]});var ue="FAQ-module_container__Kht11";var me={container:"ContactsList-module_container__rwdG-",contact:"ContactsList-module_contact__S5Q5T",title:"ContactsList-module_title__2h1V2",value:"ContactsList-module_value__JksBF",flexWide:"ContactsList-module_flexWide__y3ESG",slidein:"ContactsList-module_slidein__WCW87",fadeInOut:"ContactsList-module_fadeInOut__SFFum",heightAnimation:"ContactsList-module_heightAnimation__wjNjX",fadein:"ContactsList-module_fadein__CVVKr",floatAnimation:"ContactsList-module_floatAnimation__JNgpI"};var he={description:"Description-module_description__ENVu-",xl:"Description-module_xl__GtUSA",lg:"Description-module_lg__ENF-W",m:"Description-module_m__RqjBl",s:"Description-module_s__RAro3",xs:"Description-module_xs__0chE0",noSpacing:"Description-module_noSpacing__746UN",lighter:"Description-module_lighter__y-rC3",flexWide:"Description-module_flexWide__CEoWm",slidein:"Description-module_slidein__ZJBnB",fadeInOut:"Description-module_fadeInOut__ZdTzP",heightAnimation:"Description-module_heightAnimation__v2n3a",fadein:"Description-module_fadein__bPsva",floatAnimation:"Description-module_floatAnimation__Cq8oz"};var xe={alert:"AlertBox-module_alert__y9n9e",inline:"AlertBox-module_inline__upbhQ",error:"AlertBox-module_error__anhZO",success:"AlertBox-module_success__80DOT",icon:"AlertBox-module_icon__FLy1Y",actions:"AlertBox-module_actions__fgPt7","supeer-icon-button":"AlertBox-module_supeer-icon-button__8oUJ8",message:"AlertBox-module_message__ssD6S",flexWide:"AlertBox-module_flexWide__isTSZ",slidein:"AlertBox-module_slidein__BNFh5",fadeInOut:"AlertBox-module_fadeInOut__DW6jj",heightAnimation:"AlertBox-module_heightAnimation__AMoVU",fadein:"AlertBox-module_fadein__5wonR",floatAnimation:"AlertBox-module_floatAnimation__rXaKh"};var ge="Loading-module_loading__7gLQd",pe="Loading-module_image__gig5S";var fe={container:"Row-module_container__XmQql",fullHeight:"Row-module_fullHeight__Inxzs",fullWidth:"Row-module_fullWidth__cz2RH"};const ve=({alignItems:o="center",justifyContent:n="flex-start",flexWrap:i="nowrap",gap:l=1,fullHeight:a=!1,fullWidth:d=!0,children:s})=>e.jsx("div",{className:t(fe,{container:!0,fullHeight:a,fullWidth:d}),style:{alignItems:o,justifyContent:n,flexWrap:i,gap:`${l}rem`},children:s});var je={container:"Column-module_container__Sqvfx",fullHeight:"Column-module_fullHeight__W87C5",fullWidth:"Column-module_fullWidth__lUQrj"};var Ie={container:"Flex-module_container__f80QI",grow:"Flex-module_grow__z7OVe",fullHeight:"Flex-module_fullHeight__d4p45",fullWidth:"Flex-module_fullWidth__m4XF-",item:"Flex-module_item__GwWE3",shrink:"Flex-module_shrink__LwfYE"};const Ae=({children:o,grow:n,shrink:i,className:l,fullHeight:a,fullWidth:d})=>e.jsx("div",{className:t(Ie,{item:!0,grow:n,shrink:i,fullHeight:a,fullWidth:d},[l]),children:o}),ke=({children:o,alignItems:n,justifyContent:i,flexWrap:l,gap:a,className:d,direction:s,grow:r,fullHeight:_,fullWidth:c})=>e.jsx("div",{className:t(Ie,{container:!0,fullHeight:_,fullWidth:c,grow:r},[d]),style:{alignItems:n,justifyContent:i,flexWrap:l,flexDirection:s,gap:`${a}rem`},children:o});Ae.displayName="Flex.Item",ke.Item=Ae;var Le={container:"IconLink-module_container__DPEQm",xxs:"IconLink-module_xxs__VR--q",xs:"IconLink-module_xs__7kP8f",sm:"IconLink-module_sm__VTyu1",md:"IconLink-module_md__YaLm6",lg:"IconLink-module_lg__mEFFB",xl:"IconLink-module_xl__SFhG7",xxl:"IconLink-module_xxl__bxRt7",xxxl:"IconLink-module_xxxl__-ah4f",circle:"IconLink-module_circle__SszO0",light:"IconLink-module_light__ntSbm",dark:"IconLink-module_dark__3JP27",flexWide:"IconLink-module_flexWide__kFlaC",slidein:"IconLink-module_slidein__L3sxO",fadeInOut:"IconLink-module_fadeInOut__UZw3F",heightAnimation:"IconLink-module_heightAnimation__XWKzZ",fadein:"IconLink-module_fadein__mu-Q-",floatAnimation:"IconLink-module_floatAnimation__Upk7f"};var De="Carousel-module_container__voMge",Ce="Carousel-module_carousel__cXGTr",be="Carousel-module_item__umQ-j";var Ne={box:"Chip-module_box__bPxl6",large:"Chip-module_large__vYrP6",small:"Chip-module_small__53iJq",clickable:"Chip-module_clickable__dzpKp",light:"Chip-module_light__29AuI",active:"Chip-module_active__BlTSF",lightDark:"Chip-module_lightDark__XNFQ7",lightDanger:"Chip-module_lightDanger__rLWTT",lightInfo:"Chip-module_lightInfo__lhtRG",lightPrimary:"Chip-module_lightPrimary__YzHWA",lightSecondary:"Chip-module_lightSecondary__qXcsD",lightWarning:"Chip-module_lightWarning__DDYW3",lightSuccess:"Chip-module_lightSuccess__n5gp5",primary:"Chip-module_primary__rvetC",secondary:"Chip-module_secondary__pLu90",danger:"Chip-module_danger__OJzar",dark:"Chip-module_dark__OOepT",info:"Chip-module_info__gtJS1",success:"Chip-module_success__0GXdc",warning:"Chip-module_warning__NBLbz",whiteText:"Chip-module_whiteText__zg28n",default:"Chip-module_default__AZUs1",borderedPrimary:"Chip-module_borderedPrimary__bRpmY",borderedSecondary:"Chip-module_borderedSecondary__JgMYX",flexWide:"Chip-module_flexWide__j8zBM",slidein:"Chip-module_slidein__qMh2s",fadeInOut:"Chip-module_fadeInOut__X5Sw2",heightAnimation:"Chip-module_heightAnimation__OA0dv",fadein:"Chip-module_fadein__CkDEY",floatAnimation:"Chip-module_floatAnimation__PMaOv"};var we={container:"Modal-module_container__UCuJv",header:"Modal-module_header__NS30G",body:"Modal-module_body__3zIj9",footer:"Modal-module_footer__Oyz-R",full:"Modal-module_full__13hJb",large:"Modal-module_large__O42Af",flexWide:"Modal-module_flexWide__VReva",slidein:"Modal-module_slidein__ndLPJ",fadeInOut:"Modal-module_fadeInOut__c5Sgq",heightAnimation:"Modal-module_heightAnimation__E3smD",fadein:"Modal-module_fadein__vroAa",floatAnimation:"Modal-module_floatAnimation__dU3VL"};const ye=o.forwardRef((function({title:o,content:n,header:i,footer:l,size:a="small",onClose:d},s){return e.jsxs("div",{className:t(we,{container:!0},[we[a]]),ref:s,children:[!o&&i&&e.jsx("div",{className:we.header,children:i}),o&&e.jsx("div",{className:we.header,children:e.jsxs(ve,{alignItems:"center",justifyContent:"space-between",children:[e.jsx("span",{children:o}),d&&e.jsx(N,{icon:_,onClick:d})]})}),e.jsx("div",{className:we.body,children:n}),l&&e.jsx("div",{className:we.footer,children:l})]})}));var Be={text:"Text-module_text__XXjeA",bodyText:"Text-module_bodyText__RqN1G",medium:"Text-module_medium__FoS2D",bold:"Text-module_bold__ZRBJh",flexWide:"Text-module_flexWide__fCAfU",slidein:"Text-module_slidein__ccSy8",fadeInOut:"Text-module_fadeInOut__JByvu",heightAnimation:"Text-module_heightAnimation__5YkEI",fadein:"Text-module_fadein__Fcz-y",floatAnimation:"Text-module_floatAnimation__2IgQs"};var Te={container:"Table-module_container__BsXT7",left:"Table-module_left__MPER1",right:"Table-module_right__gIcbO",center:"Table-module_center__sEdB2",centered:"Table-module_centered__liK0J",muted:"Table-module_muted__175Ax",flexWide:"Table-module_flexWide__ZT7bf",slidein:"Table-module_slidein__iS-HW",fadeInOut:"Table-module_fadeInOut__kkH6U",heightAnimation:"Table-module_heightAnimation__m6BZj",fadein:"Table-module_fadein__6ldtc",floatAnimation:"Table-module_floatAnimation__MN-bL"};exports.Accordion=V,exports.AlertBox=({message:o,onClear:n,onReload:i,type:l,inline:d=!1})=>e.jsxs("div",{className:t(xe,{alert:!0,inline:d},[xe[l]]),children:[e.jsx("div",{className:xe.icon,children:e.jsx(a,{icon:c,size:"md",theme:"dark"})}),e.jsx("div",{className:xe.message,children:o}),e.jsxs("div",{className:xe.actions,children:[i&&e.jsx(N,{icon:v,onClick:i,type:exports.UIElementType.WHITE_TEXT}),e.jsx(N,{icon:_,onClick:n,type:exports.UIElementType.WHITE_TEXT})]})]}),exports.Avatar=k,exports.Button=C,exports.Card=({title:o,subtitle:n,children:i,toolbar:l,footer:a,separated:d=!1,borderTopWidth:s,borderTopColor:r,noBottomMargin:_=!1,noBodyPadding:c=!1,fullHeight:u=!1,fullWidth:m=!1})=>{const h=s?`${s}px solid ${r}`:"none";return e.jsxs("div",{className:t(q,{card:!0,separated:d,noBottomMargin:_,noBodyPadding:c,fullHeight:u,fullWidth:m}),style:Object.assign({},s&&{borderTop:h}),children:[(l||o)&&e.jsxs("div",{className:q.header,children:[e.jsxs("div",{className:q.headerInfo,children:[o&&e.jsx("div",{className:q.headerTitle,children:e.jsx(K,{size:"sm",title:o})}),n&&e.jsx("div",{className:q.headerSubtitle,children:n})]}),l&&e.jsx("div",{className:q.headerToolbar,children:l})]}),e.jsx("div",{className:q.body,children:i}),a&&e.jsx("div",{className:q.footer,children:a})]})},exports.Carousel=({children:n,gap:i=2})=>{const t=o.useRef(null),[l,a]=o.useState(!1),[d,s]=o.useState(0),[r,_]=o.useState(0),c=()=>{a(!1)};return e.jsx("div",{className:De,children:e.jsx("div",{className:Ce,ref:t,onMouseDown:e=>{var o,n;a(!0),s(e.pageX-((null===(o=t.current)||void 0===o?void 0:o.offsetLeft)||0)),_((null===(n=t.current)||void 0===n?void 0:n.scrollLeft)||0)},onMouseLeave:c,onMouseUp:c,onMouseMove:e=>{var o;if(!l)return;const n=e.pageX-((null===(o=t.current)||void 0===o?void 0:o.offsetLeft)||0)-d;t.current&&(t.current.scrollLeft=r-n)},style:{gap:`${i}rem`,cursor:l?"grabbing":"grab"},children:n})})},exports.CarouselItem=({children:o})=>e.jsx("div",{className:be,children:o}),exports.Chip=({onClick:o,className:n="",children:i,type:l=exports.UIElementType.LIGHT,size:a="medium",active:d=!1})=>e.jsx("div",{className:t(Ne,{box:!0,clickable:!!o,active:d},[Ne[l],Ne[a],n]),onClick:o,children:i}),exports.Column=({alignItems:o="flex-start",justifyContent:n="flex-start",gap:i=1,fullHeight:l=!1,fullWidth:a=!0,children:d})=>e.jsx("div",{className:t(je,{container:!0,fullHeight:l,fullWidth:a}),style:{alignItems:o,justifyContent:n,gap:`${i}rem`},children:d}),exports.ContactsList=({domain:o,socialLinks:n,address:i,reportLabel:t,writeUsLabel:l,followUsLabel:d,addressLabel:s})=>e.jsxs("div",{className:me.container,children:[e.jsxs("div",{className:me.contact,children:[e.jsx("div",{className:me.icon,children:e.jsx(a,{icon:g,size:"xl"})}),e.jsxs("div",{className:me.content,children:[e.jsx("div",{className:me.title,children:t||"Report"}),e.jsx("div",{className:me.value,children:e.jsxs("a",{href:`mailto:feedback@${o}`,children:["feedback@",o]})})]})]}),e.jsxs("div",{className:me.contact,children:[e.jsx("div",{className:me.icon,children:e.jsx(a,{icon:m,size:"xl"})}),e.jsxs("div",{className:me.content,children:[e.jsx("div",{className:me.title,children:l||"Write us"}),e.jsx("div",{className:me.value,children:e.jsxs("a",{href:`mailto:contact@${o}`,children:["contact@",o]})})]})]}),e.jsxs("div",{className:me.contact,children:[e.jsx("div",{className:me.icon,children:e.jsx(a,{icon:j,size:"xl"})}),e.jsxs("div",{className:me.content,children:[e.jsx("div",{className:me.title,children:d||"Follow us"}),e.jsx("div",{className:me.value,children:e.jsx("ul",{children:n.map((({url:o,icon:n})=>e.jsx("li",{children:e.jsx("a",{href:o,target:"_blank",children:e.jsx(a,{icon:n,size:"md"})})},o)))})})]})]}),e.jsxs("div",{className:me.contact,children:[e.jsx("div",{className:me.icon,children:e.jsx(a,{icon:h,size:"xl"})}),e.jsxs("div",{className:me.content,children:[e.jsx("div",{className:me.title,children:s||"Address"}),e.jsx("div",{className:me.value,children:i})]})]})]}),exports.Container=oe,exports.CookieBanner=({appName:n})=>{const[i,t]=o.useState(!1);return o.useEffect((()=>{const e=J.getCookieBannerState();t(e!==$.SEEN)}),[]),i?e.jsxs("div",{className:Q.container,children:[e.jsxs("div",{className:Q.content,children:["As ",n,", we do not use any cookies ourselves, but some of our service providers may. Please check our ",e.jsx("a",{href:"/privacy",children:"Privacy Policy"})," page for more details."]}),e.jsx("div",{className:Q.actions,children:e.jsx(C,{label:"Continue",onClick:()=>{t(!1),J.saveCookieBannerState($.SEEN)}})})]}):null},exports.Description=({size:o="m",text:n,noSpacing:i=!1,className:l="",lighter:a=!1})=>e.jsx("div",{className:t(he,{description:!0,noSpacing:i,lighter:a},[he[o],l]),children:n}),exports.DropDown=({action:n,menu:i,type:l=exports.UIElementType.DEFAULT,closeRef:a,actionSize:d="medium"})=>{const s=o.useRef(null),r=o.useRef(null),_=o.useRef(null),[c,u]=o.useState(!1),m=()=>u(!1);return o.useEffect((()=>{(null==a?void 0:a.current)&&(a.current={close:()=>m()})}),[a]),e.jsxs("div",{className:R.container,ref:s,children:[e.jsx("div",{className:t(R,{action:!0},[R[l],R[d]]),ref:_,onClick:()=>u(!c),children:n}),e.jsx(F,{containerRef:s,contentRef:r,isOpen:c,onClose:m,renderChild:()=>e.jsx("div",{className:R.menuContainer,ref:r,children:e.jsx(U,{children:i})})})]})},exports.FAQ=({items:o,title:n})=>e.jsx(ce,{title:n||"Frequently asked questions",children:e.jsx("div",{className:ue,children:o.map((({title:o,content:n})=>e.jsx(V,{title:o,content:n},o)))})}),exports.Flex=ke,exports.Header=({logo:n,menu:i,actions:t=null})=>{const[l,a]=o.useState(!1);return e.jsxs("header",{className:ne,children:[e.jsx(oe,{children:e.jsxs("div",{className:ie,children:[e.jsx("a",{href:"/",className:te,children:n}),e.jsx("a",{href:"/",className:le,children:n}),!!i&&e.jsx("div",{className:se,children:i}),e.jsxs("div",{className:ae,children:[t,!!i&&e.jsx("div",{className:de,children:e.jsx(N,{icon:l?_:x,onClick:()=>a(!l),size:"lg"})})]})]})}),l&&e.jsx("div",{className:re,children:i})]})},exports.Heading=K,exports.IconButton=N,exports.IconLink=({icon:o,shape:n,target:i,size:l="xs",href:d,theme:s="light",title:r=""})=>e.jsx("a",{className:t(Le,{container:!0},[Le[n],Le[l],Le[s]]),href:d,target:i,rel:"noopener noreferrer",title:r,children:e.jsx(a,{icon:o,size:l,theme:s})}),exports.Input=H,exports.Link=({href:o,title:n,target:i="_self",type:l=exports.UIElementType.DEFAULT,padding:d="zero",hasChevron:s=!1,fullWidth:_=!1})=>e.jsxs("a",{href:o,target:i,rel:"noopener noreferrer",className:t(y,{link:!0,fullWidth:_},[y[l],y[d]]),children:[e.jsx("span",{children:n})," ",s&&e.jsx(a,{icon:r})]}),exports.ListItem=({title:o,subtitle:n,actionTitle:i="",action:l,completed:d,indicator:r,hasSeparator:_=!1,hasDashedSeparator:c=!1,isActionPending:u=!1})=>e.jsxs("div",{className:t(w,{listItem:!0,separator:_,dashedSeparator:c}),children:[e.jsxs("div",{className:w.content,children:[r&&e.jsx("div",{className:t(w,{indicator:!0},[w[r]])}),e.jsxs("div",{className:w.data,children:[e.jsx("div",{className:w.title,children:o}),n&&e.jsx("div",{className:w.subtitle,children:n})]})]}),l&&e.jsx(C,{onClick:l,className:w.action,label:i,isLoading:u}),d&&e.jsx("div",{className:w.completed,children:e.jsx(a,{icon:s})})]}),exports.Loading=({image:o})=>e.jsx("div",{className:ge,children:e.jsx("img",{src:o,alt:"Loading...",className:pe})}),exports.LoadingItem=({shape:o="square",size:n="md",width:i,height:l})=>e.jsx("div",{className:t(G,{container:!0},[G[o],G[n]]),style:{width:i,height:l}}),exports.Modal=ye,exports.Row=ve,exports.SVGIcon=a,exports.Section=ce,exports.Table=({children:o})=>e.jsx("div",{className:Te.container,children:e.jsx("table",{children:o})}),exports.TableBody=({children:o})=>e.jsx("tbody",{children:o}),exports.TableCell=({children:o,centered:n=!1,muted:i=!1})=>e.jsx("td",{className:t(Te,{centered:n,muted:i}),children:o}),exports.TableHead=({children:o})=>e.jsx("thead",{children:o}),exports.TableHeadCell=({children:o,align:n="left"})=>e.jsx("th",{className:Te[n],children:o}),exports.TableRow=({children:o})=>e.jsx("tr",{children:o}),exports.Text=({variant:o="bodyText",children:n})=>{const i=(()=>{switch(o){case"h1":case"h2":case"h3":case"h4":case"h5":return o;default:return"div"}})();return e.jsx(i,{className:t(Be,{text:!0},[Be[o]]),children:n})},exports.Tooltip=({hint:o,children:n,position:i="top"})=>e.jsxs("div",{className:X.tooltip,children:[!!o&&e.jsx("div",{className:`${X.hint} ${X[i]}`,children:o}),n]}),exports.classNames=t,exports.getDataTableHeadAlign=(e,o)=>0===e?"left":e===o-1?"right":"center",exports.useClickOutside=z,exports.useClickOutsideRef=e=>{const n=o.useRef(null),i=o.useCallback((o=>{n.current&&!n.current.contains(o.target)&&e()}),[e]);return o.useEffect((()=>(document.addEventListener("click",i),()=>{document.removeEventListener("click",i)})),[i]),n}; | ||
"use strict";var e=require("react/jsx-runtime"),o=require("react"),n=require("react-dom"),i={avatar:"Avatar-module_avatar__5-kP8",image:"Avatar-module_image__HFFlp",clickable:"Avatar-module_clickable__DD7pl",editable:"Avatar-module_editable__CpXtw",editIcon:"Avatar-module_editIcon__ULUa1",overlay:"Avatar-module_overlay__d95aK",overlayText:"Avatar-module_overlayText__NgsFM",loading:"Avatar-module_loading__9gBDd",xxs:"Avatar-module_xxs__zCCH6",xs:"Avatar-module_xs__1SMBv",sm:"Avatar-module_sm__8TB22",md:"Avatar-module_md__zeW0d",lg:"Avatar-module_lg__MWKN-",xl:"Avatar-module_xl__KCqIL",xxl:"Avatar-module_xxl__ox6gi",xxxl:"Avatar-module_xxxl__9Cc7C",inline:"Avatar-module_inline__H0AhD",flexWide:"Avatar-module_flexWide__GQYaQ",slidein:"Avatar-module_slidein__KV8Ih",fadeInOut:"Avatar-module_fadeInOut__2M9tv",heightAnimation:"Avatar-module_heightAnimation__RCYYu",fadein:"Avatar-module_fadein__lENH2",floatAnimation:"Avatar-module_floatAnimation__PNWhi"};const t=(e,o,n=[])=>{let i=[];for(const n in o)o[n]&&i.push(e[n]);return(null==n?void 0:n.length)>0&&(i=i.concat(n)),i.join(" ")};var l={container:"SVGIcon-module_container__z2RN5",isLoading:"SVGIcon-module_isLoading__8BhuU",fadeInOut:"SVGIcon-module_fadeInOut__EgbCf",dark:"SVGIcon-module_dark__4QbUi",flexWide:"SVGIcon-module_flexWide__IfOOF",slidein:"SVGIcon-module_slidein__RT6-4",heightAnimation:"SVGIcon-module_heightAnimation__CmY-x",fadein:"SVGIcon-module_fadein__Y2P5U",floatAnimation:"SVGIcon-module_floatAnimation__kH3Tr"};const a=({icon:o,size:n="sm",className:i="",isLoading:a=!1,theme:d="light"})=>{const s=(e=>{switch(e){case"xxs":return 8;case"xs":return 12;case"sm":default:return 16;case"md":return 24;case"lg":return 32;case"xl":return 48;case"xxl":return 64;case"xxxl":return 128}})(n);return o?e.jsx("div",{className:t(l,{container:!0,isLoading:a},[i,l[d]]),children:e.jsx(o,{className:i,width:s,height:s,viewBox:"0 0 24 24",preserveAspectRatio:"xMidYMid meet"})}):null},d=o=>e.jsxs("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:[e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2 8.377c0-.35 0-.525.015-.673a3 3 0 0 1 2.69-2.69C4.851 5 5.035 5 5.404 5c.143 0 .214 0 .274-.004a2 2 0 0 0 1.735-1.25c.023-.056.044-.12.086-.246.042-.127.063-.19.086-.246a2 2 0 0 1 1.735-1.25C9.38 2 9.448 2 9.58 2h4.838c.133 0 .2 0 .26.004a2 2 0 0 1 1.735 1.25c.023.056.044.12.086.246.042.127.063.19.086.246a2 2 0 0 0 1.735 1.25c.06.004.131.004.273.004.37 0 .554 0 .702.015a3 3 0 0 1 2.69 2.69c.014.147.014.322.014.672V16.2c0 1.68 0 2.52-.327 3.162a3 3 0 0 1-1.311 1.311C19.72 21 18.88 21 17.2 21H6.8c-1.68 0-2.52 0-3.162-.327a3 3 0 0 1-1.311-1.311C2 18.72 2 17.88 2 16.2z"}),e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 16.5a4 4 0 1 0 0-8 4 4 0 0 0 0 8"})]})),s=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 6 9 17l-5-5"})})),r=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m9 18 6-6-6-6"})})),_=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M18 6 6 18M6 6l12 12"})})),c=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 15.744a4.502 4.502 0 0 0-1.08-8.725 6.002 6.002 0 0 0-11.84 0A4.5 4.5 0 0 0 5 15.744M13 10l-4 6h6l-4 6"})})),u=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m4.272 20.728 6.597-6.597c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668l6.553 6.553M14 15l2.869-2.869c.396-.396.594-.594.822-.668a1 1 0 0 1 .618 0c.228.074.426.272.822.668L22 15M10 9a2 2 0 1 1-4 0 2 2 0 0 1 4 0M6.8 21h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 18.72 22 17.88 22 16.2V7.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 3 18.88 3 17.2 3H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 5.28 2 6.12 2 7.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 21 5.12 21 6.8 21"})})),m=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m2 7 8.165 5.715c.661.463.992.695 1.351.784a2 2 0 0 0 .968 0c.36-.09.69-.32 1.351-.784L22 7M6.8 20h10.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C22 17.72 22 16.88 22 15.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C19.72 4 18.88 4 17.2 4H6.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C2 6.28 2 7.12 2 8.8v6.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C4.28 20 5.12 20 6.8 20"})})),h=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 14.286c-1.851.817-3 1.955-3 3.214C2 19.985 6.477 22 12 22s10-2.015 10-4.5c0-1.259-1.149-2.397-3-3.214M18 8c0 4.064-4.5 6-6 9-1.5-3-6-4.936-6-9a6 6 0 1 1 12 0m-5 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0"})})),x=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M3 12h18M3 6h18M3 18h18"})})),g=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 9.5h4M8 13h7m-2.5 7a8.5 8.5 0 1 0-8.057-5.783c.108.32.162.481.172.604a.9.9 0 0 1-.028.326c-.03.12-.098.245-.232.494l-1.636 3.027c-.233.432-.35.648-.324.815a.5.5 0 0 0 .234.35c.144.087.388.062.876.011l5.121-.529c.155-.016.233-.024.303-.021s.12.009.187.024c.069.016.155.05.329.116A8.5 8.5 0 0 0 12.5 20"})})),p=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 12h14"})})),f=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 5v14m-7-7h14"})})),v=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M2 10s2.005-2.732 3.634-4.362A9 9 0 1 1 12 21a9.004 9.004 0 0 1-8.648-6.5M2 10V4m0 6h6"})})),j=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 22V11m-5 2v7a2 2 0 0 0 2 2h13.426a3 3 0 0 0 2.965-2.544l1.077-7A3 3 0 0 0 18.503 9H15a1 1 0 0 1-1-1V4.466A2.466 2.466 0 0 0 11.534 2a.82.82 0 0 0-.75.488l-3.52 7.918A1 1 0 0 1 6.35 11H4a2 2 0 0 0-2 2"})})),I=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m8 16 4-4m0 0 4 4m-4-4v9m8-4.257A5.5 5.5 0 0 0 16.5 7a.62.62 0 0 1-.534-.302 7.5 7.5 0 1 0-11.78 9.096"})})),A=o=>e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"none"},o,{children:e.jsx("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5.316 19.438A4 4 0 0 1 9 17h6a4 4 0 0 1 3.684 2.438M16 9.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0m6 2.5c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10"})})),k=({source:o=null,alt:n="avatar",size:l="sm",onClick:s,className:r,isEditable:_=!1,overlayIcon:c,inline:u=!1,isLoading:m=!1,overlayText:h})=>{const x=()=>{switch(l){case"xxxl":return 512;case"xxl":return 256;case"xl":return 128;case"lg":return 96;case"md":return 64;case"xs":return 32;case"xxs":return 24;default:return 48}};return e.jsxs("div",{className:t(i,{avatar:!0,clickable:!!s||_,editable:_,inline:u,loading:m},[i[l],r]),onClick:s,style:{width:x(),height:x()},children:[o?e.jsx("img",{src:o,alt:n,className:i.image,width:x(),height:x()}):e.jsx(a,{size:l,icon:A}),_&&e.jsx("div",{className:i.editIcon,children:e.jsx(a,{isLoading:m,icon:m?I:d})}),(!!c||h)&&e.jsxs("div",{className:i.overlay,children:[!!c&&e.jsx(a,{isLoading:m,icon:m?I:c}),!!h&&e.jsx("div",{className:i.overlayText,children:h})]})]})};var L,D={container:"Button-module_container__0j8md",confirm:"Button-module_confirm__N5z4A",confirmActions:"Button-module_confirmActions__Xh7kN",button:"Button-module_button__18Bed",label:"Button-module_label__1PsXG",light:"Button-module_light__oUjYe",lightDark:"Button-module_lightDark__vucG6",active:"Button-module_active__UeHD7",lightDanger:"Button-module_lightDanger__aDpy8",lightInfo:"Button-module_lightInfo__oCfFI",lightPrimary:"Button-module_lightPrimary__f7-kQ",lightSecondary:"Button-module_lightSecondary__YK-QR",lightWarning:"Button-module_lightWarning__-Ogcg",lightSuccess:"Button-module_lightSuccess__gSt46",primary:"Button-module_primary__st6yY",secondary:"Button-module_secondary__j-3rj",danger:"Button-module_danger__Hxs5n",dark:"Button-module_dark__T7dl8",info:"Button-module_info__2z1ZG",success:"Button-module_success__CHTsg",warning:"Button-module_warning__1voOb",whiteText:"Button-module_whiteText__12xTM",default:"Button-module_default__TZZU2",borderedPrimary:"Button-module_borderedPrimary__KrZVT",borderedSecondary:"Button-module_borderedSecondary__UPNks",xs:"Button-module_xs__OaJDb",sm:"Button-module_sm__RXFPY",md:"Button-module_md__nDnOD",lg:"Button-module_lg__qD-Qh",xl:"Button-module_xl__S-bZp",xxl:"Button-module_xxl__J-6aP",fullWidth:"Button-module_fullWidth__AHpSl",flexWide:"Button-module_flexWide__xDrEF",slidein:"Button-module_slidein__ofhlO",fadeInOut:"Button-module_fadeInOut__nAOqm",heightAnimation:"Button-module_heightAnimation__fLFCd",fadein:"Button-module_fadein__pspkB",floatAnimation:"Button-module_floatAnimation__0PYtT"};exports.UIElementType=void 0,(L=exports.UIElementType||(exports.UIElementType={})).PRIMARY="primary",L.SECONDARY="secondary",L.DANGER="danger",L.SUCCESS="success",L.WARNING="warning",L.INFO="info",L.LIGHT="light",L.DEFAULT="default",L.DARK="dark",L.LIGHT_PRIMARY="lightPrimary",L.LIGHT_SUCCESS="lightSuccess",L.LIGHT_WARNING="lightWarning",L.LIGHT_INFO="lightInfo",L.LIGHT_DANGER="lightDanger",L.LIGHT_DARK="lightDark",L.LIGHT_SECONDARY="lightSecondary",L.WHITE_TEXT="whiteText",L.BORDERED_PRIMARY="borderedPrimary",L.BORDERED_SECONDARY="borderedSecondary";const C=({type:n=exports.UIElementType.PRIMARY,onClick:i,label:l,icon:d,fullWidth:s=!1,isLoading:r,disabled:_,className:c,needConfirm:u=!1,size:m="md"})=>{const[h,x]=o.useState(!1);return e.jsxs("div",{className:t(D,{container:!0,fullWidth:s}),children:[e.jsx("button",{className:t(D,{button:!0,loading:!!r},[D[n],D[m],c]),onClick:u?()=>x(!h):i,disabled:r||_,children:r?e.jsx(o.Fragment,{children:"Loading..."}):e.jsxs("div",{className:D.label,children:[d&&e.jsx(a,{icon:d}),e.jsx("span",{children:l})]})}),h&&e.jsxs("div",{className:D.confirm,children:[e.jsx("div",{className:D.confirmMessage,children:"Are you sure?"}),e.jsxs("div",{className:D.confirmActions,children:[e.jsx(C,{type:exports.UIElementType.DANGER,onClick:()=>x(!1),label:"No",size:"xs"}),e.jsx(C,{type:exports.UIElementType.SUCCESS,onClick:()=>{x(!1),i()},label:"Yes",size:"xs"})]})]})]})};var b={iconButton:"IconButton-module_iconButton__PmpB8",noPadding:"IconButton-module_noPadding__Jd2rK",lg:"IconButton-module_lg__KG7lp",md:"IconButton-module_md__s4q7b",sm:"IconButton-module_sm__are9s",xs:"IconButton-module_xs__qYwZc",confirm:"IconButton-module_confirm__-jXH4",confirmMessage:"IconButton-module_confirmMessage__AgI49",confirmActions:"IconButton-module_confirmActions__j7-Tt",topLeft:"IconButton-module_topLeft__aDA0m",bottom:"IconButton-module_bottom__AEpND",disabled:"IconButton-module_disabled__pLK-t",white:"IconButton-module_white__AzyNN",light:"IconButton-module_light__i3AET",active:"IconButton-module_active__popsF",lightDark:"IconButton-module_lightDark__d7NQy",lightDanger:"IconButton-module_lightDanger__bIg02",lightInfo:"IconButton-module_lightInfo__820It",lightPrimary:"IconButton-module_lightPrimary__SCrg-",lightSecondary:"IconButton-module_lightSecondary__vN-aS",lightWarning:"IconButton-module_lightWarning__z1iaR",lightSuccess:"IconButton-module_lightSuccess__mUSnD",primary:"IconButton-module_primary__qjfR5",secondary:"IconButton-module_secondary__-CufX",danger:"IconButton-module_danger__lz3tP",dark:"IconButton-module_dark__QiBJk",info:"IconButton-module_info__eawU-",success:"IconButton-module_success__xkDzZ",warning:"IconButton-module_warning__DhbfD",whiteText:"IconButton-module_whiteText__111Ju",default:"IconButton-module_default__j2U57",borderedPrimary:"IconButton-module_borderedPrimary__DHXJQ",borderedSecondary:"IconButton-module_borderedSecondary__13GNA",flexWide:"IconButton-module_flexWide__BGOfY",slidein:"IconButton-module_slidein__Rmpl5",fadeInOut:"IconButton-module_fadeInOut__Z2E5a",heightAnimation:"IconButton-module_heightAnimation__JnqnZ",fadein:"IconButton-module_fadein__uX9ut",floatAnimation:"IconButton-module_floatAnimation__N-INw"};const N=({icon:n,onClick:i,type:l=exports.UIElementType.DEFAULT,needConfirm:d=!1,noPadding:s=!1,isLoading:r=!1,size:_="sm",confirmPosition:c="top",isActive:u=!1})=>{const[m,h]=o.useState(!1);return e.jsxs("div",{className:t(b,{iconButton:!0,noPadding:s,active:u},[b[l],b[_]]),onClick:r?void 0:d?()=>h(!m):i,children:[e.jsx(a,{isLoading:r,icon:n,size:_}),m&&e.jsxs("div",{className:`${b.confirm} ${b[c]}`,children:[e.jsx("div",{className:b.confirmMessage,children:"Are you sure?"}),e.jsxs("div",{className:b.confirmActions,children:[e.jsx(C,{type:exports.UIElementType.DANGER,onClick:()=>h(!1),label:"No",size:"xs"}),e.jsx(C,{type:exports.UIElementType.SUCCESS,onClick:i,label:"Yes",size:"xs"})]})]})]})};var w={listItem:"ListItem-module_listItem__ljWE5",separator:"ListItem-module_separator__CIXS1",dashedSeparator:"ListItem-module_dashedSeparator__SYWNX",content:"ListItem-module_content__mPC1D",data:"ListItem-module_data__e0N6V",title:"ListItem-module_title__YkOz9",subtitle:"ListItem-module_subtitle__5flJp",indicator:"ListItem-module_indicator__BwMsO",success:"ListItem-module_success__lgO8z",info:"ListItem-module_info__MKMBu",warning:"ListItem-module_warning__8P-nA",danger:"ListItem-module_danger__sWYOu",primary:"ListItem-module_primary__-bA-W",completed:"ListItem-module_completed__ovBl4",flexWide:"ListItem-module_flexWide__-0Q5a",slidein:"ListItem-module_slidein__dGxX-",fadeInOut:"ListItem-module_fadeInOut__Yuwsd",heightAnimation:"ListItem-module_heightAnimation__aVO2o",fadein:"ListItem-module_fadein__GSr23",floatAnimation:"ListItem-module_floatAnimation__efvAy"};var y={link:"Link-module_link__35Vo1",fullWidth:"Link-module_fullWidth__eg45D",zero:"Link-module_zero__e-EXa",xxs:"Link-module_xxs__DLzl2",xs:"Link-module_xs__K3V8L",sm:"Link-module_sm__FcTWO",md:"Link-module_md__mmLj-",lg:"Link-module_lg__R71ff",xl:"Link-module_xl__q05MB",xxl:"Link-module_xxl__VZVxK",xxxl:"Link-module_xxxl__91qsW",light:"Link-module_light__Ji8kV",active:"Link-module_active__iCkL0",lightDark:"Link-module_lightDark__1fDCG",lightDanger:"Link-module_lightDanger__lB9Tb",lightInfo:"Link-module_lightInfo__h5lfu",lightPrimary:"Link-module_lightPrimary__aZxve",lightSecondary:"Link-module_lightSecondary__QHh0c",lightWarning:"Link-module_lightWarning__iOuMw",lightSuccess:"Link-module_lightSuccess__zDBp0",primary:"Link-module_primary__CE3uj",secondary:"Link-module_secondary__KSolI",danger:"Link-module_danger__ugf9r",dark:"Link-module_dark__ap0Ls",info:"Link-module_info__9skpg",success:"Link-module_success__DwP-V",warning:"Link-module_warning__FhhXi",whiteText:"Link-module_whiteText__t7SOQ",default:"Link-module_default__3TBlr",borderedPrimary:"Link-module_borderedPrimary__RfPen",borderedSecondary:"Link-module_borderedSecondary__xTeGX",flexWide:"Link-module_flexWide__3A6ZB",slidein:"Link-module_slidein__kBzO4",fadeInOut:"Link-module_fadeInOut__zas8c",heightAnimation:"Link-module_heightAnimation__N7y-w",fadein:"Link-module_fadein__WxUdb",floatAnimation:"Link-module_floatAnimation__XrwU5"};"function"==typeof SuppressedError&&SuppressedError;var B,T={input:"Input-module_input__505b7",full:"Input-module_full__h2smD",noMargin:"Input-module_noMargin__ysWuN",container:"Input-module_container__itXJp",colorPicker:"Input-module_colorPicker__Efa-c",required:"Input-module_required__kHc93",prefix:"Input-module_prefix__-1end",addon:"Input-module_addon__1cKdz",pointer:"Input-module_pointer__EsKoB",error:"Input-module_error__38tit",avatar:"Input-module_avatar__GJUWC",autoCompleteContent:"Input-module_autoCompleteContent__4anQc",reversed:"Input-module_reversed__dU1hV",transparent:"Input-module_transparent__ko36m",small:"Input-module_small__5vYiK",xsmall:"Input-module_xsmall__-9hXW",hasPrefix:"Input-module_hasPrefix__fU508",hasAddon:"Input-module_hasAddon__mruPW",darkMode:"Input-module_darkMode__DLx4Y",flexWide:"Input-module_flexWide__4Wn1k",slidein:"Input-module_slidein__XYim1",fadeInOut:"Input-module_fadeInOut__bnAwc",heightAnimation:"Input-module_heightAnimation__tmt9Z",fadein:"Input-module_fadein__1HtqV",floatAnimation:"Input-module_floatAnimation__sYawG"};exports.InputType=void 0,(B=exports.InputType||(exports.InputType={})).TEXT="text",B.PASSWORD="password",B.EMAIL="email",B.NUMBER="number",B.URL="url",B.TEL="tel",B.DATE="date",B.DATETIME="datetime",B.SELECT="select",B.COLOR_PICKER="color-picker",B.TEXT_AREA="text-area",B.AVATAR_UPLOAD="avatar-upload",B.UPLOAD_IMAGE_ICON="upload-image-icon",B.DND="dnd";const S=({isLoading:o,value:n,isDisabled:i,placeholder:t,options:l,name:d,onBlur:s,onFocus:r,onChange:_,preIcon:c,addonIcon:u,addonAction:m})=>e.jsxs(e.Fragment,{children:[c&&e.jsx("div",{className:T.preIcon,children:e.jsx(a,{icon:c,isLoading:o})}),e.jsxs("select",{className:T.field,value:n,onBlur:s,onFocus:r,onChange:_,name:d,disabled:i,children:[t&&e.jsx("option",{value:"",children:t}),l.map((({label:o,value:n})=>e.jsx("option",{value:n,children:o},n)))]}),u&&e.jsx("div",{className:m?`${T.addon} ${T.pointer}`:T.addon,onClick:m,children:e.jsx(a,{icon:u,isLoading:o})})]});var W={container:"DnD-module_container__zFojN",dropZone:"DnD-module_dropZone__OJnfw",placeholder:"DnD-module_placeholder__Fkhl4",dropLabel:"DnD-module_dropLabel__TDGan",input:"DnD-module_input__FKtwE",selectedImage:"DnD-module_selectedImage__DsvPl",removeImage:"DnD-module_removeImage__zMc3L",rectangle:"DnD-module_rectangle__cnjIE",square:"DnD-module_square__mc3tn",circle:"DnD-module_circle__kXFaZ",isDragOver:"DnD-module_isDragOver__vfTwp",flexWide:"DnD-module_flexWide__sqZP0",slidein:"DnD-module_slidein__bPiSA",fadeInOut:"DnD-module_fadeInOut__QCEYD",heightAnimation:"DnD-module_heightAnimation__OGSUd",fadein:"DnD-module_fadein__eyNza",floatAnimation:"DnD-module_floatAnimation__PwKWB"};const O=(e,o)=>{const n=new FileReader;n.onload=()=>{o(n.result)},n.readAsDataURL(e)},E=({value:n,placeholder:i,isMultiUpload:l,dndShape:a="rectangle",isDisabled:d,className:s,onFilesSelect:r,onFileSelect:c})=>{const[u,m]=o.useState(!1),h=e=>{if(e&&e.length>0){if(l&&r)return r(e);const o=e[0];O(o,(e=>{c&&c(o,e)}))}};return e.jsx("div",{className:t(W,{container:!0,isDragOver:u}),children:e.jsx("div",{onDrop:e=>{if(e.preventDefault(),d)return;const o=e.dataTransfer.files;h(o)},onDragOver:e=>{e.preventDefault()},onDragEnter:()=>m(!0),onDragLeave:()=>m(!1),className:t(W,{dropZone:!0},[W[a],s]),children:n?e.jsxs("div",{className:W.selectedImage,children:[e.jsx("img",{src:String(n),alt:i}),e.jsx("div",{className:W.removeImage,children:e.jsx(N,{onClick:()=>{c&&c(null,"")},icon:_,type:exports.UIElementType.BORDERED_PRIMARY})})]}):e.jsxs("label",{className:W.dropLabel,children:[e.jsx("span",{className:W.placeholder,children:i||"Drop file"}),e.jsx("input",{type:"file",className:W.input,hidden:!0,onChange:e=>{const o=e.target;h(o.files)},disabled:d})]})})})};var M={container:"TextArea-module_container__uff42",field:"TextArea-module_field__kapQk",hasPrefix:"TextArea-module_hasPrefix__flVwo",prefix:"TextArea-module_prefix__vGIaC",flexWide:"TextArea-module_flexWide__staBL",slidein:"TextArea-module_slidein__-OBuL",fadeInOut:"TextArea-module_fadeInOut__aNBV4",heightAnimation:"TextArea-module_heightAnimation__mZG0q",fadein:"TextArea-module_fadein__30AAW",floatAnimation:"TextArea-module_floatAnimation__x6a8y"};const P=({value:o,placeholder:n,autoFocus:i,ref:l,isDisabled:a,prefix:d,rows:s=3,onBlur:r,onFocus:_,onChange:c})=>e.jsxs("div",{className:t(M,{container:!0,hasPrefix:!!d}),children:[!!d&&e.jsx("div",{className:M.prefix,children:e.jsx("span",{children:d})}),e.jsx("textarea",{className:M.field,value:o,placeholder:n,onBlur:r,onFocus:_,onChange:c,autoFocus:i,ref:l,disabled:a,rows:s})]}),H=o.forwardRef((function(n,i){var{type:l=exports.InputType.TEXT,label:d,placeholder:s,value:r,required:_=!1,addonIcon:c,preIcon:m,addonText:h,labelAddon:x,errorMessage:g,options:p=[],fullWidth:f,avatarSize:v,source:j,autoCompleteContent:I,autoCompleteReverse:A=!1,noMargin:L=!1,isDisabled:D=!1,isLoading:C=!1,isMultiUpload:b=!1,autoFocus:N=!1,theme:w="oval",size:y="medium",isDarkMode:B=!1,dndShape:W,name:M,prefix:H,rows:R,className:z,onBlur:F,onFocus:U,onChange:G,addonAction:Y,onEnter:V,onEsc:X,onFileSelect:q,onFilesSelect:Z}=n,K=function(e,o){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&o.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(i=Object.getOwnPropertySymbols(e);t<i.length;t++)o.indexOf(i[t])<0&&Object.prototype.propertyIsEnumerable.call(e,i[t])&&(n[i[t]]=e[i[t]])}return n}(n,["type","label","placeholder","value","required","addonIcon","preIcon","addonText","labelAddon","errorMessage","options","fullWidth","avatarSize","source","autoCompleteContent","autoCompleteReverse","noMargin","isDisabled","isLoading","isMultiUpload","autoFocus","theme","size","isDarkMode","dndShape","name","prefix","rows","className","onBlur","onFocus","onChange","addonAction","onEnter","onEsc","onFileSelect","onFilesSelect"]);const Q=D||C,J=e=>{switch(e.key){case"Enter":V&&V();break;case"Escape":X&&X()}},$=e=>{const o=e.target.files[0];O(o,(e=>{q&&q(o,e)}))},ee=e=>{const o=e.target;Z&&Z(o.files)};return e.jsxs("div",{className:t(T,{input:!0,full:!!f,noMargin:L,hasAddon:!!c||!!h,hasPrefix:!!H,darkMode:B},[T[w],T[y]]),children:[d&&e.jsxs("label",{children:[e.jsx("span",{className:_?T.required:"",children:d}),!!x&&e.jsx("div",{className:T.labelAddon,children:x})]}),e.jsx("div",{className:T.container,children:(()=>{switch(l){case exports.InputType.SELECT:return e.jsx(S,{preIcon:m,isLoading:C,value:r,isDisabled:D,placeholder:s,options:p,onBlur:F,onFocus:U,onChange:G,addonAction:Y,addonIcon:c,name:M});case exports.InputType.DND:return e.jsx(E,{onFilesSelect:Z,onFileSelect:q,placeholder:s,value:r,dndShape:W,isDisabled:D,isMultiUpload:b,className:z});case exports.InputType.COLOR_PICKER:return e.jsx("input",Object.assign({className:`${T.field} ${T.colorPicker}`,type:"color",value:r,placeholder:s,onBlur:F,onFocus:U,onChange:G,disabled:Q,ref:i},K));case exports.InputType.TEXT_AREA:return e.jsx(P,{value:r,placeholder:s,onBlur:F,onFocus:U,onChange:G,autoFocus:N,ref:i,prefix:H,rows:R});case exports.InputType.AVATAR_UPLOAD:return e.jsxs("label",{htmlFor:"avatar-upload",children:[e.jsx(k,{size:v,source:j,isLoading:C,isEditable:!0}),e.jsx("input",{type:"file",name:"avatar-upload",id:"avatar-upload",accept:"image/*",onChange:b?ee:$,ref:i,className:T.avatar,disabled:Q,multiple:b})]});case exports.InputType.UPLOAD_IMAGE_ICON:return e.jsxs("label",{htmlFor:"upload-image-icon",children:[e.jsx(a,{icon:u,isLoading:C,size:"md"}),e.jsx("input",{type:"file",name:"upload-image-icon",id:"upload-image-icon",accept:"image/*",onChange:b?ee:$,ref:i,className:T.avatar,disabled:Q,multiple:b})]});default:return e.jsxs(o.Fragment,{children:[!!H&&e.jsx("div",{className:T.prefix,children:e.jsx("span",{children:H})}),e.jsx("input",Object.assign({className:T.field,type:l,placeholder:s,value:r,onBlur:F,onFocus:U,onChange:G,onKeyUp:J,ref:i,disabled:Q,autoFocus:N,name:M},K)),c&&e.jsx("div",{className:Y?`${T.addon} ${T.pointer}`:T.addon,onClick:Y,children:e.jsx(a,{icon:c,isLoading:C})}),h&&e.jsx("div",{className:Y?`${T.addon} ${T.pointer}`:T.addon,onClick:Y,children:h})]})}})()}),!!g&&e.jsx("div",{className:T.error,children:g}),!!I&&e.jsx("div",{className:t(T,{autoCompleteContent:!0,reversed:A}),children:I})]})}));var R={menu:"DropDown-module_menu__gRW7p",container:"DropDown-module_container__ms9Bn",action:"DropDown-module_action__D8KuY",light:"DropDown-module_light__6NSjI",active:"DropDown-module_active__rGcA2",lightDark:"DropDown-module_lightDark__Ctspk",lightDanger:"DropDown-module_lightDanger__FaZ6G",lightInfo:"DropDown-module_lightInfo__DMaJO",lightPrimary:"DropDown-module_lightPrimary__sobOp",lightSecondary:"DropDown-module_lightSecondary__PB0m-",lightWarning:"DropDown-module_lightWarning__mkeGN",lightSuccess:"DropDown-module_lightSuccess__QNoVS",primary:"DropDown-module_primary__9-x6Y",secondary:"DropDown-module_secondary__HBses",danger:"DropDown-module_danger__ZbPY6",dark:"DropDown-module_dark__3YhdZ",info:"DropDown-module_info__5qwW6",success:"DropDown-module_success__NbhHj",warning:"DropDown-module_warning__MrYwV",whiteText:"DropDown-module_whiteText__eVLut",default:"DropDown-module_default__D0DNi",borderedPrimary:"DropDown-module_borderedPrimary__oTb-J",borderedSecondary:"DropDown-module_borderedSecondary__GqWsA",xsmall:"DropDown-module_xsmall__Mc6Zx",small:"DropDown-module_small__Goyza",large:"DropDown-module_large__P5F--",flexWide:"DropDown-module_flexWide__ySVZv",slidein:"DropDown-module_slidein__ZYDXA",fadeInOut:"DropDown-module_fadeInOut__hjIWL",heightAnimation:"DropDown-module_heightAnimation__EUum9",fadein:"DropDown-module_fadein__D2VO0",floatAnimation:"DropDown-module_floatAnimation__z5DD5"};const z=(e,n)=>{const i=o=>{e.current&&!e.current.contains(o.target)&&n()};o.useEffect((()=>(document.addEventListener("click",i),()=>{document.removeEventListener("click",i)})),[])},F=({containerRef:i,contentRef:t,isOpen:l=!1,renderChild:a,onClose:d})=>{const s={isOpen:!1,top:0,left:0,bottom:0,right:0},[r,_]=o.useState(s),c={position:"absolute",top:r.top,left:r.left,bottom:r.bottom,right:r.right,zIndex:111},u=()=>{_(s),d()};return z(i,(()=>u())),o.useEffect((()=>{if(l)return(()=>{var e,o,n,l,a,d,s;const{top:r,left:c,height:u,width:m}=null!==(n=null===(o=null===(e=null==i?void 0:i.current)||void 0===e?void 0:e.getBoundingClientRect)||void 0===o?void 0:o.call(e))&&void 0!==n?n:{top:0,left:0,height:0,width:0},{innerHeight:h,innerWidth:x}=window,g=h-(r+u),p=r,f=c,v=x-(c+m),j=null!==(a=null===(l=null==t?void 0:t.current)||void 0===l?void 0:l.clientHeight)&&void 0!==a?a:200,I=null!==(s=null===(d=null==t?void 0:t.current)||void 0===d?void 0:d.clientWidth)&&void 0!==s?s:200;let A="auto",k="auto",L="auto",D="auto";g<j&&p>=j?D=h-r-u+20:k=r+u+5,v<I&&f>=I?L=x-c:A=c;const C={top:k,left:A,right:L,bottom:D};_(Object.assign(Object.assign({},C),{isOpen:!0}))})();u()}),[l,null==i?void 0:i.current]),r.isOpen?n.createPortal(e.jsx("div",{style:c,onClick:e=>{e.stopPropagation()},children:a(r)}),document.getElementById("portals")):null},U=({children:o})=>e.jsx("div",{className:R.menu,children:o});var G={container:"LoadingItem-module_container__ujRaI",fadeInOut:"LoadingItem-module_fadeInOut__HDJT8",square:"LoadingItem-module_square__OucYB",xxs:"LoadingItem-module_xxs__kTYcZ",xs:"LoadingItem-module_xs__sISZM",sm:"LoadingItem-module_sm__hsDHD",md:"LoadingItem-module_md__bU5yA",lg:"LoadingItem-module_lg__9sK4b",xl:"LoadingItem-module_xl__O0kH8",xxl:"LoadingItem-module_xxl__tIjdb",xxxl:"LoadingItem-module_xxxl__h73z5",xxxxl:"LoadingItem-module_xxxxl__XTzwy",flexWide:"LoadingItem-module_flexWide__sIJC3",slidein:"LoadingItem-module_slidein__8J982",heightAnimation:"LoadingItem-module_heightAnimation__cUh26",fadein:"LoadingItem-module_fadein__-CmLg",floatAnimation:"LoadingItem-module_floatAnimation__gQ2jh"};var Y={container:"Accordion-module_container__6rGl0",header:"Accordion-module_header__AYOT5",body:"Accordion-module_body__4IgEa",content:"Accordion-module_content__RyBzl",isOpen:"Accordion-module_isOpen__Bmf-c",flexWide:"Accordion-module_flexWide__Pmyu-",slidein:"Accordion-module_slidein__NIsrY",fadeInOut:"Accordion-module_fadeInOut__Ub-rg",heightAnimation:"Accordion-module_heightAnimation__nT1oQ",fadein:"Accordion-module_fadein__KprHu",floatAnimation:"Accordion-module_floatAnimation__d-fsP"};const V=({title:n,content:i})=>{const[l,d]=o.useState(!1);return e.jsxs("div",{className:t(Y,{container:!0,isOpen:l}),onClick:()=>d(!l),children:[e.jsxs("div",{className:Y.header,children:[e.jsx("h3",{children:n}),e.jsx(a,{icon:l?p:f,size:"md"})]}),e.jsx("div",{className:Y.body,children:e.jsx("div",{className:Y.content,children:i})})]})};var X={tooltip:"Tooltip-module_tooltip__LjRUX",hint:"Tooltip-module_hint__ZdhCh",top:"Tooltip-module_top__HZqEk",bottom:"Tooltip-module_bottom__hrxCa",right:"Tooltip-module_right__LGQTD",left:"Tooltip-module_left__-LZ0w",flexWide:"Tooltip-module_flexWide__dQnBf",slidein:"Tooltip-module_slidein__Yziit",fadeInOut:"Tooltip-module_fadeInOut__glWW2",heightAnimation:"Tooltip-module_heightAnimation__5cr8-",fadein:"Tooltip-module_fadein__NGjXx",floatAnimation:"Tooltip-module_floatAnimation__R4QxW"};var q={card:"Card-module_card__LzN-3",header:"Card-module_header__j-c-9",subtitle:"Card-module_subtitle__RVMlO",body:"Card-module_body__v78vB",footer:"Card-module_footer__FjLbG",separated:"Card-module_separated__XYi-z",noBottomMargin:"Card-module_noBottomMargin__X7Gc1",noBodyPadding:"Card-module_noBodyPadding__Qwkyx",fullWidth:"Card-module_fullWidth__HpLSP",fullHeight:"Card-module_fullHeight__Ngt-E",flexWide:"Card-module_flexWide__qc7xl",slidein:"Card-module_slidein__9OQew",fadeInOut:"Card-module_fadeInOut__nlrXf",heightAnimation:"Card-module_heightAnimation__edaK-",fadein:"Card-module_fadein__8Bpsl",floatAnimation:"Card-module_floatAnimation__fuwcu"},Z={heading:"Heading-module_heading__zKyv7",title:"Heading-module_title__poNb0",xl:"Heading-module_xl__EUHx8",lg:"Heading-module_lg__BzP-H",md:"Heading-module_md__etFxz",sm:"Heading-module_sm__DW8pt",xs:"Heading-module_xs__1cGtZ",subtitle:"Heading-module_subtitle__siosa",flexWide:"Heading-module_flexWide__kdze4",slidein:"Heading-module_slidein__aveKx",fadeInOut:"Heading-module_fadeInOut__-4cOS",heightAnimation:"Heading-module_heightAnimation__r9l4u",fadein:"Heading-module_fadein__yua3s",floatAnimation:"Heading-module_floatAnimation__OA9Sm"};const K=({size:o="md",title:n,subtitle:i})=>e.jsxs("div",{className:Z.heading,children:[e.jsx("div",{className:`${Z.title} ${Z[o]}`,children:n}),i&&e.jsx("div",{className:Z.subtitle,children:i})]});var Q={container:"CookieBanner-module_container__4UQ-V",content:"CookieBanner-module_content__upuyM",flexWide:"CookieBanner-module_flexWide__Vft50",slidein:"CookieBanner-module_slidein__NxJr8",fadeInOut:"CookieBanner-module_fadeInOut__4-sCu",heightAnimation:"CookieBanner-module_heightAnimation__vqvzX",fadein:"CookieBanner-module_fadein__-ogfe",floatAnimation:"CookieBanner-module_floatAnimation__UCwtP"};const J=new class{constructor(){this.cookieBannerKey="sorocraft_cookie_banner"}saveCookieBannerState(e){localStorage.setItem(this.cookieBannerKey,String(e))}getCookieBannerState(){return localStorage.getItem(this.cookieBannerKey)}};var $;!function(e){e.SEEN="seen"}($||($={}));var ee={container:"Container-module_container__exPuE",noPadding:"Container-module_noPadding__lpIsj",fullWidth:"Container-module_fullWidth__BIlSl",flexWide:"Container-module_flexWide__UYxLw",slidein:"Container-module_slidein__2HqKN",fadeInOut:"Container-module_fadeInOut__OfzxZ",heightAnimation:"Container-module_heightAnimation__UR715",fadein:"Container-module_fadein__9rDYD",floatAnimation:"Container-module_floatAnimation__6Lcjo"};const oe=({className:o="",children:n,noPadding:i=!1,fullWidth:l=!1})=>e.jsx("div",{className:t(ee,{container:!0,noPadding:i,fullWidth:l},[o]),children:n});var ne="Header-module_header__qxHtx",ie="Header-module_content__DV-in",te="Header-module_logo__xO2bW",le="Header-module_mobileLogo__eNvSP",ae="Header-module_actions__ZlACk",de="Header-module_mobileMenuIcon__pFpba",se="Header-module_menu__Yw9r6",re="Header-module_mobileMenu__4S-NE";var _e={container:"Section-module_container__3n1V-",header:"Section-module_header__uP6hi",subtitle:"Section-module_subtitle__8Y9SH",gradient:"Section-module_gradient__xroL-",black:"Section-module_black__xbyiN",dark:"Section-module_dark__5IiQW",flexWide:"Section-module_flexWide__jFoW4",slidein:"Section-module_slidein__gRGLr",fadeInOut:"Section-module_fadeInOut__yLFY5",heightAnimation:"Section-module_heightAnimation__7ap3B",fadein:"Section-module_fadein__Jbv0F",floatAnimation:"Section-module_floatAnimation__g2TfT"};const ce=({title:o,subtitle:n,theme:i="light",backgroundColor:l="transparent",children:a})=>e.jsxs("div",{className:t(_e,{container:!0},[_e[i]]),style:{backgroundColor:l},children:[e.jsxs("div",{className:_e.header,children:[e.jsx("h2",{children:o}),!!n&&e.jsx("div",{className:_e.subtitle,children:n})]}),e.jsx("div",{className:_e.body,children:a})]});var ue="FAQ-module_container__Kht11";var me={container:"ContactsList-module_container__rwdG-",contact:"ContactsList-module_contact__S5Q5T",title:"ContactsList-module_title__2h1V2",value:"ContactsList-module_value__JksBF",flexWide:"ContactsList-module_flexWide__y3ESG",slidein:"ContactsList-module_slidein__WCW87",fadeInOut:"ContactsList-module_fadeInOut__SFFum",heightAnimation:"ContactsList-module_heightAnimation__wjNjX",fadein:"ContactsList-module_fadein__CVVKr",floatAnimation:"ContactsList-module_floatAnimation__JNgpI"};var he={description:"Description-module_description__ENVu-",xl:"Description-module_xl__GtUSA",lg:"Description-module_lg__ENF-W",m:"Description-module_m__RqjBl",s:"Description-module_s__RAro3",xs:"Description-module_xs__0chE0",noSpacing:"Description-module_noSpacing__746UN",lighter:"Description-module_lighter__y-rC3",flexWide:"Description-module_flexWide__CEoWm",slidein:"Description-module_slidein__ZJBnB",fadeInOut:"Description-module_fadeInOut__ZdTzP",heightAnimation:"Description-module_heightAnimation__v2n3a",fadein:"Description-module_fadein__bPsva",floatAnimation:"Description-module_floatAnimation__Cq8oz"};var xe={alert:"AlertBox-module_alert__y9n9e",inline:"AlertBox-module_inline__upbhQ",error:"AlertBox-module_error__anhZO",success:"AlertBox-module_success__80DOT",icon:"AlertBox-module_icon__FLy1Y",actions:"AlertBox-module_actions__fgPt7","supeer-icon-button":"AlertBox-module_supeer-icon-button__8oUJ8",message:"AlertBox-module_message__ssD6S",flexWide:"AlertBox-module_flexWide__isTSZ",slidein:"AlertBox-module_slidein__BNFh5",fadeInOut:"AlertBox-module_fadeInOut__DW6jj",heightAnimation:"AlertBox-module_heightAnimation__AMoVU",fadein:"AlertBox-module_fadein__5wonR",floatAnimation:"AlertBox-module_floatAnimation__rXaKh"};var ge="Loading-module_loading__7gLQd",pe="Loading-module_image__gig5S";var fe={container:"Row-module_container__XmQql",fullHeight:"Row-module_fullHeight__Inxzs",fullWidth:"Row-module_fullWidth__cz2RH"};const ve=({alignItems:o="center",justifyContent:n="flex-start",flexWrap:i="nowrap",gap:l=1,fullHeight:a=!1,fullWidth:d=!0,children:s})=>e.jsx("div",{className:t(fe,{container:!0,fullHeight:a,fullWidth:d}),style:{alignItems:o,justifyContent:n,flexWrap:i,gap:`${l}rem`},children:s});var je={container:"Column-module_container__Sqvfx",fullHeight:"Column-module_fullHeight__W87C5",fullWidth:"Column-module_fullWidth__lUQrj"};var Ie={container:"Flex-module_container__f80QI",grow:"Flex-module_grow__z7OVe",fullHeight:"Flex-module_fullHeight__d4p45",fullWidth:"Flex-module_fullWidth__m4XF-",item:"Flex-module_item__GwWE3",shrink:"Flex-module_shrink__LwfYE"};const Ae=({children:o,grow:n,shrink:i,className:l,fullHeight:a,fullWidth:d})=>e.jsx("div",{className:t(Ie,{item:!0,grow:n,shrink:i,fullHeight:a,fullWidth:d},[l]),children:o}),ke=({children:o,alignItems:n,justifyContent:i,flexWrap:l,gap:a,className:d,direction:s,grow:r,fullHeight:_,fullWidth:c})=>e.jsx("div",{className:t(Ie,{container:!0,fullHeight:_,fullWidth:c,grow:r},[d]),style:{alignItems:n,justifyContent:i,flexWrap:l,flexDirection:s,gap:`${a}rem`},children:o});Ae.displayName="Flex.Item",ke.Item=Ae;var Le={container:"IconLink-module_container__DPEQm",xxs:"IconLink-module_xxs__VR--q",xs:"IconLink-module_xs__7kP8f",sm:"IconLink-module_sm__VTyu1",md:"IconLink-module_md__YaLm6",lg:"IconLink-module_lg__mEFFB",xl:"IconLink-module_xl__SFhG7",xxl:"IconLink-module_xxl__bxRt7",xxxl:"IconLink-module_xxxl__-ah4f",circle:"IconLink-module_circle__SszO0",light:"IconLink-module_light__ntSbm",dark:"IconLink-module_dark__3JP27",flexWide:"IconLink-module_flexWide__kFlaC",slidein:"IconLink-module_slidein__L3sxO",fadeInOut:"IconLink-module_fadeInOut__UZw3F",heightAnimation:"IconLink-module_heightAnimation__XWKzZ",fadein:"IconLink-module_fadein__mu-Q-",floatAnimation:"IconLink-module_floatAnimation__Upk7f"};var De="Carousel-module_container__voMge",Ce="Carousel-module_carousel__cXGTr",be="Carousel-module_item__umQ-j";var Ne={box:"Chip-module_box__bPxl6",large:"Chip-module_large__vYrP6",small:"Chip-module_small__53iJq",clickable:"Chip-module_clickable__dzpKp",light:"Chip-module_light__29AuI",active:"Chip-module_active__BlTSF",lightDark:"Chip-module_lightDark__XNFQ7",lightDanger:"Chip-module_lightDanger__rLWTT",lightInfo:"Chip-module_lightInfo__lhtRG",lightPrimary:"Chip-module_lightPrimary__YzHWA",lightSecondary:"Chip-module_lightSecondary__qXcsD",lightWarning:"Chip-module_lightWarning__DDYW3",lightSuccess:"Chip-module_lightSuccess__n5gp5",primary:"Chip-module_primary__rvetC",secondary:"Chip-module_secondary__pLu90",danger:"Chip-module_danger__OJzar",dark:"Chip-module_dark__OOepT",info:"Chip-module_info__gtJS1",success:"Chip-module_success__0GXdc",warning:"Chip-module_warning__NBLbz",whiteText:"Chip-module_whiteText__zg28n",default:"Chip-module_default__AZUs1",borderedPrimary:"Chip-module_borderedPrimary__bRpmY",borderedSecondary:"Chip-module_borderedSecondary__JgMYX",flexWide:"Chip-module_flexWide__j8zBM",slidein:"Chip-module_slidein__qMh2s",fadeInOut:"Chip-module_fadeInOut__X5Sw2",heightAnimation:"Chip-module_heightAnimation__OA0dv",fadein:"Chip-module_fadein__CkDEY",floatAnimation:"Chip-module_floatAnimation__PMaOv"};var we={container:"Modal-module_container__UCuJv",header:"Modal-module_header__NS30G",body:"Modal-module_body__3zIj9",footer:"Modal-module_footer__Oyz-R",full:"Modal-module_full__13hJb",large:"Modal-module_large__O42Af",flexWide:"Modal-module_flexWide__VReva",slidein:"Modal-module_slidein__ndLPJ",fadeInOut:"Modal-module_fadeInOut__c5Sgq",heightAnimation:"Modal-module_heightAnimation__E3smD",fadein:"Modal-module_fadein__vroAa",floatAnimation:"Modal-module_floatAnimation__dU3VL"};const ye=o.forwardRef((function({title:o,content:n,header:i,footer:l,size:a="small",onClose:d},s){return e.jsxs("div",{className:t(we,{container:!0},[we[a]]),ref:s,children:[!o&&i&&e.jsx("div",{className:we.header,children:i}),o&&e.jsx("div",{className:we.header,children:e.jsxs(ve,{alignItems:"center",justifyContent:"space-between",children:[e.jsx("span",{children:o}),d&&e.jsx(N,{icon:_,onClick:d})]})}),e.jsx("div",{className:we.body,children:n}),l&&e.jsx("div",{className:we.footer,children:l})]})}));var Be={text:"Text-module_text__XXjeA",bodyText:"Text-module_bodyText__RqN1G",medium:"Text-module_medium__FoS2D",bold:"Text-module_bold__ZRBJh",flexWide:"Text-module_flexWide__fCAfU",slidein:"Text-module_slidein__ccSy8",fadeInOut:"Text-module_fadeInOut__JByvu",heightAnimation:"Text-module_heightAnimation__5YkEI",fadein:"Text-module_fadein__Fcz-y",floatAnimation:"Text-module_floatAnimation__2IgQs"};var Te={container:"Table-module_container__BsXT7",left:"Table-module_left__MPER1",right:"Table-module_right__gIcbO",center:"Table-module_center__sEdB2",centered:"Table-module_centered__liK0J",muted:"Table-module_muted__175Ax",flexWide:"Table-module_flexWide__ZT7bf",slidein:"Table-module_slidein__iS-HW",fadeInOut:"Table-module_fadeInOut__kkH6U",heightAnimation:"Table-module_heightAnimation__m6BZj",fadein:"Table-module_fadein__6ldtc",floatAnimation:"Table-module_floatAnimation__MN-bL"};exports.Accordion=V,exports.AlertBox=({message:o,onClear:n,onReload:i,type:l,inline:d=!1})=>e.jsxs("div",{className:t(xe,{alert:!0,inline:d},[xe[l]]),children:[e.jsx("div",{className:xe.icon,children:e.jsx(a,{icon:c,size:"md",theme:"dark"})}),e.jsx("div",{className:xe.message,children:o}),e.jsxs("div",{className:xe.actions,children:[i&&e.jsx(N,{icon:v,onClick:i,type:exports.UIElementType.WHITE_TEXT}),e.jsx(N,{icon:_,onClick:n,type:exports.UIElementType.WHITE_TEXT})]})]}),exports.Avatar=k,exports.Button=C,exports.Card=({title:o,subtitle:n,children:i,toolbar:l,footer:a,separated:d=!1,borderTopWidth:s,borderTopColor:r,noBottomMargin:_=!1,noBodyPadding:c=!1,fullHeight:u=!1,fullWidth:m=!1})=>{const h=s?`${s}px solid ${r}`:"none";return e.jsxs("div",{className:t(q,{card:!0,separated:d,noBottomMargin:_,noBodyPadding:c,fullHeight:u,fullWidth:m}),style:Object.assign({},s&&{borderTop:h}),children:[(l||o)&&e.jsxs("div",{className:q.header,children:[e.jsxs("div",{className:q.headerInfo,children:[o&&e.jsx("div",{className:q.headerTitle,children:e.jsx(K,{size:"sm",title:o})}),n&&e.jsx("div",{className:q.headerSubtitle,children:n})]}),l&&e.jsx("div",{className:q.headerToolbar,children:l})]}),e.jsx("div",{className:q.body,children:i}),a&&e.jsx("div",{className:q.footer,children:a})]})},exports.Carousel=({children:n,gap:i=2})=>{const t=o.useRef(null),[l,a]=o.useState(!1),[d,s]=o.useState(0),[r,_]=o.useState(0),c=()=>{a(!1)};return e.jsx("div",{className:De,children:e.jsx("div",{className:Ce,ref:t,onMouseDown:e=>{var o,n;a(!0),s(e.pageX-((null===(o=t.current)||void 0===o?void 0:o.offsetLeft)||0)),_((null===(n=t.current)||void 0===n?void 0:n.scrollLeft)||0)},onMouseLeave:c,onMouseUp:c,onMouseMove:e=>{var o;if(!l)return;const n=e.pageX-((null===(o=t.current)||void 0===o?void 0:o.offsetLeft)||0)-d;t.current&&(t.current.scrollLeft=r-n)},style:{gap:`${i}rem`,cursor:l?"grabbing":"grab"},children:n})})},exports.CarouselItem=({children:o})=>e.jsx("div",{className:be,children:o}),exports.Chip=({onClick:o,className:n="",children:i,type:l=exports.UIElementType.LIGHT,size:a="medium",active:d=!1})=>e.jsx("div",{className:t(Ne,{box:!0,clickable:!!o,active:d},[Ne[l],Ne[a],n]),onClick:o,children:i}),exports.Column=({alignItems:o="flex-start",justifyContent:n="flex-start",gap:i=1,fullHeight:l=!1,fullWidth:a=!0,children:d})=>e.jsx("div",{className:t(je,{container:!0,fullHeight:l,fullWidth:a}),style:{alignItems:o,justifyContent:n,gap:`${i}rem`},children:d}),exports.ContactsList=({domain:o,socialLinks:n,address:i,reportLabel:t,writeUsLabel:l,followUsLabel:d,addressLabel:s})=>e.jsxs("div",{className:me.container,children:[e.jsxs("div",{className:me.contact,children:[e.jsx("div",{className:me.icon,children:e.jsx(a,{icon:g,size:"xl"})}),e.jsxs("div",{className:me.content,children:[e.jsx("div",{className:me.title,children:t||"Report"}),e.jsx("div",{className:me.value,children:e.jsxs("a",{href:`mailto:feedback@${o}`,children:["feedback@",o]})})]})]}),e.jsxs("div",{className:me.contact,children:[e.jsx("div",{className:me.icon,children:e.jsx(a,{icon:m,size:"xl"})}),e.jsxs("div",{className:me.content,children:[e.jsx("div",{className:me.title,children:l||"Write us"}),e.jsx("div",{className:me.value,children:e.jsxs("a",{href:`mailto:contact@${o}`,children:["contact@",o]})})]})]}),e.jsxs("div",{className:me.contact,children:[e.jsx("div",{className:me.icon,children:e.jsx(a,{icon:j,size:"xl"})}),e.jsxs("div",{className:me.content,children:[e.jsx("div",{className:me.title,children:d||"Follow us"}),e.jsx("div",{className:me.value,children:e.jsx("ul",{children:n.map((({url:o,icon:n})=>e.jsx("li",{children:e.jsx("a",{href:o,target:"_blank",children:e.jsx(a,{icon:n,size:"md"})})},o)))})})]})]}),e.jsxs("div",{className:me.contact,children:[e.jsx("div",{className:me.icon,children:e.jsx(a,{icon:h,size:"xl"})}),e.jsxs("div",{className:me.content,children:[e.jsx("div",{className:me.title,children:s||"Address"}),e.jsx("div",{className:me.value,children:i})]})]})]}),exports.Container=oe,exports.CookieBanner=({appName:n})=>{const[i,t]=o.useState(!1);return o.useEffect((()=>{const e=J.getCookieBannerState();t(e!==$.SEEN)}),[]),i?e.jsxs("div",{className:Q.container,children:[e.jsxs("div",{className:Q.content,children:["As ",n,", we do not use any cookies ourselves, but some of our service providers may. Please check our ",e.jsx("a",{href:"/privacy",children:"Privacy Policy"})," page for more details."]}),e.jsx("div",{className:Q.actions,children:e.jsx(C,{label:"Continue",onClick:()=>{t(!1),J.saveCookieBannerState($.SEEN)}})})]}):null},exports.Description=({size:o="m",text:n,noSpacing:i=!1,className:l="",lighter:a=!1})=>e.jsx("div",{className:t(he,{description:!0,noSpacing:i,lighter:a},[he[o],l]),children:n}),exports.DropDown=({action:n,menu:i,type:l=exports.UIElementType.DEFAULT,closeRef:a,actionSize:d="medium"})=>{const s=o.useRef(null),r=o.useRef(null),_=o.useRef(null),[c,u]=o.useState(!1),m=()=>u(!1);return o.useEffect((()=>{(null==a?void 0:a.current)&&(a.current={close:()=>m()})}),[a]),e.jsxs("div",{className:R.container,ref:s,children:[e.jsx("div",{className:t(R,{action:!0},[R[l],R[d]]),ref:_,onClick:()=>u(!c),children:n}),e.jsx(F,{containerRef:s,contentRef:r,isOpen:c,onClose:m,renderChild:()=>e.jsx("div",{className:R.menuContainer,ref:r,children:e.jsx(U,{children:i})})})]})},exports.FAQ=({items:o,title:n})=>e.jsx(ce,{title:n||"Frequently asked questions",children:e.jsx("div",{className:ue,children:o.map((({title:o,content:n})=>e.jsx(V,{title:o,content:n},o)))})}),exports.Flex=ke,exports.Header=({logo:n,menu:i,actions:t=null})=>{const[l,a]=o.useState(!1);return e.jsxs("header",{className:ne,children:[e.jsx(oe,{children:e.jsxs("div",{className:ie,children:[e.jsx("a",{href:"/",className:te,children:n}),e.jsx("a",{href:"/",className:le,children:n}),!!i&&e.jsx("div",{className:se,children:i}),e.jsxs("div",{className:ae,children:[t,!!i&&e.jsx("div",{className:de,children:e.jsx(N,{icon:l?_:x,onClick:()=>a(!l),size:"lg"})})]})]})}),l&&e.jsx("div",{className:re,children:i})]})},exports.Heading=K,exports.IconButton=N,exports.IconLink=({icon:o,shape:n,target:i,size:l="xs",href:d,theme:s="light",title:r=""})=>e.jsx("a",{className:t(Le,{container:!0},[Le[n],Le[l],Le[s]]),href:d,target:i,rel:"noopener noreferrer",title:r,children:e.jsx(a,{icon:o,size:l,theme:s})}),exports.Input=H,exports.Link=({href:o,title:n,target:i="_self",type:l=exports.UIElementType.DEFAULT,padding:d="zero",hasChevron:s=!1,fullWidth:_=!1})=>e.jsxs("a",{href:o,target:i,rel:"noopener noreferrer",className:t(y,{link:!0,fullWidth:_},[y[l],y[d]]),children:[e.jsx("span",{children:n})," ",s&&e.jsx(a,{icon:r})]}),exports.ListItem=({title:o,subtitle:n,actionTitle:i="",action:l,completed:d,indicator:r,hasSeparator:_=!1,hasDashedSeparator:c=!1,isActionPending:u=!1})=>e.jsxs("div",{className:t(w,{listItem:!0,separator:_,dashedSeparator:c}),children:[e.jsxs("div",{className:w.content,children:[r&&e.jsx("div",{className:t(w,{indicator:!0},[w[r]])}),e.jsxs("div",{className:w.data,children:[e.jsx("div",{className:w.title,children:o}),n&&e.jsx("div",{className:w.subtitle,children:n})]})]}),l&&e.jsx(C,{onClick:l,className:w.action,label:i,isLoading:u}),d&&e.jsx("div",{className:w.completed,children:e.jsx(a,{icon:s})})]}),exports.Loading=({image:o})=>e.jsx("div",{className:ge,children:e.jsx("img",{src:o,alt:"Loading...",className:pe})}),exports.LoadingItem=({shape:o="square",size:n="md",width:i,height:l})=>e.jsx("div",{className:t(G,{container:!0},[G[o],G[n]]),style:{width:i,height:l}}),exports.Modal=ye,exports.Row=ve,exports.SVGIcon=a,exports.Section=ce,exports.Table=({children:o})=>e.jsx("div",{className:Te.container,children:e.jsx("table",{children:o})}),exports.TableBody=({children:o})=>e.jsx("tbody",{children:o}),exports.TableCell=({children:o,centered:n=!1,muted:i=!1})=>e.jsx("td",{className:t(Te,{centered:n,muted:i}),children:o}),exports.TableHead=({children:o})=>e.jsx("thead",{children:o}),exports.TableHeadCell=({children:o,align:n="left"})=>e.jsx("th",{className:Te[n],children:o}),exports.TableRow=({children:o})=>e.jsx("tr",{children:o}),exports.Text=({variant:o="bodyText",children:n})=>{const i=(()=>{switch(o){case"h1":case"h2":case"h3":case"h4":case"h5":return o;default:return"div"}})();return e.jsx(i,{className:t(Be,{text:!0},[Be[o]]),children:n})},exports.Tooltip=({hint:o,children:n,position:i="top"})=>e.jsxs("div",{className:X.tooltip,children:[!!o&&e.jsx("div",{className:`${X.hint} ${X[i]}`,children:o}),n]}),exports.classNames=t,exports.getDataTableHeadAlign=(e,o)=>0===e?"left":e===o-1?"right":"center",exports.useClickOutside=z,exports.useClickOutsideRef=e=>{const n=o.useRef(null),i=o.useCallback((o=>{n.current&&!n.current.contains(o.target)&&e()}),[e]);return o.useEffect((()=>(document.addEventListener("click",i),()=>{document.removeEventListener("click",i)})),[i]),n}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@sorocraft/ui", | ||
"version": "1.0.54", | ||
"version": "1.0.55", | ||
"description": "UI Library by sorocraft.com", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
982573
2280