@emailmaker/emailmaker 1.0.61 → 1.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/asset-manifest.json +16 -16
- package/emailmaker-esm.js +1 -1
- package/emailmaker.js +1 -1
- package/iframe/{iframe-eblock.f5bec4815a968824a7de.html → iframe-eblock.14f8a673f34d72ec88de.html} +1 -1
- package/iframe/{iframe.f5bec4815a968824a7de.html → iframe.14f8a673f34d72ec88de.html} +1 -1
- package/iframe/js/cssbeautify.js +1 -1
- package/iframe/sandbox-eblock.js +1 -1
- package/iframe/sandbox.js +1 -1
- package/package.json +1 -1
- package/plugin.html +1 -1
- package/plugin_blocks_test.html +1 -1
- package/plugin_default.html +3 -3
- package/plugin_idigital.html +1 -1
- package/plugin_s.html +1 -1
- package/static/js/{189.d4e5c06f.js → 189.fb4d2d8b.js} +1 -1
- package/static/js/{2299.bd334036.chunk.js → 2299.cf90b757.chunk.js} +1 -1
- package/static/js/2574.c0f56526.js +1 -0
- package/static/js/{4529.eae85391.js → 4529.2bb46065.js} +1 -1
- package/static/js/{5211.7f490bc6.js → 5211.d27a1e14.js} +1 -1
- package/static/js/{7967.665dfd03.js → 7967.5136da11.js} +1 -1
- package/static/js/{8689.b8744e0e.chunk.js → 8689.aa776e90.chunk.js} +1 -1
- package/static/js/{8995.fc864aa4.js → 8995.54a7ed6e.js} +1 -1
- package/static/js/{emailmaker_core.d0afabb6.js → emailmaker_core.6e2a56e1.js} +1 -1
- package/translations.pot +126 -134
- package/static/js/2574.20b0540d.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[8995],{43063:(e,t,s)=>{s.d(t,{A:()=>Z});var l=s(92810),i=s(64617),a=s(94822),o=s(95838),n=s(69417),r=s(49246),c=s(81e3),d=s(66522),m=s(4800),p=s(43005),u=s(9588),h=s(79612),C=s(10900),g=s(82013),x=s(20350),v=s(64586),f=s(9452),j=s(8114),_=s(74267),y=s(45934),A=s(38883),w=s.n(A),L=s(48409),b=s.n(L),k=s(55701),M=s(86739),S=s(86286),E=s(57903),V=s(31844),H=s(32269),N=s(23287),I=s(85163),B=s(70082);const{useToken:T}=o.A,Z=({element:e,setSearchFilters:t=()=>{},isTrash:s=!1,foldersList:o,projectTags:A=[],foldersHandlers:L={}})=>{var Z,R,O,D,P,z,F,U,q,G,K,$,W,X,Y;const{__:J}=(0,N.s9)();let Q=(0,i.zy)();const{projectId:ee}=(0,i.g)(),{owner:te,admin:se}=(0,V.A)(),le=(0,y.d4)(S.C1),ie=(0,l.useRef)(null),{token:ae}=T(),{handleRecover:oe,handleClone:ne,handlerChangeFolder:re,handleRemove:ce}=L,de=e.hasOwnProperty("type")?I.IE:I.Tm,me=de===I.Tm?I.zh:I.YY,pe=de===I.Tm?J("New emails"):J("New blocks"),ue=(e,t)=>`${e.pathname}/${t.id}`,[he]=(0,k.pP)(),[Ce]=(0,M.Kh)(),ge=(e,t=ee,s)=>{const l=s?`&cacheControl=true&cache-hash=${b()(s)}`:"";return`https://scr.emcdn.ru/screenshot?${"block"===de?"":"minHeight=620&"}delay=1000&width=800&fullPage=true&deviceScaleFactor=0.755&format=jpg&force=false${l}&url=${encodeURIComponent(`https://app.emailmaker.ru/get${de}/${e}?secret_hash=${b()(`${t}${e}${I.KI}`)}&raw=true`)}`},xe=(null===(Z=e[de===I.IE?"blockfolder":"folder"])||void 0===Z?void 0:Z[0])||null,ve={icon:(0,B.jsx)(u.A,{style:{fontSize:18}}),label:pe,key:I.y2,onClick:t=>re(t,e)},fe=null===o||void 0===o?void 0:o.map((t=>({icon:(0,B.jsx)(h.A,{style:{fontSize:18}}),label:t.name,key:t.id,className:t.id,onClick:t=>re(t,e)}))),je=(null===fe||void 0===fe?void 0:fe.filter((e=>!xe||e.key!==xe)))||[];xe&&(null===je||void 0===je||je.unshift(ve));let _e=[];return(te||se||(null===(R=le.id)||void 0===R?void 0:R.toString())===(null===(O=e.author)||void 0===O?void 0:O.toString()))&&!s&&_e.push({label:(0,B.jsx)(E.A,{element:e},"Lock"),icon:e.lock?(0,B.jsx)(C.A,{style:{fontSize:"16px"}}):(0,B.jsx)(g.A,{style:{fontSize:"16px"}})}),(te||se||(null===(D=le.id)||void 0===D?void 0:D.toString())===(null===(P=e.author)||void 0===P?void 0:P.toString()))&&!s&&je.length>0&&_e.push({label:J("Transfer to folder"),icon:(0,B.jsx)(h.A,{style:{fontSize:"16px"}}),children:je}),!s&&_e.push({label:J("Clone"),icon:(0,B.jsx)(x.A,{style:{fontSize:"16px"}}),key:"Clone",className:de===I.IE?"em-analytics__block-clone":"em-analytics__email-clone",disabled:de===I.IE?he.isLoading:Ce.isLoading,onClick:()=>ne(e)}),(te||se||(null===(z=le.id)||void 0===z?void 0:z.toString())===(null===(F=e.author)||void 0===F?void 0:F.toString()))&&s&&_e.push({label:J("Recover"),icon:(0,B.jsx)(v.A,{style:{fontSize:"16px"}}),key:"Recover",onClick:()=>oe(e)}),(te||se||(null===(U=le.id)||void 0===U?void 0:U.toString())===(null===(q=e.author)||void 0===q?void 0:q.toString()))&&_e.push({label:J("Remove"),icon:(0,B.jsx)(f.A,{style:{fontSize:"16px"}}),key:"Remove",style:{color:"#ff4d4f"},className:de===I.IE?"em-analytics__block-remove":"em-analytics__email-remove",onClick:()=>ce(e)}),(0,B.jsxs)(n.A,{className:`element-card element-card_${de}`,hoverable:!0,cover:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(r.A,{loading:"true",active:!0,avatar:!0,style:{position:"absolute",width:"83%",margin:"50px 10% 0 7%"}}),(0,B.jsx)(a.N_,{ref:ie,className:"element-card__img-wrapper",to:s?"":ue(Q,e),onMouseMove:e=>(0,H.Hy)(e,ie.current),style:{cursor:s?"default":"pointer"},onMouseLeave:H.Tr,children:ge(e.id,e.project,e.modified)&&(0,B.jsx)("img",{className:"element-card__img",alt:e.title,src:ge(e.id,e.project,e.modified)})}),(e.is_template||(null===(G=e.acf)||void 0===G?void 0:G.is_template))&&(0,B.jsx)("div",{className:"element-card__is-template-wrapper",children:J("Template")}),(null===(K=e[me])||void 0===K?void 0:K.length)&&(0,B.jsx)("div",{className:"element-card__tags-wrapper",children:(0,B.jsx)(c.A,{wrap:!0,size:8,children:e[me].map((e=>{const s=null===A||void 0===A?void 0:A.find((t=>{var s;return(null===(s=t.id)||void 0===s?void 0:s.toString())===(null===e||void 0===e?void 0:e.toString())}));return s&&(0,B.jsx)(d.A,{color:ae.colorPrimary,style:{borderRadius:6},onClick:()=>t(null,s.id),children:s.name},s.id)}))})})]}),children:[(0,B.jsxs)("div",{className:"ant-card-body__left",children:[(0,B.jsx)(a.N_,{to:s?"":ue(Q,e),style:{cursor:s?"default":"pointer"},children:(0,B.jsxs)("span",{className:"element-card__title",children:[e.lock&&(0,B.jsx)(g.A,{className:w()("lock-icon",{"lock-icon__disabled":!(te||se||(null===($=le.id)||void 0===$?void 0:$.toString())===(null===(W=e.author)||void 0===W?void 0:W.toString()))})}),(null===(X=e.title)||void 0===X?void 0:X.trim())||(null===(Y=e.subject)||void 0===Y?void 0:Y.trim())]})}),(0,B.jsxs)("p",{className:"element-card__date",children:[J("Last update: ")," ",(0,H.Yq)((0,_.A)(e.modified),J)]})]}),(0,B.jsx)("div",{className:"ant-card-body__right",children:(0,B.jsx)(m.A,{menu:{items:_e},arrow:"true",placement:"bottom",trigger:["hover"],children:(0,B.jsx)(p.Ay,{type:"default",className:"element-card_menu",onClick:()=>{},children:(0,B.jsx)(j.A,{style:{fontSize:"16px"}},"menu-button")})})})]})}},57918:(e,t,s)=>{s.d(t,{A:()=>E});var l=s(92810),i=s(33206),a=s(66726),o=s(71086),n=s(24696),r=s(71157),c=s(82447),d=s(68912),m=s(50295),p=s(79716),u=s(16906),h=s(77970),C=s(38883),g=s.n(C),x=s(23287),v=s(45934),f=s(64617),j=s(64936),_=s(85163),y=s(77019),A=s(62303),w=s(32269),L=s(31844),b=s(86286),k=s(63531),M=s(32411),S=s(70082);const E=({setSizes:e,sizes:t,codeModeShow:s,codeModeIsVisible:C,email:E})=>{var V,H;const{__:N}=(0,x.s9)(),I=(0,v.wA)(),B=(0,v.d4)(j.cL),{admin:T,owner:Z,user:R}=(0,L.A)(E.project),O=T||Z||R,[D,P]=(0,l.useState)(!1),[z,F]=(0,k.Zf)(),U=(0,f.Zp)(),q=(0,v.d4)(b.C1),{modal:G}=i.A.useApp(),K=(0,r.hN)(),{confirm:$}=G,W=(0,M.fn)();(0,l.useEffect)((()=>{F.isError&&((0,w.p6)(F,K),P(!1))}),[F,K]),(0,l.useEffect)((()=>{if(F.isSuccess&&D){var e;if(401===(null===(e=F.data)||void 0===e?void 0:e.status))K.error({message:(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:F.data.code}}),description:(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:F.data.message}}),placement:"bottomRight"});else if(F.data){let e=document.createElement("A");e.setAttribute("target","_blank"),e.setAttribute("href",F.data.message),e.click()}P(!1)}}),[F,D,K]);const X=(0,l.useCallback)((()=>{$({title:N("Upgrade your plan to use this feature"),icon:(0,S.jsx)(c.A,{}),content:(0,S.jsx)("div",{style:{maxWidth:"330px"},children:N("Available on the Personal plan and higher.")}),centered:!0,okText:N("Choose your plan"),cancelText:N("Close & continue"),width:"unset",onOk(){U("/billing")},onCancel(){}})}),[U,N,$]);let Y=[{label:(0,S.jsx)(a.A,{placement:"right",children:(0,S.jsx)(d.A,{className:"element-preview-menu__list-item-icon"})}),key:"Desktop",className:[g()("element-preview-menu__list-item",{"element-preview-menu__list-item_active":(!t[0]||t[0]>80)&&!C}),"em-analytics__email-desktop"],onClick:e,disabled:C},{label:(0,S.jsx)(a.A,{placement:"right",children:(0,S.jsx)(m.A,{className:"element-preview-menu__list-item-icon"})}),key:"Mobile",className:[g()("element-preview-menu__list-item",{"element-preview-menu__list-item_active":t[0]<=80&&!C}),"em-analytics__email-mobile"],onClick:e,disabled:C},{label:(0,S.jsx)(o.A,{className:"email-preview-menu__list__divider"}),key:"divider",className:"element-preview-menu__list-item"},{label:(0,S.jsx)(a.A,{title:N("Live preview"),placement:"right",children:D?(0,S.jsx)(p.A,{className:"preview-mode__list-item-icon"}):(0,S.jsx)(u.A,{className:"preview-mode__list-item-icon"})}),key:"Live preview",className:"element-preview-menu__list-item em-analytics__email-live-preview",onClick:(null===q||void 0===q||null===(V=q.id)||void 0===V?void 0:V.toString())===(null===(H=E.project_author)||void 0===H?void 0:H.toString())&&"community"===(null===q||void 0===q?void 0:q.subscription.post_name)?X:()=>{if(!D){const e={email:E.id,subject:encodeURIComponent("#"+E.project+" "+E.title).replaceAll(/%20/gi,"+").replaceAll(/%0A/gi,"%0D%0A"),content:encodeURIComponent((null===W||void 0===W?void 0:W.getValue())||"").replaceAll(/%20/gi,"+").replaceAll(/%0A/gi,"%0D%0A")};z(e),P(!0)}},disabled:!O},{label:(0,S.jsx)(a.A,{title:N("Send a test email"),placement:"right",children:(0,S.jsx)(A.A,{icon:"SendOutlined",className:"preview-mode__list-item-icon"})}),key:"Send test email",className:"element-preview-menu__list-item em-analytics__email-open-test",onClick:()=>{I((0,j.qf)(_.lx.SEND_TEST_EMAIL))},disabled:!O},{label:(0,S.jsx)(a.A,{title:N("Share"),placement:"right",children:(0,S.jsx)(h.A,{className:"preview-mode__list-item-icon"})}),key:"Share",className:"element-preview-menu__list-item em-analytics__email-share",onClick:()=>{navigator.clipboard.writeText(window.location).then((()=>{(0,w.wB)(N("A shareable link to this page has been copied to the clipboard."),K)}))}}];return(0,S.jsxs)("div",{className:"element-preview-menu",children:[(0,S.jsx)(n.A,{mode:"vertical",className:"element-preview-menu__list",items:Y}),(0,S.jsx)(y.A,{isModalVisible:B===_.lx.SEND_TEST_EMAIL,email:E})]})}},62303:(e,t,s)=>{s.d(t,{A:()=>xl});s(92810);var l=s(47983),i=s(56991),a=s(70082);const o=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"chat-gpt",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M11.1396 4.91121C11.2741 4.50723 11.3208 4.07922 11.2764 3.65577C11.2321 3.23232 11.0979 2.82323 10.8827 2.45587C10.5636 1.90021 10.0763 1.46028 9.49105 1.19955C8.90578 0.938823 8.2528 0.870777 7.62631 1.00523C7.34374 0.68679 6.99643 0.432375 6.60757 0.259023C6.21871 0.0856726 5.79733 -0.00261924 5.3716 5.91632e-05C4.7311 -0.00148674 4.10665 0.200409 3.58828 0.576642C3.06991 0.952872 2.68442 1.484 2.48737 2.09345C2.07011 2.17886 1.67592 2.35242 1.33117 2.60252C0.98642 2.85261 0.699078 3.17346 0.488376 3.5436C0.166798 4.09773 0.02953 4.73964 0.0963679 5.37684C0.163206 6.01401 0.430694 6.61347 0.860259 7.08879C0.725757 7.49277 0.679098 7.92078 0.723405 8.34423C0.767712 8.76768 0.901962 9.17676 1.11717 9.54414C1.43623 10.0998 1.92355 10.5397 2.50882 10.8004C3.09409 11.0611 3.74707 11.1292 4.37353 10.9948C4.6561 11.3132 5.00344 11.5676 5.39227 11.741C5.78113 11.9143 6.20251 12.0026 6.62824 11.9999C7.26907 12.0016 7.89385 11.7996 8.4124 11.4232C8.93098 11.0467 9.31654 10.5152 9.51343 9.90537C9.93067 9.81996 10.3249 9.64641 10.6696 9.3963C11.0144 9.14622 11.3017 8.82534 11.5124 8.4552C11.8336 7.90113 11.9705 7.25937 11.9035 6.62244C11.8365 5.98551 11.569 5.38632 11.1396 4.91121ZM6.6292 11.2155C6.10315 11.2162 5.59363 11.032 5.18968 10.695C5.20789 10.6851 5.23984 10.6676 5.26066 10.6548L7.64998 9.27468C7.70995 9.24057 7.75975 9.1911 7.79425 9.13134C7.82878 9.07158 7.84675 9.00372 7.84633 8.93475V5.56626L8.85625 6.1494C8.86153 6.15204 8.86609 6.15594 8.86954 6.16077C8.87296 6.1656 8.87512 6.17121 8.87587 6.17706V8.96667C8.87512 9.5625 8.63824 10.1337 8.21713 10.5552C7.79602 10.9768 7.225 11.2142 6.6292 11.2155ZM1.79754 9.15192C1.53405 8.69664 1.43908 8.16321 1.52927 7.64496C1.54701 7.65561 1.578 7.67454 1.60024 7.68732L3.98956 9.06744C4.04911 9.10224 4.11685 9.1206 4.18582 9.1206C4.25476 9.1206 4.3225 9.10224 4.38205 9.06744L7.29916 7.38309V8.54937C7.29949 8.55531 7.29835 8.56128 7.29583 8.56668C7.29331 8.57208 7.2895 8.57679 7.28473 8.58036L4.86937 9.97491C4.35274 10.2725 3.73915 10.3529 3.16327 10.1986C2.58738 10.0443 2.09621 9.66789 1.79754 9.15192ZM1.16898 3.93582C1.43133 3.47994 1.8457 3.13092 2.33951 2.94981C2.33951 2.97039 2.33833 3.00684 2.33833 3.03213V5.7924C2.33791 5.86134 2.35586 5.92914 2.39033 5.98887C2.42479 6.04857 2.47454 6.09801 2.53445 6.13212L5.45155 7.81626L4.44166 8.39937C4.43668 8.40267 4.43095 8.40465 4.42501 8.40519C4.41907 8.40573 4.41307 8.4048 4.40758 8.40246L1.992 7.00671C1.47626 6.70803 1.10001 6.21705 0.945726 5.64138C0.791445 5.06574 0.871731 4.45239 1.16898 3.93582ZM9.46636 5.86668L6.54922 4.18233L7.55914 3.59943C7.56412 3.59616 7.56985 3.59415 7.57579 3.59361C7.58173 3.59307 7.5877 3.59403 7.59319 3.59637L10.0088 4.99092C10.3789 5.2047 10.6804 5.51946 10.878 5.89839C11.0757 6.27732 11.1613 6.7047 11.1248 7.13052C11.0884 7.55634 10.9313 7.96296 10.6721 8.30277C10.4129 8.64258 10.0623 8.90151 9.66127 9.04923C9.66127 9.02841 9.66127 8.99199 9.66127 8.96667V6.2064C9.66184 6.13758 9.64408 6.06984 9.60982 6.01014C9.57556 5.95044 9.52606 5.90094 9.46636 5.86668ZM10.4715 4.35384C10.4538 4.34295 10.4228 4.32426 10.4006 4.31151L8.01121 2.93136C7.95166 2.89662 7.88395 2.87829 7.81498 2.87829C7.74604 2.87829 7.6783 2.89662 7.61875 2.93136L4.70164 4.61574V3.44946C4.70131 3.44349 4.70245 3.43755 4.70497 3.43215C4.70749 3.42675 4.7113 3.42204 4.71607 3.41847L7.13143 2.02508C7.50145 1.81171 7.9246 1.70813 8.35135 1.72645C8.7781 1.74477 9.19078 1.88423 9.54118 2.12852C9.89155 2.37282 10.1651 2.71184 10.3299 3.10593C10.4946 3.50001 10.5438 3.93285 10.4715 4.35384ZM4.15258 6.43257L3.14242 5.84943C3.13714 5.84679 3.13255 5.84289 3.12913 5.83806C3.12571 5.83323 3.12352 5.82762 3.1228 5.82174V3.03213C3.12307 2.60489 3.24505 2.18654 3.47443 1.82609C3.70384 1.46563 4.03117 1.17798 4.41811 0.996792C4.80505 0.815607 5.23558 0.748392 5.65933 0.80301C6.08311 0.857628 6.48253 1.03182 6.81088 1.3052C6.79267 1.31514 6.76096 1.33265 6.7399 1.34542L4.35058 2.72555C4.29061 2.75963 4.24084 2.80907 4.20631 2.86878C4.17181 2.92848 4.15384 2.99631 4.15423 3.06525L4.15258 6.43257ZM4.70116 5.24973L6.0004 4.49934L7.29961 5.24925V6.74955L6.0004 7.49949L4.70116 6.74955V5.24973Z"})}),n=({props:e})=>(0,a.jsx)(l.A,{component:o,...e}),r=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"arrow-left",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"})}),c=({props:e})=>(0,a.jsx)(l.A,{component:r,...e}),d=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"styles-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10.6725 11.5528C11.4031 11.5528 12 10.9475 12 10.2069C12 9.31236 10.6725 7.85275 10.6725 7.85275C10.6725 7.85275 9.34494 9.31236 9.34494 10.2069C9.34494 10.9475 9.94183 11.5528 10.6725 11.5528ZM4.36755 10.8154C4.48626 10.9342 4.67853 10.9342 4.79557 10.8154L9.07743 6.53525C9.19614 6.41654 9.19614 6.22427 9.07743 6.10723L4.79724 1.82704C4.78721 1.81701 4.77551 1.80698 4.7638 1.79862L3.45634 0.491154C3.42783 0.463014 3.38939 0.447235 3.34933 0.447235C3.30928 0.447235 3.27083 0.463014 3.24233 0.491154L2.43979 1.29369C2.41165 1.3222 2.39587 1.36064 2.39587 1.40069C2.39587 1.44075 2.41165 1.47919 2.43979 1.5077L3.56334 2.63125L0.0890313 6.10723C-0.0296771 6.22594 -0.0296771 6.41822 0.0890313 6.53525L4.36755 10.8154ZM4.58323 3.31508L7.57435 6.30619H1.59379L4.58323 3.31508Z"})}),m=({props:e})=>(0,a.jsx)(l.A,{component:d,...e}),p=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"close-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1.94975 10.9497L1.24264 10.2426L5.48528 6L1.24264 1.75736L1.94975 1.05025L6.19239 5.29289L10.435 1.05025L11.1421 1.75736L6.89949 6L11.1421 10.2426L10.435 10.9497L6.19239 6.70711L1.94975 10.9497Z"})}),u=({props:e})=>(0,a.jsx)(l.A,{component:p,...e}),h=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"drop-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 0L5.61832 0.458015C5.61832 0.458015 4.64123 1.6355 3.64886 3.09924C3.15268 3.83206 2.64123 4.63168 2.25955 5.40458C1.87787 6.17748 1.60306 6.91794 1.60306 7.60305C1.60306 10.0191 3.58397 12 6 12C8.41603 12 10.397 10.0191 10.397 7.60305C10.397 6.91794 10.1221 6.17748 9.74046 5.40458C9.35878 4.63168 8.84733 3.83206 8.35115 3.09924C7.35878 1.6355 6.38168 0.458015 6.38168 0.458015L6 0ZM6 1.57252C6.27291 1.91031 6.78436 2.50954 7.55726 3.64885C8.03817 4.35687 8.50382 5.1374 8.85497 5.84733C9.20611 6.55725 9.41985 7.21374 9.41985 7.60305C9.41985 9.48664 7.88359 11.0229 6 11.0229C4.11642 11.0229 2.58016 9.48664 2.58016 7.60305C2.58016 7.21374 2.7939 6.55725 3.14504 5.84733C3.49619 5.1374 3.96184 4.35687 4.44275 3.64885C5.21565 2.50954 5.7271 1.91031 6 1.57252ZM3.55726 7.60305C3.55726 8.94466 4.6584 10.0458 6 10.0458V9.0687C5.19084 9.0687 4.53436 8.41221 4.53436 7.60305H3.55726Z"})}),C=({props:e})=>(0,a.jsx)(l.A,{component:h,...e}),g=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"dark-white",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0 6C0 2.68629 2.68629 0 6 0C9.31339 0 12 2.68661 12 6C12 9.31339 9.31339 12 6 12C2.68629 12 0 9.31371 0 6ZM6 10.9821C8.75089 10.9821 10.9821 8.75089 10.9821 6C10.9821 3.24911 8.75089 1.01786 6 1.01786V10.9821Z"})}),x=({props:e})=>(0,a.jsx)(l.A,{component:g,...e}),v=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"min-width-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.35714 1.07143H0.607143C0.548214 1.07143 0.5 1.11964 0.5 1.17857V1.92857C0.5 1.9875 0.548214 2.03571 0.607143 2.03571H1.35714C1.41607 2.03571 1.46429 1.9875 1.46429 1.92857V1.17857C1.46429 1.11964 1.41607 1.07143 1.35714 1.07143ZM1.35714 3.29464H0.607143C0.548214 3.29464 0.5 3.34286 0.5 3.40178V4.15178C0.5 4.21071 0.548214 4.25893 0.607143 4.25893H1.35714C1.41607 4.25893 1.46429 4.21071 1.46429 4.15178V3.40178C1.46429 3.34286 1.41607 3.29464 1.35714 3.29464ZM1.35714 7.74107H0.607143C0.548214 7.74107 0.5 7.78928 0.5 7.84821V8.59821C0.5 8.65714 0.548214 8.70536 0.607143 8.70536H1.35714C1.41607 8.70536 1.46429 8.65714 1.46429 8.59821V7.84821C1.46429 7.78928 1.41607 7.74107 1.35714 7.74107ZM1.35714 9.96428H0.607143C0.548214 9.96428 0.5 10.0125 0.5 10.0714V10.8214C0.5 10.8804 0.548214 10.9286 0.607143 10.9286H1.35714C1.41607 10.9286 1.46429 10.8804 1.46429 10.8214V10.0714C1.46429 10.0125 1.41607 9.96428 1.35714 9.96428ZM1.35714 5.51786H0.607143C0.548214 5.51786 0.5 5.56607 0.5 5.625V6.375C0.5 6.43393 0.548214 6.48214 0.607143 6.48214H1.35714C1.41607 6.48214 1.46429 6.43393 1.46429 6.375V5.625C1.46429 5.56607 1.41607 5.51786 1.35714 5.51786Z"}),(0,a.jsx)("path",{d:"M11.3571 1.07143H10.6071C10.5482 1.07143 10.5 1.11964 10.5 1.17857V1.92857C10.5 1.9875 10.5482 2.03571 10.6071 2.03571H11.3571C11.4161 2.03571 11.4643 1.9875 11.4643 1.92857V1.17857C11.4643 1.11964 11.4161 1.07143 11.3571 1.07143ZM11.3571 3.29464H10.6071C10.5482 3.29464 10.5 3.34286 10.5 3.40178V4.15178C10.5 4.21071 10.5482 4.25893 10.6071 4.25893H11.3571C11.4161 4.25893 11.4643 4.21071 11.4643 4.15178V3.40178C11.4643 3.34286 11.4161 3.29464 11.3571 3.29464ZM11.3571 7.74107H10.6071C10.5482 7.74107 10.5 7.78928 10.5 7.84821V8.59821C10.5 8.65714 10.5482 8.70536 10.6071 8.70536H11.3571C11.4161 8.70536 11.4643 8.65714 11.4643 8.59821V7.84821C11.4643 7.78928 11.4161 7.74107 11.3571 7.74107ZM11.3571 9.96428H10.6071C10.5482 9.96428 10.5 10.0125 10.5 10.0714V10.8214C10.5 10.8804 10.5482 10.9286 10.6071 10.9286H11.3571C11.4161 10.9286 11.4643 10.8804 11.4643 10.8214V10.0714C11.4643 10.0125 11.4161 9.96428 11.3571 9.96428ZM11.3571 5.51786H10.6071C10.5482 5.51786 10.5 5.56607 10.5 5.625V6.375C10.5 6.43393 10.5482 6.48214 10.6071 6.48214H11.3571C11.4161 6.48214 11.4643 6.43393 11.4643 6.375V5.625C11.4643 5.56607 11.4161 5.51786 11.3571 5.51786Z"}),(0,a.jsx)("path",{d:"M11 5.51786H8.20535V4.67679C8.20535 4.59644 8.1116 4.5509 8.04865 4.60045L6.33973 5.95045C6.32816 5.95939 6.3188 5.97086 6.31236 5.98397C6.30592 5.99709 6.30257 6.01151 6.30257 6.02612C6.30257 6.04074 6.30592 6.05516 6.31236 6.06827C6.3188 6.08139 6.32816 6.09286 6.33973 6.10179L8.04732 7.45179C8.11026 7.50135 8.20401 7.45715 8.20401 7.37545V6.48215H11V5.51786Z"}),(0,a.jsx)("path",{d:"M1 5.51786H3.79465V4.67679C3.79465 4.59644 3.8884 4.5509 3.95135 4.60045L5.66027 5.95045C5.67184 5.95939 5.6812 5.97086 5.68764 5.98397C5.69408 5.99709 5.69743 6.01151 5.69743 6.02612C5.69743 6.04074 5.69408 6.05516 5.68764 6.06827C5.6812 6.08139 5.67184 6.09286 5.66027 6.10179L3.95268 7.45179C3.88974 7.50135 3.79599 7.45715 3.79599 7.37545V6.48215H1V5.51786Z"})]}),f=({props:e})=>(0,a.jsx)(l.A,{component:v,...e}),j=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"max-width-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.35714 1.07143H0.607143C0.548214 1.07143 0.5 1.11964 0.5 1.17857V1.92857C0.5 1.9875 0.548214 2.03571 0.607143 2.03571H1.35714C1.41607 2.03571 1.46429 1.9875 1.46429 1.92857V1.17857C1.46429 1.11964 1.41607 1.07143 1.35714 1.07143ZM1.35714 3.29464H0.607143C0.548214 3.29464 0.5 3.34286 0.5 3.40178V4.15178C0.5 4.21071 0.548214 4.25893 0.607143 4.25893H1.35714C1.41607 4.25893 1.46429 4.21071 1.46429 4.15178V3.40178C1.46429 3.34286 1.41607 3.29464 1.35714 3.29464ZM1.35714 7.74107H0.607143C0.548214 7.74107 0.5 7.78928 0.5 7.84821V8.59821C0.5 8.65714 0.548214 8.70536 0.607143 8.70536H1.35714C1.41607 8.70536 1.46429 8.65714 1.46429 8.59821V7.84821C1.46429 7.78928 1.41607 7.74107 1.35714 7.74107ZM1.35714 9.96428H0.607143C0.548214 9.96428 0.5 10.0125 0.5 10.0714V10.8214C0.5 10.8804 0.548214 10.9286 0.607143 10.9286H1.35714C1.41607 10.9286 1.46429 10.8804 1.46429 10.8214V10.0714C1.46429 10.0125 1.41607 9.96428 1.35714 9.96428ZM1.35714 5.51786H0.607143C0.548214 5.51786 0.5 5.56607 0.5 5.625V6.375C0.5 6.43393 0.548214 6.48214 0.607143 6.48214H1.35714C1.41607 6.48214 1.46429 6.43393 1.46429 6.375V5.625C1.46429 5.56607 1.41607 5.51786 1.35714 5.51786Z"}),(0,a.jsx)("path",{d:"M11.3571 1.07143H10.6071C10.5482 1.07143 10.5 1.11964 10.5 1.17857V1.92857C10.5 1.9875 10.5482 2.03571 10.6071 2.03571H11.3571C11.4161 2.03571 11.4643 1.9875 11.4643 1.92857V1.17857C11.4643 1.11964 11.4161 1.07143 11.3571 1.07143ZM11.3571 3.29464H10.6071C10.5482 3.29464 10.5 3.34286 10.5 3.40178V4.15178C10.5 4.21071 10.5482 4.25893 10.6071 4.25893H11.3571C11.4161 4.25893 11.4643 4.21071 11.4643 4.15178V3.40178C11.4643 3.34286 11.4161 3.29464 11.3571 3.29464ZM11.3571 7.74107H10.6071C10.5482 7.74107 10.5 7.78928 10.5 7.84821V8.59821C10.5 8.65714 10.5482 8.70536 10.6071 8.70536H11.3571C11.4161 8.70536 11.4643 8.65714 11.4643 8.59821V7.84821C11.4643 7.78928 11.4161 7.74107 11.3571 7.74107ZM11.3571 9.96428H10.6071C10.5482 9.96428 10.5 10.0125 10.5 10.0714V10.8214C10.5 10.8804 10.5482 10.9286 10.6071 10.9286H11.3571C11.4161 10.9286 11.4643 10.8804 11.4643 10.8214V10.0714C11.4643 10.0125 11.4161 9.96428 11.3571 9.96428ZM11.3571 5.51786H10.6071C10.5482 5.51786 10.5 5.56607 10.5 5.625V6.375C10.5 6.43393 10.5482 6.48214 10.6071 6.48214H11.3571C11.4161 6.48214 11.4643 6.43393 11.4643 6.375V5.625C11.4643 5.56607 11.4161 5.51786 11.3571 5.51786Z"}),(0,a.jsx)("path",{d:"M7.95133 4.54822L9.66026 5.89688C9.70848 5.93572 9.70848 6.01072 9.65758 6.04956L7.94999 7.39956C7.88705 7.44911 7.7933 7.40358 7.7933 7.32322V6.48215H4.20401V7.37545C4.20401 7.45715 4.11026 7.50135 4.04732 7.45179L2.33973 6.10179C2.32816 6.09286 2.3188 6.08139 2.31236 6.06827C2.30592 6.05516 2.30257 6.04074 2.30257 6.02612C2.30257 6.01151 2.30592 5.99709 2.31236 5.98397C2.3188 5.97085 2.32816 5.95939 2.33973 5.95045L4.04865 4.60045C4.1116 4.5509 4.20535 4.59644 4.20535 4.67679V5.51786H7.79464V4.62456C7.79459 4.60637 7.79967 4.58853 7.8093 4.57309C7.81892 4.55766 7.8327 4.54524 7.84906 4.53728C7.86541 4.52931 7.88368 4.52611 7.90177 4.52805C7.91986 4.52998 7.93703 4.53697 7.95133 4.54822Z"})]}),_=({props:e})=>(0,a.jsx)(l.A,{component:j,...e}),y=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"bg-position-horizontal",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsxs)("g",{children:[(0,a.jsx)("path",{opacity:"0.3",d:"M10.9286 0.85734H1.07142C0.834371 0.85734 0.642853 1.04886 0.642853 1.28591V11.1431C0.642853 11.3801 0.834371 11.5716 1.07142 11.5716H2.5958C2.65473 11.5716 2.70295 11.5234 2.70295 11.4645V10.7145C2.70295 10.6556 2.65473 10.6073 2.5958 10.6073H1.60714V1.82163H10.3929V5.10734C10.3929 5.16627 10.4411 5.21448 10.5 5.21448H11.25C11.3089 5.21448 11.3571 5.16627 11.3571 5.10734V1.28591C11.3571 1.04886 11.1656 0.85734 10.9286 0.85734Z"}),(0,a.jsx)("path",{d:"M10.9286 5.95536H3.85715C3.62009 5.95536 3.42857 6.14688 3.42857 6.38393V10.9286C3.42857 11.1656 3.62009 11.3571 3.85715 11.3571H10.9286C11.1656 11.3571 11.3571 11.1656 11.3571 10.9286V6.38393C11.3571 6.14688 11.1656 5.95536 10.9286 5.95536ZM10.3393 10.3393H4.44643V6.97322H10.3393V10.3393Z"}),(0,a.jsx)("path",{d:"M3.15129 3.31274H6.94594V2.47167C6.94594 2.39132 7.03969 2.34578 7.10264 2.39533L8.81157 3.74533C8.82313 3.75427 8.83249 3.76574 8.83893 3.77885C8.84537 3.79197 8.84872 3.80639 8.84872 3.821C8.84872 3.83562 8.84537 3.85004 8.83893 3.86315C8.83249 3.87627 8.82313 3.88774 8.81157 3.89667L7.10398 5.24667C7.04103 5.29623 6.94728 5.25203 6.94728 5.17033V4.27703H3.15129V3.31274Z"})]})}),A=({props:e})=>(0,a.jsx)(l.A,{component:y,...e}),w=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"bg-position-vertical",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsxs)("g",{children:[(0,a.jsx)("path",{opacity:"0.3",d:"M0.642854 11.143L0.642854 1.2859C0.642854 1.04885 0.834372 0.85733 1.07143 0.85733L10.9286 0.857331C11.1656 0.857331 11.3571 1.04885 11.3571 1.2859L11.3571 2.81028C11.3571 2.86921 11.3089 2.91742 11.25 2.91742L10.5 2.91742C10.4411 2.91742 10.3929 2.86921 10.3929 2.81028L10.3929 1.82162L1.60714 1.82162L1.60714 10.6073L4.89285 10.6073C4.95178 10.6073 5 10.6555 5 10.7145L5 11.4645C5 11.5234 4.95178 11.5716 4.89285 11.5716L1.07143 11.5716C0.834372 11.5716 0.642854 11.3801 0.642854 11.143Z"}),(0,a.jsx)("path",{d:"M5.74087 11.1431L5.74088 4.07162C5.74088 3.83457 5.93239 3.64305 6.16945 3.64305L10.7141 3.64305C10.9511 3.64305 11.1427 3.83457 11.1427 4.07162L11.1427 11.1431C11.1427 11.3801 10.9511 11.5716 10.7141 11.5716L6.16945 11.5716C5.93239 11.5716 5.74087 11.3801 5.74087 11.1431ZM10.1248 10.5538L10.1248 4.66091L6.75873 4.66091L6.75873 10.5538L10.1248 10.5538Z"}),(0,a.jsx)("path",{d:"M3.09827 3.36576L3.09827 7.1604L2.2572 7.1604C2.17684 7.1604 2.1313 7.25415 2.18086 7.3171L3.53086 9.02603C3.53979 9.03759 3.55126 9.04695 3.56438 9.0534C3.57749 9.05984 3.59191 9.06319 3.60653 9.06319C3.62114 9.06319 3.63556 9.05984 3.64868 9.0534C3.66179 9.04695 3.67326 9.03759 3.6822 9.02603L5.0322 7.31844C5.08175 7.25549 5.03755 7.16174 4.95586 7.16174L4.06255 7.16174L4.06255 3.36576L3.09827 3.36576Z"})]})}),L=({props:e})=>(0,a.jsx)(l.A,{component:w,...e}),b=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"up-to-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsxs)("g",{children:[(0,a.jsx)("path",{d:"M11.3571 1.07142L11.3571 10.9286C11.3571 11.1656 11.1656 11.3571 10.9286 11.3571H1.07142C0.834364 11.3571 0.642846 11.1656 0.642846 10.9286V6.10714C0.642846 6.04821 0.69106 6 0.749989 6H1.49999C1.55892 6 1.60713 6.04821 1.60713 6.10714V10.3929H10.3928L10.3928 1.60714L6.10713 1.60714C6.0482 1.60714 5.99999 1.55892 5.99999 1.5V0.749995C5.99999 0.691067 6.0482 0.642853 6.10713 0.642853L10.9286 0.642853C11.1656 0.642853 11.3571 0.834371 11.3571 1.07142Z"}),(0,a.jsx)("path",{d:"M1.80978 2.53298L1.11067 3.23209C1.09644 3.24625 1.07852 3.25614 1.05895 3.26062C1.03938 3.2651 1.01894 3.264 0.999964 3.25744C0.980987 3.25088 0.964231 3.23913 0.951603 3.22352C0.938975 3.20791 0.93098 3.18907 0.928529 3.16914L0.647279 0.766466C0.639243 0.698162 0.696833 0.639233 0.766476 0.647269L3.16916 0.928519C3.25755 0.939233 3.29505 1.04772 3.2321 1.11066L2.53032 1.81245L5.96156 5.2437C6.00308 5.28522 6.00308 5.35352 5.96156 5.39504L5.39371 5.96289C5.35219 6.00441 5.28389 6.00441 5.24237 5.96289L1.80978 2.53298Z"})]})}),k=({props:e})=>(0,a.jsx)(l.A,{component:b,...e}),M=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"vertical-offset-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M4.92856 10.4987L4.92856 1.17859C4.92856 1.11966 4.88034 1.07144 4.82141 1.07144L4.01784 1.07144C3.95891 1.07144 3.9107 1.11966 3.9107 1.17859L3.9107 9.28394L1.45981 7.35135C1.39016 7.29644 1.2857 7.346 1.2857 7.43573L1.2857 8.40671C1.2857 8.47234 1.31516 8.53394 1.3674 8.57546L4.23481 10.8362C4.51606 11.0572 4.92856 10.8576 4.92856 10.4987ZM8.08927 10.8214L8.08927 2.71609L10.5402 4.64868C10.6098 4.70359 10.7143 4.65403 10.7143 4.5643L10.7143 3.59332C10.7143 3.52769 10.6848 3.46609 10.6326 3.42457L7.76516 1.16385C7.48391 0.942871 7.07141 1.14243 7.07141 1.50001L7.07141 10.8214C7.07141 10.8804 7.11963 10.9286 7.17856 10.9286L7.98213 10.9286C8.04106 10.9286 8.08927 10.8804 8.08927 10.8214Z"})}),S=({props:e})=>(0,a.jsx)(l.A,{component:M,...e}),E=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-horizontal-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.85714 1.07143H1.10714C1.04821 1.07143 1 1.11964 1 1.17857V10.8214C1 10.8804 1.04821 10.9286 1.10714 10.9286H1.85714C1.91607 10.9286 1.96429 10.8804 1.96429 10.8214V1.17857C1.96429 1.11964 1.91607 1.07143 1.85714 1.07143Z"}),(0,a.jsx)("path",{d:"M7.85714 7H3.10714C3.04821 7 3 7.04821 3 7.10714V8.85714C3 8.91607 3.04821 8.96429 3.10714 8.96429H7.85714C7.91607 8.96429 7.96429 8.91607 7.96429 8.85714V7.10714C7.96429 7.04821 7.91607 7 7.85714 7Z"}),(0,a.jsx)("path",{d:"M10.8571 3H3.10714C3.04821 3 3 3.04821 3 3.10714V4.85714C3 4.91607 3.04821 4.96429 3.10714 4.96429H10.8571C10.9161 4.96429 10.9643 4.91607 10.9643 4.85714V3.10714C10.9643 3.04821 10.9161 3 10.8571 3Z"})]}),V=({props:e})=>(0,a.jsx)(l.A,{component:E,...e}),H=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-horizontal-center-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M6.375 1.07143H5.625C5.56607 1.07143 5.51786 1.11964 5.51786 1.17857V10.8214C5.51786 10.8804 5.56607 10.9286 5.625 10.9286H6.375C6.43393 10.9286 6.48214 10.8804 6.48214 10.8214V1.17857C6.48214 1.11964 6.43393 1.07143 6.375 1.07143Z"}),(0,a.jsx)("path",{d:"M8.85714 7H3.10714C3.04821 7 3 7.04821 3 7.10714V8.85714C3 8.91607 3.04821 8.96429 3.10714 8.96429H8.85714C8.91607 8.96429 8.96429 8.91607 8.96429 8.85714V7.10714C8.96429 7.04821 8.91607 7 8.85714 7Z"}),(0,a.jsx)("path",{d:"M10.8571 3H1.10714C1.04821 3 1 3.04821 1 3.10714V4.85714C1 4.91607 1.04821 4.96429 1.10714 4.96429H10.8571C10.9161 4.96429 10.9643 4.91607 10.9643 4.85714V3.10714C10.9643 3.04821 10.9161 3 10.8571 3Z"})]}),N=({props:e})=>(0,a.jsx)(l.A,{component:H,...e}),I=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-horizontal-right-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M10.1429 1.07143H10.8929C10.9518 1.07143 11 1.11964 11 1.17857V10.8214C11 10.8804 10.9518 10.9286 10.8929 10.9286H10.1429C10.0839 10.9286 10.0357 10.8804 10.0357 10.8214V1.17857C10.0357 1.11964 10.0839 1.07143 10.1429 1.07143Z"}),(0,a.jsx)("path",{d:"M4.14286 7H8.89286C8.95179 7 9 7.04821 9 7.10714V8.85714C9 8.91607 8.95179 8.96429 8.89286 8.96429H4.14286C4.08393 8.96429 4.03571 8.91607 4.03571 8.85714V7.10714C4.03571 7.04821 4.08393 7 4.14286 7Z"}),(0,a.jsx)("path",{d:"M1.14286 3H8.89286C8.95179 3 9 3.04821 9 3.10714V4.85714C9 4.91607 8.95179 4.96429 8.89286 4.96429H1.14286C1.08393 4.96429 1.03571 4.91607 1.03571 4.85714V3.10714C1.03571 3.04821 1.08393 3 1.14286 3Z"})]}),B=({props:e})=>(0,a.jsx)(l.A,{component:I,...e}),T=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-vertical-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.07143 1.85714L1.07143 1.10714C1.07143 1.04821 1.11964 1 1.17857 1L10.8214 1C10.8804 1 10.9286 1.04821 10.9286 1.10714L10.9286 1.85714C10.9286 1.91607 10.8804 1.96429 10.8214 1.96429L1.17857 1.96429C1.11964 1.96429 1.07143 1.91607 1.07143 1.85714Z"}),(0,a.jsx)("path",{d:"M7 7.85714L7 3.10714C7 3.04821 7.04821 3 7.10714 3L8.85714 3C8.91607 3 8.96429 3.04821 8.96429 3.10714L8.96429 7.85714C8.96429 7.91607 8.91607 7.96429 8.85714 7.96429L7.10714 7.96429C7.04821 7.96429 7 7.91607 7 7.85714Z"}),(0,a.jsx)("path",{d:"M3 10.8571L3 3.10714C3 3.04821 3.04821 3 3.10714 3L4.85714 3C4.91607 3 4.96429 3.04821 4.96429 3.10714L4.96429 10.8571C4.96429 10.9161 4.91607 10.9643 4.85714 10.9643L3.10714 10.9643C3.04821 10.9643 3 10.9161 3 10.8571Z"})]}),Z=({props:e})=>(0,a.jsx)(l.A,{component:T,...e}),R=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-vertical-center-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.07143 5.625L1.07143 6.375C1.07143 6.43393 1.11964 6.48215 1.17857 6.48215L10.8214 6.48215C10.8804 6.48215 10.9286 6.43393 10.9286 6.375L10.9286 5.625C10.9286 5.56608 10.8804 5.51786 10.8214 5.51786L1.17857 5.51786C1.11964 5.51786 1.07143 5.56608 1.07143 5.625Z"}),(0,a.jsx)("path",{d:"M7 3.14286L7 8.89286C7 8.95179 7.04821 9 7.10714 9L8.85714 9C8.91607 9 8.96429 8.95179 8.96429 8.89286L8.96429 3.14286C8.96429 3.08393 8.91607 3.03571 8.85714 3.03571L7.10714 3.03571C7.04821 3.03571 7 3.08393 7 3.14286Z"}),(0,a.jsx)("path",{d:"M3 1.14286L3 10.8929C3 10.9518 3.04821 11 3.10714 11L4.85714 11C4.91607 11 4.96429 10.9518 4.96429 10.8929L4.96429 1.14286C4.96429 1.08393 4.91607 1.03571 4.85714 1.03571L3.10714 1.03571C3.04821 1.03571 3 1.08393 3 1.14286Z"})]}),O=({props:e})=>(0,a.jsx)(l.A,{component:R,...e}),D=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-vertical-bottom-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.07143 10.1429L1.07143 10.8929C1.07143 10.9518 1.11964 11 1.17857 11L10.8214 11C10.8804 11 10.9286 10.9518 10.9286 10.8929L10.9286 10.1429C10.9286 10.0839 10.8804 10.0357 10.8214 10.0357L1.17857 10.0357C1.11964 10.0357 1.07143 10.0839 1.07143 10.1429Z"}),(0,a.jsx)("path",{d:"M7 4.14286L7 8.89286C7 8.95179 7.04821 9 7.10714 9L8.85714 9C8.91607 9 8.96429 8.95179 8.96429 8.89286L8.96429 4.14286C8.96429 4.08393 8.91607 4.03571 8.85714 4.03571L7.10714 4.03571C7.04821 4.03571 7 4.08393 7 4.14286Z"}),(0,a.jsx)("path",{d:"M3 1.14286L3 8.89286C3 8.95179 3.04821 9 3.10714 9L4.85714 9C4.91607 9 4.96429 8.95179 4.96429 8.89286L4.96429 1.14286C4.96429 1.08393 4.91607 1.03571 4.85714 1.03571L3.10714 1.03571C3.04821 1.03571 3 1.08393 3 1.14286Z"})]}),P=({props:e})=>(0,a.jsx)(l.A,{component:D,...e}),z=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"mixed-view-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M12.0357 11.6071L12.0357 4.42857C12.0357 4.19152 11.8442 4 11.6071 4L7.42857 4C7.19151 4 7 4.19152 7 4.42857L7 11.6071C7 11.8442 7.19151 12.0357 7.42857 12.0357L11.6071 12.0357C11.8442 12.0357 12.0357 11.8442 12.0357 11.6071ZM8.01785 11.0179L8.01785 5.01786L11.0178 5.01786L11.0178 11.0179L8.01785 11.0179Z"}),(0,a.jsx)("path",{d:"M6.03571 11.6071L6.0357 6.42857C6.0357 6.19152 5.84419 6 5.60713 6L0.428567 6C0.191514 6 -4.29991e-06 6.19152 -4.31027e-06 6.42857L-4.05979e-06 11.6071C-4.07016e-06 11.8442 0.191514 12.0357 0.428568 12.0357L5.60713 12.0357C5.84419 12.0357 6.03571 11.8442 6.03571 11.6071ZM1.01785 11.0179L1.01785 7.01786L5.01785 7.01786L5.01785 11.0179L1.01785 11.0179Z"}),(0,a.jsx)("path",{d:"M5.99999 5.03571L0.428572 5.03571C0.191518 5.03571 0 4.84419 0 4.60714L2.45825e-06 0.428573C2.43753e-06 0.191519 0.191521 0 0.428574 0H7.60714C7.84419 0 8.03571 0.191518 8.03571 0.428572L8.03571 3H7.01785L7.01786 1.01786L1.01786 1.01786L1.01786 4.01785L5.99999 4.01785V5.03571Z"})]}),F=({props:e})=>(0,a.jsx)(l.A,{component:z,...e}),U=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"landscape-view",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0.392859 10.0357L11.5714 10.0357C11.8085 10.0357 12 9.84419 12 9.60714L12 2.42858C12 2.19152 11.8085 2 11.5714 2L0.392862 2C0.155808 2 -0.0357096 2.19152 -0.0357097 2.42857L-0.0357132 9.60714C-0.0357132 9.84419 0.155805 10.0357 0.392859 10.0357ZM0.982149 3.01786L10.9821 3.01786L10.9821 9.01786L0.982145 9.01786L0.982149 3.01786Z"})}),q=({props:e})=>(0,a.jsx)(l.A,{component:U,...e}),G=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"portrait-view",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10 11.6071L10 0.428574C10 0.191521 9.80848 2.46721e-06 9.57143 2.45684e-06L2.39286 -3.32519e-07C2.15581 -3.42881e-07 1.96429 0.191518 1.96429 0.428571L1.96429 11.6071C1.96429 11.8442 2.15581 12.0357 2.39286 12.0357L9.57143 12.0357C9.80848 12.0357 10 11.8442 10 11.6071ZM2.98215 11.0179L2.98215 1.01786L8.98214 1.01786L8.98214 11.0179L2.98215 11.0179Z"})}),K=({props:e})=>(0,a.jsx)(l.A,{component:G,...e}),$=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"square-view",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1 1.42857L1 10.5893C1 10.8263 1.19152 11.0179 1.42857 11.0179L10.5605 11.0179C10.7976 11.0179 10.9891 10.8263 10.9891 10.5893L10.9891 1.42857C10.9891 1.19151 10.7976 0.999997 10.5605 0.999997L1.42857 0.999997C1.19152 0.999997 1 1.19151 1 1.42857ZM9.97123 2.01785L9.97123 10L2.01786 10L2.01786 2.01785L9.97123 2.01785Z"})}),W=({props:e})=>(0,a.jsx)(l.A,{component:$,...e}),X=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"panel-left",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10.9286 0.64286H1.07143C0.834378 0.64286 0.64286 0.834378 0.64286 1.07143V10.9286C0.64286 11.1656 0.834378 11.3571 1.07143 11.3571H10.9286C11.1656 11.3571 11.3571 11.1656 11.3571 10.9286V1.07143C11.3571 0.834378 11.1656 0.64286 10.9286 0.64286ZM10.3929 10.3929H4.64315V1.60715H10.3929V10.3929Z"})}),Y=({props:e})=>(0,a.jsx)(l.A,{component:X,...e}),J=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"sun-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M5.53842 -2.28882e-05V2.30768H6.4615V-2.28882e-05H5.53842ZM2.07687 1.42787L1.42783 2.07691L3.05764 3.72115L3.72111 3.05768L2.07687 1.42787ZM9.92305 1.42787L8.27882 3.05768L8.94228 3.72115L10.5721 2.07691L9.92305 1.42787ZM5.99996 2.76922C4.22051 2.76922 2.76918 4.22055 2.76918 6C2.76918 7.77945 4.22051 9.23078 5.99996 9.23078C7.77942 9.23078 9.23074 7.77945 9.23074 6C9.23074 4.22055 7.77942 2.76922 5.99996 2.76922ZM5.99996 3.6923C7.28002 3.6923 8.30766 4.71995 8.30766 6C8.30766 7.28005 7.28002 8.3077 5.99996 8.3077C4.71991 8.3077 3.69226 7.28005 3.69226 6C3.69226 4.71995 4.71991 3.6923 5.99996 3.6923ZM-6.10352e-05 5.53846V6.46154H2.30764V5.53846H-6.10352e-05ZM9.69228 5.53846V6.46154H12V5.53846H9.69228ZM3.05764 8.27885L1.42783 9.92309L2.07687 10.5721L3.72111 8.94232L3.05764 8.27885ZM8.94228 8.27885L8.27882 8.94232L9.92305 10.5721L10.5721 9.92309L8.94228 8.27885ZM5.53842 9.69232V12H6.4615V9.69232H5.53842Z"})}),Q=({props:e})=>(0,a.jsx)(l.A,{component:J,...e}),ee=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"crescent-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 1C6.112 1 6.22266 1.00383 6.332 1.0115C6.11066 1.48817 6 1.98433 6 2.5C6 2.974 6.0925 3.42717 6.2775 3.8595C6.4625 4.29183 6.71116 4.66417 7.0235 4.9765C7.33583 5.28883 7.70816 5.5375 8.1405 5.7225C8.57283 5.9075 9.026 6 9.5 6C10.0157 6 10.5118 5.88933 10.9885 5.668C10.9962 5.77733 11 5.888 11 6C11 6.453 10.9402 6.89567 10.8205 7.328C10.7008 7.76033 10.5335 8.1595 10.3185 8.5255C10.1035 8.8915 9.8425 9.22816 9.5355 9.5355C9.2285 9.84283 8.89183 10.1038 8.5255 10.3185C8.15916 10.5332 7.76 10.7005 7.328 10.8205C6.896 10.9405 6.45333 11.0003 6 11C5.54666 10.9997 5.104 10.9398 4.672 10.8205C4.24 10.7012 3.84083 10.5338 3.4745 10.3185C3.10817 10.1032 2.7715 9.84216 2.4645 9.5355C2.1575 9.22883 1.8965 8.89216 1.6815 8.5255C1.4665 8.15883 1.29917 7.75967 1.1795 7.328C1.05983 6.89633 1 6.45366 1 6C1 5.54633 1.05983 5.10367 1.1795 4.672C1.29917 4.24033 1.4665 3.84117 1.6815 3.4745C1.8965 3.10783 2.1575 2.77117 2.4645 2.4645C2.7715 2.15783 3.10817 1.89683 3.4745 1.6815C3.84083 1.46617 4.24 1.29883 4.672 1.1795C5.104 1.06017 5.54666 1.00033 6 1ZM5.0155 2.121C4.58583 2.23033 4.1855 2.40733 3.8145 2.652C3.4435 2.89667 3.1245 3.187 2.8575 3.523C2.5905 3.859 2.38083 4.24117 2.2285 4.6695C2.07617 5.09783 2 5.54117 2 5.9995C2 6.54116 2.1055 7.05866 2.3165 7.552C2.5275 8.04533 2.812 8.47116 3.17 8.8295C3.528 9.18783 3.95383 9.47233 4.4475 9.683C4.94116 9.89366 5.45866 9.99916 6 9.9995C6.45833 9.9995 6.90166 9.92333 7.33 9.771C7.75833 9.61866 8.1405 9.409 8.4765 9.142C8.8125 8.875 9.10283 8.556 9.3475 8.185C9.59216 7.814 9.76916 7.41366 9.8785 6.984C9.7665 6.99433 9.64016 6.9995 9.4995 6.9995C8.89016 6.9995 8.30816 6.88033 7.7535 6.642C7.19883 6.40366 6.72033 6.08333 6.318 5.681C5.91566 5.27867 5.59533 4.80017 5.357 4.2455C5.11867 3.69083 4.9995 3.10883 4.9995 2.4995C4.9995 2.35883 5.00516 2.233 5.0155 2.121Z"})}),te=({props:e})=>(0,a.jsx)(l.A,{component:ee,...e}),se=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"vimeo-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10.9952 3.66719C10.9513 4.59967 10.2888 5.87689 9.00665 7.49794C7.68113 9.19101 6.55939 10.0376 5.64191 10.0376C5.07348 10.0376 4.59281 9.52102 4.19988 8.48818L3.41305 5.64743C3.12152 4.61411 2.80855 4.09732 2.47363 4.09732C2.40051 4.09732 2.14554 4.24829 1.70874 4.54983L1.25 3.96878C1.73068 3.55248 2.20404 3.13609 2.6701 2.72027C3.31116 2.1748 3.79184 1.88809 4.11213 1.85928C4.86971 1.78774 5.33576 2.29679 5.51077 3.38725C5.69992 4.56414 5.83106 5.29554 5.90419 5.58268C6.12259 6.55838 6.36293 7.04614 6.6252 7.04614C6.82898 7.04614 7.13513 6.73064 7.54268 6.09922C7.95072 5.46781 8.16913 4.98707 8.19838 4.65719C8.25639 4.11172 8.03799 3.83953 7.54268 3.83953C7.30966 3.83953 7.06932 3.88961 6.82167 3.98997C7.30235 2.45487 8.22031 1.70847 9.57508 1.75169C10.5798 1.7805 11.0537 2.41875 10.9952 3.66719Z"})}),le=({props:e})=>(0,a.jsx)(l.A,{component:se,...e}),ie=()=>(0,a.jsx)("svg",{viewBox:"0 0 20 20",focusable:"false","data-icon":"image-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M3.75 17.5C3.41667 17.5 3.125 17.375 2.875 17.125C2.625 16.875 2.5 16.5833 2.5 16.25V3.75C2.5 3.41667 2.625 3.125 2.875 2.875C3.125 2.625 3.41667 2.5 3.75 2.5H16.25C16.5833 2.5 16.875 2.625 17.125 2.875C17.375 3.125 17.5 3.41667 17.5 3.75V16.25C17.5 16.5833 17.375 16.875 17.125 17.125C16.875 17.375 16.5833 17.5 16.25 17.5H3.75ZM3.75 16.25H16.25V3.75H3.75V16.25ZM4.91667 14.2292H15.1042L12.0417 10.1458L9.29167 13.7083L7.35417 11.0625L4.91667 14.2292Z"})}),ae=({props:e})=>(0,a.jsx)(l.A,{component:ie,...e}),oe=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"blur-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0.326321 7.56842C0.235089 7.56842 0.157895 7.53684 0.0947368 7.47368C0.0315789 7.41052 0 7.33333 0 7.24211C0 7.15088 0.0315789 7.07368 0.0947368 7.01053C0.157895 6.94737 0.235089 6.91579 0.326321 6.91579C0.417542 6.91579 0.494731 6.94737 0.557889 7.01053C0.621047 7.07368 0.652626 7.15088 0.652626 7.24211C0.652626 7.33333 0.621047 7.41052 0.557889 7.47368C0.494731 7.53684 0.417542 7.56842 0.326321 7.56842ZM0.326321 5.08421C0.235089 5.08421 0.157895 5.05263 0.0947368 4.98947C0.0315789 4.92632 0 4.84912 0 4.75789C0 4.66667 0.0315789 4.58948 0.0947368 4.52632C0.157895 4.46316 0.235089 4.43158 0.326321 4.43158C0.417542 4.43158 0.494731 4.46316 0.557889 4.52632C0.621047 4.58948 0.652626 4.66667 0.652626 4.75789C0.652626 4.84912 0.621047 4.92632 0.557889 4.98947C0.494731 5.05263 0.417542 5.08421 0.326321 5.08421ZM2.21163 10.4C2.03897 10.4 1.89386 10.3416 1.77632 10.2248C1.65877 10.108 1.59999 9.96325 1.59999 9.79058C1.59999 9.61792 1.6584 9.47281 1.77521 9.35526C1.89201 9.23772 2.03675 9.17894 2.20942 9.17894C2.38208 9.17894 2.52719 9.23735 2.64474 9.35416C2.76228 9.47096 2.82106 9.61569 2.82106 9.78837C2.82106 9.96103 2.76265 10.1061 2.64584 10.2237C2.52904 10.3412 2.38431 10.4 2.21163 10.4ZM2.21163 7.85263C2.03897 7.85263 1.89386 7.79423 1.77632 7.67743C1.65877 7.56062 1.59999 7.41588 1.59999 7.24322C1.59999 7.07054 1.6584 6.92544 1.77521 6.8079C1.89201 6.69035 2.03675 6.63158 2.20942 6.63158C2.38208 6.63158 2.52719 6.68998 2.64474 6.80678C2.76228 6.92359 2.82106 7.06833 2.82106 7.24099C2.82106 7.41366 2.76265 7.55877 2.64584 7.67632C2.52904 7.79386 2.38431 7.85263 2.21163 7.85263ZM2.21163 5.36842C2.03897 5.36842 1.89386 5.31002 1.77632 5.19322C1.65877 5.07641 1.59999 4.93167 1.59999 4.75901C1.59999 4.58634 1.6584 4.44123 1.77521 4.32368C1.89201 4.20614 2.03675 4.14737 2.20942 4.14737C2.38208 4.14737 2.52719 4.20577 2.64474 4.32257C2.76228 4.43938 2.82106 4.58412 2.82106 4.75678C2.82106 4.92946 2.76265 5.07456 2.64584 5.1921C2.52904 5.30965 2.38431 5.36842 2.21163 5.36842ZM2.21163 2.82106C2.03897 2.82106 1.89386 2.76265 1.77632 2.64584C1.65877 2.52904 1.59999 2.38431 1.59999 2.21163C1.59999 2.03897 1.6584 1.89386 1.77521 1.77632C1.89201 1.65877 2.03675 1.59999 2.20942 1.59999C2.38208 1.59999 2.52719 1.6584 2.64474 1.77521C2.76228 1.89201 2.82106 2.03675 2.82106 2.20942C2.82106 2.38208 2.76265 2.52719 2.64584 2.64474C2.52904 2.76228 2.38431 2.82106 2.21163 2.82106ZM4.75789 8.12632C4.51228 8.12632 4.30351 8.04035 4.13158 7.86842C3.95965 7.69649 3.87368 7.48772 3.87368 7.24211C3.87368 6.99649 3.95965 6.78772 4.13158 6.61579C4.30351 6.44386 4.51228 6.3579 4.75789 6.3579C5.00351 6.3579 5.21228 6.44386 5.38421 6.61579C5.55614 6.78772 5.6421 6.99649 5.6421 7.24211C5.6421 7.48772 5.55614 7.69649 5.38421 7.86842C5.21228 8.04035 5.00351 8.12632 4.75789 8.12632ZM4.75789 5.6421C4.51228 5.6421 4.30351 5.55614 4.13158 5.38421C3.95965 5.21228 3.87368 5.00351 3.87368 4.75789C3.87368 4.51228 3.95965 4.30351 4.13158 4.13158C4.30351 3.95965 4.51228 3.87368 4.75789 3.87368C5.00351 3.87368 5.21228 3.95965 5.38421 4.13158C5.55614 4.30351 5.6421 4.51228 5.6421 4.75789C5.6421 5.00351 5.55614 5.21228 5.38421 5.38421C5.21228 5.55614 5.00351 5.6421 4.75789 5.6421ZM4.75901 10.4C4.58634 10.4 4.44123 10.3416 4.32368 10.2248C4.20614 10.108 4.14737 9.96325 4.14737 9.79058C4.14737 9.61792 4.20577 9.47281 4.32257 9.35526C4.43938 9.23772 4.58412 9.17894 4.75678 9.17894C4.92946 9.17894 5.07456 9.23735 5.1921 9.35416C5.30965 9.47096 5.36842 9.61569 5.36842 9.78837C5.36842 9.96103 5.31002 10.1061 5.19322 10.2237C5.07641 10.3412 4.93167 10.4 4.75901 10.4ZM4.75901 2.82106C4.58634 2.82106 4.44123 2.76265 4.32368 2.64584C4.20614 2.52904 4.14737 2.38431 4.14737 2.21163C4.14737 2.03897 4.20577 1.89386 4.32257 1.77632C4.43938 1.65877 4.58412 1.59999 4.75678 1.59999C4.92946 1.59999 5.07456 1.6584 5.1921 1.77521C5.30965 1.89201 5.36842 2.03675 5.36842 2.20942C5.36842 2.38208 5.31002 2.52719 5.19322 2.64474C5.07641 2.76228 4.93167 2.82106 4.75901 2.82106ZM4.75789 12C4.66667 12 4.58948 11.9684 4.52632 11.9053C4.46316 11.8421 4.43158 11.7649 4.43158 11.6737C4.43158 11.5825 4.46316 11.5053 4.52632 11.4421C4.58948 11.379 4.66667 11.3474 4.75789 11.3474C4.84912 11.3474 4.92632 11.379 4.98947 11.4421C5.05263 11.5053 5.08421 11.5825 5.08421 11.6737C5.08421 11.7649 5.05263 11.8421 4.98947 11.9053C4.92632 11.9684 4.84912 12 4.75789 12ZM4.75789 0.652626C4.66667 0.652626 4.58948 0.621047 4.52632 0.55789C4.46316 0.494732 4.43158 0.417542 4.43158 0.326321C4.43158 0.235089 4.46316 0.157895 4.52632 0.0947368C4.58948 0.0315789 4.66667 0 4.75789 0C4.84912 0 4.92632 0.0315789 4.98947 0.0947368C5.05263 0.157895 5.08421 0.235089 5.08421 0.326321C5.08421 0.417542 5.05263 0.494732 4.98947 0.55789C4.92632 0.621047 4.84912 0.652626 4.75789 0.652626ZM7.24211 8.12632C6.99649 8.12632 6.78772 8.04035 6.61579 7.86842C6.44386 7.69649 6.3579 7.48772 6.3579 7.24211C6.3579 6.99649 6.44386 6.78772 6.61579 6.61579C6.78772 6.44386 6.99649 6.3579 7.24211 6.3579C7.48772 6.3579 7.69649 6.44386 7.86842 6.61579C8.04035 6.78772 8.12632 6.99649 8.12632 7.24211C8.12632 7.48772 8.04035 7.69649 7.86842 7.86842C7.69649 8.04035 7.48772 8.12632 7.24211 8.12632ZM7.24211 5.6421C6.99649 5.6421 6.78772 5.55614 6.61579 5.38421C6.44386 5.21228 6.3579 5.00351 6.3579 4.75789C6.3579 4.51228 6.44386 4.30351 6.61579 4.13158C6.78772 3.95965 6.99649 3.87368 7.24211 3.87368C7.48772 3.87368 7.69649 3.95965 7.86842 4.13158C8.04035 4.30351 8.12632 4.51228 8.12632 4.75789C8.12632 5.00351 8.04035 5.21228 7.86842 5.38421C7.69649 5.55614 7.48772 5.6421 7.24211 5.6421ZM7.24322 10.4C7.07054 10.4 6.92544 10.3416 6.8079 10.2248C6.69035 10.108 6.63158 9.96325 6.63158 9.79058C6.63158 9.61792 6.68998 9.47281 6.80678 9.35526C6.92359 9.23772 7.06833 9.17894 7.24099 9.17894C7.41366 9.17894 7.55877 9.23735 7.67632 9.35416C7.79386 9.47096 7.85263 9.61569 7.85263 9.78837C7.85263 9.96103 7.79423 10.1061 7.67743 10.2237C7.56062 10.3412 7.41588 10.4 7.24322 10.4ZM7.24322 2.82106C7.07054 2.82106 6.92544 2.76265 6.8079 2.64584C6.69035 2.52904 6.63158 2.38431 6.63158 2.21163C6.63158 2.03897 6.68998 1.89386 6.80678 1.77632C6.92359 1.65877 7.06833 1.59999 7.24099 1.59999C7.41366 1.59999 7.55877 1.6584 7.67632 1.77521C7.79386 1.89201 7.85263 2.03675 7.85263 2.20942C7.85263 2.38208 7.79423 2.52719 7.67743 2.64474C7.56062 2.76228 7.41588 2.82106 7.24322 2.82106ZM7.30527 12C7.21404 12 7.13684 11.9684 7.07368 11.9053C7.01053 11.8421 6.97895 11.7649 6.97895 11.6737C6.97895 11.5825 7.01053 11.5053 7.07368 11.4421C7.13684 11.379 7.21404 11.3474 7.30527 11.3474C7.39649 11.3474 7.47368 11.379 7.53684 11.4421C7.59999 11.5053 7.63157 11.5825 7.63157 11.6737C7.63157 11.7649 7.59999 11.8421 7.53684 11.9053C7.47368 11.9684 7.39649 12 7.30527 12ZM7.24211 0.652626C7.15088 0.652626 7.07368 0.621047 7.01053 0.55789C6.94737 0.494732 6.91579 0.417542 6.91579 0.326321C6.91579 0.235089 6.94737 0.157895 7.01053 0.0947368C7.07368 0.0315789 7.15088 0 7.24211 0C7.33333 0 7.41052 0.0315789 7.47368 0.0947368C7.53684 0.157895 7.56842 0.235089 7.56842 0.326321C7.56842 0.417542 7.53684 0.494732 7.47368 0.55789C7.41052 0.621047 7.33333 0.652626 7.24211 0.652626ZM9.79058 10.4C9.61792 10.4 9.47281 10.3416 9.35526 10.2248C9.23772 10.108 9.17894 9.96325 9.17894 9.79058C9.17894 9.61792 9.23735 9.47281 9.35416 9.35526C9.47096 9.23772 9.61569 9.17894 9.78837 9.17894C9.96103 9.17894 10.1061 9.23735 10.2237 9.35416C10.3412 9.47096 10.4 9.61569 10.4 9.78837C10.4 9.96103 10.3416 10.1061 10.2248 10.2237C10.108 10.3412 9.96325 10.4 9.79058 10.4ZM9.79058 7.85263C9.61792 7.85263 9.47281 7.79423 9.35526 7.67743C9.23772 7.56062 9.17894 7.41588 9.17894 7.24322C9.17894 7.07054 9.23735 6.92544 9.35416 6.8079C9.47096 6.69035 9.61569 6.63158 9.78837 6.63158C9.96103 6.63158 10.1061 6.68998 10.2237 6.80678C10.3412 6.92359 10.4 7.06833 10.4 7.24099C10.4 7.41366 10.3416 7.55877 10.2248 7.67632C10.108 7.79386 9.96325 7.85263 9.79058 7.85263ZM9.79058 5.36842C9.61792 5.36842 9.47281 5.31002 9.35526 5.19322C9.23772 5.07641 9.17894 4.93167 9.17894 4.75901C9.17894 4.58634 9.23735 4.44123 9.35416 4.32368C9.47096 4.20614 9.61569 4.14737 9.78837 4.14737C9.96103 4.14737 10.1061 4.20577 10.2237 4.32257C10.3412 4.43938 10.4 4.58412 10.4 4.75678C10.4 4.92946 10.3416 5.07456 10.2248 5.1921C10.108 5.30965 9.96325 5.36842 9.79058 5.36842ZM9.79058 2.82106C9.61792 2.82106 9.47281 2.76265 9.35526 2.64584C9.23772 2.52904 9.17894 2.38431 9.17894 2.21163C9.17894 2.03897 9.23735 1.89386 9.35416 1.77632C9.47096 1.65877 9.61569 1.59999 9.78837 1.59999C9.96103 1.59999 10.1061 1.6584 10.2237 1.77521C10.3412 1.89201 10.4 2.03675 10.4 2.20942C10.4 2.38208 10.3416 2.52719 10.2248 2.64474C10.108 2.76228 9.96325 2.82106 9.79058 2.82106ZM11.6737 7.56842C11.5825 7.56842 11.5053 7.53684 11.4421 7.47368C11.379 7.41052 11.3474 7.33333 11.3474 7.24211C11.3474 7.15088 11.379 7.07368 11.4421 7.01053C11.5053 6.94737 11.5825 6.91579 11.6737 6.91579C11.7649 6.91579 11.8421 6.94737 11.9053 7.01053C11.9684 7.07368 12 7.15088 12 7.24211C12 7.33333 11.9684 7.41052 11.9053 7.47368C11.8421 7.53684 11.7649 7.56842 11.6737 7.56842ZM11.6737 5.08421C11.5825 5.08421 11.5053 5.05263 11.4421 4.98947C11.379 4.92632 11.3474 4.84912 11.3474 4.75789C11.3474 4.66667 11.379 4.58948 11.4421 4.52632C11.5053 4.46316 11.5825 4.43158 11.6737 4.43158C11.7649 4.43158 11.8421 4.46316 11.9053 4.52632C11.9684 4.58948 12 4.66667 12 4.75789C12 4.84912 11.9684 4.92632 11.9053 4.98947C11.8421 5.05263 11.7649 5.08421 11.6737 5.08421Z"})}),ne=({props:e})=>(0,a.jsx)(l.A,{component:oe,...e}),re=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"zoom-out-map",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0.650002 11.35V7.88241H1.64073V9.65585L3.7213 7.57528L4.42472 8.2787L2.34415 10.3593H4.11759V11.35H0.650002ZM7.88241 11.35V10.3593H9.65585L7.58519 8.28861L8.28861 7.58519L10.3593 9.65585V7.88241H11.35V11.35H7.88241ZM3.71139 4.41481L1.64073 2.34415V4.11759H0.650002V0.65H4.11759V1.64073H2.34415L4.41481 3.71139L3.71139 4.41481ZM8.28861 4.41481L7.58519 3.71139L9.65585 1.64073H7.88241V0.65H11.35V4.11759H10.3593V2.34415L8.28861 4.41481Z"})}),ce=({props:e})=>(0,a.jsx)(l.A,{component:re,...e}),de=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"paragraph-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M5.01104 12V7.61696H4.94805C4.12998 7.61696 3.43412 7.29507 2.86047 6.65128C2.28682 6.00748 2 5.22655 2 4.30848C2 3.39041 2.28682 2.60947 2.86047 1.96568C3.43412 1.32189 4.12998 1 4.94805 1H10V2.10281H8.68975V12H7.70709V2.10281H5.99371V12H5.01104Z"})}),me=({props:e})=>(0,a.jsx)(l.A,{component:de,...e}),pe=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-image-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6.63463 25.6249C6.00321 25.6249 5.46875 25.4062 5.03125 24.9687C4.59375 24.5312 4.375 23.9967 4.375 23.3653V6.63463C4.375 6.00321 4.59375 5.46875 5.03125 5.03125C5.46875 4.59375 6.00321 4.375 6.63463 4.375H23.3653C23.9967 4.375 24.5312 4.59375 24.9687 5.03125C25.4062 5.46875 25.6249 6.00321 25.6249 6.63463V23.3653C25.6249 23.9967 25.4062 24.5312 24.9687 24.9687C24.5312 25.4062 23.9967 25.6249 23.3653 25.6249H6.63463ZM6.63463 23.75H23.3653C23.4615 23.75 23.5496 23.7099 23.6298 23.6298C23.7099 23.5496 23.75 23.4615 23.75 23.3653V6.63463C23.75 6.53846 23.7099 6.4503 23.6298 6.37016C23.5496 6.29003 23.4615 6.24997 23.3653 6.24997H6.63463C6.53846 6.24997 6.4503 6.29003 6.37016 6.37016C6.29003 6.4503 6.24997 6.53846 6.24997 6.63463V23.3653C6.24997 23.4615 6.29003 23.5496 6.37016 23.6298C6.4503 23.7099 6.53846 23.75 6.63463 23.75ZM8.43753 20.9374H21.6586L17.548 15.4567L14.0384 20.024L11.5384 16.8269L8.43753 20.9374ZM10.625 12.1874C11.0577 12.1874 11.4262 12.0352 11.7307 11.7307C12.0352 11.4262 12.1874 11.0577 12.1874 10.625C12.1874 10.1923 12.0352 9.8237 11.7307 9.51922C11.4262 9.21474 11.0577 9.0625 10.625 9.0625C10.1923 9.0625 9.8237 9.21474 9.51922 9.51922C9.21474 9.8237 9.0625 10.1923 9.0625 10.625C9.0625 11.0577 9.21474 11.4262 9.51922 11.7307C9.8237 12.0352 10.1923 12.1874 10.625 12.1874Z"})}),ue=({props:e})=>(0,a.jsx)(l.A,{component:pe,...e}),he=()=>(0,a.jsxs)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-image-ai",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M6.63463 25.2499C6.00321 25.2499 5.46875 25.0312 5.03125 24.5937C4.59375 24.1562 4.375 23.6217 4.375 22.9903V6.25963C4.375 5.62821 4.59375 5.09375 5.03125 4.65625C5.46875 4.21875 6.00321 4 6.63463 4H23.3653C23.9967 4 24.5312 4.21875 24.9687 4.65625C25.4062 5.09375 25.6249 5.62821 25.6249 6.25963V22.9903C25.6249 23.6217 25.4062 24.1562 24.9687 24.5937C24.5312 25.0312 23.9967 25.2499 23.3653 25.2499H6.63463ZM6.63463 23.375H23.3653C23.4615 23.375 23.5496 23.3349 23.6298 23.2548C23.7099 23.1746 23.75 23.0865 23.75 22.9903V6.25963C23.75 6.16346 23.7099 6.0753 23.6298 5.99516C23.5496 5.91503 23.4615 5.87497 23.3653 5.87497H6.63463C6.53846 5.87497 6.4503 5.91503 6.37016 5.99516C6.29003 6.0753 6.24997 6.16346 6.24997 6.25963V22.9903C6.24997 23.0865 6.29003 23.1746 6.37016 23.2548C6.4503 23.3349 6.53846 23.375 6.63463 23.375Z"}),(0,a.jsx)("path",{d:"M11 21C11 21 10.6521 19.5906 10.0308 18.9692C9.40939 18.3479 8 18 8 18C8 18 9.40939 17.6521 10.0308 17.0308C10.6521 16.4094 11 15 11 15C11 15 11.3479 16.4094 11.9692 17.0308C12.5906 17.6521 14 18 14 18C14 18 12.5906 18.3479 11.9692 18.9692C11.3479 19.5906 11 21 11 21Z"}),(0,a.jsx)("path",{d:"M17 18C17 18 16.4202 15.651 15.3846 14.6154C14.349 13.5798 12 13 12 13C12 13 14.349 12.4202 15.3846 11.3846C16.4202 10.349 17 8 17 8C17 8 17.5798 10.349 18.6154 11.3846C19.651 12.4202 22 13 22 13C22 13 19.651 13.5798 18.6154 14.6154C17.5798 15.651 17 18 17 18Z"}),(0,a.jsx)("path",{d:"M10 12C10 12 9.7681 11.0604 9.35385 10.6462C8.93959 10.2319 8 10 8 10C8 10 8.93959 9.7681 9.35385 9.35385C9.7681 8.93959 10 8 10 8C10 8 10.2319 8.93959 10.6462 9.35385C11.0604 9.7681 12 10 12 10C12 10 11.0604 10.2319 10.6462 10.6462C10.2319 11.0604 10 12 10 12Z"}),(0,a.jsx)("path",{d:"M20.5 21C20.5 21 20.3261 20.2953 20.0154 19.9846C19.7047 19.6739 19 19.5 19 19.5C19 19.5 19.7047 19.3261 20.0154 19.0154C20.3261 18.7047 20.5 18 20.5 18C20.5 18 20.6739 18.7047 20.9846 19.0154C21.2953 19.3261 22 19.5 22 19.5C22 19.5 21.2953 19.6739 20.9846 19.9846C20.6739 20.2953 20.5 21 20.5 21Z"})]}),Ce=({props:e})=>(0,a.jsx)(l.A,{component:he,...e}),ge=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-text",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M4.375 22.0865V20.2115H18.1249V22.0865H4.375ZM4.375 15.9807V14.1058H25.6249V15.9807H4.375ZM4.375 9.87497V8H25.6249V9.87497H4.375Z"})}),xe=({props:e})=>(0,a.jsx)(l.A,{component:ge,...e}),ve=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-title",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M13.678 24.3749V8.28119H6.88708V5.625H23.125V8.28119H16.3341V24.3749H13.678Z"})}),fe=({props:e})=>(0,a.jsx)(l.A,{component:ve,...e}),je=()=>(0,a.jsxs)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-button",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.03131 19.9687C4.46881 20.4062 5.00327 20.6249 5.63469 20.6249H7V18.75H5.63469C5.53852 18.75 5.45036 18.7099 5.37022 18.6298C5.29009 18.5496 5.25003 18.4615 5.25003 18.3653V7.63463C5.25003 7.53846 5.29009 7.4503 5.37022 7.37016C5.45036 7.29003 5.53852 7.24997 5.63469 7.24997H24.3654C24.4615 7.24997 24.5497 7.29003 24.6298 7.37016C24.71 7.4503 24.75 7.53846 24.75 7.63463V18.3653C24.75 18.4615 24.71 18.5496 24.6298 18.6298C24.5497 18.7099 24.4615 18.75 24.3654 18.75H23V20.6249H24.3654C24.9968 20.6249 25.5312 20.4062 25.9688 19.9687C26.4062 19.5312 26.625 18.9967 26.625 18.3653V7.63463C26.625 7.00321 26.4062 6.46875 25.9688 6.03125C25.5312 5.59375 24.9968 5.375 24.3654 5.375H5.63469C5.00327 5.375 4.46881 5.59375 4.03131 6.03125C3.59381 6.46875 3.37506 7.00321 3.37506 7.63463V18.3653C3.37506 18.9967 3.59381 19.5312 4.03131 19.9687Z"}),(0,a.jsx)("path",{d:"M14.225 28C13.825 28 13.4417 27.925 13.075 27.775C12.7083 27.625 12.3833 27.4083 12.1 27.125L7 22L7.825 21.15C8.05833 20.9167 8.34167 20.7583 8.675 20.675C9.00833 20.5917 9.34167 20.5917 9.675 20.675L11.4 21.175V13C11.4 12.7167 11.4958 12.4792 11.6875 12.2875C11.8792 12.0958 12.1167 12 12.4 12C12.6833 12 12.9208 12.0958 13.1125 12.2875C13.3042 12.4792 13.4 12.7167 13.4 13V23.825L10.95 23.125L13.525 25.7C13.625 25.8 13.7333 25.875 13.85 25.925C13.9667 25.975 14.0917 26 14.225 26H18.4C18.95 26 19.4208 25.8042 19.8125 25.4125C20.2042 25.0208 20.4 24.55 20.4 24V20C20.4 19.7167 20.4958 19.4792 20.6875 19.2875C20.8792 19.0958 21.1167 19 21.4 19C21.6833 19 21.9208 19.0958 22.1125 19.2875C22.3042 19.4792 22.4 19.7167 22.4 20V24C22.4 25.1 22.0083 26.0417 21.225 26.825C20.4417 27.6083 19.5 28 18.4 28H14.225ZM14.4 21V17C14.4 16.7167 14.4958 16.4792 14.6875 16.2875C14.8792 16.0958 15.1167 16 15.4 16C15.6833 16 15.9208 16.0958 16.1125 16.2875C16.3042 16.4792 16.4 16.7167 16.4 17V21H14.4ZM17.4 21V18C17.4 17.7167 17.4958 17.4792 17.6875 17.2875C17.8792 17.0958 18.1167 17 18.4 17C18.6833 17 18.9208 17.0958 19.1125 17.2875C19.3042 17.4792 19.4 17.7167 19.4 18V21H17.4Z"})]}),_e=({props:e})=>(0,a.jsx)(l.A,{component:je,...e}),ye=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-spacer",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 4V5.65H24V4H6ZM15.0562 6.75L10.7812 10.93L11.9906 12.1125L14.2125 9.94V20.06L11.9906 17.8875L10.7812 19.07L15.0562 23.25L19.3312 19.07L18.1219 17.8875L15.9 20.06V9.94L18.1219 12.1125L19.3312 10.93L15.0562 6.75ZM6 24.35V26H24V24.35H6Z"})}),Ae=({props:e})=>(0,a.jsx)(l.A,{component:ye,...e}),we=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-list",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M11.6346 23.4376V21.5627H25.6249V23.4376H11.6346ZM11.6346 15.9376V14.0627H25.6249V15.9376H11.6346ZM11.6346 8.43765V6.56271H25.6249V8.43765H11.6346ZM6.45431 24.5795C5.8825 24.5795 5.393 24.3759 4.98581 23.9687C4.5786 23.5615 4.375 23.072 4.375 22.5002C4.375 21.9284 4.5786 21.4389 4.98581 21.0317C5.393 20.6245 5.8825 20.4209 6.45431 20.4209C7.02613 20.4209 7.51563 20.6245 7.92281 21.0317C8.33 21.4389 8.53359 21.9284 8.53359 22.5002C8.53359 23.072 8.33 23.5615 7.92281 23.9687C7.51563 24.3759 7.02613 24.5795 6.45431 24.5795ZM6.45431 17.0795C5.8825 17.0795 5.393 16.8759 4.98581 16.4687C4.5786 16.0615 4.375 15.572 4.375 15.0002C4.375 14.4284 4.5786 13.9389 4.98581 13.5317C5.393 13.1245 5.8825 12.9209 6.45431 12.9209C7.02613 12.9209 7.51563 13.1245 7.92281 13.5317C8.33 13.9389 8.53359 14.4284 8.53359 15.0002C8.53359 15.572 8.33 16.0615 7.92281 16.4687C7.51563 16.8759 7.02613 17.0795 6.45431 17.0795ZM6.45431 9.57946C5.8825 9.57946 5.393 9.37587 4.98581 8.96868C4.5786 8.56149 4.375 8.07199 4.375 7.50018C4.375 6.92837 4.5786 6.43887 4.98581 6.03168C5.393 5.62449 5.8825 5.4209 6.45431 5.4209C7.02613 5.4209 7.51563 5.62449 7.92281 6.03168C8.33 6.43887 8.53359 6.92837 8.53359 7.50018C8.53359 8.07199 8.33 8.56149 7.92281 8.96868C7.51563 9.37587 7.02613 9.57946 6.45431 9.57946Z"})}),Le=({props:e})=>(0,a.jsx)(l.A,{component:we,...e}),be=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-list-ol",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M4.375 26.8749V25.3846H7.5V24.0624H5.625V22.5721H7.5V21.2499H4.375V19.7596H7.93269C8.23238 19.7596 8.48357 19.8609 8.68628 20.0637C8.88901 20.2664 8.99038 20.5176 8.99038 20.8173V22.3077C8.99038 22.6073 8.88901 22.8585 8.68628 23.0613C8.48357 23.264 8.23238 23.3653 7.93269 23.3653C8.23238 23.3653 8.48357 23.4667 8.68628 23.6694C8.88901 23.8721 8.99038 24.1233 8.99038 24.423V25.8173C8.99038 26.1169 8.88901 26.3681 8.68628 26.5708C8.48357 26.7736 8.23238 26.8749 7.93269 26.8749H4.375ZM4.375 18.5577V15.3125C4.375 15.0128 4.47636 14.7616 4.67909 14.5589C4.88182 14.3561 5.13302 14.2548 5.43269 14.2548H7.5V12.9327H4.375V11.4423H7.93269C8.23238 11.4423 8.48357 11.5436 8.68628 11.7464C8.88901 11.9491 8.99038 12.2003 8.99038 12.5V14.6875C8.99038 14.9871 8.88901 15.2383 8.68628 15.4411C8.48357 15.6438 8.23238 15.7452 7.93269 15.7452H5.86537V17.0673H8.99038V18.5577H4.375ZM6.25 10.2404V4.61538H4.375V3.125H7.74038V10.2404H6.25ZM11.6346 23.4374V21.5625H25.6249V23.4374H11.6346ZM11.6346 15.9374V14.0625H25.6249V15.9374H11.6346ZM11.6346 8.43744V6.5625H25.6249V8.43744H11.6346Z"})}),ke=({props:e})=>(0,a.jsx)(l.A,{component:be,...e}),Me=()=>(0,a.jsxs)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-devider",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M6 14.35V16H24V14.35H6Z"}),(0,a.jsx)("path",{d:"M11.2596 10.6249C10.6282 10.6249 10.0938 10.4062 9.65625 9.96869C9.21875 9.53119 9 8.99673 9 8.36531V6.63463C9 6.00321 9.21875 5.46875 9.65625 5.03125C10.0938 4.59375 10.6282 4.375 11.2596 4.375H18.9903C19.6217 4.375 20.1562 4.59375 20.5937 5.03125C21.0312 5.46875 21.2499 6.00321 21.2499 6.63463V8.36531C21.2499 8.99673 21.0312 9.53119 20.5937 9.96869C20.1562 10.4062 19.6217 10.6249 18.9903 10.6249H11.2596ZM11.2596 9H18.9903C19.0865 9 19.1746 8.95994 19.2548 8.87981C19.3349 8.79967 19.375 8.71151 19.375 8.61534V6.38466C19.375 6.28849 19.3349 6.20033 19.2548 6.12019C19.1746 6.04006 19.0865 6 18.9903 6H11.2596C11.1635 6 11.0753 6.04006 10.9952 6.12019C10.915 6.20033 10.875 6.28849 10.875 6.38466V8.61534C10.875 8.71151 10.915 8.79967 10.9952 8.87981C11.0753 8.95994 11.1635 9 11.2596 9Z"}),(0,a.jsx)("path",{d:"M11.2596 26.2499C10.6282 26.2499 10.0938 26.0312 9.65625 25.5937C9.21875 25.1562 9 24.6217 9 23.9903V22.2596C9 21.6282 9.21875 21.0938 9.65625 20.6562C10.0938 20.2188 10.6282 20 11.2596 20H18.9903C19.6217 20 20.1562 20.2188 20.5937 20.6562C21.0312 21.0938 21.2499 21.6282 21.2499 22.2596V23.9903C21.2499 24.6217 21.0312 25.1562 20.5937 25.5937C20.1562 26.0312 19.6217 26.2499 18.9903 26.2499H11.2596ZM11.2596 24.625H18.9903C19.0865 24.625 19.1746 24.5849 19.2548 24.5048C19.3349 24.4247 19.375 24.3365 19.375 24.2403V22.0097C19.375 21.9135 19.3349 21.8253 19.2548 21.7452C19.1746 21.6651 19.0865 21.625 18.9903 21.625H11.2596C11.1635 21.625 11.0753 21.6651 10.9952 21.7452C10.915 21.8253 10.875 21.9135 10.875 22.0097V24.2403C10.875 24.3365 10.915 24.4247 10.9952 24.5048C11.0753 24.5849 11.1635 24.625 11.2596 24.625Z"})]}),Se=({props:e})=>(0,a.jsx)(l.A,{component:Me,...e}),Ee=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-social",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M22.5014 27.1875C21.5469 27.1875 20.7352 26.8533 20.0661 26.1848C19.397 25.5164 19.0625 24.7048 19.0625 23.75C19.0625 23.5939 19.0749 23.4323 19.0998 23.2652C19.1246 23.098 19.1618 22.9439 19.2115 22.8028L9.96631 17.3894C9.63619 17.7179 9.26039 17.9747 8.83891 18.1598C8.41743 18.3449 7.97111 18.4374 7.49997 18.4374C6.54511 18.4374 5.73349 18.1034 5.06509 17.4353C4.3967 16.7671 4.0625 15.9558 4.0625 15.0014C4.0625 14.0469 4.3967 13.2352 5.06509 12.5661C5.73349 11.897 6.54511 11.5625 7.49997 11.5625C7.97111 11.5625 8.41743 11.655 8.83891 11.8401C9.26039 12.0252 9.63619 12.282 9.96631 12.6106L19.2115 7.19709C19.1618 7.05607 19.1246 6.90197 19.0998 6.73478C19.0749 6.56761 19.0625 6.40601 19.0625 6.24997C19.0625 5.29512 19.3966 4.48349 20.0647 3.81509C20.7328 3.1467 21.5441 2.8125 22.4986 2.8125C23.453 2.8125 24.2648 3.14656 24.9338 3.81469C25.6029 4.48281 25.9374 5.29411 25.9374 6.24856C25.9374 7.20302 25.6032 8.01478 24.9348 8.68384C24.2665 9.35291 23.4548 9.68744 22.5 9.68744C22.0288 9.68744 21.5825 9.5949 21.161 9.40981C20.7396 9.22471 20.3638 8.9679 20.0336 8.63938L10.7884 14.0528C10.8381 14.1939 10.8754 14.3477 10.9002 14.5143C10.925 14.6809 10.9374 14.842 10.9374 14.9975C10.9374 15.153 10.925 15.3149 10.9002 15.4832C10.8754 15.6514 10.8381 15.8061 10.7884 15.9471L20.0336 21.3606C20.3638 21.032 20.7396 20.7752 21.161 20.5901C21.5825 20.405 22.0288 20.3125 22.5 20.3125C23.4548 20.3125 24.2665 20.6466 24.9348 21.3147C25.6032 21.9828 25.9374 22.7941 25.9374 23.7486C25.9374 24.703 25.6034 25.5148 24.9353 26.1838C24.2671 26.8529 23.4558 27.1875 22.5014 27.1875ZM22.5 7.81247C22.9343 7.81247 23.3033 7.66062 23.607 7.35694C23.9107 7.05323 24.0625 6.68423 24.0625 6.24994C24.0625 5.81565 23.9107 5.44665 23.607 5.14294C23.3033 4.83927 22.9343 4.68744 22.5 4.68744C22.0657 4.68744 21.6967 4.83928 21.393 5.14297C21.0893 5.44668 20.9374 5.81568 20.9374 6.24997C20.9374 6.68426 21.0893 7.05326 21.393 7.35697C21.6967 7.66066 22.0657 7.81247 22.5 7.81247ZM7.49997 16.5625C7.93426 16.5625 8.30326 16.4106 8.60697 16.1069C8.91066 15.8032 9.0625 15.4342 9.0625 14.9999C9.0625 14.5656 8.91066 14.1966 8.60697 13.8929C8.30326 13.5893 7.93426 13.4374 7.49997 13.4374C7.06568 13.4374 6.69668 13.5893 6.39297 13.893C6.08928 14.1967 5.93744 14.5657 5.93744 15C5.93744 15.4343 6.08928 15.8033 6.39297 16.107C6.69668 16.4107 7.06568 16.5625 7.49997 16.5625V16.5625ZM22.5 25.3125C22.9343 25.3125 23.3033 25.1606 23.607 24.8569C23.9107 24.5532 24.0625 24.1842 24.0625 23.7499C24.0625 23.3156 23.9107 22.9466 23.607 22.6429C23.3033 22.3393 22.9343 22.1874 22.5 22.1874C22.0657 22.1874 21.6967 22.3393 21.393 22.643C21.0893 22.9467 20.9374 23.3157 20.9374 23.75C20.9374 24.1843 21.0893 24.5533 21.393 24.857C21.6967 25.1607 22.0657 25.3125 22.5 25.3125Z"})}),Ve=({props:e})=>(0,a.jsx)(l.A,{component:Ee,...e}),He=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-table",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M24.6153 25.6249H6.63463C6.00321 25.6249 5.46875 25.4062 5.03125 24.9687C4.59375 24.5312 4.375 23.9967 4.375 23.3653V6.63463C4.375 6.00321 4.59375 5.46875 5.03125 5.03125C5.46875 4.59375 6.00321 4.375 6.63463 4.375H24.6153C25.2467 4.375 25.7812 4.59375 26.2187 5.03125C26.6562 5.46875 26.8749 6.00321 26.8749 6.63463V23.3653C26.8749 23.9967 26.6562 24.5312 26.2187 24.9687C25.7812 25.4062 25.2467 25.6249 24.6153 25.6249ZM6.24997 10.3125H25V6.63463C25 6.53846 24.9599 6.4503 24.8798 6.37016C24.7996 6.29003 24.7115 6.24997 24.6153 6.24997H6.63463C6.53846 6.24997 6.4503 6.29003 6.37016 6.37016C6.29003 6.4503 6.24997 6.53846 6.24997 6.63463V10.3125ZM10.2404 12.1874H6.24997V23.3653C6.24997 23.4615 6.29003 23.5496 6.37016 23.6298C6.4503 23.7099 6.53846 23.75 6.63463 23.75H10.2404V12.1874ZM21.0096 12.1874V23.75H24.6153C24.7115 23.75 24.7996 23.7099 24.8798 23.6298C24.9599 23.5496 25 23.4615 25 23.3653V12.1874H21.0096ZM19.1346 12.1874H12.1153V23.75H19.1346V12.1874Z"})}),Ne=({props:e})=>(0,a.jsx)(l.A,{component:He,...e}),Ie=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-countdown",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M19.3413 20.6586L20.6586 19.3413L15.9374 14.6199V8.74997H14.0625V15.3798L19.3413 20.6586ZM15.0021 26.8749C13.3596 26.8749 11.8159 26.5633 10.3707 25.9399C8.9255 25.3166 7.6684 24.4707 6.59938 23.4021C5.53033 22.3336 4.68401 21.077 4.06041 19.6325C3.4368 18.188 3.125 16.6445 3.125 15.0021C3.125 13.3596 3.43667 11.8159 4.06 10.3707C4.68333 8.9255 5.52927 7.6684 6.59781 6.59938C7.66638 5.53034 8.92293 4.68401 10.3675 4.06041C11.812 3.4368 13.3555 3.125 14.9979 3.125C16.6403 3.125 18.1841 3.43667 19.6293 4.06C21.0744 4.68333 22.3315 5.52927 23.4006 6.59781C24.4696 7.66638 25.3159 8.92293 25.9395 10.3675C26.5631 11.812 26.8749 13.3555 26.8749 14.9979C26.8749 16.6403 26.5633 18.1841 25.9399 19.6293C25.3166 21.0744 24.4707 22.3315 23.4021 23.4006C22.3336 24.4696 21.077 25.3159 19.6325 25.9395C18.188 26.5631 16.6445 26.8749 15.0021 26.8749ZM15 25C17.7708 25 20.1302 24.026 22.0781 22.0781C24.026 20.1302 25 17.7708 25 15C25 12.2291 24.026 9.86976 22.0781 7.92184C20.1302 5.97393 17.7708 4.99997 15 4.99997C12.2291 4.99997 9.86976 5.97393 7.92184 7.92184C5.97393 9.86976 4.99997 12.2291 4.99997 15C4.99997 17.7708 5.97393 20.1302 7.92184 22.0781C9.86976 24.026 12.2291 25 15 25Z"})}),Be=({props:e})=>(0,a.jsx)(l.A,{component:Ie,...e}),Te=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-video",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M12.1154 20.048L19.9759 15L12.1154 9.95194V20.048ZM6.63463 25.6249C6.00321 25.6249 5.46875 25.4062 5.03125 24.9687C4.59375 24.5312 4.375 23.9967 4.375 23.3653V6.63463C4.375 6.00321 4.59375 5.46875 5.03125 5.03125C5.46875 4.59375 6.00321 4.375 6.63463 4.375H23.3653C23.9967 4.375 24.5312 4.59375 24.9687 5.03125C25.4062 5.46875 25.6249 6.00321 25.6249 6.63463V23.3653C25.6249 23.9967 25.4062 24.5312 24.9687 24.9687C24.5312 25.4062 23.9967 25.6249 23.3653 25.6249H6.63463ZM6.63463 23.75H23.3653C23.4615 23.75 23.5496 23.7099 23.6298 23.6298C23.7099 23.5496 23.75 23.4615 23.75 23.3653V6.63463C23.75 6.53846 23.7099 6.4503 23.6298 6.37016C23.5496 6.29003 23.4615 6.24997 23.3653 6.24997H6.63463C6.53846 6.24997 6.4503 6.29003 6.37016 6.37016C6.29003 6.4503 6.24997 6.53846 6.24997 6.63463V23.3653C6.24997 23.4615 6.29003 23.5496 6.37016 23.6298C6.4503 23.7099 6.53846 23.75 6.63463 23.75Z"})}),Ze=({props:e})=>(0,a.jsx)(l.A,{component:Te,...e}),Re=()=>(0,a.jsxs)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-text-ai",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M4.375 22.0865V20.2115H18.1249V22.0865H4.375ZM4.375 15.9807V14.1058H25.6249V15.9807H4.375ZM4.375 9.87497V8H11V9.87497H4.375Z"}),(0,a.jsx)("path",{d:"M17 13C17 13 16.6521 11.5906 16.0308 10.9692C15.4094 10.3479 14 10 14 10C14 10 15.4094 9.65215 16.0308 9.03077C16.6521 8.40939 17 7 17 7C17 7 17.3479 8.40939 17.9692 9.03077C18.5906 9.65215 20 10 20 10C20 10 18.5906 10.3479 17.9692 10.9692C17.3479 11.5906 17 13 17 13Z"}),(0,a.jsx)("path",{d:"M22.5 11C22.5 11 21.8623 8.41612 20.7231 7.27692C19.5839 6.13773 17 5.5 17 5.5C17 5.5 19.5839 4.86227 20.7231 3.72308C21.8623 2.58388 22.5 0 22.5 0C22.5 0 23.1377 2.58388 24.2769 3.72308C25.4161 4.86227 28 5.5 28 5.5C28 5.5 25.4161 6.13773 24.2769 7.27692C23.1377 8.41612 22.5 11 22.5 11Z"}),(0,a.jsx)("path",{d:"M15 5C15 5 14.7681 4.06041 14.3538 3.64615C13.9396 3.2319 13 3 13 3C13 3 13.9396 2.7681 14.3538 2.35385C14.7681 1.93959 15 1 15 1C15 1 15.2319 1.93959 15.6462 2.35385C16.0604 2.7681 17 3 17 3C17 3 16.0604 3.2319 15.6462 3.64615C15.2319 4.06041 15 5 15 5Z"}),(0,a.jsx)("path",{d:"M27 13C27 13 26.7681 12.0604 26.3538 11.6462C25.9396 11.2319 25 11 25 11C25 11 25.9396 10.7681 26.3538 10.3538C26.7681 9.93959 27 9 27 9C27 9 27.2319 9.93959 27.6462 10.3538C28.0604 10.7681 29 11 29 11C29 11 28.0604 11.2319 27.6462 11.6462C27.2319 12.0604 27 13 27 13Z"})]}),Oe=({props:e})=>(0,a.jsx)(l.A,{component:Re,...e}),De=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-form",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6.63463 25.6251C6.00321 25.6251 5.46875 25.4064 5.03125 24.9689C4.59375 24.5314 4.375 23.9969 4.375 23.3655V6.63484C4.375 6.00342 4.59375 5.46896 5.03125 5.03146C5.46875 4.59396 6.00321 4.37521 6.63463 4.37521H17.4543L15.5793 6.25018H6.63463C6.53846 6.25018 6.4503 6.29024 6.37016 6.37037C6.29003 6.45051 6.24997 6.53867 6.24997 6.63484V23.3655C6.24997 23.4617 6.29003 23.5498 6.37016 23.63C6.4503 23.7101 6.53846 23.7502 6.63463 23.7502H23.3653C23.4615 23.7502 23.5496 23.7101 23.6298 23.63C23.7099 23.5498 23.75 23.4617 23.75 23.3655V14.3415L25.6249 12.4665V23.3655C25.6249 23.9969 25.4062 24.5314 24.9687 24.9689C24.5312 25.4064 23.9967 25.6251 23.3653 25.6251H6.63463ZM11.875 18.1251V13.8343L23.1995 2.50984C23.3934 2.31592 23.6066 2.17449 23.8389 2.08555C24.0713 1.99662 24.3077 1.95215 24.5481 1.95215C24.7932 1.95215 25.0288 1.99662 25.2548 2.08555C25.4807 2.17449 25.6866 2.31191 25.8725 2.4978L27.4422 4.06271C27.6233 4.25661 27.7623 4.47054 27.8593 4.70452C27.9562 4.93848 28.0047 5.17565 28.0047 5.41602C28.0047 5.65642 27.9635 5.8896 27.8809 6.11555C27.7984 6.34149 27.6602 6.55142 27.4663 6.74533L16.1057 18.1251H11.875ZM13.75 16.2502H15.3077L23.0986 8.45927L22.3197 7.68043L21.4856 6.87755L13.75 14.6132V16.2502Z"})}),Pe=({props:e})=>(0,a.jsx)(l.A,{component:De,...e}),ze=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"ai-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M2.45454 11.7273C2.45454 11.7273 2.16994 10.446 1.66154 9.88113C1.15314 9.31625 0 9 0 9C0 9 1.15314 8.68374 1.66154 8.11887C2.16994 7.554 2.45454 6.27273 2.45454 6.27273C2.45454 6.27273 2.73915 7.554 3.24755 8.11887C3.75594 8.68374 4.90909 9 4.90909 9C4.90909 9 3.75594 9.31625 3.24755 9.88113C2.73915 10.446 2.45454 11.7273 2.45454 11.7273Z"}),(0,a.jsx)("path",{d:"M7.63636 9C7.63636 9 7.1304 6.94996 6.22658 6.04614C5.32276 5.14233 3.27273 4.63636 3.27273 4.63636C3.27273 4.63636 5.32276 4.1304 6.22658 3.22657C7.1304 2.32275 7.63636 0.272728 7.63636 0.272728C7.63636 0.272728 8.14233 2.32275 9.04615 3.22657C9.94996 4.1304 12 4.63636 12 4.63636C12 4.63636 9.94996 5.14233 9.04615 6.04614C8.14233 6.94996 7.63636 9 7.63636 9Z"}),(0,a.jsx)("path",{d:"M1.63636 4.09091C1.63636 4.09091 1.44663 3.19402 1.10769 2.7986C0.768758 2.40318 0 2.18182 0 2.18182C0 2.18182 0.768758 1.96046 1.10769 1.56503C1.44663 1.16961 1.63636 0.272728 1.63636 0.272728C1.63636 0.272728 1.8261 1.16961 2.16503 1.56503C2.50397 1.96046 3.27273 2.18182 3.27273 2.18182C3.27273 2.18182 2.50397 2.40318 2.16503 2.7986C1.8261 3.19402 1.63636 4.09091 1.63636 4.09091Z"}),(0,a.jsx)("path",{d:"M10.6364 11.7273C10.6364 11.7273 10.4782 11.0866 10.1958 10.8042C9.91336 10.5218 9.27273 10.3636 9.27273 10.3636C9.27273 10.3636 9.91336 10.2055 10.1958 9.92307C10.4782 9.64064 10.6364 9 10.6364 9C10.6364 9 10.7945 9.64064 11.0769 9.92307C11.3594 10.2055 12 10.3636 12 10.3636C12 10.3636 11.3594 10.5218 11.0769 10.8042C10.7945 11.0866 10.6364 11.7273 10.6364 11.7273Z"})]}),Fe=({props:e})=>(0,a.jsx)(l.A,{component:ze,...e}),Ue=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"typorgaf-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M6.65333 7.21508H5.1671L3.00719 4.63822L5.1671 2H6.65333L4.44481 4.63822L6.65333 7.21508ZM3.64614 7.21508H2.17379L0 4.63822L2.17379 2H3.63919L1.43762 4.63822L3.64614 7.21508Z"}),(0,a.jsx)("path",{d:"M12 6.43338L11.1167 9.98246H9.94694L11.069 6.43338H12ZM9.58089 6.43338L8.72148 9.98246H7.52784L8.6419 6.43338H9.58089Z"})]}),qe=({props:e})=>(0,a.jsx)(l.A,{component:Ue,...e}),Ge=()=>(0,a.jsxs)("svg",{width:"42",height:"43",viewBox:"0 0 42 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"0.00830078",y:"0.173828",width:"42",height:"42",rx:"21",fill:"#4597F7"}),(0,a.jsxs)("g",{clipPath:"url(#clip0_2193_1178)",children:[(0,a.jsx)("path",{d:"M14.0083 30.1739C13.4583 30.1739 12.9875 29.9781 12.5958 29.5864C12.2041 29.1948 12.0083 28.7239 12.0083 28.1739V14.1739C12.0083 13.6239 12.2041 13.1531 12.5958 12.7614C12.9875 12.3698 13.4583 12.1739 14.0083 12.1739H22.9333L20.9333 14.1739H14.0083V28.1739H28.0083V21.2239L30.0083 19.2239V28.1739C30.0083 28.7239 29.8125 29.1948 29.4208 29.5864C29.0291 29.9781 28.5583 30.1739 28.0083 30.1739H14.0083ZM18.0083 24.1739V19.9239L27.1833 10.7489C27.3833 10.5489 27.6083 10.3989 27.8583 10.2989C28.1083 10.1989 28.3583 10.1489 28.6083 10.1489C28.875 10.1489 29.1291 10.1989 29.3708 10.2989C29.6125 10.3989 29.8333 10.5489 30.0333 10.7489L31.4333 12.1739C31.6166 12.3739 31.7583 12.5948 31.8583 12.8364C31.9583 13.0781 32.0083 13.3239 32.0083 13.5739C32.0083 13.8239 31.9625 14.0698 31.8708 14.3114C31.7791 14.5531 31.6333 14.7739 31.4333 14.9739L22.2583 24.1739H18.0083ZM20.0083 22.1739H21.4083L27.2083 16.3739L26.5083 15.6739L25.7833 14.9739L20.0083 20.7489V22.1739Z",fill:"white"}),(0,a.jsx)("path",{d:"M14.0083 30.1739C13.4583 30.1739 12.9875 29.9781 12.5958 29.5864C12.2041 29.1948 12.0083 28.7239 12.0083 28.1739V14.1739C12.0083 13.6239 12.2041 13.1531 12.5958 12.7614C12.9875 12.3698 13.4583 12.1739 14.0083 12.1739H22.9333L20.9333 14.1739H14.0083V28.1739H28.0083V21.2239L30.0083 19.2239V28.1739C30.0083 28.7239 29.8125 29.1948 29.4208 29.5864C29.0291 29.9781 28.5583 30.1739 28.0083 30.1739H14.0083ZM18.0083 24.1739V19.9239L27.1833 10.7489C27.3833 10.5489 27.6083 10.3989 27.8583 10.2989C28.1083 10.1989 28.3583 10.1489 28.6083 10.1489C28.875 10.1489 29.1291 10.1989 29.3708 10.2989C29.6125 10.3989 29.8333 10.5489 30.0333 10.7489L31.4333 12.1739C31.6166 12.3739 31.7583 12.5948 31.8583 12.8364C31.9583 13.0781 32.0083 13.3239 32.0083 13.5739C32.0083 13.8239 31.9625 14.0698 31.8708 14.3114C31.7791 14.5531 31.6333 14.7739 31.4333 14.9739L22.2583 24.1739H18.0083ZM20.0083 22.1739H21.4083L27.2083 16.3739L26.5083 15.6739L25.7833 14.9739L20.0083 20.7489V22.1739Z",fill:"white"})]}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_2193_1178",children:(0,a.jsx)("rect",{width:"24",height:"24",fill:"white",transform:"translate(9.0083 9.17383)"})})})]}),Ke=({props:e})=>(0,a.jsx)(l.A,{component:Ge,...e}),$e=()=>(0,a.jsxs)("svg",{width:"42",height:"43",viewBox:"0 0 42 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"0.00830078",y:"0.173828",width:"42",height:"42",rx:"21",fill:"#6A32C9"}),(0,a.jsx)("path",{d:"M12.0083 14.0129C12.0083 13.5629 12.1736 13.1726 12.5041 12.8419C12.8347 12.5114 13.225 12.3462 13.6751 12.3462L18.5083 12.3462L18.5083 14.0129L13.6751 14.0129L13.6751 28.6794L28.3416 28.6794L28.3416 14.0129L23.5083 14.0129L23.5083 12.3462L28.3416 12.3462C28.7916 12.3462 29.1819 12.5114 29.5126 12.8419C29.8431 13.1726 30.0083 13.5629 30.0083 14.0129L30.0083 28.6794C30.0083 29.1294 29.843 29.5198 29.5125 29.8504C29.1819 30.1809 28.7916 30.3462 28.3416 30.3462L13.675 30.3462C13.225 30.3462 12.8347 30.1809 12.5041 29.8504C12.1736 29.5198 12.0083 29.1294 12.0083 28.6794L12.0083 14.0129ZM16.1251 19.7294L17.3583 18.5129L20.1751 21.3294L20.1751 12.3462L21.8416 12.3462L21.8416 21.3294L24.6583 18.5129L25.8916 19.7294L21.0083 24.6129L16.1251 19.7294Z",fill:"white"})]}),We=({props:e})=>(0,a.jsx)(l.A,{component:$e,...e}),Xe=()=>(0,a.jsxs)("svg",{width:"42",height:"43",viewBox:"0 0 42 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"0.00830078",y:"0.173828",width:"42",height:"42",rx:"21",fill:"#72C240"}),(0,a.jsx)("path",{d:"M15.0669 30.9687C15.0669 30.9687 14.59 28.8216 13.738 27.875C12.886 26.9284 10.9536 26.3984 10.9536 26.3984C10.9536 26.3984 12.886 25.8684 13.738 24.9218C14.59 23.9752 15.0669 21.8281 15.0669 21.8281C15.0669 21.8281 15.5438 23.9752 16.3958 24.9218C17.2478 25.8684 19.1802 26.3984 19.1802 26.3984C19.1802 26.3984 17.2478 26.9284 16.3958 27.875C15.5438 28.8216 15.0669 30.9687 15.0669 30.9687Z",fill:"white"}),(0,a.jsx)("path",{d:"M23.7505 26.0037C23.7505 26.0037 22.9026 22.5682 21.388 21.0536C19.8734 19.539 16.438 18.6912 16.438 18.6912C16.438 18.6912 19.8734 17.8433 21.388 16.3287C22.9026 14.8141 23.7505 11.3787 23.7505 11.3787C23.7505 11.3787 24.5984 14.8141 26.113 16.3287C27.6276 17.8433 31.063 18.6912 31.063 18.6912C31.063 18.6912 27.6276 19.539 26.113 21.0536C24.5984 22.5682 23.7505 26.0037 23.7505 26.0037Z",fill:"white"}),(0,a.jsx)("path",{d:"M13.6958 17.7771C13.6958 17.7771 13.3778 16.2741 12.8099 15.6115C12.2419 14.9488 10.9536 14.5779 10.9536 14.5779C10.9536 14.5779 12.2419 14.2069 12.8099 13.5443C13.3778 12.8816 13.6958 11.3787 13.6958 11.3787C13.6958 11.3787 14.0138 12.8816 14.5817 13.5443C15.1497 14.2069 16.438 14.5779 16.438 14.5779C16.438 14.5779 15.1497 14.9488 14.5817 15.6115C14.0138 16.2741 13.6958 17.7771 13.6958 17.7771Z",fill:"white"}),(0,a.jsx)("path",{d:"M28.7144 30.2357C28.7144 30.2357 28.4494 29.1622 27.9761 28.6889C27.5028 28.2156 26.4293 27.9506 26.4293 27.9506C26.4293 27.9506 27.5028 27.6856 27.9761 27.2123C28.4494 26.739 28.7144 25.6654 28.7144 25.6654C28.7144 25.6654 28.9794 26.739 29.4527 27.2123C29.926 27.6856 30.9996 27.9506 30.9996 27.9506C30.9996 27.9506 29.926 28.2156 29.4527 28.6889C28.9794 29.1622 28.7144 30.2357 28.7144 30.2357Z",fill:"white"})]}),Ye=({props:e})=>(0,a.jsx)(l.A,{component:Xe,...e}),Je=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-top-bottom-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M7.43866e-05 1.03733V0L12 0.0407197V1.07805L7.43866e-05 1.03733ZM0 11.9593V10.922L12 10.9627V12L0 11.9593Z"}),(0,a.jsx)("rect",{x:"3.5",y:"3.5",width:"5",height:"5",fill:"none",stroke:"currentColor"})]}),Qe=({props:e})=>(0,a.jsx)(l.A,{component:Je,...e}),et=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-left-right-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M10.9626 7.43413e-05L11.9999 7.43866e-05L11.9592 12L10.9218 12L10.9626 7.43413e-05ZM0.0405974 -5.22757e-07L1.07792 -4.77414e-07L1.0372 12L-0.00012271 12L0.0405974 -5.22757e-07Z"}),(0,a.jsx)("rect",{x:"8.5",y:"3.5",width:"5",height:"5",transform:"rotate(90 8.5 3.5)",fill:"none",stroke:"currentColor"})]}),tt=({props:e})=>(0,a.jsx)(l.A,{component:et,...e}),st=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-switcher",fill:"currentColor",width:"1em",height:"1em","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M10.959 2.00007L11.9999 2.00007L11.959 10L10.9181 10L10.959 2.00007ZM-0.00012207 2L1.04074 2L0.999842 10L-0.041016 10L-0.00012207 2Z"}),(0,a.jsx)("path",{d:"M9.99993 10.9797L9.99993 12.0205L1.99995 11.9796L1.99995 10.9387L9.99993 10.9797ZM10 0.0205078L10 1.06137L1.99995 1.02043L1.99995 -0.0204332L10 0.0205078Z"})]}),lt=({props:e})=>(0,a.jsx)(l.A,{component:st,...e}),it=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-top-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M0 1.04086V0L11.9999 0.0408583V1.08172L0 1.04086Z"}),(0,a.jsx)("rect",{x:"3.5",y:"3.5",width:"5",height:"5",fill:"none",stroke:"currentColor"})]}),at=({props:e})=>(0,a.jsx)(l.A,{component:it,...e}),ot=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-bottom-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M0 10.9591V12L11.9999 11.9591V10.9183L0 10.9591Z"}),(0,a.jsx)("rect",{x:"0.5",y:"-0.5",width:"5",height:"5",transform:"matrix(1 0 0 -1 3 8)",fill:"none",stroke:"currentColor"})]}),nt=({props:e})=>(0,a.jsx)(l.A,{component:ot,...e}),rt=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-left-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M-8.67844e-05 -4.54974e-08L1.04077 0L0.999913 12L-0.0409456 12L-8.67844e-05 -4.54974e-08Z"}),(0,a.jsx)("rect",{x:"8.5",y:"3.5",width:"5",height:"5",transform:"rotate(90 8.5 3.5)",fill:"none",stroke:"currentColor"})]}),ct=({props:e})=>(0,a.jsx)(l.A,{component:rt,...e}),dt=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-righr-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M12.0001 -4.54974e-08L10.9592 0L11.0001 12L12.0409 12L12.0001 -4.54974e-08Z"}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"5",height:"5",transform:"matrix(4.37114e-08 1 1 -4.37114e-08 3 3)",fill:"none",stroke:"currentColor"})]}),mt=({props:e})=>(0,a.jsx)(l.A,{component:dt,...e}),pt=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"code",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M6.75582 1.62701L7.6995 1.87987L5.42377 10.373L4.48009 10.1201L6.75582 1.62701Z"}),(0,a.jsx)("path",{d:"M0 6.32085L2.76329 3.55756L3.45411 4.24838L1.38164 6.32085L3.45411 8.39332L2.76329 9.08414L0 6.32085Z"}),(0,a.jsx)("path",{d:"M12 6.32085L9.23671 3.55756L8.54589 4.24838L10.6184 6.32085L8.54589 8.39332L9.23671 9.08414L12 6.32085Z"})]}),ut=({props:e})=>(0,a.jsx)(l.A,{component:pt,...e}),ht=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"go-to-parrent",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10.2778 10.4815L7.87408 10.4815C7.29692 10.4815 6.81651 10.2897 6.43287 9.90602C6.04922 9.52238 5.8574 9.04197 5.8574 8.46481L5.8574 2.46064L8.25092 4.85417L8.97408 4.12592L5.34814 0.5L1.72222 4.12592L2.44537 4.85417L4.83889 2.46064L4.83889 8.46481C4.83889 9.32377 5.13002 10.0444 5.71227 10.6266C6.29452 11.2089 7.01512 11.5 7.87408 11.5L10.2778 11.5L10.2778 10.4815Z"})}),Ct=({props:e})=>(0,a.jsx)(l.A,{component:ht,...e}),gt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"undo",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z"})}),xt=({props:e})=>(0,a.jsx)(l.A,{component:gt,...e}),vt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"redo",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"})}),ft=({props:e})=>(0,a.jsx)(l.A,{component:vt,...e}),jt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"history",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"})}),_t=({props:e})=>(0,a.jsx)(l.A,{component:jt,...e}),yt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"eye",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"})}),At=({props:e})=>(0,a.jsx)(l.A,{component:yt,...e}),wt=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"send",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0.5 1.5024L0.684652 2.29376L1.5024 6L0.684652 9.70623L0.5 10.4976L1.2518 10.1942L10.5372 6.39568L11.5 6L10.5372 5.60431L1.2518 1.80575L0.5 1.5024ZM1.67386 2.90048L8.22902 5.57793H2.26739L1.67386 2.90048ZM2.26739 6.42206H8.22902L1.67386 9.09952L2.26739 6.42206Z"})}),Lt=({props:e})=>(0,a.jsx)(l.A,{component:wt,...e}),bt=()=>(0,a.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"check-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}),(0,a.jsx)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"})]}),kt=({props:e})=>(0,a.jsx)(l.A,{component:bt,...e}),Mt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"share-alt",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"})}),St=({props:e})=>(0,a.jsx)(l.A,{component:Mt,...e}),Et=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"mobile",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"})}),Vt=({props:e})=>(0,a.jsx)(l.A,{component:Et,...e}),Ht=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"desktop",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"})}),Nt=({props:e})=>(0,a.jsx)(l.A,{component:Ht,...e}),It=()=>(0,a.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"plus-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}),(0,a.jsx)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"})]}),Bt=({props:e})=>(0,a.jsx)(l.A,{component:It,...e}),Tt=()=>(0,a.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"comment",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("defs",{children:(0,a.jsx)("style",{})}),(0,a.jsx)("path",{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}),(0,a.jsx)("path",{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}),(0,a.jsx)("path",{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"})]}),Zt=({props:e})=>(0,a.jsx)(l.A,{component:Tt,...e}),Rt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"setting",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"})}),Ot=({props:e})=>(0,a.jsx)(l.A,{component:Rt,...e}),Dt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"border-outer",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM484 366h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM302 548h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm364 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-182 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 182h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"})}),Pt=({props:e})=>(0,a.jsx)(l.A,{component:Dt,...e}),zt=()=>(0,a.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"appstore-add",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("defs",{children:(0,a.jsx)("style",{})}),(0,a.jsx)("path",{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"})]}),Ft=({props:e})=>(0,a.jsx)(l.A,{component:zt,...e}),Ut=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"appstore",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"})}),qt=({props:e})=>(0,a.jsx)(l.A,{component:Ut,...e}),Gt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"build",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z"})}),Kt=({props:e})=>(0,a.jsx)(l.A,{component:Gt,...e}),$t=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"search-outlined",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10.7667 11.5L6.80463 7.53797C6.49908 7.79599 6.14443 7.99799 5.74069 8.14398C5.33696 8.28997 4.90735 8.36297 4.45186 8.36297C3.34736 8.36297 2.4126 7.98017 1.64756 7.21458C0.88252 6.449 0.5 5.52131 0.5 4.43149C0.5 3.34168 0.882795 2.41397 1.64838 1.64838C2.41396 0.882795 3.34336 0.5 4.43658 0.5C5.52979 0.5 6.45748 0.882795 7.21967 1.64838C7.98187 2.41397 8.36297 3.34219 8.36297 4.43302C8.36297 4.87336 8.29167 5.29553 8.14908 5.69955C8.00649 6.10355 7.79939 6.47531 7.52778 6.81482L11.5 10.7667L10.7667 11.5ZM4.44167 7.34446C5.248 7.34446 5.93337 7.06012 6.4978 6.49144C7.06223 5.92277 7.34444 5.23612 7.34444 4.43149C7.34444 3.62685 7.06223 2.9402 6.4978 2.37153C5.93337 1.80286 5.248 1.51852 4.44167 1.51852C3.62968 1.51852 2.93949 1.80286 2.3711 2.37153C1.80271 2.9402 1.51851 3.62685 1.51851 4.43149C1.51851 5.23612 1.80271 5.92277 2.3711 6.49144C2.93949 7.06012 3.62968 7.34446 4.44167 7.34446Z"})}),Wt=({props:e})=>(0,a.jsx)(l.A,{component:$t,...e}),Xt=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"close-outlined",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1.84745 11L1 10.1526L5.15255 6L1 1.84745L1.84745 1L6 5.15255L10.1526 1L11 1.84745L6.84745 6L11 10.1526L10.1526 11L6 6.84745L1.84745 11Z"})}),Yt=({props:e})=>(0,a.jsx)(l.A,{component:Xt,...e}),Jt=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"add-image",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1.11007 11.9944C0.804799 11.9944 0.543469 11.8858 0.326081 11.6684C0.108694 11.451 0 11.1896 0 10.8844V1.11563C0 0.810353 0.108694 0.549023 0.326081 0.331636C0.543469 0.114248 0.804799 0.0055542 1.11007 0.0055542H7.64848V1.11563H1.11007V10.8844H10.8788V4.35707H11.9889V10.8844C11.9889 11.1896 11.8802 11.451 11.6628 11.6684C11.4454 11.8858 11.1841 11.9944 10.8788 11.9944H1.11007ZM9.54672 3.80204V2.45883H8.20352V1.34876H9.54672V0.0055542H10.6568V1.34876H12V2.45883H10.6568V3.80204H9.54672ZM1.99815 9.30805H9.99074L7.55966 6.06661L5.4838 8.80852L3.9408 6.76596L1.99815 9.30805Z"})}),Qt=({props:e})=>(0,a.jsx)(l.A,{component:Jt,...e}),es=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"merge-tags",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M7.2 10.8V9.60001H9C9.17 9.60001 9.3125 9.54251 9.4275 9.42751C9.5425 9.31251 9.6 9.17 9.6 9V7.8C9.6 7.42 9.71 7.07501 9.93 6.76501C10.15 6.45501 10.44 6.235 10.8 6.105V5.895C10.44 5.765 10.15 5.545 9.93 5.235C9.71 4.925 9.6 4.58 9.6 4.2V3C9.6 2.83 9.5425 2.6875 9.4275 2.5725C9.3125 2.4575 9.17 2.4 9 2.4H7.2V1.2H9C9.5 1.2 9.925 1.375 10.275 1.725C10.625 2.075 10.8 2.5 10.8 3V4.2C10.8 4.37 10.8575 4.5125 10.9725 4.6275C11.0875 4.7425 11.23 4.8 11.4 4.8H12V7.2H11.4C11.23 7.2 11.0875 7.25751 10.9725 7.37251C10.8575 7.48751 10.8 7.63 10.8 7.8V9C10.8 9.5 10.625 9.92501 10.275 10.275C9.925 10.625 9.5 10.8 9 10.8H7.2ZM3 10.8C2.5 10.8 2.075 10.625 1.725 10.275C1.375 9.92501 1.2 9.5 1.2 9V7.8C1.2 7.63 1.1425 7.48751 1.0275 7.37251C0.9125 7.25751 0.77 7.2 0.6 7.2H0V4.8H0.6C0.77 4.8 0.9125 4.7425 1.0275 4.6275C1.1425 4.5125 1.2 4.37 1.2 4.2V3C1.2 2.5 1.375 2.075 1.725 1.725C2.075 1.375 2.5 1.2 3 1.2H4.8V2.4H3C2.83 2.4 2.6875 2.4575 2.5725 2.5725C2.4575 2.6875 2.4 2.83 2.4 3V4.2C2.4 4.58 2.29 4.925 2.07 5.235C1.85 5.545 1.56 5.765 1.2 5.895V6.105C1.56 6.235 1.85 6.45501 2.07 6.76501C2.29 7.07501 2.4 7.42 2.4 7.8V9C2.4 9.17 2.4575 9.31251 2.5725 9.42751C2.6875 9.54251 2.83 9.60001 3 9.60001H4.8V10.8H3Z"})}),ts=({props:e})=>(0,a.jsx)(l.A,{component:es,...e}),ss=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"light-mode",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 7.81819C6.50303 7.81819 6.93182 7.64092 7.28637 7.28637C7.64092 6.93182 7.81819 6.50303 7.81819 6C7.81819 5.49697 7.64092 5.06818 7.28637 4.71363C6.93182 4.35908 6.50303 4.18181 6 4.18181C5.49697 4.18181 5.06818 4.35908 4.71363 4.71363C4.35908 5.06818 4.18181 5.49697 4.18181 6C4.18181 6.50303 4.35908 6.93182 4.71363 7.28637C5.06818 7.64092 5.49697 7.81819 6 7.81819ZM6 8.72727C5.24545 8.72727 4.60227 8.46136 4.07045 7.92955C3.53864 7.39773 3.27273 6.75455 3.27273 6C3.27273 5.24545 3.53864 4.60227 4.07045 4.07045C4.60227 3.53864 5.24545 3.27273 6 3.27273C6.75455 3.27273 7.39773 3.53864 7.92955 4.07045C8.46136 4.60227 8.72727 5.24545 8.72727 6C8.72727 6.75455 8.46136 7.39773 7.92955 7.92955C7.39773 8.46136 6.75455 8.72727 6 8.72727ZM2.18182 6.45454H0V5.54546H2.18182V6.45454ZM12 6.45454H9.81818V5.54546H12V6.45454ZM5.54546 2.18182V0H6.45454V2.18182H5.54546ZM5.54546 12V9.81818H6.45454V12H5.54546ZM3 3.6091L1.63182 2.28637L2.28181 1.61819L3.5909 2.98182L3 3.6091ZM9.72727 10.3727L8.39546 9.00454L9.0091 8.38182L10.3682 9.71363L9.72727 10.3727ZM8.38182 2.9909L9.71363 1.63182L10.3818 2.27273L9.02727 3.6L8.38182 2.9909ZM1.62727 9.71819L2.98636 8.38636L3.61818 9.0091L2.28637 10.3682L1.62727 9.71819Z"})}),ls=({props:e})=>(0,a.jsx)(l.A,{component:ss,...e}),is=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"dark-mode",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 11C4.61111 11 3.43056 10.5139 2.45833 9.54167C1.48611 8.56944 1 7.38889 1 6C1 4.61111 1.48611 3.43056 2.45833 2.45833C3.43056 1.48611 4.61111 1 6 1C6.09259 1 6.1875 1.00309 6.28472 1.00926C6.38194 1.01543 6.49382 1.02469 6.62036 1.03704C6.2716 1.32408 5.99769 1.68442 5.79861 2.11806C5.59954 2.55169 5.5 3.01234 5.5 3.5C5.5 4.33333 5.79167 5.04167 6.375 5.625C6.95833 6.20833 7.66667 6.5 8.5 6.5C8.99074 6.5 9.45216 6.40509 9.88426 6.21528C10.3164 6.02546 10.6759 5.76544 10.963 5.43519C10.9753 5.54939 10.9846 5.65047 10.9907 5.73843C10.9969 5.82639 11 5.91358 11 6C11 7.38889 10.5139 8.56944 9.54167 9.54167C8.56944 10.5139 7.38889 11 6 11ZM6 10.0741C6.94444 10.0741 7.77469 9.7909 8.49075 9.22454C9.20681 8.65818 9.67594 7.97376 9.89815 7.17129C9.68211 7.25463 9.45474 7.3179 9.21606 7.36111C8.97737 7.40431 8.73869 7.42592 8.5 7.42592C7.41242 7.42592 6.4862 7.0435 5.72135 6.27865C4.9565 5.5138 4.57408 4.58758 4.57408 3.5C4.57408 3.29012 4.59414 3.06944 4.63426 2.83796C4.67438 2.60648 4.74229 2.35185 4.83797 2.07407C3.99229 2.3395 3.29552 2.83487 2.74768 3.56018C2.19984 4.28549 1.92592 5.09876 1.92592 6C1.92592 7.12963 2.32252 8.09105 3.11574 8.88426C3.90895 9.67748 4.87037 10.0741 6 10.0741Z"})}),as=({props:e})=>(0,a.jsx)(l.A,{component:is,...e}),os=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"auto-mode",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M5.52714 9.9212C6.07297 9.9212 6.58669 9.79919 7.0683 9.55517C7.54992 9.31115 7.97052 8.98205 8.33012 8.56787C7.09078 8.49081 6.04087 8.02445 5.18038 7.16879C4.31991 6.31312 3.88967 5.27204 3.88967 4.04554C3.88967 3.89463 3.8993 3.74292 3.91857 3.59041C3.93783 3.4379 3.96031 3.28779 3.986 3.1401C3.38558 3.47402 2.89835 3.92352 2.5243 4.48861C2.15024 5.0537 1.96321 5.67659 1.96321 6.35727C1.96321 7.34725 2.30971 8.18873 3.0027 8.88171C3.69568 9.5747 4.53716 9.9212 5.52714 9.9212ZM5.52714 10.8844C4.26853 10.8844 3.19935 10.4445 2.31961 9.5648C1.43987 8.68506 1 7.61588 1 6.35727C1 5.09866 1.43987 4.02948 2.31961 3.14974C3.19935 2.27 4.26853 1.83013 5.52714 1.83013C5.5432 1.83013 5.55925 1.83093 5.5753 1.83253C5.59136 1.83414 5.60741 1.83494 5.62346 1.83494C5.36338 2.14317 5.16994 2.48672 5.04312 2.86558C4.9163 3.24446 4.85288 3.63777 4.85288 4.04554C4.85288 5.03552 5.19938 5.877 5.89237 6.56998C6.58535 7.26297 7.42683 7.60946 8.41681 7.60946C8.68331 7.60946 8.94739 7.57976 9.20906 7.52036C9.47074 7.46097 9.72037 7.37187 9.95796 7.25307C9.74605 8.31261 9.22431 9.18273 8.39273 9.86341C7.56115 10.5441 6.60595 10.8844 5.52714 10.8844ZM7.20315 5.16287L9.02883 0H10.1699L12 5.16287H10.9405L10.533 4.007H8.67018L8.26269 5.16287H7.20315ZM8.90805 3.26533H10.2951L9.60158 1.06918L8.90805 3.26533Z"})}),ns=({props:e})=>(0,a.jsx)(l.A,{component:os,...e}),rs=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"email-confirmation",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M8.00198 11.3105L5.85436 9.16288L6.47419 8.54304L8.00198 10.0708L11.1186 6.95415L11.7385 7.574L8.00198 11.3105ZM5.95912 5.48748L10.2718 2.75493H1.64641L5.95912 5.48748ZM5.95912 6.36049L1.61149 3.59303V9.2851H4.74564L5.61864 10.1581H1.61149C1.37577 10.1581 1.17134 10.0715 0.998197 9.8984C0.825052 9.72525 0.73848 9.52081 0.73848 9.2851V2.75493C0.73848 2.51922 0.825052 2.31479 0.998197 2.14165C1.17134 1.9685 1.37577 1.88193 1.61149 1.88193H10.3155C10.5512 1.88193 10.7556 1.9685 10.9288 2.14165C11.1019 2.31479 11.1885 2.51922 11.1885 2.75493V5.64463L10.3155 6.51766V3.59303L5.95912 6.36049Z"})}),cs=({props:e})=>(0,a.jsx)(l.A,{component:rs,...e}),ds=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"atom",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M480-200 200-480l280-280 280 280-280 280Zm0-91.999L668.001-480 480-668.001 291.999-480 480-291.999ZM480-480Z"})}),ms=({props:e})=>(0,a.jsx)(l.A,{component:ds,...e}),ps=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"column",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M579.999-120q-26.999 0-46.833-19.833-19.833-19.833-19.833-46.833v-586.668q0-27 19.833-46.833Q553-840 579.999-840h193.335q27 0 46.833 19.833T840-773.334v586.668q0 27-19.833 46.833T773.334-120H579.999Zm0-653.334v586.668h193.335v-586.668H579.999ZM186.666-120q-27 0-46.833-19.833T120-186.666v-586.668q0-27 19.833-46.833T186.666-840h193.335q26.999 0 46.833 19.833 19.833 19.833 19.833 46.833v586.668q0 27-19.833 46.833Q407-120 380.001-120H186.666Zm0-653.334v586.668h193.335v-586.668H186.666Zm586.668 0H579.999h193.335Zm-393.333 0H186.666h193.335Z"})}),us=({props:e})=>(0,a.jsx)(l.A,{component:ps,...e}),hs=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"block",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M186.666-120q-27 0-46.833-19.833T120-186.666v-586.668q0-27 19.833-46.833T186.666-840h586.668q27 0 46.833 19.833T840-773.334v586.668q0 27-19.833 46.833T773.334-120H186.666Zm0-66.666h586.668v-586.668H186.666v586.668Zm0 0v-586.668 586.668Z"})}),Cs=({props:e})=>(0,a.jsx)(l.A,{component:hs,...e}),gs=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"group",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M146.666-160q-27.5 0-47.083-19.583T80-226.666v-506.668q0-27.5 19.583-47.083T146.666-800h666.668q27.5 0 47.083 19.583T880-733.334v506.668q0 27.5-19.583 47.083T813.334-160H146.666Zm0-66.666h100.001v-506.668H146.666v506.668Zm166.667 0h333.334v-506.668H313.333v506.668Zm400 0h100.001v-506.668H713.333v506.668Zm-400-506.668v506.668-506.668Z"})}),xs=({props:e})=>(0,a.jsx)(l.A,{component:gs,...e}),vs=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"button",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M186.666-280q-27 0-46.833-19.833T120-346.666v-266.668q0-27 19.833-46.833T186.666-680h586.668q27 0 46.833 19.833T840-613.334v266.668q0 27-19.833 46.833T773.334-280H186.666Zm0-66.666h586.668v-266.668H186.666v266.668Zm0 0v-266.668 266.668Z"})}),fs=({props:e})=>(0,a.jsx)(l.A,{component:vs,...e}),js=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"button",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M186.666-120q-27 0-46.833-19.833T120-186.666v-586.668q0-27 19.833-46.833T186.666-840h586.668q27 0 46.833 19.833T840-773.334v586.668q0 27-19.833 46.833T773.334-120H186.666Zm0-66.666h151.001v-151.001H186.666v151.001Zm217.667 0h151.334v-151.001H404.333v151.001Zm218 0h151.001v-151.001H622.333v151.001ZM186.666-404.333h151.001v-151.334H186.666v151.334Zm217.667 0h151.334v-151.334H404.333v151.334Zm218 0h151.001v-151.334H622.333v151.334Zm-435.667-218h151.001v-151.001H186.666v151.001Zm217.667 0h151.334v-151.001H404.333v151.001Zm218 0h151.001v-151.001H622.333v151.001Z"})}),_s=({props:e})=>(0,a.jsx)(l.A,{component:js,...e}),ys=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"button",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M146.666-160q-27 0-46.833-19.833T80-226.666v-506.668q0-27 19.833-46.833T146.666-800h666.668q27 0 46.833 19.833T880-733.334v506.668q0 27-19.833 46.833T813.334-160H146.666ZM480-454.667 146.666-670.001v443.335h666.668v-443.335L480-454.667Zm0-66.666 330.667-212.001H150l330 212.001ZM146.666-670.001v-63.333 506.668-443.335Z"})}),As=({props:e})=>(0,a.jsx)(l.A,{component:ys,...e}),ws=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"button",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M120-120v-175.333L490.667-666l-67.334-66.667 46.667-46L556.667-692l136-136q5-5 11.5-8t13.167-3q6.666 0 13 3 6.333 3 12.333 8L828-742.667q5 6 8 12.333 3 6.334 3 13 0 6.667-3 13.167t-8 11.5L692.333-557 779-469.666l-46.333 46.333L666-490.667 295.333-120H120Zm66.666-66.666h84L618-534.667 534.667-618 186.666-270.666v84Zm457.667-416.667L759-718l-41-41-114.667 114.667 41 41Zm0 0-41-41 41 41Z"})}),Ls=({props:e})=>(0,a.jsx)(l.A,{component:ws,...e}),bs=({svgString:e,...t})=>(0,a.jsx)("span",{role:"img",className:"anticon",dangerouslySetInnerHTML:{__html:e},...t}),ks=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"slider-group",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M10.0385 4.8313C9.82428 4.61707 9.47693 4.61707 9.2627 4.8313C9.04846 5.04554 9.04846 5.39289 9.2627 5.60712C9.47693 5.82137 9.82428 5.82138 10.0385 5.60713C10.2527 5.3929 10.2528 5.04554 10.0385 4.8313ZM8.61987 4.18848C9.18913 3.61922 10.1121 3.61922 10.6813 4.18848C11.2506 4.75773 11.2506 5.68069 10.6813 6.24995C10.1121 6.81923 9.18912 6.81923 8.61987 6.24995C8.05062 5.68069 8.05062 4.75773 8.61987 4.18848Z"}),(0,a.jsx)("path",{d:"M5.22924 3.56484C4.80353 3.99055 4.80353 4.68074 5.22924 5.10645C5.65495 5.53216 6.34514 5.53215 6.77082 5.10646C7.19653 4.68075 7.19653 3.99054 6.77083 3.56484C6.34512 3.13913 5.65491 3.13915 5.22924 3.56484ZM4.58642 5.74927C3.80568 4.96854 3.80568 3.70274 4.58642 2.92201C5.36712 2.14128 6.63293 2.14129 7.41365 2.92201C8.19438 3.70274 8.19438 4.96854 7.41366 5.74927"}),(0,a.jsx)("path",{d:"M2.73736 4.8313C2.52311 4.61706 2.17576 4.61707 1.96153 4.8313C1.74729 5.04554 1.74729 5.39289 1.96153 5.60712C2.17576 5.82137 2.52311 5.82138 2.73736 5.60713C2.95159 5.3929 2.95159 5.04554 2.73736 4.8313V4.8313ZM1.31871 4.18847C1.88797 3.61922 2.81092 3.61922 3.38018 4.18847C3.94944 4.75773 3.94944 5.68069 3.38019 6.24995C2.81092 6.81923 1.88797 6.81923 1.31871 6.24995M1.31871 4.18847C0.749447 4.75773 0.749454 5.68069 1.31871 6.24995Z"}),(0,a.jsx)("path",{d:"M9.36315 7.42584C9.36315 7.1748 9.56666 6.97129 9.81769 6.97129H10.2149C11.1507 6.97129 11.9091 7.72966 11.9091 8.66549V9.20898C11.9091 9.46002 11.7056 9.66353 11.4545 9.66353C11.2035 9.66353 11 9.46002 11 9.20898V8.66549C11 8.23174 10.6486 7.88038 10.2149 7.88038H9.81769C9.56666 7.88038 9.36315 7.67688 9.36315 7.42584Z"}),(0,a.jsx)("path",{d:"M1.78513 7.88038C1.35136 7.88038 1 8.23174 1 8.66549V9.20898C1 9.46002 0.796496 9.66353 0.545457 9.66353C0.294419 9.66353 0.0909119 9.46002 0.0909119 9.20898V8.66549C0.0909119 7.72966 0.849299 6.97129 1.78513 6.97129H2.18231C2.43335 6.97129 2.63686 7.1748 2.63686 7.42584C2.63686 7.67688 2.43335 7.88038 2.18231 7.88038H1.78513Z"}),(0,a.jsx)("path",{d:"M2.89752 8.41507C2.89752 7.20553 3.87805 6.225 5.08759 6.225H6.91189C8.12143 6.225 9.10197 7.20553 9.10197 8.41507V9.20896C9.10197 9.45999 8.89846 9.6635 8.64742 9.6635C8.39638 9.6635 8.19288 9.45999 8.19288 9.20896V8.41507C8.19288 7.70761 7.61936 7.13409 6.91189 7.13409H5.08759C4.38013 7.13409 3.80661 7.70761 3.80661 8.41507V9.20896C3.80661 9.45999 3.60311 9.6635 3.35207 9.6635C3.10103 9.6635 2.89752 9.45999 2.89752 9.20896V8.41507Z"})]}),Ms=({props:e})=>(0,a.jsx)(l.A,{component:ks,...e}),Ss=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"slider-templates",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0 1.82812C0 0.818477 0.818477 0 1.82812 0H7.73438C8.74401 0 9.5625 0.818477 9.5625 1.82812V4.50405C9.51598 4.50135 9.46907 4.5 9.42188 4.5H8.71875V1.82812C8.71875 1.28447 8.27803 0.84375 7.73438 0.84375H1.82812C1.28447 0.84375 0.84375 1.28447 0.84375 1.82812V8.29688C0.84375 8.84053 1.28447 9.28125 1.82812 9.28125H2.25V9.42188C2.25 9.66656 2.28677 9.9027 2.35507 10.125H1.82812C0.818483 10.125 0 9.30651 0 8.29688V1.82812ZM2.67188 1.6875C2.43888 1.6875 2.25 1.87638 2.25 2.10938C2.25 2.34237 2.43888 2.53125 2.67188 2.53125H6.89062C7.12361 2.53125 7.3125 2.34237 7.3125 2.10938C7.3125 1.87638 7.12361 1.6875 6.89062 1.6875H2.67188ZM3.375 3.51562C3.375 3.28263 3.56388 3.09375 3.79688 3.09375H6.89062C7.12361 3.09375 7.3125 3.28263 7.3125 3.51562C7.3125 3.74862 7.12361 3.9375 6.89062 3.9375H3.79688C3.56388 3.9375 3.375 3.74862 3.375 3.51562ZM2.8125 6.89062C2.8125 5.88099 3.63098 5.0625 4.64062 5.0625H9.42188C10.4315 5.0625 11.25 5.88099 11.25 6.89062V9.42188C11.25 10.4315 10.4315 11.25 9.42188 11.25H4.64062C3.63098 11.25 2.8125 10.4315 2.8125 9.42188V6.89062ZM4.64062 5.90625C4.35696 5.90625 4.10132 6.02623 3.92169 6.21821L7.03131 8.21723L10.1408 6.21821C9.9612 6.02623 9.70554 5.90625 9.42188 5.90625H4.64062ZM3.65625 9.42188C3.65625 9.96553 4.09697 10.4062 4.64062 10.4062H9.42188C9.96553 10.4062 10.4062 9.96553 10.4062 9.42188V7.05066L7.2594 9.07363C7.12046 9.16296 6.94209 9.16296 6.80316 9.07363L3.65625 7.05066V9.42188Z"})}),Es=({props:e})=>(0,a.jsx)(l.A,{component:Ss,...e}),Vs=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"slider-blocks",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M5.81067 2.66667H8.82103C9.47215 2.66667 10 3.19453 10 3.84566V5.81065H9.21403V3.84566C9.21403 3.62862 9.03807 3.45267 8.82103 3.45267H5.81067V2.66667ZM3.45268 5.81065V8.82101C3.45268 9.03805 3.62863 9.21401 3.84568 9.21401H5.81067V10H3.84568C3.19454 10 2.66669 9.47213 2.66669 8.82101V5.81065H3.45268Z"}),(0,a.jsx)("path",{d:"M1 2.21875C1 1.54565 1.54565 1 2.21875 1H4.11458C4.78768 1 5.33333 1.54565 5.33333 2.21875V4.11458C5.33333 4.78768 4.78768 5.33333 4.11458 5.33333H2.21875C1.54565 5.33333 1 4.78768 1 4.11458V2.21875ZM2.21875 1.8125C1.99439 1.8125 1.8125 1.99439 1.8125 2.21875V4.11458C1.8125 4.33895 1.99439 4.52083 2.21875 4.52083H4.11458C4.33895 4.52083 4.52083 4.33895 4.52083 4.11458V2.21875C4.52083 1.99439 4.33895 1.8125 4.11458 1.8125H2.21875Z"}),(0,a.jsx)("path",{d:"M6.33334 7.53334C6.33334 6.87062 6.87062 6.33334 7.53334 6.33334H10.4667C11.1294 6.33334 11.6667 6.87062 11.6667 7.53334V10.4667C11.6667 11.1294 11.1294 11.6667 10.4667 11.6667H7.53334C6.87062 11.6667 6.33334 11.1294 6.33334 10.4667V7.53334ZM7.53334 7.13334C7.31244 7.13334 7.13334 7.31243 7.13334 7.53334V10.4667C7.13334 10.6876 7.31244 10.8667 7.53334 10.8667H10.4667C10.6876 10.8667 10.8667 10.6876 10.8667 10.4667V7.53334C10.8667 7.31243 10.6876 7.13334 10.4667 7.13334H7.53334Z"})]}),Hs=({props:e})=>(0,a.jsx)(l.A,{component:Vs,...e}),Ns=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"slider-adaptive",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M2.11687 2.27574C2.29356 1.52741 2.95016 1 3.70508 1H8.96257C9.7175 1 10.3741 1.52741 10.5508 2.27574L11.6132 6.7753C11.9 7.98974 10.9973 9.1579 9.77217 9.1579H5.53398V8.34211H9.77217C10.4796 8.34211 11.0009 7.6675 10.8353 6.96625L9.77286 2.46668C9.68273 2.08488 9.34774 1.81579 8.96257 1.81579H3.70508C3.31992 1.81579 2.98492 2.08488 2.89477 2.46668L2.5348 3.99123H1.9334C1.85664 3.99123 1.78124 3.99724 1.70766 4.00883L2.11687 2.27574ZM5.52795 10.5175H9.13425C9.35521 10.5175 9.5343 10.3349 9.5343 10.1096C9.5343 9.88438 9.35521 9.70175 9.13425 9.70175H5.53398V10.3816C5.53398 10.4274 5.53195 10.4728 5.52795 10.5175ZM3.00031 7.25439C3.36855 7.25439 3.66707 6.95004 3.66707 6.57456C3.66707 6.19908 3.36855 5.89474 3.00031 5.89474C2.63206 5.89474 2.33354 6.19908 2.33354 6.57456C2.33354 6.95004 2.63206 7.25439 3.00031 7.25439ZM1 5.48684C1 4.9612 1.41793 4.53509 1.93348 4.53509H4.06713C4.58268 4.53509 5.00061 4.9612 5.00061 5.48684V10.3816C5.00061 10.9072 4.58268 11.3333 4.06713 11.3333H1.93347C1.41793 11.3333 1 10.9072 1 10.3816V5.48684ZM1.93348 5.35088C1.85982 5.35088 1.80012 5.41174 1.80012 5.48684V10.3816C1.80012 10.4567 1.85982 10.5175 1.93347 10.5175H4.06713C4.14078 10.5175 4.20049 10.4567 4.20049 10.3816V5.48684C4.20049 5.41174 4.14078 5.35088 4.06713 5.35088H1.93348Z"})}),Is=({props:e})=>(0,a.jsx)(l.A,{component:Ns,...e}),Bs=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"slider-magic",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M9.5568 0.653814C9.5243 0.522457 9.40639 0.430084 9.27106 0.430084C9.1357 0.430084 9.01779 0.522409 8.98532 0.653814L8.98496 0.655251L8.98325 0.661939C8.98166 0.668112 8.97917 0.677645 8.97579 0.690173C8.96902 0.715244 8.95873 0.752211 8.94502 0.798175C8.91751 0.890365 8.87665 1.0174 8.82339 1.1565C8.71241 1.44638 8.56387 1.74441 8.39728 1.91099C8.2307 2.07757 7.93268 2.22611 7.64279 2.33709C7.50369 2.39035 7.37666 2.43122 7.28447 2.45872C7.2385 2.47244 7.20154 2.48273 7.17647 2.48949C7.16394 2.49287 7.15441 2.49537 7.14823 2.49696L7.14154 2.49866L7.14018 2.49901C7.00883 2.53151 6.91638 2.64943 6.91638 2.78477C6.91638 2.92013 7.0087 3.03804 7.14011 3.07051L7.14154 3.07087L7.14823 3.07258C7.15441 3.07417 7.16394 3.07666 7.17647 3.08004C7.20154 3.0868 7.2385 3.0971 7.28447 3.11081C7.37666 3.13832 7.50369 3.17918 7.64279 3.23244C7.93268 3.34342 8.2307 3.49196 8.39728 3.65854C8.56387 3.82513 8.71241 4.12315 8.82339 4.41304C8.87665 4.55214 8.91751 4.67917 8.94502 4.77136C8.95873 4.81732 8.96902 4.85429 8.97579 4.87936C8.97917 4.89189 8.98166 4.90142 8.98325 4.9076L8.98496 4.91428L8.9853 4.91564C9.0178 5.047 9.13573 5.13945 9.27106 5.13945C9.40643 5.13945 9.52433 5.04713 9.5568 4.91572L9.55716 4.91428L9.55887 4.9076C9.56046 4.90142 9.56295 4.89189 9.56633 4.87936C9.5731 4.85429 9.58339 4.81732 9.59711 4.77136C9.62461 4.67917 9.66548 4.55214 9.71873 4.41304C9.82972 4.12315 9.97825 3.82513 10.1448 3.65854C10.3114 3.49196 10.6094 3.34342 10.8993 3.23244C11.0384 3.17918 11.1655 3.13832 11.2577 3.11081C11.3036 3.0971 11.3406 3.0868 11.3657 3.08004C11.3782 3.07666 11.3877 3.07417 11.3939 3.07258L11.4006 3.07087L11.4019 3.07053C11.5333 3.03803 11.6257 2.92011 11.6257 2.78477C11.6257 2.6494 11.5334 2.53149 11.402 2.49903L11.4006 2.49867L11.3939 2.49696C11.3877 2.49537 11.3782 2.49287 11.3657 2.48949C11.3406 2.48273 11.3036 2.47244 11.2577 2.45872C11.1655 2.43122 11.0384 2.39035 10.8993 2.33709C10.6094 2.22611 10.3114 2.07757 10.1448 1.91099C9.97825 1.74441 9.82972 1.44638 9.71873 1.1565C9.66548 1.0174 9.62461 0.890364 9.59711 0.798175C9.58339 0.752211 9.5731 0.715244 9.56633 0.690173C9.56295 0.677645 9.56046 0.668112 9.55887 0.661938L9.55716 0.655251L9.5568 0.653814ZM10.4426 2.78477C10.1928 2.67242 9.92218 2.52084 9.72859 2.32724C9.53499 2.13364 9.38341 1.86299 9.27106 1.61323C9.15872 1.86299 9.00714 2.13364 8.81354 2.32724C8.61994 2.52084 8.34928 2.67242 8.09952 2.78477C8.34928 2.89711 8.61994 3.04869 8.81354 3.24229C9.00714 3.43589 9.15872 3.70654 9.27106 3.95631C9.38341 3.70654 9.53499 3.43589 9.72859 3.24229C9.92218 3.04869 10.1928 2.89711 10.4426 2.78477Z"}),(0,a.jsx)("path",{d:"M9.90356 6.32335C9.87931 6.22534 9.79133 6.15641 9.69035 6.15641C9.58934 6.15641 9.50136 6.2253 9.47714 6.32335L9.47687 6.32442L9.47559 6.32942C9.47441 6.33402 9.47255 6.34114 9.47002 6.35048C9.46498 6.36919 9.45729 6.39677 9.44706 6.43107C9.42654 6.49986 9.39604 6.59465 9.35631 6.69845C9.27349 6.91475 9.16266 7.13713 9.03835 7.26143C8.91405 7.38574 8.69167 7.49657 8.47537 7.57939C8.37157 7.61912 8.27678 7.64962 8.20799 7.67014C8.17369 7.68037 8.14611 7.68806 8.1274 7.6931C8.11805 7.69563 8.11094 7.69749 8.10634 7.69867L8.10134 7.69995C8.00333 7.7242 7.93333 7.81245 7.93333 7.91343C7.93333 8.01444 8.00222 8.10242 8.10027 8.12665L8.10634 8.12819C8.11094 8.12938 8.11805 8.13124 8.1274 8.13376C8.14611 8.1388 8.17369 8.14649 8.20799 8.15672C8.27678 8.17724 8.37157 8.20774 8.47537 8.24748C8.69167 8.33029 8.91405 8.44113 9.03835 8.56543C9.16266 8.68973 9.27349 8.91211 9.35631 9.12842C9.39604 9.23221 9.42654 9.327 9.44706 9.39579C9.45729 9.43009 9.46498 9.45767 9.47002 9.47638C9.47255 9.48573 9.47441 9.49284 9.47559 9.49745L9.47687 9.50244C9.50112 9.60045 9.58937 9.67045 9.69035 9.67045C9.79136 9.67045 9.87934 9.60156 9.90356 9.50351L9.90383 9.50244L9.90511 9.49745C9.9063 9.49284 9.90815 9.48573 9.91068 9.47638C9.91572 9.45767 9.92341 9.43009 9.93364 9.39579C9.95416 9.327 9.98466 9.23221 10.0244 9.12842C10.1072 8.91211 10.218 8.68973 10.3423 8.56543C10.4666 8.44113 10.689 8.33029 10.9053 8.24748C11.0091 8.20774 11.1039 8.17724 11.1727 8.15672C11.207 8.14649 11.2346 8.1388 11.2533 8.13376C11.2626 8.13124 11.2698 8.12938 11.2744 8.12819L11.2794 8.12691C11.3774 8.10267 11.4474 8.01442 11.4474 7.91343C11.4474 7.81242 11.3785 7.72444 11.2804 7.70022L11.2794 7.69995L11.2744 7.69867C11.2698 7.69749 11.2626 7.69563 11.2533 7.6931C11.2346 7.68806 11.207 7.68037 11.1727 7.67014C11.1039 7.64962 11.0091 7.61912 10.9053 7.57939C10.689 7.49657 10.4666 7.38574 10.3423 7.26143C10.218 7.13713 10.1072 6.91475 10.0244 6.69845C9.98466 6.59465 9.95416 6.49986 9.93364 6.43107C9.92341 6.39677 9.91572 6.36919 9.91068 6.35048C9.90815 6.34114 9.9063 6.33402 9.90511 6.32941L9.90383 6.32442L9.90356 6.32335ZM10.5645 7.91343C10.3782 7.8296 10.1762 7.71649 10.0317 7.57203C9.88729 7.42757 9.77418 7.22562 9.69035 7.03925C9.60652 7.22562 9.49341 7.42757 9.34895 7.57203C9.20449 7.71649 9.00254 7.8296 8.81617 7.91343C9.00254 7.99726 9.20449 8.11037 9.34895 8.25483C9.49341 8.39929 9.60652 8.60124 9.69035 8.78761C9.77418 8.60124 9.88729 8.39929 10.0317 8.25483C10.1762 8.11037 10.3782 7.99726 10.5645 7.91343Z"}),(0,a.jsx)("path",{d:"M4.03008 0.707933C4.00583 0.609917 3.91785 0.54099 3.81687 0.54099C3.71586 0.54099 3.62788 0.609881 3.60365 0.707933L3.60338 0.709005L3.60211 0.713995C3.60092 0.718602 3.59906 0.725715 3.59654 0.735063C3.59149 0.753771 3.58381 0.781355 3.57358 0.815652C3.55305 0.884443 3.52256 0.979231 3.48282 1.08303C3.40001 1.29933 3.28917 1.52171 3.16487 1.64601C3.04057 1.77032 2.81819 1.88115 2.60188 1.96397C2.49809 2.0037 2.4033 2.0342 2.33451 2.05472C2.30021 2.06496 2.27263 2.07264 2.25392 2.07768C2.24457 2.08021 2.23746 2.08207 2.23285 2.08325L2.22786 2.08453C2.12984 2.10878 2.05984 2.19703 2.05984 2.29801C2.05984 2.39902 2.12874 2.487 2.22679 2.51123L2.22786 2.51149L2.23285 2.51277C2.23746 2.51396 2.24457 2.51582 2.25392 2.51834C2.27263 2.52338 2.30021 2.53107 2.33451 2.5413C2.4033 2.56182 2.49809 2.59232 2.60188 2.63206C2.81819 2.71487 3.04057 2.82571 3.16487 2.95001C3.28917 3.07431 3.40001 3.29669 3.48282 3.513C3.52256 3.61679 3.55305 3.71158 3.57358 3.78037C3.58381 3.81467 3.59149 3.84225 3.59654 3.86096C3.59906 3.87031 3.60092 3.87742 3.60211 3.88203L3.60338 3.88702C3.62763 3.98503 3.71588 4.05503 3.81687 4.05503C3.91787 4.05503 4.00585 3.98614 4.03008 3.88809L4.03035 3.88702L4.03162 3.88203C4.03281 3.87742 4.03467 3.87031 4.03719 3.86096C4.04224 3.84225 4.04992 3.81467 4.06015 3.78037C4.08068 3.71158 4.11117 3.61679 4.15091 3.513C4.23372 3.29669 4.34456 3.07431 4.46886 2.95001C4.59316 2.82571 4.81554 2.71487 5.03185 2.63206C5.13565 2.59232 5.23043 2.56182 5.29922 2.5413C5.33352 2.53107 5.36111 2.52338 5.37981 2.51834C5.38916 2.51582 5.39627 2.51396 5.40088 2.51277L5.40587 2.51149C5.5039 2.48725 5.57389 2.399 5.57389 2.29801C5.57389 2.197 5.505 2.10902 5.40694 2.0848L5.40587 2.08453L5.40088 2.08325C5.39627 2.08207 5.38916 2.08021 5.37981 2.07768C5.36111 2.07264 5.33352 2.06496 5.29922 2.05472C5.23043 2.0342 5.13565 2.0037 5.03185 1.96397C4.81554 1.88115 4.59316 1.77032 4.46886 1.64601C4.34456 1.52171 4.23372 1.29933 4.15091 1.08303C4.11117 0.979231 4.08068 0.884443 4.06015 0.815652C4.04992 0.781355 4.04224 0.753771 4.03719 0.735063C4.03467 0.725715 4.03281 0.718602 4.03162 0.713995L4.03035 0.709005L4.03008 0.707933ZM4.69105 2.29801C4.50468 2.21418 4.30272 2.10107 4.15826 1.95661C4.0138 1.81215 3.90069 1.6102 3.81687 1.42383C3.73304 1.6102 3.61993 1.81215 3.47547 1.95661C3.33101 2.10107 3.12905 2.21418 2.94268 2.29801C3.12905 2.38184 3.33101 2.49495 3.47547 2.63941C3.61993 2.78387 3.73304 2.98582 3.81687 3.17219C3.9007 2.98582 4.0138 2.78387 4.15826 2.63941C4.30272 2.49495 4.50468 2.38184 4.69105 2.29801Z"}),(0,a.jsx)("path",{d:"M5.68126 4.37775C5.81404 4.24497 6.02931 4.24497 6.16209 4.37775L7.5664 5.78206C7.69918 5.91484 7.69918 6.13011 7.5664 6.26289L2.55813 11.2712C2.15979 11.6695 1.51397 11.6695 1.11563 11.2712L0.672988 10.8285C0.274654 10.4302 0.274653 9.78436 0.672988 9.38602L5.68126 4.37775ZM4.89535 6.12532L1.15382 9.86686C1.02104 9.99964 1.02104 10.2149 1.15382 10.3477L1.59646 10.7903C1.72924 10.9231 1.94452 10.9231 2.0773 10.7903L5.81886 7.04877C5.76742 7.03245 5.72012 7.00397 5.68125 6.9651L4.9791 6.26295C4.93919 6.22303 4.91127 6.17566 4.89535 6.12532ZM5.92167 5.80121L5.70035 6.02253L5.92167 6.24385L6.14299 6.02253L5.92167 5.80121Z"})]}),Ts=({props:e})=>(0,a.jsx)(l.A,{component:Bs,...e}),Zs=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-justify",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0.75 2.22321H11.25C11.3089 2.22321 11.3571 2.175 11.3571 2.11607V1.36607C11.3571 1.30714 11.3089 1.25893 11.25 1.25893L0.75 1.25893C0.691071 1.25893 0.642857 1.30714 0.642857 1.36607V2.11607C0.642857 2.175 0.691071 2.22321 0.75 2.22321ZM11.25 7.90178C11.3089 7.90178 11.3571 7.85357 11.3571 7.79464V7.04464C11.3571 6.98571 11.3089 6.9375 11.25 6.9375H0.75C0.691071 6.9375 0.642857 6.98571 0.642857 7.04464V7.79464C0.642857 7.85357 0.691071 7.90178 0.75 7.90178H11.25ZM11.25 9.77678H0.749999C0.691071 9.77678 0.642857 9.825 0.642857 9.88393V10.6339C0.642857 10.6929 0.691071 10.7411 0.749999 10.7411H11.25C11.3089 10.7411 11.3571 10.6929 11.3571 10.6339V9.88393C11.3571 9.825 11.3089 9.77678 11.25 9.77678ZM11.25 4.09821H0.749999C0.691071 4.09821 0.642857 4.14643 0.642857 4.20536V4.95536C0.642857 5.01428 0.691071 5.0625 0.749999 5.0625H11.25C11.3089 5.0625 11.3571 5.01428 11.3571 4.95536V4.20536C11.3571 4.14643 11.3089 4.09821 11.25 4.09821Z"})}),Rs=({props:e})=>(0,a.jsx)(l.A,{component:Zs,...e}),Os=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"speed",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M5.09583 8.04167C5.32917 8.275 5.63055 8.38924 6 8.38438C6.36944 8.37952 6.64167 8.24584 6.81667 7.98334L10.0833 3.08334L5.18333 6.35C4.92083 6.525 4.78229 6.79236 4.76771 7.15209C4.75312 7.51181 4.8625 7.80834 5.09583 8.04167ZM6 1.33334C6.57361 1.33334 7.12535 1.41354 7.65521 1.57396C8.18507 1.73438 8.68333 1.975 9.15 2.29584L8.04167 2.99584C7.72083 2.83056 7.38785 2.7066 7.04271 2.62396C6.69757 2.54132 6.35 2.5 6 2.5C4.70694 2.5 3.6059 2.95452 2.69687 3.86354C1.78785 4.77257 1.33333 5.87361 1.33333 7.16667C1.33333 7.575 1.38924 7.97847 1.50104 8.37709C1.61285 8.7757 1.77083 9.15 1.975 9.5H10.025C10.2486 9.13056 10.4115 8.74653 10.5135 8.34792C10.6156 7.94931 10.6667 7.53611 10.6667 7.10834C10.6667 6.75834 10.6253 6.41806 10.5427 6.0875C10.4601 5.75695 10.3361 5.43611 10.1708 5.125L10.8708 4.01667C11.1625 4.47361 11.3934 4.95972 11.5635 5.475C11.7337 5.99028 11.8236 6.525 11.8333 7.07917C11.8431 7.63334 11.7799 8.1632 11.6437 8.66875C11.5076 9.17431 11.3083 9.65556 11.0458 10.1125C10.9389 10.2875 10.7931 10.4236 10.6083 10.5208C10.4236 10.6181 10.2292 10.6667 10.025 10.6667H1.975C1.77083 10.6667 1.57639 10.6181 1.39167 10.5208C1.20694 10.4236 1.06111 10.2875 0.954166 10.1125C0.701388 9.675 0.506944 9.21077 0.370833 8.71979C0.234722 8.22882 0.166666 7.71111 0.166666 7.16667C0.166666 6.35972 0.319791 5.60382 0.626041 4.89896C0.932291 4.1941 1.35035 3.57674 1.88021 3.04688C2.41007 2.51702 3.02986 2.09896 3.73958 1.79271C4.4493 1.48646 5.20278 1.33334 6 1.33334Z"})}),Ds=({props:e})=>(0,a.jsx)(l.A,{component:Os,...e}),Ps=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"replacer",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M8.08337 10V9.16663H9.58337C9.74721 9.16663 9.88538 9.11075 9.99788 8.999C10.1104 8.88717 10.1666 8.74863 10.1666 8.58338V7.41663C10.1666 7.10554 10.2597 6.82637 10.4459 6.57912C10.632 6.33196 10.8722 6.15975 11.1666 6.0625V5.9375C10.8722 5.84583 10.632 5.675 10.4459 5.425C10.2597 5.175 10.1666 4.89446 10.1666 4.58337V3.41663C10.1666 3.25138 10.1108 3.11283 9.999 3.001C9.88717 2.88925 9.74862 2.83337 9.58337 2.83337H8.08337V2H9.58337C9.97779 2 10.3125 2.13775 10.5875 2.41325C10.8625 2.68867 11 3.02313 11 3.41663V4.58337C11 4.74862 11.0559 4.88717 11.1678 4.999C11.2795 5.11075 11.418 5.16663 11.5834 5.16663H12V6.83338H11.5834C11.418 6.83338 11.2795 6.88925 11.1678 7.001C11.0559 7.11283 11 7.25138 11 7.41663V8.58338C11 8.97688 10.8623 9.31133 10.5868 9.58675C10.3113 9.86225 9.97687 10 9.58337 10H8.08337ZM2.41662 10C2.02221 10 1.6875 9.86225 1.4125 9.58675C1.1375 9.31133 1 8.97688 1 8.58338V7.41663C1 7.25138 0.944083 7.11283 0.83225 7.001C0.7205 6.88925 0.581958 6.83338 0.416625 6.83338H0V5.16663H0.416625C0.581958 5.16663 0.7205 5.11075 0.83225 4.999C0.944083 4.88717 1 4.74862 1 4.58337V3.41663C1 3.02313 1.13775 2.68867 1.41325 2.41325C1.68867 2.13775 2.02312 2 2.41662 2H3.91662V2.83337H2.41662C2.25279 2.83337 2.11463 2.88925 2.00213 3.001C1.88963 3.11283 1.83337 3.25138 1.83337 3.41663V4.58337C1.83337 4.89446 1.74029 5.175 1.55413 5.425C1.36804 5.675 1.12779 5.84583 0.833375 5.9375V6.0625C1.12779 6.15975 1.36804 6.33196 1.55413 6.57912C1.74029 6.82637 1.83337 7.10554 1.83337 7.41663V8.58338C1.83337 8.74863 1.88925 8.88717 2.001 8.999C2.11283 9.11075 2.25137 9.16663 2.41662 9.16663H3.91662V10H2.41662Z"}),(0,a.jsx)("path",{d:"M6.48214 7.88473V7.13473C6.48214 7.0758 6.43393 7.02759 6.375 7.02759H5.625C5.56607 7.02759 5.51786 7.0758 5.51786 7.13473V7.88473C5.51786 7.94366 5.56607 7.99187 5.625 7.99187H6.375C6.43393 7.99187 6.48214 7.94366 6.48214 7.88473ZM4.25893 7.88473V7.13473C4.25893 7.0758 4.21072 7.02759 4.15179 7.02759H3.40179C3.34286 7.02759 3.29464 7.0758 3.29464 7.13473V7.88473C3.29464 7.94366 3.34286 7.99187 3.40179 7.99187H4.15179C4.21072 7.99187 4.25893 7.94366 4.25893 7.88473ZM8.70536 7.88473V7.13473C8.70536 7.0758 8.65715 7.02759 8.59822 7.02759H7.84822C7.78929 7.02759 7.74107 7.0758 7.74107 7.13473V7.88473C7.74107 7.94366 7.78929 7.99187 7.84822 7.99187H8.59822C8.65715 7.99187 8.70536 7.94366 8.70536 7.88473Z"})]}),zs=({props:e})=>(0,a.jsx)(l.A,{component:Ps,...e}),Fs=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"editor-mode",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1 7.14578V6.10422H5.07403V7.14578H1ZM1 4.59375V3.55203H7.38889V4.59375H1ZM1 2.04172V1H7.38889V2.04172H1ZM6 11V9.07812L9.06944 5.64062C9.15278 5.54688 9.24537 5.47917 9.34722 5.4375C9.44907 5.39583 9.55093 5.375 9.65278 5.375C9.76389 5.375 9.87037 5.39844 9.97222 5.44531C10.0741 5.49219 10.1667 5.5625 10.25 5.65625L10.7639 6.23438C10.8442 6.32812 10.9036 6.43229 10.9421 6.54688C10.9807 6.66146 11 6.77604 11 6.89062C11 7.00521 10.98 7.1224 10.9399 7.24219C10.8997 7.36198 10.8382 7.46875 10.7554 7.5625L7.70833 11H6ZM6.83333 10.0625H7.36111L9.04167 8.15625L8.79167 7.85938L8.52778 7.57812L6.83333 9.46875V10.0625ZM8.79167 7.85938L8.52778 7.57812L9.04167 8.15625L8.79167 7.85938Z"})}),Us=({props:e})=>(0,a.jsx)(l.A,{component:Fs,...e}),qs=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"designer-mode",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 12C5.18 12 4.405 11.8425 3.675 11.5275C2.945 11.2125 2.3075 10.7825 1.7625 10.2375C1.2175 9.6925 0.7875 9.055 0.4725 8.325C0.1575 7.595 0 6.82 0 6C0 5.1567 0.16085 4.37005 0.48255 3.64005C0.80415 2.91005 1.24245 2.27505 1.79745 1.73505C2.35245 1.19505 3.00165 0.77085 3.74505 0.46245C4.48835 0.15415 5.28335 0 6.13005 0C6.92335 0 7.675 0.13415 8.385 0.40245C9.095 0.67085 9.7175 1.04255 10.2525 1.51755C10.7875 1.99255 11.2125 2.55585 11.5275 3.20745C11.8425 3.85915 12 4.57 12 5.34C12 6.4433 11.6733 7.3058 11.02 7.9275C10.3666 8.5492 9.52665 8.86005 8.50005 8.86005H7.38C7.23 8.86005 7.10585 8.91505 7.00755 9.02505C6.90915 9.13505 6.85995 9.2567 6.85995 9.39C6.85995 9.61 6.9333 9.82085 7.08 10.0225C7.2267 10.2241 7.30005 10.4566 7.30005 10.72C7.30005 11.14 7.1842 11.4584 6.9525 11.6749C6.7208 11.8916 6.4033 12 6 12ZM2.56995 6.46005C2.78995 6.46005 2.9783 6.3817 3.135 6.225C3.2917 6.0683 3.37005 5.87995 3.37005 5.65995C3.37005 5.43995 3.2917 5.25165 3.135 5.09505C2.9783 4.93835 2.78995 4.86 2.56995 4.86C2.34995 4.86 2.16165 4.93835 2.00505 5.09505C1.84835 5.25165 1.77 5.43995 1.77 5.65995C1.77 5.87995 1.84835 6.0683 2.00505 6.225C2.16165 6.3817 2.34995 6.46005 2.56995 6.46005ZM4.42995 3.96C4.64995 3.96 4.8383 3.88165 4.995 3.72495C5.1517 3.56835 5.23005 3.38005 5.23005 3.16005C5.23005 2.94005 5.1517 2.7517 4.995 2.595C4.8383 2.4383 4.64995 2.35995 4.42995 2.35995C4.20995 2.35995 4.02165 2.4383 3.86505 2.595C3.70835 2.7517 3.63 2.94005 3.63 3.16005C3.63 3.38005 3.70835 3.56835 3.86505 3.72495C4.02165 3.88165 4.20995 3.96 4.42995 3.96ZM7.57005 3.96C7.79005 3.96 7.97835 3.88165 8.13495 3.72495C8.29165 3.56835 8.37 3.38005 8.37 3.16005C8.37 2.94005 8.29165 2.7517 8.13495 2.595C7.97835 2.4383 7.79005 2.35995 7.57005 2.35995C7.35005 2.35995 7.1617 2.4383 7.005 2.595C6.8483 2.7517 6.76995 2.94005 6.76995 3.16005C6.76995 3.38005 6.8483 3.56835 7.005 3.72495C7.1617 3.88165 7.35005 3.96 7.57005 3.96ZM9.48 6.46005C9.7 6.46005 9.88835 6.3817 10.045 6.225C10.2016 6.0683 10.28 5.87995 10.28 5.65995C10.28 5.43995 10.2016 5.25165 10.045 5.09505C9.88835 4.93835 9.7 4.86 9.48 4.86C9.26 4.86 9.07165 4.93835 8.91495 5.09505C8.75835 5.25165 8.68005 5.43995 8.68005 5.65995C8.68005 5.87995 8.75835 6.0683 8.91495 6.225C9.07165 6.3817 9.26 6.46005 9.48 6.46005ZM6 11C6.1033 11 6.17915 10.9766 6.22755 10.93C6.27585 10.8833 6.3 10.8133 6.3 10.72C6.3 10.58 6.22665 10.4384 6.07995 10.295C5.93335 10.1517 5.86005 9.88 5.86005 9.48C5.86005 9.0333 6.00835 8.65165 6.30495 8.33505C6.60165 8.01835 6.97335 7.86 7.42005 7.86H8.50005C9.22665 7.86 9.82495 7.6475 10.295 7.2225C10.765 6.7975 11 6.17 11 5.34C11 4.0567 10.5125 3.01255 9.53745 2.20755C8.56245 1.40255 7.42665 1.00005 6.13005 1.00005C4.70335 1.00005 3.49165 1.48335 2.49495 2.44995C1.49835 3.41665 1.00005 4.6 1.00005 6C1.00005 7.3833 1.48755 8.56245 2.46255 9.53745C3.43755 10.5125 4.6167 11 6 11Z"})}),Gs=({props:e})=>(0,a.jsx)(l.A,{component:qs,...e}),Ks=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"clear-chat",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0 9.5V8.33327H9.33333V9.5H0ZM1.33333 6.58327V5.41672H10.6667V6.58327H1.33333ZM2.66667 3.66672V2.5H12V3.66672H2.66667Z"})}),$s=({props:e})=>(0,a.jsx)(l.A,{component:Ks,...e}),Ws=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"webhook",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M2.89995 11.7C2.10335 11.7 1.42085 11.4159 0.85245 10.8476C0.28415 10.2792 0 9.59665 0 8.80005C0 8.11005 0.20585 7.50755 0.61755 6.99255C1.02915 6.47755 1.55665 6.14335 2.20005 5.98995V7.035C1.85005 7.1683 1.56255 7.39495 1.33755 7.71495C1.11255 8.03495 1.00005 8.39665 1.00005 8.80005C1.00005 9.32665 1.18505 9.77495 1.55505 10.145C1.92505 10.515 2.37335 10.7 2.89995 10.7C3.42665 10.7 3.875 10.515 4.245 10.145C4.615 9.77495 4.8 9.32665 4.8 8.80005V8.29995H8.46495C8.54495 8.20995 8.6408 8.13745 8.7525 8.08245C8.8642 8.02745 8.98005 7.99995 9.10005 7.99995C9.32335 7.99995 9.5125 8.07745 9.6675 8.23245C9.8225 8.38745 9.9 8.57665 9.9 8.80005C9.9 9.01665 9.8225 9.20415 9.6675 9.36255C9.5125 9.52085 9.32335 9.6 9.10005 9.6C8.98005 9.6 8.8642 9.5725 8.7525 9.5175C8.6408 9.4625 8.54495 9.39 8.46495 9.3H5.76C5.62 9.99 5.28415 10.5625 4.75245 11.0175C4.22085 11.4725 3.60335 11.7 2.89995 11.7ZM9.10005 11.7C8.59335 11.7 8.12915 11.5809 7.70745 11.3426C7.28585 11.1042 6.94505 10.79 6.68505 10.4H8.08005C8.22665 10.5 8.38665 10.575 8.56005 10.625C8.73335 10.675 8.91335 10.7 9.10005 10.7C9.62665 10.7 10.075 10.515 10.445 10.145C10.815 9.77495 11 9.32665 11 8.80005C11 8.27335 10.815 7.825 10.445 7.455C10.075 7.085 9.62665 6.9 9.10005 6.9C8.90665 6.9 8.7283 6.92415 8.565 6.97245C8.4017 7.02085 8.24505 7.09335 8.09505 7.18995L6.195 3.99495C5.9917 3.95495 5.82505 3.8633 5.69505 3.72C5.56505 3.5767 5.50005 3.40335 5.50005 3.19995C5.50005 2.97665 5.5792 2.7875 5.7375 2.6325C5.8958 2.4775 6.0833 2.4 6.3 2.4C6.5233 2.4 6.71245 2.4775 6.86745 2.6325C7.02245 2.7875 7.09995 2.97665 7.09995 3.19995C7.09995 3.24335 7.0983 3.28255 7.095 3.31755C7.0917 3.35255 7.08005 3.4017 7.06005 3.465L8.52495 5.955C8.62495 5.935 8.72495 5.92085 8.82495 5.91255C8.92495 5.90415 9.01665 5.89995 9.10005 5.89995C9.90335 5.89995 10.5875 6.18245 11.1525 6.74745C11.7175 7.31245 12 7.99665 12 8.80005C12 9.59665 11.7175 10.2792 11.1525 10.8476C10.5875 11.4159 9.90335 11.7 9.10005 11.7ZM2.89995 9.6C2.68335 9.6 2.49585 9.52085 2.33745 9.36255C2.17915 9.20415 2.1 9.01665 2.1 8.80005C2.1 8.60665 2.165 8.4383 2.295 8.295C2.425 8.1517 2.58665 8.05505 2.77995 8.00505L4.36005 5.355C4.06335 5.0717 3.82915 4.74585 3.65745 4.37745C3.48585 4.00915 3.40005 3.61665 3.40005 3.19995C3.40005 2.39665 3.6842 1.7125 4.2525 1.1475C4.8208 0.582503 5.5033 0.300003 6.3 0.300003C7.0833 0.300003 7.7558 0.572503 8.3175 1.1175C8.8792 1.6625 9.17335 2.32335 9.19995 3.10005H8.20005C8.18005 2.59335 7.9867 2.16665 7.62 1.81995C7.2533 1.47335 6.8133 1.30005 6.3 1.30005C5.7733 1.30005 5.32495 1.48505 4.95495 1.85505C4.58495 2.22505 4.39995 2.67335 4.39995 3.19995C4.39995 3.62335 4.52495 4.00085 4.77495 4.33245C5.02495 4.66415 5.3433 4.89165 5.73 5.01495L3.645 8.52C3.665 8.5767 3.67915 8.6267 3.68745 8.67C3.69585 8.7133 3.70005 8.75665 3.70005 8.80005C3.70005 9.01665 3.62255 9.20415 3.46755 9.36255C3.31255 9.52085 3.12335 9.6 2.89995 9.6Z"})}),Xs=({props:e})=>(0,a.jsx)(l.A,{component:Ws,...e}),Ys=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"lock",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1.5 12V4.5H3V3C3 2.175 3.29375 1.46875 3.88125 0.881251C4.46875 0.293751 5.175 0 6 0C6.825 0 7.53125 0.293751 8.11875 0.881251C8.70625 1.46875 9 2.175 9 3V4.5H10.5V12H1.5ZM4.5 4.5H7.5V3C7.5 2.575 7.35625 2.21875 7.06875 1.93125C6.78125 1.64375 6.425 1.5 6 1.5C5.575 1.5 5.21875 1.64375 4.93125 1.93125C4.64375 2.21875 4.5 2.575 4.5 3V4.5Z"})}),Js=({props:e})=>(0,a.jsx)(l.A,{component:Ys,...e}),Qs=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"web",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 12C5.1667 12 4.38505 11.8425 3.65505 11.5275C2.92505 11.2125 2.2892 10.7842 1.7475 10.2425C1.2058 9.70085 0.77915 9.06335 0.46755 8.32995C0.15585 7.59665 0 6.81335 0 5.98005C0 5.14335 0.15585 4.3625 0.46755 3.6375C0.77915 2.9125 1.2058 2.27915 1.7475 1.73745C2.2892 1.19585 2.92505 0.77085 3.65505 0.46245C4.38505 0.15415 5.1667 0 6 0C6.8367 0 7.6192 0.15415 8.3475 0.46245C9.0758 0.77085 9.7108 1.19585 10.2525 1.73745C10.7942 2.27915 11.2209 2.9125 11.5325 3.6375C11.8442 4.3625 12 5.14335 12 5.98005C12 6.81335 11.8442 7.59665 11.5325 8.32995C11.2209 9.06335 10.7942 9.70085 10.2525 10.2425C9.7108 10.7842 9.0758 11.2125 8.3475 11.5275C7.6192 11.8425 6.8367 12 6 12ZM6 11.01C6.32 10.65 6.59 10.25 6.81 9.81C7.03 9.37 7.21 8.86335 7.35 8.29005H4.66005C4.79335 8.83665 4.97 9.33495 5.19 9.78495C5.41 10.235 5.68 10.6433 6 11.01ZM4.63005 10.81C4.40335 10.4466 4.2075 10.0591 4.0425 9.64755C3.8775 9.23585 3.74 8.78335 3.63 8.29005H1.54005C1.89005 8.93005 2.3042 9.4467 2.7825 9.84C3.2608 10.2333 3.87665 10.5566 4.63005 10.81ZM7.38 10.8C8.0467 10.5867 8.6442 10.265 9.1725 9.83505C9.7008 9.40505 10.13 8.89005 10.46 8.29005H8.38005C8.26335 8.77665 8.12415 9.2258 7.96245 9.6375C7.80085 10.0492 7.6067 10.4367 7.38 10.8ZM1.17 7.29H3.43995C3.40995 7.0433 3.3908 6.8158 3.3825 6.6075C3.3742 6.3992 3.37005 6.19005 3.37005 5.98005C3.37005 5.74335 3.37585 5.5275 3.38745 5.3325C3.39915 5.1375 3.42 4.92665 3.45 4.69995H1.17C1.1067 4.92665 1.06255 5.13585 1.03755 5.32755C1.01255 5.51915 1.00005 5.73665 1.00005 5.98005C1.00005 6.22335 1.01255 6.44585 1.03755 6.64755C1.06255 6.84915 1.1067 7.0633 1.17 7.29ZM4.45995 7.29H7.54995C7.58665 7.0167 7.61085 6.78255 7.62255 6.58755C7.63415 6.39255 7.63995 6.19005 7.63995 5.98005C7.63995 5.77665 7.63415 5.5808 7.62255 5.3925C7.61085 5.2042 7.58665 4.97335 7.54995 4.69995H4.45995C4.42335 4.97335 4.3992 5.2042 4.3875 5.3925C4.3758 5.5808 4.36995 5.77665 4.36995 5.98005C4.36995 6.19005 4.3758 6.39255 4.3875 6.58755C4.3992 6.78255 4.42335 7.0167 4.45995 7.29ZM8.55 7.29H10.83C10.8933 7.0633 10.9375 6.84915 10.9625 6.64755C10.9875 6.44585 11 6.22335 11 5.98005C11 5.73665 10.9875 5.51915 10.9625 5.32755C10.9375 5.13585 10.8933 4.92665 10.83 4.69995H8.56005C8.59005 4.99995 8.61085 5.24415 8.62245 5.43255C8.63415 5.62085 8.64 5.80335 8.64 5.98005C8.64 6.19665 8.6325 6.40245 8.6175 6.59745C8.6025 6.79245 8.58 7.0233 8.55 7.29ZM8.37 3.70005H10.46C10.1434 3.07335 9.72085 2.545 9.19245 2.115C8.66415 1.685 8.05665 1.37665 7.36995 1.18995C7.59665 1.54665 7.79085 1.9275 7.95255 2.3325C8.11415 2.7375 8.2533 3.19335 8.37 3.70005ZM4.66005 3.70005H7.36005C7.24665 3.20005 7.07165 2.72005 6.83505 2.26005C6.59835 1.80005 6.32 1.38335 6 1.00995C5.7 1.30995 5.445 1.67165 5.235 2.09505C5.025 2.51835 4.83335 3.05335 4.66005 3.70005ZM1.54005 3.70005H3.64005C3.74335 3.21335 3.87415 2.76915 4.03245 2.36745C4.19085 1.96585 4.3867 1.5767 4.62 1.2C3.9333 1.3867 3.3308 1.6917 2.8125 2.115C2.2942 2.5383 1.87005 3.06665 1.54005 3.70005Z"})}),el=({props:e})=>(0,a.jsx)(l.A,{component:Qs,...e}),tl=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"acordion",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1.5 10V9.16663H10.5V10H1.5ZM1.5 2.83337V2H10.5V2.83337H1.5ZM2.33337 7.90838C2.10837 7.90838 1.91321 7.82571 1.74788 7.66037C1.58263 7.49512 1.5 7.3 1.5 7.075V4.925C1.5 4.7 1.58263 4.50487 1.74788 4.33962C1.91321 4.17429 2.10837 4.09163 2.33337 4.09163H9.66663C9.89163 4.09163 10.0868 4.17429 10.2521 4.33962C10.4174 4.50487 10.5 4.7 10.5 4.925V7.075C10.5 7.3 10.4174 7.49512 10.2521 7.66037C10.0868 7.82571 9.89163 7.90838 9.66663 7.90838H2.33337ZM2.33337 7.075H9.66663V4.925H2.33337V7.075Z"})}),sl=({props:e})=>(0,a.jsx)(l.A,{component:tl,...e}),ll=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"carousel",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0 7.73684V4.25716C0 3.96979 0.102474 3.72384 0.307421 3.51932C0.512263 3.31479 0.758579 3.21253 1.04637 3.21253C1.33426 3.21253 1.58 3.31479 1.78358 3.51932C1.98726 3.72384 2.08911 3.96979 2.08911 4.25716V7.73684C2.08911 8.02863 1.98663 8.27568 1.78168 8.478C1.57684 8.68021 1.33053 8.78132 1.04274 8.78132C0.754842 8.78132 0.509105 8.68021 0.305526 8.478C0.101842 8.27568 0 8.02863 0 7.73684ZM3.98384 10.1053C3.73616 10.1053 3.52242 10.0154 3.34263 9.83558C3.16284 9.65579 3.07295 9.44205 3.07295 9.19437V2.80563C3.07295 2.55795 3.16284 2.34421 3.34263 2.16442C3.52242 1.98463 3.73616 1.89474 3.98384 1.89474H8.01616C8.26384 1.89474 8.47758 1.98463 8.65737 2.16442C8.83716 2.34421 8.92705 2.55795 8.92705 2.80563V9.19437C8.92705 9.44205 8.83716 9.65579 8.65737 9.83558C8.47758 10.0154 8.26384 10.1053 8.01616 10.1053H3.98384ZM9.91089 7.73684V4.25716C9.91089 3.96979 10.0134 3.72384 10.2183 3.51932C10.4232 3.31479 10.6695 3.21253 10.9573 3.21253C11.2452 3.21253 11.4909 3.31479 11.6945 3.51932C11.8982 3.72384 12 3.96979 12 4.25716V7.73684C12 8.02863 11.8975 8.27568 11.6926 8.478C11.4877 8.68021 11.2414 8.78132 10.9536 8.78132C10.6657 8.78132 10.42 8.68021 10.2164 8.478C10.0127 8.27568 9.91089 8.02863 9.91089 7.73684ZM3.98384 9.38858H8.01616C8.07289 9.38858 8.11947 9.37037 8.15589 9.33395C8.19232 9.29753 8.21053 9.251 8.21053 9.19437V2.80563C8.21053 2.749 8.19232 2.70247 8.15589 2.66605C8.11947 2.62963 8.07289 2.61142 8.01616 2.61142H3.98384C3.92711 2.61142 3.88053 2.62963 3.84411 2.66605C3.80768 2.70247 3.78947 2.749 3.78947 2.80563V9.19437C3.78947 9.251 3.80768 9.29753 3.84411 9.33395C3.88053 9.37037 3.92711 9.38858 3.98384 9.38858Z"})}),il=({props:e})=>(0,a.jsx)(l.A,{component:ll,...e}),al=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"reload",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M15.0625 24.6874C12.359 24.6874 10.0581 23.7467 8.1599 21.8653C6.26167 19.9839 5.31255 17.6955 5.31255 15V14.0239L3.00002 16.3365L1.68274 15.0192L6.25002 10.4519L10.8173 15.0192L9.50002 16.3365L7.18749 14.0239V15C7.18749 17.1714 7.95192 19.0164 9.48077 20.5348C11.0096 22.0533 12.8702 22.8125 15.0625 22.8125C15.5801 22.8125 16.0974 22.756 16.6142 22.643C17.131 22.5301 17.6354 22.3606 18.1274 22.1346L19.5336 23.5408C18.8301 23.919 18.1038 24.2047 17.3546 24.3978C16.6054 24.5909 15.8414 24.6874 15.0625 24.6874ZM23.75 19.548L19.1827 14.9808L20.5 13.6635L22.8126 15.976V15C22.8126 12.8285 22.0481 10.9835 20.5193 9.46509C18.9904 7.94666 17.1298 7.18744 14.9375 7.18744C14.4199 7.18744 13.9027 7.24393 13.3858 7.35691C12.869 7.46989 12.3646 7.63935 11.8726 7.86531L10.4664 6.45913C11.1699 6.08092 11.8963 5.79526 12.6455 5.60216C13.3947 5.40905 14.1587 5.3125 14.9375 5.3125C17.641 5.3125 19.9419 6.2532 21.8401 8.13459C23.7384 10.016 24.6875 12.3045 24.6875 15V15.976L27 13.6635L28.3173 14.9808L23.75 19.548Z"})}),ol=({props:e})=>(0,a.jsx)(l.A,{component:al,...e}),nl=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"add-slide",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6.49995 7.42005H7.5V5.50005H9.42V4.5H7.5V2.58H6.49995V4.5H4.57995V5.50005H6.49995V7.42005ZM3 10C2.73 10 2.49585 9.90085 2.29755 9.70245C2.09915 9.50415 1.99995 9.27 1.99995 9V1.00005C1.99995 0.73005 2.09915 0.49585 2.29755 0.29745C2.49585 0.0991503 2.73 0 3 0H11C11.27 0 11.5041 0.0991503 11.7025 0.29745C11.9008 0.49585 12 0.73005 12 1.00005V9C12 9.27 11.9008 9.50415 11.7025 9.70245C11.5041 9.90085 11.27 10 11 10H3ZM3 9H11V1.00005H3V9ZM1.00005 12C0.73005 12 0.49585 11.9008 0.29745 11.7025C0.09915 11.5041 0 11.27 0 11V1.99995H1.00005V11H10V12H1.00005Z"})}),rl=({props:e})=>(0,a.jsx)(l.A,{component:nl,...e}),cl=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"amp",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M4.88673 10.454L8.74382 5.82959H6.04045L6.55631 1.75526L3.08385 6.7769H5.41199L4.88673 10.454ZM3.85613 12L4.49319 7.57736H1.54678L6.79632 0H7.58039L6.94954 5.02912H10.4532L4.64019 12H3.85613Z"})}),dl=({props:e})=>(0,a.jsx)(l.A,{component:cl,...e}),ml=()=>(0,a.jsxs)("svg",{width:"18",height:"19",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"0.371338",y:"0.878906",width:"17.29",height:"17.29",rx:"8.645",fill:"white"}),(0,a.jsx)("path",{d:"M5.30034 14.1689L4.37134 13.2399L8.08734 9.52391L4.37134 5.80791L5.30034 4.87891L9.01634 8.59491L12.7323 4.87891L13.6613 5.80791L9.94534 9.52391L13.6613 13.2399L12.7323 14.1689L9.01634 10.4529L5.30034 14.1689Z",fill:"#1677FF"})]}),pl=({props:e})=>(0,a.jsx)(l.A,{component:ml,...e}),ul=()=>(0,a.jsxs)("svg",{width:"18",height:"19",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"0.371338",y:"0.878906",width:"17.29",height:"17.29",rx:"8.645",fill:"#1F1F1F"}),(0,a.jsx)("path",{d:"M5.30034 14.1689L4.37134 13.2399L8.08734 9.52391L4.37134 5.80791L5.30034 4.87891L9.01634 8.59491L12.7323 4.87891L13.6613 5.80791L9.94534 9.52391L13.6613 13.2399L12.7323 14.1689L9.01634 10.4529L5.30034 14.1689Z",fill:"white"})]}),hl=({props:e})=>(0,a.jsx)(l.A,{component:ul,...e}),Cl=()=>(0,a.jsx)("svg",{width:"8",height:"13",viewBox:"0 0 8 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M5.04156 6.58339L0.208313 1.75014L1.39156 0.566895L7.40831 6.58339L1.39156 12.6001L0.208313 11.4169L5.04156 6.58339Z",fill:"#545456"})}),gl=({props:e})=>(0,a.jsx)(l.A,{component:Cl,...e}),xl=({icon:e,...t})=>{const s=(0,i.rD)();if(s.icons&&s.icons[e]){const l=s.icons[e].replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?(?:script|embed|object|frameset|frame|iframe|applet|meta)[^>]*>/gi,"").replace(/ on\w+="[^"]*"/g,"").replace(/ on\w+='[^']*'/g,"");return(0,a.jsx)(bs,{svgString:l,...t})}switch(e){case"AddSlide":return(0,a.jsx)(rl,{props:t});case"AMP":return(0,a.jsx)(dl,{props:t});case"ElementAccordion":return(0,a.jsx)(sl,{props:t});case"Reload":return(0,a.jsx)(ol,{props:t});case"Web":return(0,a.jsx)(el,{props:t});case"Lock":return(0,a.jsx)(Js,{props:t});case"DesignerMode":return(0,a.jsx)(Gs,{props:t});case"EditorMode":return(0,a.jsx)(Us,{props:t});case"ClearChat":return(0,a.jsx)($s,{props:t});case"Speed":return(0,a.jsx)(Ds,{props:t});case"Justify":return(0,a.jsx)(Rs,{props:t});case"Colorize":return(0,a.jsx)(Ls,{props:t});case"Email":return(0,a.jsx)(As,{props:t});case"Table":return(0,a.jsx)(_s,{props:t});case"Button":return(0,a.jsx)(fs,{props:t});case"Group":return(0,a.jsx)(xs,{props:t});case"Block":return(0,a.jsx)(Cs,{props:t});case"Column":return(0,a.jsx)(us,{props:t});case"Atom":return(0,a.jsx)(ms,{props:t});case"Styles":return(0,a.jsx)(m,{props:t});case"Close":return(0,a.jsx)(u,{props:t});case"Drop":return(0,a.jsx)(C,{props:t});case"DarkWhite":return(0,a.jsx)(x,{props:t});case"MinWidth":return(0,a.jsx)(f,{props:t});case"MaxWidth":return(0,a.jsx)(_,{props:t});case"BgPositionHorizontal":return(0,a.jsx)(A,{props:t});case"BgPositionVertical":return(0,a.jsx)(L,{props:t});case"UpTo":return(0,a.jsx)(k,{props:t});case"VerticalOffset":return(0,a.jsx)(S,{props:t});case"AlignHorizontalLeft":return(0,a.jsx)(V,{props:t});case"AlignHorizontalCenter":return(0,a.jsx)(N,{props:t});case"AlignHorizontalRight":return(0,a.jsx)(B,{props:t});case"AlignVerticalTop":return(0,a.jsx)(Z,{props:t});case"AlignVerticalCenter":return(0,a.jsx)(O,{props:t});case"AlignVerticalBottom":return(0,a.jsx)(P,{props:t});case"MixedView":return(0,a.jsx)(F,{props:t});case"LandscapeView":return(0,a.jsx)(q,{props:t});case"PortraitView":return(0,a.jsx)(K,{props:t});case"SquareView":return(0,a.jsx)(W,{props:t});case"PanelLeft":return(0,a.jsx)(Y,{props:t});case"Sun":return(0,a.jsx)(Q,{props:t});case"Crescent":return(0,a.jsx)(te,{props:t});case"Vimeo":return(0,a.jsx)(le,{props:t});case"Image":return(0,a.jsx)(ae,{props:t});case"Blur":return(0,a.jsx)(ne,{props:t});case"ZoomOutMap":return(0,a.jsx)(ce,{props:t});case"Paragraph":return(0,a.jsx)(me,{props:t});case"ElementImage":return(0,a.jsx)(ue,{props:t});case"ElementImageAI":return(0,a.jsx)(Ce,{props:t});case"ElementText":return(0,a.jsx)(xe,{props:t});case"ElementTitle":return(0,a.jsx)(fe,{props:t});case"ElementButton":return(0,a.jsx)(_e,{props:t});case"ElementSpacer":return(0,a.jsx)(Ae,{props:t});case"ElementListUL":return(0,a.jsx)(Le,{props:t});case"ElementListOL":return(0,a.jsx)(ke,{props:t});case"ElementDivider":return(0,a.jsx)(Se,{props:t});case"ElementSocial":return(0,a.jsx)(Ve,{props:t});case"ElementTable":return(0,a.jsx)(Ne,{props:t});case"ElementCountdown":return(0,a.jsx)(Be,{props:t});case"ElementVideo":return(0,a.jsx)(Ze,{props:t});case"ElementTextAI":return(0,a.jsx)(Oe,{props:t});case"ElementCarousel":return(0,a.jsx)(il,{props:t});case"ElementForm":return(0,a.jsx)(Pe,{props:t});case"AI":return(0,a.jsx)(Fe,{props:t});case"Typograf":return(0,a.jsx)(qe,{props:t});case"NewEmail":return(0,a.jsx)(Ke,{props:t});case"Import":return(0,a.jsx)(We,{props:t});case"generationAI":return(0,a.jsx)(Ye,{props:t});case"PaddingTopBottom":return(0,a.jsx)(Qe,{props:t});case"PaddingLeftRight":return(0,a.jsx)(tt,{props:t});case"PaddingSwitcher":return(0,a.jsx)(lt,{props:t});case"PaddingTop":return(0,a.jsx)(at,{props:t});case"PaddingBottom":return(0,a.jsx)(nt,{props:t});case"PaddingLeft":return(0,a.jsx)(ct,{props:t});case"PaddingRight":return(0,a.jsx)(mt,{props:t});case"Code":return(0,a.jsx)(ut,{props:t});case"GoToParent":return(0,a.jsx)(Ct,{props:t});case"UndoOutlined":return(0,a.jsx)(xt,{props:t});case"RedoOutlined":return(0,a.jsx)(ft,{props:t});case"HistoryOutlined":return(0,a.jsx)(_t,{props:t});case"EyeOutlined":return(0,a.jsx)(At,{props:t});case"SendOutlined":return(0,a.jsx)(Lt,{props:t});case"CheckCircleOutlined":return(0,a.jsx)(kt,{props:t});case"ShareAltOutlined":return(0,a.jsx)(St,{props:t});case"MobileOutlined":return(0,a.jsx)(Vt,{props:t});case"DesktopOutlined":return(0,a.jsx)(Nt,{props:t});case"PlusCircleOutlined":return(0,a.jsx)(Bt,{props:t});case"CommentOutlined":return(0,a.jsx)(Zt,{props:t});case"SettingOutlined":return(0,a.jsx)(Ot,{props:t});case"BorderOuterOutlined":return(0,a.jsx)(Pt,{props:t});case"AppstoreAddOutlined":return(0,a.jsx)(Ft,{props:t});case"AppstoreOutlined":return(0,a.jsx)(qt,{props:t});case"BuildOutlined":return(0,a.jsx)(Kt,{props:t});case"SearchOutlined":return(0,a.jsx)(Wt,{props:t});case"CloseOutlined":return(0,a.jsx)(Yt,{props:t});case"AddImage":return(0,a.jsx)(Qt,{props:t});case"MergeTags":return(0,a.jsx)(ts,{props:t});case"ArrowLeftOutlined":return(0,a.jsx)(c,{props:t});case"ChatGpt":return(0,a.jsx)(n,{props:t});case"LightMode":return(0,a.jsx)(ls,{props:t});case"DarkMode":return(0,a.jsx)(as,{props:t});case"AutoMode":return(0,a.jsx)(ns,{props:t});case"EmailConfirmation":return(0,a.jsx)(cs,{props:t});case"SliderGroup":return(0,a.jsx)(Ms,{props:t});case"SliderTemplates":return(0,a.jsx)(Es,{props:t});case"SliderBlocks":return(0,a.jsx)(Hs,{props:t});case"SliderAdaptive":return(0,a.jsx)(Is,{props:t});case"SliderMagic":return(0,a.jsx)(Ts,{props:t});case"Replacer":return(0,a.jsx)(zs,{props:t});case"WebHook":return(0,a.jsx)(Xs,{props:t});case"CloseAll":return(0,a.jsx)(hl,{props:t});case"CloseTag":return(0,a.jsx)(pl,{props:t});case"GroupArrow":return(0,a.jsx)(gl,{props:t});default:return null}}},79060:(e,t,s)=>{s.d(t,{A:()=>A});var l=s(92810),i=s(4785),a=s(38883),o=s.n(a),n=s(58889),r=s(32411),c=s(45934),d=s(64037),m=s(56991),p=s(86739),u=s(85163),h=s(36671),C=s(37969),g=s(89698),x=s(43672),v=s(45695),f=s(93982),j=s(13522),_=s(70082);const y=(0,l.forwardRef)((({className:e,email:t,handlerSendPosition:a},y)=>{const A=(0,c.wA)(),w=(0,r.fn)(),L=(0,m.rD)(),b=(0,v.ur)(),k=(0,v.XW)(),M=(0,v.QC)(),S=(0,f._q)(j.A.ON_EMAIL_INIT_ID),[E,V]=(0,l.useState)(),H=(0,l.useCallback)((e=>{const s=window.localStorage.getItem(u.V0.em_color_scheme),l=matchMedia(u.F3).matches?u.nd:u.T,i=window.localStorage.getItem(u.V0.em_code_mode_settings)?JSON.parse(window.localStorage.getItem(u.V0.em_code_mode_settings)):null,o={operation:u.Ru.UPDATE_PREVIEW,versionId:(null===w||void 0===w?void 0:w.getVersionId())||0,theme:s&&"system"!==s?s:l,commonStyles:"string"===typeof(null===t||void 0===t?void 0:t.common_styles)&&null!==t&&void 0!==t&&t.common_styles.startsWith("{")&&"{}"!==t.common_styles?JSON.parse(t.common_styles):u.BD,pathEnabled:L.pathEnabled,copyPasteEnabled:L.copyPasteEnabled,saveBlockEnabled:L.saveBlockEnabled,editImageControlEnabled:L.editImageControlEnabled,codeMode:!!i&&!(!i.isCodeMode||"left"!==i.codeModeDirection&&"right"!==i.codeModeDirection),elementAIimageEnabled:L.elementAIimageEnabled,imageCenterStockEnabled:L.imageCenterStockEnabled,imageCenterGifEnabled:L.imageCenterGifEnabled,imageCenterEditorEnabled:L.imageCenterEditorEnabled,blocksAddPanelEnabled:L.blocksAddPanelEnabled,appName:"emailmaker"};V(e.target),b(e.target),y.current.resize(),k(o),a()}),[L,a,k,w,t.common_styles,y,V,b]),N=(0,l.useCallback)((e=>{var t;e.data.operation===u.Ru.SANDBOX_RESIZED&&(null===(t=y.current)||void 0===t||t.resize())}),[y]);(0,l.useEffect)((()=>{const e=S((()=>{y.current.resize()}));return()=>e.dispose()}),[y,S]),(0,l.useEffect)((()=>()=>{b()}),[b]);const I=(0,l.useCallback)((()=>new Promise((e=>{M.setTarget(void 0);const t=()=>{H({target:E}),e(),null===E||void 0===E||E.removeEventListener("load",t)};null===E||void 0===E||E.addEventListener("load",t)}))),[M,H,E]);(0,l.useEffect)((()=>{const e=M.addListenerAsync(u.Ru.RELOAD,I,Number.MAX_SAFE_INTEGER);return()=>e.dispose()}),[M,I]),(0,d.A)(N),(0,d.A)((()=>{var e;null===(e=y.current)||void 0===e||e.resize()}),u.Ru.SANDBOX_INITED),(0,g.V)(),(0,x.w)(),(0,l.useEffect)((()=>{matchMedia(u.F3).addEventListener("change",(e=>{const t=window.localStorage.getItem(u.V0.em_color_scheme),s=e.matches?u.nd:u.T;k({operation:u.Ru.UPDATE_PREVIEW,theme:t||s})}))}),[k]),(0,h.h)(w,t),(0,l.useEffect)((()=>{const e=w.onDidChangeContent((()=>{y.current.resize()}));return()=>e.dispose()}),[w,y]);const B=(0,l.useCallback)((e=>{e.data.operation===u.Ru.APPLICATION_COMMON_STYLES_UPDATE&&A(p.GY.util.updateQueryData("getEmail",t.id,(t=>Object.assign(t,{common_styles:JSON.stringify(e.data.settings.commonStyles)}))))}),[A,t.id]);return(0,d.A)(B),(0,_.jsx)(C.y,{children:(0,_.jsx)(i.A,{forwardRef:y,checkOrigin:!1,sandbox:"allow-top-navigation allow-scripts allow-popups allow-popups-to-escape-sandbox",className:o()("email-preview",{[e]:e}),width:"100%",minHeight:600,scrolling:"no",id:"email_iframe",allow:"clipboard-read; clipboard-write",src:(u.EW.isPlugin?`${s.p}iframe/`:"/iframe/")+(t.hasOwnProperty("type")?n.l5:n.yG),title:"Email content",onLoad:H})})}));y.defaultProps={className:null,email:null,handlerSendPosition:()=>{}};const A=y},85879:(e,t,s)=>{s.d(t,{A:()=>le});var l=s(92810),i=s(41919),a=s(33206),o=s(25072),n=s(43005),r=s(64617),c=s(94822),d=s(45934),m=s(23287),p=s(72981),u=s(77242),h=s(35069),C=s(95838),g=s(12280),x=s(81e3),v=s(66726),f=s(49246),j=s(55039),_=s(71086),y=s(82013),A=s(38883),w=s.n(A),L=s(56991),b=s(2491),k=s(21731),M=s(20757),S=s(62303),E=s(31844),V=s(22197),H=s(45695),N=s(93982),I=s(85163),B=s(13522),T=s(8493),Z=s(86286),R=s(47358),O=s(65983),D=s(7760),P=s(32269),z=s(70082);const{useToken:F}=C.A,U=({email:e,autoSaveEmailResult:t,isCollaborationEditor:s})=>{var i,a;const[o]=g.A.useForm(),{__:c}=(0,m.s9)();let p=(0,d.wA)(),u=(0,r.Zp)();const h=(0,d.d4)(Z.C1),C=(0,H.QC)(),{data:A}=(0,r.KC)(),{owner:U,admin:q}=(0,E.A)(),{token:G}=F(),K=(0,L.rD)(),$=(0,l.useRef)(),W=(0,l.useRef)(),X=(0,l.useRef)(),Y=(0,N.ml)(B.A.ON_PREVIOUSBUTTON_CLICK_ID),J=(0,d.d4)(R.yy),Q=e.hasOwnProperty("type")?I.IE:I.Tm,ee=(0,d.d4)(O.qX),te=(0,d.d4)(D.qX),se=Q===I.Tm?ee:te,le=(0,d.d4)(R.Fv),[ie,ae]=(0,l.useState)(!1);(0,l.useEffect)((()=>{ae(!(null===se||void 0===se||!se.type)&&((null===se||void 0===se?void 0:se.type)===I.bV.TEXT||(null===se||void 0===se?void 0:se.type)===I.bV.LINK||se.type===I.bV.BUTTON)&&le&&"bottom"!==J)}),[se,J,le]);const oe=(0,l.useCallback)((()=>{var t;I.EW.isPlugin?Y.fire(e):u(`/projects/${A.id}/emails?page=1&folder=${(null===(t=e.folder)||void 0===t?void 0:t[0])||I.y2}`)}),[u,Y,e,A.id]),[ne,re]=(0,l.useState)(),ce=(0,N._q)(B.A.WILL_EMAIL_INIT_ID),de=(0,N._q)(B.A.ON_EMAIL_INIT_ID);(0,l.useEffect)((()=>{const e=new P.jG;return e.addDisposable(ce((()=>re(!1)))),e.addDisposable(de((e=>{re(!0);const t=o.getFieldValue("subject");e.subject!==t&&o.setFieldValue("subject",e.subject);const s=o.getFieldValue("preheader");e.preheader!==s&&o.setFieldValue("preheader",e.preheader)}))),()=>e.dispose()}),[re,ce,de,o]);const me=(0,l.useCallback)((t=>{const s=t.target.value.trim();e.isNew?p((0,T.TU)(s)):p((0,O.HO)(s)),C.send(I.Ru.SANDBOX_SUBJECT_UPDATE,{value:s,guid:e.renderGuid})}),[C,e.renderGuid,p,e.isNew]),pe=(0,N._q)(B.A.BEFORE_SAVE_EMAIL),ue=(0,l.useCallback)((async e=>{var t,s;const l=null===(t=W.current)||void 0===t?void 0:t.input;if(document.activeElement===l){const t=l.value.trim();t!==e.subject&&(e.subject=t,e.isNew?p((0,T.TU)(t)):p((0,O.HO)(t)),await C.sendAsync(I.Ru.SANDBOX_SUBJECT_UPDATE,{value:t,guid:e.renderGuid}))}const i=null===(s=X.current)||void 0===s?void 0:s.input;if(document.activeElement===i){const t=i.value.trim();t!==e.preheader&&(e.preheader=t,e.isNew?p((0,T.x3)(t)):p((0,O.pl)(t)),await C.sendAsync(I.Ru.SANDBOX_PREHEADER_UPDATE,{value:t,guid:e.renderGuid}))}}),[C,p]);(0,l.useEffect)((()=>{const e=pe(ue);return()=>e.dispose()}),[pe,ue]);const he=(0,l.useCallback)((t=>{const s=t.target.value.trim();e.isNew?p((0,T.x3)(s)):p((0,O.pl)(s)),C.send(I.Ru.SANDBOX_PREHEADER_UPDATE,{value:s,guid:e.renderGuid})}),[C,e.renderGuid,p,e.isNew]),Ce=e.isNew;(0,l.useEffect)((()=>{const t=new P.jG;return t.addDisposable(C.addListenerAsync(I.Ru.APPLICATION_SUBJECT_UPDATE,(({guid:t,value:s})=>{t===e.renderGuid&&(o.setFieldValue("subject",s),p(Ce?(0,T.TU)(s):(0,O.HO)(s)))}))),t.addDisposable(C.addListenerAsync(I.Ru.APPLICATION_PREHEADER_UPDATE,(({guid:t,value:s})=>{t===e.renderGuid&&(o.setFieldValue("preheader",s),p(Ce?(0,T.x3)(s):(0,O.pl)(s)))}))),()=>t.dispose()}),[C,p,Ce,o,e.renderGuid]),(0,V.A)(null===e.title?c("New email title"):e.title);const ge=(0,z.jsx)(z.Fragment,{children:(0,z.jsxs)(x.A,{ref:$,size:10,children:[K.headerArrowBackVisible&&(0,z.jsx)(v.A,{title:c("Back"),placement:"left",children:(0,z.jsx)(n.Ay,{type:"text",icon:(0,z.jsx)(S.A,{icon:"ArrowLeftOutlined"}),onClick:oe,shape:"circle"})}),(0,z.jsx)("div",{children:(K.headerTitleVisible||K.headerPreheaderVisible)&&(0,z.jsxs)(g.A,{form:o,layout:"vertical",name:"subject_preheader_form",autoComplete:"off",initialValues:{subject:"",preheader:""},children:[K.headerTitleVisible&&(0,z.jsx)("div",{style:{marginTop:ne?-3:0},children:(0,z.jsxs)(x.A,{style:{width:"100%"},align:"baseline",size:12,children:[(0,z.jsx)("div",{className:"subject_preheader_form__title",children:c("Subject")}),ne?(0,z.jsx)(g.A.Item,{name:"subject",style:{marginBottom:0},children:(0,z.jsx)(j.A,{bordered:!1,ref:W,placeholder:c("Enter subject line here"),className:"ant-page-header-heading-title",onPressEnter:me,onBlur:me})}):(0,z.jsx)(f.A.Input,{active:!0,size:16,style:{width:"40%",marginTop:3}})]})}),K.headerPreheaderVisible&&(0,z.jsx)("div",{children:(0,z.jsxs)(x.A,{style:{width:"100%"},align:"baseline",size:12,children:[(0,z.jsx)("div",{className:"subject_preheader_form__title",children:c("Preheader")}),ne?(0,z.jsx)(g.A.Item,{name:"preheader",style:{marginBottom:0},children:(0,z.jsx)(j.A,{ref:X,bordered:!1,placeholder:c("Enter preheader here"),className:"ant-page-header-heading-preheader",onPressEnter:he,onBlur:he})}):(0,z.jsx)(f.A.Input,{active:!0,size:16,style:{width:"80%",marginTop:2}})]})})]})})]})}),xe=(0,z.jsxs)(z.Fragment,{children:[K.emailIdShow&&!!e.id&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("div",{className:"email-page-header__email-id",children:"ID"+e.id}),(0,z.jsx)(_.A,{type:"vertical"})]}),(0,z.jsx)(b.A,{emailElement:e,isCollaborationEditor:s}),K.commandButtonsEnabled&&(0,z.jsxs)(z.Fragment,{children:[e.lock?(0,z.jsx)(y.A,{className:w()("lock-icon",{"lock-icon__disabled":!(U||q||(null===(i=h.id)||void 0===i?void 0:i.toString())===(null===(a=e.author)||void 0===a?void 0:a.toString()))}),style:{color:G.colorPrimary,fontSize:"16px"}},"Lock"):null,(0,z.jsx)(k.A,{email:e,autoSaveEmailResult:t},"Buttons")]})]});return(0,z.jsx)(M.A,{className:"email-pane__header",leftBlock:ge,rightBlock:xe,isHeaderCodeMenuOpen:ie})};var q=s(86739),G=s(39990),K=s(53204),$=s(94925),W=s(39738),X=s(64037),Y=s(82447),J=s(32411),Q=s(90070),ee=s(69106),te=s(38920);const{Content:se}=i.A,le=()=>{const{__:e}=(0,m.s9)(),t=(0,H.QC)(),{emailId:s,projectId:C,preview:g}=(0,r.g)(),x=(0,d.wA)(),v=(0,d.d4)(R.Fv),f=(0,r.Zp)(),j=(0,d.d4)(R.cL),_=(0,d.d4)(T.YG),y=(0,d.d4)(O.Hs),A=(0,d.d4)(R.oG),[w,b]=(0,c.ok)(),[k]=(0,G.on)(),M=(0,d.d4)(Z.C1),{isSuccess:S,data:V}=(0,G.W5)(),{owner:N}=(0,E.A)(),B=(0,J.fn)(),{modal:D}=a.A.useApp(),P=(0,Q.p6)(),F=(0,L.rD)(),[le,ie]=(0,l.useState)(!1),{confirm:ae}=D,[oe,ne]=(0,l.useState)(!1),re=w.get("template")||!oe&&!s&&P.get(I.A9.em_new_email),ce=P.get(I.A9.em_template_email);(0,l.useEffect)((()=>{!oe&&y.id&&ne(!0)}),[ne,oe,y.id]);const{isSuccess:de,isLoading:me,isError:pe,error:ue,data:he}=(0,q.sl)(re,{skip:!re||!!s}),{isLoading:Ce,isSuccess:ge,isError:xe,error:ve}=(0,q.sl)(s,{skip:!s});(0,l.useEffect)((()=>{re&&de&&(x((0,T.MZ)(he)),ne(!0),b({}))}),[re,de,x,he,ce,b]),(0,l.useEffect)((()=>(x((0,R.mi)(!0)),()=>x((0,R.mi)(!0)))),[x]);const fe=re?he:s?y:_;(0,ee.f)(fe,void 0===s);const je=(0,te.r)(fe),{counters:{emails_counter:_e},subscription:ye}=M,Ae=(0,l.useCallback)((()=>{x((0,R.vs)()),x((0,K.rI)())}),[x]);(0,l.useEffect)((()=>{g&&!v&&Ae()}),[v,g,Ae]),(0,l.useEffect)((()=>{x((0,$.ff)()),document.body.classList.add("editor"),x((0,R.PM)(I.Bv))}),[x]);const[we,Le]=(0,l.useState)(!1);(0,l.useEffect)((()=>{!we&&_e<3&&(k(),Le(!0))}),[k,_e,we]);const be=re?de:ge,ke=re?me:Ce,Me=re?pe:xe,Se=re?ue:ve,Ee=(0,J.aD)(B),Ve=(0,l.useCallback)((()=>{Ee.undo()}),[Ee]),He=(0,l.useCallback)((()=>{Ee.redo()}),[Ee]),Ne=(0,l.useRef)();(0,l.useEffect)((()=>{Ne.current!==(null===fe||void 0===fe?void 0:fe.id)&&(Ee.clear(),Ne.current=null===fe||void 0===fe?void 0:fe.id)}),[fe,Ee]);const Ie=(0,l.useCallback)((e=>{(window.navigator.appVersion.indexOf("Mac")&&e.metaKey||e.ctrlKey)&&"KeyZ"===e.code&&(e.preventDefault(),e.shiftKey?He():Ve())}),[Ve,He]);(0,l.useEffect)((()=>()=>{x((0,K.rI)()),x((0,W.qX)())}),[x]),(0,l.useEffect)((()=>{const e=t.addListener(I.Ru.APPLICATION_HAS_AMP,(e=>{x(null!==fe&&void 0!==fe&&fe.id?(0,O.VO)(e):(0,T.lg)(e))}));return()=>e.dispose()}),[t,x,null===fe||void 0===fe?void 0:fe.id]);const[Be,Te]=(0,l.useState)(),Ze=(0,l.useCallback)((e=>{const t=e.data.operation,s=e.data,l=e.data.action,i=document.getElementById("iframe-scroll-top"),a=document.getElementById("iframe-scroll-bottom");if(t===I.Ru.APPLICATION_EBLOCK_ADD&&(Te(s.data),x((0,R.qf)(I.lx.ADD_NEW_EBLOCK_MODAL))),t===I.Ru.APPLICATION_ACTION&&("undo"===l?Ve():"redo"===l&&He()),t===I.Ru.APPLICATION_SCROLL_BLOCK_SHOW){const e=document.getElementById("email_iframe"),t=document.body.getBoundingClientRect().height,s=e.getClientRects()[0];s.top<0&&(i.style.display="block"),s.top+s.height>t&&(a.style.display="block")}t===I.Ru.APPLICATION_SCROLL_BLOCK_HIDE&&(i.style.display="none",a.style.display="none")}),[x,Ve,He]);(0,X.A)(Ze);const Re=e=>{e.preventDefault(),e.target&&t.send({operation:I.Ru.SANDBOX_DRAG_CANCEL}),document.querySelectorAll(".em-dragging-element").forEach((e=>{e.classList.remove("em-dragging-element")}))};(0,l.useEffect)((()=>(window.addEventListener("drop",Re),window.addEventListener("dragover",Oe),window.addEventListener("dragstart",Pe),window.addEventListener("dragend",De),window.addEventListener("keydown",Ie),window.addEventListener("dragenter dragleave",(e=>{e.preventDefault()})),()=>{window.removeEventListener("drop",Re),window.removeEventListener("dragover",Oe),window.removeEventListener("dragstart",Pe),window.removeEventListener("dragend",De),window.removeEventListener("keydown",Ie),window.removeEventListener("dragenter dragleave",(e=>{e.preventDefault()}))})));const Oe=e=>{e.preventDefault();const t=document.getElementById("iframe-scroll-top"),s=document.getElementById("iframe-scroll-bottom"),l=F.sidePanelFloating?document.getElementById("pane-content-wrapper"):document.querySelector(".email-pane__col_preview"),i=document.getElementById("email_iframe"),{height:a,top:o}=i.getBoundingClientRect(),n=l.getBoundingClientRect().height;o>96?"block"===t.style.display&&(t.style.display="none"):"none"!==t.style.display&&""!==t.style.display||(t.style.display="block"),a-n+o<44?"block"===s.style.display&&(s.style.display="none"):"none"===s.style.display&&(s.style.display="block"),e.target===t&&l.scrollBy(0,-15),e.target===s&&l.scrollBy(0,15)},De=()=>{const e=document.getElementById("iframe-scroll-top"),t=document.getElementById("iframe-scroll-bottom");e&&t&&(e.style.display="none",t.style.display="none"),document.querySelectorAll(".em-dragging-element").forEach((e=>{e.classList.remove("em-dragging-element")}))},Pe=e=>{e.target.parentElement.classList.add("em-dragging-element");var t=e.target.closest(".blocks-search__result-wrapper")?e.target.querySelector(".blocks-search__result-html").cloneNode(!0):e.target.cloneNode(!0);t.classList.add("em-ghost-element"),t.style.height=e.target.closest(".blocks-search__result-wrapper")?"auto":"70px",t.style.width=e.target.closest(".blocks-search__result-wrapper")?"600px":"109px",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.zIndex="-1",e.target.appendChild(t),e.dataTransfer.setDragImage(t,0,0),window.setTimeout((function(){t.parentNode.removeChild(t)}),1e3)},ze=(0,l.useCallback)((()=>{ae({title:e("You reached the plan limit"),icon:(0,z.jsx)(Y.A,{}),content:(0,z.jsx)("div",{style:{maxWidth:"330px"},children:e("Switch to a different plan to save more emails.")}),centered:!0,okText:e("Choose a plan"),cancelText:e("Continue without saving"),width:"unset",onOk(){f("/billing")},onCancel(){}})}),[f,e,ae]),[Fe,Ue]=(0,l.useState)(!1);return(0,l.useEffect)((()=>{if(S&&V){var e,t;const l=null===V||void 0===V||null===(e=V.find((e=>{var t,s;return(null===(t=e.id)||void 0===t?void 0:t.toString())===(null===ye||void 0===ye||null===(s=ye.ID)||void 0===s?void 0:s.toString())})))||void 0===e||null===(t=e.limits)||void 0===t?void 0:t.emails_limit;l&&_e>=l&&!Fe&&!s&&N&&(ze(),Ue(!0))}}),[V,S,ye,_e,Fe,ze,s,N]),(0,l.useEffect)((()=>{const e=t.onInit((()=>{t.send({operation:I.Ru.SANDBOX_LOCK_EDIT,data:!1})}));return()=>e.dispose()}),[t]),(0,z.jsxs)(i.A,{className:"email-page",children:[ke&&(0,z.jsx)(p.A,{}),Me&&Se&&(0,z.jsx)(se,{style:{paddingTop:"40px"},children:(0,z.jsx)("div",{className:"container",children:(0,z.jsx)(o.Ay,{status:Se.status,title:Se.status,subTitle:Se.data.message,extra:(0,z.jsx)(n.Ay,{type:"primary",onClick:()=>{f(`/projects/${C}/emails`)},children:e("Back To Project")})})})}),(!s&&!re&&oe||ge&&fe)&&!ke&&(0,z.jsxs)(i.A,{className:"email-pane",children:[A&&(0,z.jsx)("div",{className:"email-pane__loader",children:(0,z.jsx)(p.A,{small:!0})}),(0,z.jsx)(U,{email:fe,autoSaveEmailResult:je,isCollaborationEditor:le}),(0,z.jsx)(u.A,{emailElement:fe,isSuccess:be,setIsCollaborationEditor:ie})]}),(0,z.jsx)(h.A,{isModalVisible:j===I.lx.ADD_NEW_EBLOCK_MODAL,htmlContent:Be,projectId:C})]})}},77242:(e,t,s)=>{s.d(t,{A:()=>Ot});var l=s(92810),i=s(41919),a=s(95838),o=s(33206),n=s(66726),r=s(81e3),c=s(37005),d=s(71086),m=s(86889),p=s(29234),u=s(92328),h=s(43005),C=s(2018),g=s(7744),x=s(14852),v=s(45934),f=s(64617),j=s(23287),_=s(71157),y=s(38883),A=s.n(y),w=s(90219),L=s(54565),b=s(85163),k=s(56991),M=s(70082);const S=({email:e})=>{const{__:t}=(0,j.s9)(),s=e.hasOwnProperty("type")?b.IE:b.Tm,[i,a]=(0,l.useState)(b.yy),o=(0,k.rD)();let n=[{label:(0,M.jsx)(M.Fragment,{children:t("Settings")}),key:b.yy,forceRender:!0,className:"email-settings__collapse-panel",children:(0,M.jsx)(w.A,{className:"email-settings__collapse-panel-content",element:e})}];return o.UTMEnabled&&s===b.Tm&&n.push({label:(0,M.jsx)(M.Fragment,{children:t("UTM parameters")}),key:b.iW,forceRender:!0,className:"email-settings__collapse-panel",children:(0,M.jsx)(L.A,{className:"email-settings__collapse-panel-content",email:e})}),(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(m.A,{className:"secondary-tabs email-settings__collapse",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:i,onChange:e=>a(e||""),items:n})})};var E=s(43319),V=s(92267),H=s(45927);const N=({email:e})=>{const{__:t}=(0,j.s9)(),s=e.hasOwnProperty("type")?b.IE:b.Tm,[i,a]=(0,l.useState)(b.xz),o=!!e.common_styles&&"{}"!==e.common_styles;let n=[{label:(0,M.jsx)(M.Fragment,{children:s===b.Tm?t("Global styles"):t("Block styles")}),key:b.xz,forceRender:!0,className:"email-settings__collapse-panel",children:s===b.Tm?(0,M.jsx)(E.A,{className:"email-settings__collapse-panel-content",email:e}):(0,M.jsx)(V.A,{className:"email-settings__collapse-panel-content"})}];return s===b.Tm&&o&&n.push({label:(0,M.jsx)(M.Fragment,{children:t("Content styles")}),key:"contentStyles",forceRender:!0,className:"email-settings__collapse-panel",children:(0,M.jsx)(H.A,{className:"email-settings__collapse-panel-content",email:e})}),(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(m.A,{className:"secondary-tabs email-settings__collapse appearance-panel__content-styles",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:i,onChange:e=>a(e||""),items:n})})};var I=s(98519),B=s(13465),T=s(85291),Z=s(16106),R=s(97562),O=s(62303),D=s(9452),P=s(34275),z=s(14954),F=s(62767),U=s(11007),q=s(12280),G=s(78159),K=s(8701),$=s(26021),W=s(44997),X=s(65983),Y=s(7760),J=s(45695);const Q=({emailElementType:e,isSelectedElement:t=!1,selectedElement:s})=>{var i,a,o,c,m,u,x,f,_;const{__:y}=(0,j.s9)(),A=(0,v.wA)(),w=(0,J.XW)(),[L]=q.A.useForm(),S=(0,l.useRef)(),E=(0,l.useRef)(),V=(0,v.d4)(X.qX),H=(0,v.d4)(Y.qX),N=(0,k.rD)(),I=s||(e===b.Tm?V:H),[B,T]=(0,l.useState)(null===(i=I.floatBlocks)||void 0===i?void 0:i.wrap),[Z,R]=(0,l.useState)(null===(a=I.floatBlocks)||void 0===a?void 0:a.dirRevers),[O,P]=(0,l.useState)(null),[Q,ee]=(0,l.useState)(0),[te,se]=(0,l.useState)([]),le=(0,l.useCallback)((t=>{A(e===b.Tm?(0,X.A9)(t):(0,Y.A9)(t))}),[A,e]);(0,l.useEffect)((()=>{if(I&&"{}"!==JSON.stringify(I)&&L._init){var e,t,s,l,i;if(L.resetFields(),L.setFieldsValue({gap:null===(e=I.floatBlocks)||void 0===e?void 0:e.gap,gapMobile:null===(t=I.floatBlocks)||void 0===t?void 0:t.gapMobile,gapDim:"px",valign:null===(s=I.floatBlocks)||void 0===s?void 0:s.valign}),(null===(l=I.floatBlocks)||void 0===l?void 0:l.items.length)>0){var a;const o=I.floatBlocks.items.reduce(((e,t)=>e+t.width),0),n=I.floatBlocks.items.map((e=>{var t;return null===(t=(e.width||0)/o*100)||void 0===t?void 0:t.toFixed(1)}));function r(e,t){if(e.length!==t.length)return!1;for(let s=0;s<e.length;s++)if(e[s]!==t[s])return!1;return!0}ee(o),r(n,te)||"gap"===I.changeKey||se(n),I.floatBlocks.items.forEach(((e,t)=>L.setFieldsValue({["width-"+t]:e.width||0}))),I.floatBlocks.items.length>=8?document.querySelector(".selected-element-panel__columns-settings__links__add").classList.add("noactive"):null!==(a=document.querySelector(".selected-element-panel__columns-settings__links__add"))&&void 0!==a&&a.classList.contains("noactive")&&document.querySelector(".selected-element-panel__columns-settings__links__add").classList.remove("noactive")}T(null===(i=I.floatBlocks)||void 0===i?void 0:i.wrap)}}),[L,I,O,te]);let ie=0;(null===(o=I.floatBlocks)||void 0===o?void 0:o.items.length)>0&&(ie=I.floatBlocks.items.length);const ae=(e,t)=>{Object.keys(t).forEach((t=>{if(t.includes("width")){const s=parseInt(t.match(/\d+/));L.setFieldsValue({[t]:e.items[s]})}}))},[oe,ne]=(0,l.useState)(!1);(0,l.useEffect)((()=>{const e=()=>ne(!0),t=()=>ne(!1);return document.addEventListener("keyup",t),document.addEventListener("keydown",e),()=>{document.removeEventListener("keyup",t),document.removeEventListener("keydown",e)}}),[]);const re=e=>{const s=L.getFieldsValue(!0),l=I.floatBlocks.items.map((e=>e.width)),i=I.floatBlocks.gap||20,a=e.cols-l.length;let o=[],n=l.reduce(((e,t)=>e+t),0);e.cols>=l.length?n-=i*a:n+=i*Math.abs(a);const r=Math.round(n/e.cols);o=function(t,s){const l=[];for(let o=0;o<t;o++){var i,a;l.push(null!==(i=e.width)&&void 0!==i&&i[o]?Math.round(n/100*(null===(a=e.width)||void 0===a?void 0:a[o])):s)}return l}(e.cols,r);const c=n-o.reduce(((e,t)=>e+t),0);if(0!==c){let e=o.map(((e,t)=>[t,e])).filter((e=>e[1]>30));const t=e.length-Math.abs(c);e=e.map(((e,s)=>{const l=t<=s?e[1]+(c>0?1:-1):e[1];return[e[0],l]})),e.map((e=>(o[e[0]]=e[1],e)))}let d={items:o,gap:s.gap||20};const m=o.reduce(((e,t)=>e+t),0);se(o.map((e=>{var t;return null===(t=e/m*100)||void 0===t?void 0:t.toFixed(1)}))),w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksPreset",settings:d,editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,...d,items:d.items.map(((e,t)=>({width:e,current:!1})))},changeKey:"width"})},ce=e=>{const s=L.getFieldsValue(!0);let l=0;document.querySelectorAll(".selected-element-panel__columns-settings__controls__column").forEach(((t,s)=>{t===e.target.closest(".selected-element-panel__columns-settings__controls__column")&&(l=s)}));const i=+I.floatBlocks.gap,a=+I.floatBlocks.items[l].width+i,o=I.floatBlocks.items.map((e=>+e.width)),n=(o.length-1)*i,r=o.reduce(((e,t)=>e+t),0)+n,c=o.length-1,d=Math.floor(a/c);let m=o.filter(((e,t)=>t!==l)).map((e=>e+d));const p=r-(m.reduce(((e,t)=>e+t),0)+(o.length-2)*i);if(0!==p){const e=m.length-Math.abs(p);m=m.map(((t,s)=>e<=s?t+(p>0?1:-1):t))}w({operation:b.Ru.SANDBOX_FLOATBLOCK_REMOVE,settings:{removedBlockIndex:l,gap:s.gap},editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,items:m.map(((e,t)=>({width:e,current:I.floatBlocks.items.filter(((e,t)=>t!==l))[t].current})))},changeKey:"width"})};return I.floatBlocks&&I.floatBlocks.items.length>0&&(0,M.jsx)(q.A,{layout:"vertical",form:L,name:"float_blocks_settings_form",autoComplete:"off",initialValues:{gap:(null===(c=I.floatBlocks)||void 0===c?void 0:c.gap)||0,gapDim:"px",gapMobile:(null===(m=I.floatBlocks)||void 0===m?void 0:m.gapMobile)||0,valign:(null===(u=I.floatBlocks)||void 0===u?void 0:u.valign)||"top",...null===(x=I.floatBlocks)||void 0===x?void 0:x.items.reduce(((e,{width:t},s)=>(e[`width-${s}`]=t,e)),{})},onValuesChange:e=>{E.current&&oe&&clearTimeout(E.current),E.current=setTimeout((()=>function(e){const s=L.getFieldsValue(!0),l=Object.keys(e)[0];if(P(l),l.includes("width")){if(s[l]&&s[l]>=30){let i={items:[],gap:s.gap,valign:s.valign,activateSection:t?void 0:"structure"},a=0;if(document.querySelectorAll(".selected-element-panel__columns-settings__controls__column").length>1){a=parseFloat(Object.keys(e)[0].substring(Object.keys(e)[0].length-1));const t=s["width-"+(a+1)]?a+1:0;let l=Q;Object.keys(s).forEach((e=>{e.includes("width")&&-1===e.indexOf("width-"+t)&&(l-=s[e])})),s["width-"+t]=l}Object.keys(s).forEach((e=>{e.includes("width")&&i.items.push(s[e])})),w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksWidths",settings:i}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,...i,items:I.floatBlocks.items.map(((e,t)=>({...I.floatBlocks.items[t],width:i.items[t]})))},changeKey:l})}}else if("gap"===l){const i={items:I.floatBlocks.items.map((e=>e.width)),gap:I.floatBlocks.gap},a=i.items.reduce(((e,t)=>e+t),0)+(i.items.length-1)*i.gap,o=s.gap,n=a-(i.items.length-1)*o;if(n>30*i.items.length||I.floatBlocks.gap-e>=0){const e=(e,t)=>Math.round(t*e/100);let r=i.items.map(((t,s)=>e(te[s],n)));const c=a-(r.reduce(((e,t)=>e+t),0)+(i.items.length-1)*o);if(0!==c){const e=r.length-Math.abs(c);r=r.map(((t,s)=>e<=s?t+(c>0?1:-1):t))}let d={items:r,gap:o||0};ae(d,s),w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksGap",settings:d,editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,...d,items:I.floatBlocks.items.map(((e,t)=>({...e,width:d.items[t]})))},changeKey:l})}}else if("valign"===l){let e={valign:s.valign};w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksValign",settings:e,editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,...e},changeKey:l})}else if("gapMobile"===l){let s={mobileHeight:{classNamePrefix:"em-mob-height-",value:e[l],dim:"px"}};w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksGapMobile",settings:s,editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,gapMobile:s.mobileHeight.value},changeKey:l})}setTimeout((()=>(null===S||void 0===S?void 0:S.current)&&S.current.focus({cursor:"end"})),600)}(e)),50)},onFieldsChange:()=>setTimeout((()=>(null===S||void 0===S?void 0:S.current)&&S.current.focus({cursor:"end"})),300),className:"element-controls",children:(0,M.jsxs)("div",{className:"selected-element-panel__columns-settings",style:{paddingTop:N.switchDesktopMobilePropsEnabled||N.stepToOtherElementEnabled||N.deleteButtonEnabled||"structure"===I.type?0:24},children:[1===I.floatBlocks.items.length&&(0,M.jsx)(p.A,{style:{marginBottom:10,marginTop:24},message:y('The selected element is in the block that supports a multicolumn structure. To add a new column, click the "Add a column" button.'),type:"info"}),(0,M.jsxs)(r.A,{style:{display:"flex",justifyContent:"space-between"},children:[(0,M.jsx)("div",{className:"form-group-title",style:{paddingTop:15},children:y("Columns")}),(0,M.jsxs)("div",{className:"selected-element-panel__columns-settings__links",children:[(0,M.jsxs)("span",{className:"selected-element-panel__columns-settings__links__add",onClick:()=>{const e=L.getFieldsValue(!0);if(ie<8){const s=I.floatBlocks.items.map((e=>e.width)),l=I.floatBlocks.gap,i=s.reduce(((e,t)=>e+(t>30?t:0)),0),a=(i-30-l)/i,o=s.map((e=>e>30?Math.round(e*a):e)).reduce(((e,t)=>e+(t>30?t:0)),0);let n=s.map((e=>e>30?Math.round(e*a):e));n.push(30);const r=i-o-30-l;if(0!==r){let e=n.map(((e,t)=>[t,e])).filter((e=>e[1]>30));const t=e.length-Math.abs(r);e=e.map(((e,s)=>{const l=t<=s?e[1]+(r>0?1:-1):e[1];return[e[0],l]})),e.map((e=>(n[e[0]]=e[1],e)))}w({operation:b.Ru.SANDBOX_FLOATBLOCK_ADD,settings:{gap:e.gap,gapMobile:e.gapMobile,minWidth:30},editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,items:n.map(((e,t)=>{var s;return{width:e,current:(null===(s=I.floatBlocks.items[t])||void 0===s?void 0:s.current)||!1}}))},changeKey:"width"})}else document.querySelector(".selected-element-panel__columns-settings__links__add").classList.add("noactive")},children:[(0,M.jsx)(z.A,{})," ",y("Add column")]}),I.floatBlocks.items.length>1&&(0,M.jsx)("span",{onClick:()=>{const e=L.getFieldsValue(!0),s=I.floatBlocks.items.map((e=>e.width));let l={items:[],gap:e.gap};const i=s.reduce(((e,t)=>e+t),0),a=s.length,o=Math.ceil(Q/a)*a,n=o/a,r=i-o;if(l.items=Array(a).fill(n),0!==r){const e=s.length-Math.abs(r);l.items=l.items.map(((t,s)=>e<=s?t+(r>0?1:-1):t))}ae(l,e),w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksWidths",settings:l,editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,...l,items:I.floatBlocks.items.map(((e,t)=>({...e,width:l.items[t]})))},changeKey:"width"})},children:(0,M.jsxs)(n.A,{title:y("Make columns the same width."),children:[(0,M.jsx)(F.A,{})," ",y("Equalize")]})})]})]}),I.floatBlocks.items.length>1&&(0,M.jsx)(q.A.Item,{style:{marginBottom:16},children:(0,M.jsx)("div",{className:"selected-element-panel__columns-settings__controls",children:I.floatBlocks.items.map(((e,t)=>(0,M.jsxs)("div",{className:"selected-element-panel__columns-settings__controls__column "+(e.current?"current":""),style:{width:e.width/Q*100+"%"},children:[I.floatBlocks.items.length>1&&(0,M.jsx)("span",{className:"selected-element-panel__columns-settings__controls__column__remove",onClick:ce,children:(0,M.jsx)(D.A,{style:{color:"#ff4d4f"}})}),(0,M.jsx)("div",{className:"selected-element-panel__columns-settings__controls__field",children:(0,M.jsx)(q.A.Item,{label:"",name:"width-"+t,children:(0,M.jsx)(G.A,{min:30,value:e.width||0,placeholder:y("Width"),ref:O==="width-"+t&&S})})})]},"floatblock-"+t)))})}),(0,M.jsxs)(r.A,{size:7,className:"columns-presets",children:[(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:1})},children:(0,M.jsx)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,M.jsx)("rect",{y:"7",width:"32",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})})}),(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:2})},children:(0,M.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,M.jsx)("rect",{y:"7",width:"15",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"17",y:"7",width:"15",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})]})}),(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:2,width:[66,34]})},children:(0,M.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,M.jsx)("rect",{y:"7",width:"20.6667",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"22.6667",y:"7",width:"9.33333",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})]})}),(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:2,width:[34,66]})},children:(0,M.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,M.jsx)("rect",{y:"7",width:"9.33333",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"11.3333",y:"7",width:"20.6667",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})]})}),(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:3})},children:(0,M.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,M.jsx)("rect",{y:"7",width:"9.33333",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"11.3333",y:"7",width:"9.33333",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"22.6667",y:"7",width:"9.33333",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})]})}),(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:4})},children:(0,M.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,M.jsx)("rect",{y:"7",width:"6.5",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"8.5",y:"7",width:"6.5",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"17",y:"7",width:"6.5",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"25.5",y:"7",width:"6.5",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})]})})]}),I.floatBlocks.items.length>1&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)(r.A,{style:{marginBottom:10},children:[(0,M.jsx)(K.A,{size:"small",disabled:void 0===(null===(f=I.floatBlocks)||void 0===f?void 0:f.wrap),checked:B,onChange:e=>{T(e),w({operation:b.Ru.SANDBOX_FLOATBLOCK_WRAP,settings:{wrap:!B}}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,wrap:!B},changeKey:"wrap"})}}),(0,M.jsx)("div",{style:{position:"relative",top:2},children:y("Line break on mobile devices")})]}),(0,M.jsxs)(r.A,{style:{marginBottom:24},children:[(0,M.jsx)(K.A,{size:"small",disabled:void 0===(null===(_=I.floatBlocks)||void 0===_?void 0:_.wrap),checked:Z,onChange:e=>{R(e),w({operation:b.Ru.SANDBOX_FLOATBLOCK_DIR,settings:{dirRevert:!Z}}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,dirRevert:!Z},changeKey:"dir"})}}),(0,M.jsx)("div",{style:{position:"relative",top:2},children:y("Revers order on desktop")})]})]}),I.floatBlocks.items.length>1&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(d.A,{className:"selected-td-form__divider"}),(0,M.jsxs)(C.A,{gutter:10,children:[(0,M.jsxs)(g.A,{span:12,children:[(0,M.jsx)("div",{className:"form-group-title",children:y("Indent between columns")}),(0,M.jsx)(q.A.Item,{name:"gap",style:{marginBottom:20},children:(0,M.jsx)(W.A,{min:0,disabled:I.floatBlocks.items.length<=1,placeholder:y("Indent between columns"),prefix:(0,M.jsx)(F.A,{}),addonAfter:"px",ref:"gap"===O&&S})})]}),(0,M.jsxs)(g.A,{span:12,children:[(0,M.jsx)("div",{className:"form-group-title",children:y("Indent in mobile")}),(0,M.jsx)(q.A.Item,{name:"gapMobile",style:{marginBottom:20},children:(0,M.jsx)(W.A,{min:0,disabled:I.floatBlocks.items.length<=1,placeholder:y("Indent in mobile"),prefix:(0,M.jsx)(U.A,{}),addonAfter:"px"})})]}),(0,M.jsxs)(g.A,{span:12,children:[(0,M.jsx)("div",{className:"form-group-title",style:{paddingTop:0},children:y("Vertical alignment")}),(0,M.jsx)("div",{style:{paddingBottom:4},children:(0,M.jsx)($.A,{form:L,elementSettings:{},disabled:I.floatBlocks.items.length<=1})})]})]})]})]})})};Q.defaultProps={selectedElement:{parent:!1}};const ee=Q;var te=s(47358);const se=({email:e,formSettings:t})=>{var s,i;const{__:a}=(0,j.s9)(),o=(0,v.wA)(),c=(0,J.XW)(),d=e.hasOwnProperty("type")?b.IE:b.Tm,p=(0,v.d4)(X.qX),u=(0,v.d4)(Y.qX),C=(0,v.d4)(te.Tn),g=Object.keys(t).length>0?t.settings:d===b.Tm?p:u,x=(0,k.rD)();(0,l.useEffect)((()=>{const e=Object.values(b.bV);g.type&&e.includes(g.type)?"structure"!==g.activateSection?(document.querySelector(".email-pane .secondary-tabs .ant-tabs-content").scrollTop=0,o((0,te.Bp)(b.WU))):o((0,te.Bp)(b.mX)):"{}"!==JSON.stringify(g)&&o((0,te.Bp)(""))}),[g,o]);let f=[{label:(0,M.jsx)("span",{style:{textTransform:"capitalize"},children:g.caption?g.caption:a("Edit element")}),key:b.WU,forceRender:!0,className:"email-properties__collapse-panel",children:(0,M.jsx)(P.A,{className:"email-properties__collapse-panel",selectedElement:g,formSettings:t,emailElementType:d,forceRender:!0},b.WU)}];g.type&&!(null===(s=g.floatBlocks)||void 0===s||!s.items.length)>0&&!(null===(i=g.floatBlocks)||void 0===i||!i.items.filter((e=>!!e.width)).length)>0&&f.push({label:(0,M.jsx)(M.Fragment,{children:a("Structure")}),key:b.mX,forceRender:!0,className:"email-properties__collapse-panel",children:(0,M.jsx)(ee,{selectedElement:g,emailElementType:d,isSelectedElement:!1})});const _=e=>{e.stopPropagation(),c({operation:b.Ru.SANDBOX_ELEMENT_PARENT_GET})};return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(m.A,{className:A()("secondary-tabs email-properties__collapse",{"secondary-tabs_unset_scroll":C===b.nA||C===b.WU}),size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:C,onChange:e=>o((0,te.Bp)(e||"")),items:f}),((e,t,s)=>(x.switchDesktopMobilePropsEnabled||x.stepToOtherElementEnabled||x.deleteButtonEnabled)&&(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(r.A,{className:"selected-element-panel__extra-btn-container",children:(0,M.jsx)(r.A,{children:(0,M.jsxs)(r.A,{size:5,children:[x.deleteButtonEnabled&&(0,M.jsx)(n.A,{title:a("Remove element by Delete Key"),placement:"bottom",children:(0,M.jsx)(h.Ay,{type:"text",onClick:e=>((e,t,s)=>{e.stopPropagation(),c({operation:b.Ru.SANDBOX_ELEMENT_REMOVE}),t(s===b.Tm?(0,X.A9)({}):(0,Y.A9)({}))})(e,t,s),icon:(0,M.jsx)(D.A,{}),disabled:!g.deletable})}),x.stepToOtherElementEnabled&&(0,M.jsx)(n.A,{title:a("Up to parent element"),placement:"bottom",children:(0,M.jsx)(h.Ay,{type:"text",onClick:_,icon:(0,M.jsx)(O.A,{icon:"GoToParent"}),disabled:!g.parent})})]})})})}))(g.parent,o,d),(0,M.jsx)(h.Ay,{type:"text",className:"ant-modal-close","aria-label":"Close",onClick:()=>{o((0,te.Fk)()),setTimeout((()=>{d===b.IE?o((0,Y.A9)({type:null})):o((0,X.A9)({type:null}))}),300),c({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_RESET})},children:(0,M.jsx)(O.A,{icon:"Close"})})]})};var le=s(63719),ie=s(79060),ae=s(84e3),oe=s(80844),ne=s(55039),re=s(24293),ce=s(3453),de=s(79716),me=s(6890),pe=s(63531),ue=s(95679),he=s(86286),Ce=s(64936),ge=s(77532),xe=s(36404),ve=s(28073),fe=s(68879),je=s(42738),_e=s(38587),ye=s(90070),Ae=s(93982),we=s(33288),Le=s(13522),be=s(1383);function ke(e,t){if("json"===e)return new Blob([t],{type:"application/json"});if("svg"===e)return new Blob([t],{type:"image/svg+xml"});const s=`image/${e}`;return((e,t="application/octet-stream")=>fetch(`data:${t};base64,${e}`).then((e=>e.blob())))(t=t.replace(/data:image\/([a-z]*)?;base64,/,""),s)}const Me=(0,M.jsx)(de.A,{style:{fontSize:48},spin:!0}),Se=({currentImageLink:e,newLink:t,onSave:s,uploadImageResultIsLoading:i})=>{const a=(0,ye.p6)(),[o,n]=(0,l.useState)(),[r,c]=(0,l.useState)(),{__:d}=(0,j.s9)();let m=(0,v.wA)();const p=(0,v.Pj)(),u=(0,v.d4)(he.C1),C=(0,v.d4)(Ce.sK),g=(0,v.d4)(xe.yN),f=(0,l.useRef)(!1),[_,y]=(0,l.useState)(),A=(0,Ae.ml)(Le.A.FILE_PROXY_EVENT_ID);(0,l.useEffect)((()=>{(async()=>{let t;try{const s=await fetch(e);t=await s.blob()}catch{if(t=await A.fire({url:e,project:g}).filter((e=>e instanceof Blob))[0],!t){const s=a.get(b.A9.em_token)||await we.di.getInstance(p,be.Y),l=await fetch(`https://app.emailmaker.ru/api/wp-json/cors-proxy/v1/get?url=${encodeURIComponent(e)}`,{headers:{authorization:`Bearer ${s}`}});t=await l.blob()}}if(t){let e=new FileReader;e.onload=()=>{null===_||void 0===_||_.tools.import.openBackgroundImage(o),e.result!==o&&(n(e.result),c(t.type))},e.readAsDataURL(t)}})().catch((e=>console.log(e)))}),[e,t,n,a,o,_,A,g,p]);const w=(0,l.useCallback)((()=>{n(null),c(null),m((0,ge.BK)()),m((0,Ce.Os)()),m((0,Ce.Oo)(b.lx.UPLOAD_IMAGE_MODAL))}),[m]),L=(0,l.useRef)();L.current=async function(e,t,l){const i=await ke(l,e);s&&s(new File([i],t,{lastModified:(new Date).getTime(),type:i.type}))};const k=(0,l.useCallback)((e=>{if(e)if(f.current&&_);else{f.current=!0;const e=u.locale?u.locale.replace("_","-"):"ru-RU",t=u.theme===b.IJ?matchMedia(b.F3).matches?b.nd:b.T:u.theme;fe.A.init({selector:"#pixie-editor",baseUrl:"https://emailmaker.ru/assets/pixie",image:o,activeLanguage:e,languages:(0,ve.g)(e,d),tools:{text:{replaceDefault:!0,defaultCategory:"handwriting",items:[{family:"Montserrat Light",src:"customFonts/Montserrat-Light.woff2"},{family:"Montserrat Regular",src:"customFonts/Montserrat-Regular.woff2"},{family:"Montserrat Bold",src:"customFonts/Montserrat-Bold.woff2"},{family:"Montserrat Black",src:"customFonts/Montserrat-Black.woff2"},{family:"Roboto Light",src:"customFonts/Roboto-Light.woff2"},{family:"Roboto Regular",src:"customFonts/Roboto-Regular.woff2"},{family:"Roboto Bold",src:"customFonts/Roboto-Bold.woff2"},{family:"Roboto Black",src:"customFonts/Roboto-Black.woff2"},{family:"Lato Light",src:"customFonts/Lato-Light.woff2"},{family:"Lato Regular",src:"customFonts/Lato-Regular.woff2"},{family:"Lato Bold",src:"customFonts/Lato-Bold.woff2"},{family:"Lato Black",src:"customFonts/Lato-Black.woff2"},{family:"Rubik Light",src:"customFonts/Rubik-Light.woff2"},{family:"Rubik Regular",src:"customFonts/Rubik-Regular.woff2"},{family:"Rubik Bold",src:"customFonts/Rubik-Bold.woff2"},{family:"Rubik Black",src:"customFonts/Rubik-Black.woff2"},{family:"Bebas Neue Light",src:"customFonts/BebasNeueLight.woff2"},{family:"Bebas Neue Regular",src:"customFonts/BebasNeueRegular.woff2"},{family:"Bebas Neue Book",src:"customFonts/BebasNeueBook.woff2"},{family:"Bebas Neue Bold",src:"customFonts/BebasNeueBold.woff2"},{family:"Arial",src:"customFonts/ArialMT.woff2"},{family:"Arial Bold",src:"customFonts/Arial-BoldMT.woff2"}]}},ui:{menubar:{replaceDefaultItems:!0,items:[{type:"undoWidget",align:"left"},{type:"zoomWidget",align:"center",desktopOnly:!0},{type:"button",icon:(0,M.jsx)(je.A,{style:{fontSize:20}}),align:"right",desktopOnly:!0,action:e=>{e.togglePanel("history")}},{type:"button",icon:(0,M.jsx)(_e.A,{style:{fontSize:20}}),align:"right",desktopOnly:!0,action:()=>w()}]},nav:{position:"top"},activeTheme:t,mode:"inline",forceOverlayModeOnMobile:!1},onSave:async function(e,t,s){L.current(e,t,s)}}).then((e=>{y(e)})).catch((e=>console.log(e)))}}),[u.theme,o,_,y,u.locale,d,w]);return(0,M.jsxs)(x.A,{afterOpenChange:k,width:"100%",style:{maxWidth:"100%",minHeight:"100vh"},className:"image-editor-modal blocks-modal",centered:!0,closable:!1,zIndex:1100,mask:!1,open:C,footer:[(0,M.jsx)(h.Ay,{className:"em-analytics__profile-cancel",onClick:w,children:d("Cancel")},"Cancel"),(0,M.jsx)(h.Ay,{className:"em-analytics__profile-updapixiete",id:"save",type:"primary",onClick:()=>null===_||void 0===_?void 0:_.tools.export.save(null===e||void 0===e?void 0:e.split("/").pop().split(".")[0],null===r||void 0===r?void 0:r.split("/")[1]),children:d("Update")},"Ok")],children:[i&&(0,M.jsx)("div",{style:{position:"absolute",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:"var(--colorBgLayout)",zIndex:10,opacity:.7},children:(0,M.jsx)(re.A,{size:"large",indicator:Me})}),(0,M.jsx)("div",{id:"pixie-editor"})]})},Ee=(0,M.jsx)(de.A,{style:{fontSize:48},spin:!0}),Ve=({currentImageLink:e,newLink:t,onSave:s,uploadImageResultIsLoading:l})=>(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)("div",{children:(0,M.jsxs)("div",{className:"image-preview",children:[l&&(0,M.jsx)("div",{style:{position:"absolute",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:"var(--colorBgLayout)",zIndex:10,opacity:.7},children:(0,M.jsx)(re.A,{size:"large",indicator:Ee})}),(t||e)&&(0,M.jsx)("img",{alt:"uploadedImage",src:t||e})]})}),(0,M.jsx)(Se,{currentImageLink:e,newLink:t,onSave:s,uploadImageResultIsLoading:l})]});var He=s(20984),Ne=s(70084),Ie=s(26268),Be=s(77406);const Te="blocks",Ze=({setCurrentImageLink:e,setModalHeight:t,setModalWidth:s,setImageStockList:i,imageStockList:a,currentReq:o,setCurrentReq:r,inputRef:c,setStockLink:m,customRequest:p})=>{const[u,h]=(0,l.useState)(!1),[x,v]=(0,l.useState)(2),{__:f}=(0,j.s9)(),[_]=(0,ue.Jg)(),[y]=(0,ue.h4)();(0,l.useEffect)((()=>{""!==o.keywords&&A()}),[o.color,o.orientation]);const A=async()=>{const e=await y({query:o,page:1});e.data.results.length>0&&(i(e.data.results),setTimeout((()=>{s(1060),t("84vh")}),0))},[w,L]=(0,l.useState)(null);return(0,M.jsxs)("div",{className:"stock-tab",children:[(0,M.jsxs)(q.A,{onValuesChange:A,className:a.length>0?"serach-results":"",children:[(0,M.jsxs)(C.A,{gutter:24,children:[(0,M.jsx)(g.A,{span:a.length>0?"":24,children:(0,M.jsx)(q.A.Item,{className:"stock-search-input",children:(0,M.jsx)(ne.A,{onKeyDown:e=>"Space"===e.code&&A(),onPressEnter:e=>A(),allowClear:!0,size:a.length>0?"medium":"large",placeholder:f("Search image"),value:o.keywords,onChange:e=>r((t=>({...t,keywords:e.target.value}))),ref:c,spellCheck:"false",suffix:(0,M.jsx)(Be.A,{onClick:A,className:"cards-search__search-icon, input-icon",style:{fontSize:"16px",cursor:"pointer"}})})})}),a.length>0&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(g.A,{children:(0,M.jsxs)(He.Ay.Group,{defaultValue:"",onChange:e=>r((t=>({...t,orientation:e.target.value}))),children:[(0,M.jsx)(n.A,{title:f("All"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{value:"",children:(0,M.jsx)(O.A,{icon:"MixedView"})})}),(0,M.jsx)(n.A,{title:f("Landscape"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{value:"landscape",children:(0,M.jsx)(O.A,{icon:"LandscapeView"})})}),(0,M.jsx)(n.A,{title:f("Portrait"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{value:"portrait",children:(0,M.jsx)(O.A,{icon:"PortraitView"})})}),(0,M.jsx)(n.A,{title:f("Squarish"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{value:"squarish",children:(0,M.jsx)(O.A,{icon:"SquareView"})})})]})}),(0,M.jsx)(g.A,{children:(0,M.jsxs)(He.Ay.Group,{defaultValue:"",className:"stock-color-filter",onChange:e=>r((t=>({...t,color:e.target.value}))),children:[(0,M.jsx)(n.A,{title:f("All"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"all-colors",value:"",children:"All"})}),(0,M.jsx)(n.A,{title:f("Black"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"black-color",value:"black",children:"B"})}),(0,M.jsx)(n.A,{title:f("Black and White"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"bw-color",value:"black_and_white",children:"B&\xa7W"})}),(0,M.jsx)(n.A,{title:f("White"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"white-color",value:"white",children:"W"})}),(0,M.jsx)(n.A,{title:f("Orange"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"orange-color",value:"orange",children:"O"})}),(0,M.jsx)(n.A,{title:f("Red"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"red-color",value:"red",children:"R"})}),(0,M.jsx)(n.A,{title:f("Purple"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"purple-color",value:"purple",children:"P"})}),(0,M.jsx)(n.A,{title:f("Magenta"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"magenta-color",value:"magenta",children:"M"})}),(0,M.jsx)(n.A,{title:f("Green"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"green-color",value:"green",children:"G"})}),(0,M.jsx)(n.A,{title:f("Teal"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"teal-color",value:"teal",children:"T"})}),(0,M.jsx)(n.A,{title:f("Blue"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"blue-color",value:"blue",children:"Blue"})})]})})]})]}),a.length>0&&(0,M.jsx)("div",{className:"blocks-search__divider-wrapper",children:(0,M.jsx)("div",{className:"ant-divider ant-divider-horizontal",role:"separator"})})]}),(0,M.jsx)("div",{className:"serach-output-wrapper",style:{marginRight:-10},children:a.length>0&&(0,M.jsx)("div",{id:"scrollableDiv",style:{width:"100%",height:"calc(84vh - 148px)",overflow:"auto",paddingTop:24,paddingRight:14,paddingLeft:24,marginLeft:-24,lineHeight:"0",boxSizing:"unset"},children:(0,M.jsx)(Ne.A,{dataLength:a&&a.length,next:async()=>{u||(h(!0),y({query:o,page:x}).then((e=>{i((t=>[...t,...e.data.results])),h(!1),v((e=>e+1))})).catch((()=>{h(!1)})))},hasMore:a,endMessage:(0,M.jsxs)(d.A,{plain:!0,children:[f("That`s all we could find.")," \ud83e\udd10"]}),scrollableTarget:"scrollableDiv",style:{overflow:"visible"},loader:null,children:(0,M.jsx)(Ie.A,{breakpointCols:{default:3},className:"my-masonry-grid",columnClassName:"my-masonry-grid_column",children:a.map((t=>(0,M.jsxs)("div",{className:"list-item",onClick:()=>{return s=t.urls,l=t.links,i=t.id,_(l.download_location),L(i),setTimeout((()=>L(null)),2e3),m(`${s.raw}&w=1200&q=96`),e(`${s.raw}&w=1200&q=96`),void p(`${s.raw}&w=1200&q=96`);var s,l,i},children:[(0,M.jsx)("img",{className:w===t.id?"loaded-image":"",width:"322px",src:`${t.urls.raw}&w=644&q=96`,alt:t.description,onLoad:e=>e.target.parentNode.classList.add("loaded")}),(0,M.jsxs)("p",{className:"creator-info",onClick:e=>e.stopPropagation(),children:["Photo by"," ",(0,M.jsx)("a",{target:"_blank",href:`${t.user.links.html}?utm_source=${Te}&utm_medium=referral`,rel:"noreferrer",children:t.user.name})," ","on"," ",(0,M.jsx)("a",{target:"_blank",href:`https://unsplash.com/?utm_source=${Te}&utm_medium=referral`,rel:"noreferrer",children:"Unsplash"})]}),w===t.id&&(0,M.jsx)(re.A,{className:"ant-spin",indicator:(0,M.jsx)(de.A,{spin:!0})})]},t.id)))})})})})]})};var Re=s(89831),Oe=s(26786),De=s(58013),Pe=s(41564);const ze=({images:e,transitionDuration:t=1e3})=>{const[s,i]=(0,l.useState)([]);return(0,l.useEffect)((()=>{if(e.length>0){const t=e[e.length-1];i((e=>[...e,{src:t,opacity:0}])),setTimeout((()=>{i((e=>e.map(((t,s)=>s===e.length-1?{...t,opacity:1}:t))))}),1e3)}}),[e]),(0,M.jsx)("div",{className:"slideshow-container",children:s.map(((e,s)=>(0,M.jsx)("img",{src:`data:image/jpeg;base64, ${e.src}`,alt:`Slide ${s+1}`,className:"slideshow-image",style:{opacity:e.opacity,transition:`opacity ${t}ms linear`}},s)))})};var Fe=s(46950),Ue=s(47381);const qe=e=>{const{className:t,style:s,onClick:l}=e;return(0,M.jsx)("div",{className:t,style:{...s,zIndex:"3000",display:"block",position:"absolute",top:"50%",right:"0",transform:"translateY(-50%) translateX(-100%)",backgroundColor:"transparent",opacity:.8},onClick:l,children:(0,M.jsx)(h.Ay,{style:{borderRadius:100,right:10},size:"large",icon:(0,M.jsx)(Oe.A,{})})})},Ge=e=>{const{className:t,style:s,onClick:l}=e;return(0,M.jsx)("div",{className:t,style:{...s,display:"block",position:"absolute",zIndex:"1000",top:"50%",left:"0",transform:"translateY(-50%)",backgroundColor:"transparent",opacity:.8},onClick:l,children:(0,M.jsx)(h.Ay,{style:{borderRadius:100,left:10},size:"large",icon:(0,M.jsx)(De.A,{})})})},Ke=({setModalHeight:e,customRequest:t,aiImageRequest:s,setAiImageRequest:i,aiTabRef:a,imageAiList:o,setImageAiList:n,isLoadingAi:r,setIsLoadingAi:c,inputAiRef:d,isImageUploaded:m,setIsImageUploaded:p})=>{const{__:u}=(0,j.s9)(),x=(0,k.rD)(),v=(0,_.hN)(),y=(0,Ue.u)(),{emailId:A,blockId:w,projectId:L}=(0,f.g)(),S=(0,Ae.ml)(Le.A.ON_LIMIT_ID),[E,V]=(0,l.useState)(0),[H,N]=(0,l.useState)(null),[I,B]=(0,l.useState)(!1),[T,Z]=(0,l.useState)(u("Evaluating the task")),[R,D]=(0,l.useState)(!1),[P]=(0,ue.Mv)(),[z,{data:F=[]}]=(0,ue.gg)(),U=A||w,{limits:G}=null!==x&&void 0!==x&&x.limits?x:{limits:{ai_img_limit:0}},{ai_img_limit:K}=G,$=E>=K&&K>0,W=!(!x.limits||!x.counters)&&b.EW.isPlugin,X=(0,l.useCallback)((()=>{S.fire({name:"AiImgCount",count:E+1})}),[S,E]);(0,l.useEffect)((()=>{var e;W&&V((null===x||void 0===x||null===(e=x.counters)||void 0===e?void 0:e.ai_img_counter)||0)}),[x,W]);const Y=async()=>{Z(u("Evaluating the task")),""===s||r||(c(!0),D(!0),n([]),y({event:"submit_form",action:"ai_image_generation",entity_id:A,project_id:L}),P({body:{project_id:L,request:"create-image",connection:"midjourney",message:s}}).then((({data:e})=>{if(401===e.data.status)throw new Error(b.ff);200===(null===e||void 0===e?void 0:e.data.status)?(null!==e&&void 0!==e&&e.data.task.id&&(Z(e.data.task.message),N(e.data.task.id)),e.message&&v.success({id:"AI_IMAGE_SEND_SUCCESS",message:e.message,placement:"bottomRight",data:s}),z({task_id:null===e||void 0===e?void 0:e.data.task.id,entity_id:U})):(c(!1),D(!1),v.error({id:"AI_IMAGE_SEND_ERROR",message:(null===e||void 0===e?void 0:e.message)||u("Something went wrong, please try again"),placement:"bottomRight",data:s,innerException:e}))})).catch((e=>{c(!1),D(!1),e.error&&v.fromError("AI_IMAGE_SEND_ERROR",s,e.error)})))};(0,l.useEffect)((()=>{F.length>1&&("error"!==F[F.length-1].status||"Canceled"!==F[F.length-1].status?F[F.length-1].images?(Z(F[F.length-1].status),100===F[F.length-1].progress&&(n(F[F.length-1].images),Z(u("Evaluating the task")),N(null),D(!1))):(n([F[F.length-1].data]),c(!1)):(c(!1),D(!1),v.error({id:"AI_IMAGE_GET_ERROR",message:u("Something went wrong, please try again"),placement:"bottomRight",data:H})))}),[F,n,Z,u,c,e,H,v]),(0,l.useEffect)((()=>{(r||o.length>0)&&setTimeout((()=>{let t=550;a.current&&(t=a.current.offsetHeight+68),e(t)}),0)}),[a,F,o.length,r,e]);const[J,Q]=(0,l.useState)(!1);return(0,M.jsxs)("div",{className:"image-ai",children:[W&&(0,M.jsx)(Fe.A,{text:u("images"),counter:E,limits:K,wrapperStyles:{marginTop:-25}}),(0,M.jsx)(C.A,{gutter:24,style:{padding:"0 2px"},children:(0,M.jsx)(g.A,{span:24,children:(0,M.jsx)(q.A.Item,{style:{margin:0},children:(0,M.jsxs)("span",{className:"ant-input-affix-wrapper ant-input-affix-wrapper-lg "+(J?"ant-input-affix-wrapper-focused":""),style:{paddingLeft:0},children:[(0,M.jsx)(ne.A.TextArea,{ref:d,onKeyDown:e=>{"Shift"===e.key?B(!0):"Enter"!==e.key||I||(e.preventDefault(),$?W&&v.error({message:u("The usage limit has been exceeded"),description:u("The maximum number of requests for the current subscription period has been reached.\nSelect the appropriate plan to fulfil more requests"),placement:"bottomRight"}):W?(V((e=>e+1)),X(),Y()):Y())},onKeyUp:e=>{"Shift"===e.key&&B(!1)},onFocus:()=>{Q(!0)},onBlur:()=>{Q(!1)},autoSize:!0,allowClear:!0,className:"text-area-input-hybrid",placeholder:u("Generate image"),value:s,onChange:t=>{i(t.target.value),setTimeout((()=>{let t=0;a.current&&(t=a.current.offsetHeight+68,r||0!==o.length||(t=a.current.offsetHeight+68)),setTimeout((()=>{e(t)}),0)}),10)},style:{fontSize:16},spellCheck:"false"}),(0,M.jsx)("span",{className:"ant-input-suffix",children:r||R?(0,M.jsx)(de.A,{style:{fontSize:18},className:"input-icon",spin:!0}):(0,M.jsx)(O.A,{icon:"AI",style:{fontSize:16,top:0,right:0},className:"input-icon",onClick:()=>{W?$||(V((e=>e+1)),X(),Y()):Y()}})})]})})})}),(r||o.length>0)&&(0,M.jsxs)(Re.A,{dotPosition:"top",arrows:!0,nextArrow:(0,M.jsx)(qe,{}),prevArrow:(0,M.jsx)(Ge,{}),style:{marginTop:24},children:[r&&(0,M.jsx)("div",{className:"image-ai__loading",children:(0,M.jsxs)("div",{className:"spin",children:[(0,M.jsx)(de.A,{style:{fontSize:48},spin:!0}),(0,M.jsx)("p",{className:"status",children:T})]})}),o.length>0&&o.map(((e,s)=>(0,M.jsxs)("div",{className:"image-ai__image-item",children:[(0,M.jsx)(ze,{images:o}),(0,M.jsx)("div",{className:"buttons",children:"Ready"===F[F.length-1].status&&(0,M.jsx)(h.Ay,{onClick:()=>(e=>{if(!m){p(!0);const s=e.match(/^data:image\/([A-Za-z-+/]+);base64,(.+)$/),l=s[1],i=s[2],a=atob(i),o=new Array(a.length);for(let e=0;e<a.length;e++)o[e]=a.charCodeAt(e);const n=new Uint8Array(o),r=new Blob([n],{type:`image/${l}`}),c=new File([r],"image.jpeg",{type:r.type});t({file:c})}})(`data:image/jpeg;base64, ${e}`),icon:(0,M.jsx)(Pe.A,{}),children:u("Use this variant")})})]},s)))]})]})};var $e=s(42811);const We=({setNewLink:e,setCurrentImageLink:t,setModalHeight:s,setModalWidth:i,setImageGifList:a,imageGifList:o,currentReqGif:n,setCurrentReqGif:r,inputRef:c,setStockLink:m,customRequest:p})=>{const{__:u}=(0,j.s9)(),[h,x]=(0,l.useState)(null),[v,f]=(0,l.useState)(!1),[_,y]=(0,l.useState)(25),[A]=(0,ue.eo)(),w=async()=>{var e,t;const l=await A({query:n,page:0});(null===l||void 0===l||null===(e=l.data)||void 0===e||null===(t=e.data)||void 0===t?void 0:t.length)>0&&(a(l.data.data),setTimeout((()=>{s("84vh"),i(1060)}),0))},L=(0,M.jsx)(de.A,{style:{fontSize:20},spin:!0});return(0,M.jsxs)("div",{className:"stock-tab",children:[(0,M.jsxs)(q.A,{onValuesChange:w,className:o.length>0?"serach-results":"",children:[(0,M.jsx)(C.A,{gutter:24,children:(0,M.jsx)(g.A,{span:o.length>0?"":24,children:(0,M.jsx)(q.A.Item,{className:"stock-search-input",children:(0,M.jsx)(ne.A,{onKeyDown:e=>"Space"===e.code&&w(),onPressEnter:e=>w(),allowClear:!0,size:o.length>0?"medium":"large",placeholder:u("Search GIFs"),value:n.keywords,onChange:e=>r((t=>({...t,keywords:e.target.value}))),ref:c,spellCheck:"false",suffix:(0,M.jsx)(Be.A,{onClick:w,className:"cards-search__search-icon, input-icon",style:{fontSize:"16px",cursor:"pointer"}})})})})}),o.length>0&&(0,M.jsx)("div",{className:"blocks-search__divider-wrapper",children:(0,M.jsx)("div",{className:"ant-divider ant-divider-horizontal blocks-search__divider",role:"separator"})})]}),(0,M.jsx)("div",{className:"serach-output-wrapper",style:{marginRight:-10},children:o.length>0&&(0,M.jsx)("div",{id:"scrollableDiv",style:{width:"100%",height:"calc(84vh - 148px)",overflow:"auto",paddingTop:24,paddingRight:14,paddingLeft:24,marginLeft:-24,lineHeight:"0",boxSizing:"unset"},children:(0,M.jsx)(Ne.A,{dataLength:o&&o.length,next:async()=>{v||(f(!0),A({query:n,page:_}).then((e=>{a((t=>[...t,...e.data.data])),f(!1),y((e=>e+25))})).catch((()=>{f(!1)})))},hasMore:o,endMessage:(0,M.jsxs)(d.A,{plain:!0,children:[u("That`s all we could find.")," \ud83e\udd10"]}),scrollableTarget:"scrollableDiv",style:{overflow:"visible"},loader:(0,M.jsx)(re.A,{indicator:L}),children:(0,M.jsx)(Ie.A,{breakpointCols:{default:3},className:"my-masonry-grid",columnClassName:"my-masonry-grid_column",children:o.map(((e,s)=>(0,M.jsxs)("div",{className:"list-item",onClick:()=>{return s=e.images.downsized.url,l=e.id,x(l),setTimeout((()=>{x(null)}),2e3),m(`${s}`),t(`${s}`),void p(`${s}`);var s,l},children:[(0,M.jsx)("img",{className:h===e.id?"loaded-image":"",width:"322px",src:`${e.images.downsized.url}`,alt:e.title,onLoad:e=>e.target.parentNode.classList.add("loaded")}),(0,M.jsx)("a",{rel:"noreferrer",href:"https://giphy.com/",target:"_blank",onClick:e=>e.stopPropagation(),children:(0,M.jsx)("div",{className:"overlay-image",style:{backgroundImage:`url(${$e})`}})}),h===e.id&&(0,M.jsx)(re.A,{className:"ant-spin",indicator:(0,M.jsx)(de.A,{spin:!0})})]},e.id+s)))})})})})]})};var Xe=s(92779),Ye=s(32269);const Je="IMG",Qe="BACKGROUND",et="EDITOR",tt="UPLOAD",st="STOCK",lt="GIF",it="AI",{Dragger:at}=oe.A,ot=()=>{var e,t;const s=(0,k.rD)(),{__:i}=(0,j.s9)(),a=(0,v.wA)(),{projectId:n}=(0,f.g)(),[r,c]=(0,pe.dS)(),[d]=(0,ue.FQ)(),{modal:p}=o.A.useApp(),u=(0,_.hN)(),h=(0,v.d4)(he.B$),C=(0,v.d4)(he.C1),g=(0,v.d4)(Ce.cL),y=(0,v.d4)(ge.js),A=(0,v.d4)(ge.Ac),[w,L]=(0,l.useState)(""),[S,E]=(0,l.useState)(""),[V,H]=(0,l.useState)(""),[N,I]=(0,l.useState)(""),[B,T]=(0,l.useState)(tt),[Z,R]=(0,l.useState)({width:"",height:"",size:"",format:""}),[O,D]=(0,l.useState)("success"),[P,z]=(0,l.useState)(!1),F=l.useRef(null),U=l.useRef(null),G=l.useRef(null),K=l.useRef(null),$=l.useRef(null),W=l.useRef(null),X=l.useRef(null),Y=l.useRef(null),J=l.useRef(null),[Q,ee]=(0,l.useState)("auto"),[te,se]=(0,l.useState)(572),[le,ie]=(0,l.useState)(null),[ae,oe]=(0,l.useState)(!1),[ve,fe]=(0,l.useState)({keywords:"",color:"",orientation:""}),[je,_e]=(0,l.useState)({keywords:""}),[ye,we]=(0,l.useState)([]),[be,ke]=(0,l.useState)([]),[Me,Se]=(0,l.useState)([]),[Ee,He]=(0,l.useState)(!1),[Ne,Ie]=(0,l.useState)(""),[Be,Te]=(0,l.useState)(!1),[Re,Oe]=(0,l.useState)(0),De=(0,v.d4)(xe.yN),Pe=(0,Ae.ml)(Le.A.FILE_PROXY_EVENT_ID);let ze=!(h||(null===(e=C.id)||void 0===e?void 0:e.toString())!==(null===De||void 0===De||null===(t=De.members)||void 0===t?void 0:t.owner.ID))&&!0;const Fe=async e=>{if(e)try{const t=await Ue(e);Ge({url:e}),t&&$e(t)&&ot({file:t})}catch(t){console.error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 URL:",t)}},Ue=async e=>{try{const t=(await Pe.fire({url:e,project:De})).filter((e=>e instanceof Blob))[0];if(t)return t;const s=`https://api.emailmaker.ru/tools/file-proxy.php?url=${encodeURIComponent(e)}`,l=await fetch(s);if(!l.ok)throw new Error(`Server returned ${l.status}`);const i=await l.blob();return new File([i],e.split("/").pop(),{type:i.type})}catch(t){console.error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u0430:",t)}};document.onpaste=function(e){const t=e.clipboardData.items[0];if(B===tt&&N){if(0===t.type.indexOf("image")){const e=t.getAsFile();$e(e);const s={file:e};E(""),ot(s)}0===t.type.indexOf("text")&&t.getAsString((e=>{"http"===e.slice(0,4)?(E(""),L(e),Ge({url:e})):"meta"===e.toString().slice(1,5)&&(E(""),L(e.toString().split('"')[1]),Ge({url:e.toString().split('"')[1]}))}))}};const qe=(0,l.useMemo)((()=>({IMG:y,BACKGROUND:A})),[y,A]);(0,l.useEffect)((()=>{const e=e=>{let t=null;g.includes("UPLOAD_BACKGROUND_MODAL")?(t=Qe,I(Qe)):g.includes("UPLOAD_IMAGE_MODAL")&&(I(Je),t=Je),qe[t]&&(L(qe[t]),T(e))};g===b.lx.UPLOAD_IMAGE_MODAL||g===b.lx.UPLOAD_BACKGROUND_MODAL?e(et):g===b.lx.UPLOAD_IMAGE_MODAL_AI||g===b.lx.UPLOAD_BACKGROUND_MODAL_AI?(ze?(Te(!0),Oe(2)):e(it),setTimeout((()=>{var e;return null===(e=J.current)||void 0===e?void 0:e.focus({cursor:"start"})}),100)):g===b.lx.UPLOAD_IMAGE_MODAL_UPLOAD||g===b.lx.UPLOAD_BACKGROUND_MODAL_UPLOAD?(e(tt),setTimeout((()=>{var e;return null===(e=W.current)||void 0===e?void 0:e.focus({cursor:"start"})}),100)):g===b.lx.UPLOAD_IMAGE_MODAL_STOCK||g===b.lx.UPLOAD_BACKGROUND_MODAL_STOCK?(ze?(Te(!0),Oe(3)):e(st),setTimeout((()=>{var e;return null===(e=Y.current)||void 0===e?void 0:e.focus({cursor:"start"})}),100)):g===b.lx.UPLOAD_IMAGE_MODAL_GIF||g===b.lx.UPLOAD_BACKGROUND_MODAL_GIF?(ze?(Te(!0),Oe(3)):e(lt),setTimeout((()=>{var e;return null===(e=X.current)||void 0===e?void 0:e.focus({cursor:"start"})}),100)):g===b.lx.UPLOAD_IMAGE_MODAL_EDIT||g===b.lx.UPLOAD_BACKGROUND_MODAL_EDIT?(ze?(Te(!0),Oe(5)):e(et),a((0,Ce.Wz)(b.lx.IMAGE_EDITOR_MODAL))):I("")}),[g,a,ze,qe]);const Ge=(0,l.useCallback)((({url:e=w||""})=>{L(e),N===Je&&a((0,ge.tm)(e)),N===Qe&&a((0,ge.e_)(e)),setTimeout((()=>{fe({keywords:"",color:"",orientation:""}),_e({keywords:""}),ke([]),we([]),I(""),Ie(""),He(!1),H(""),E(""),T(tt)}),200),a((0,Ce.Oo)()),a((0,Ce.Os)())}),[w,a,N]);(0,l.useEffect)((()=>{const e=S||V;e?(0,Ye.DI)(e).then((t=>{D(t),se(572),setTimeout((()=>{let e=0;U.current&&(e=U.current.offsetHeight+62),ee(e)}),0),Ge(e)})).catch((e=>{D(e)})):D("")}),[S,V,Ge]),(0,l.useEffect)((()=>{w&&d(w).then((({data:e})=>{R({width:null===e||void 0===e?void 0:e.width,height:null===e||void 0===e?void 0:e.height,size:((null===e||void 0===e?void 0:e.fileSize)/1024).toFixed(2),format:null===e||void 0===e?void 0:e.format})}))}),[w,d]);(0,l.useEffect)((()=>{var e;""===ve.keywords&&(null===W||void 0===W||null===(e=W.current)||void 0===e||e.focus({cursor:"start"}),ke([]),setTimeout((()=>{ee("auto"),se(572)}),0))}),[ve,ke,ee,se]);const $e=e=>{const t="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/webp"===e.type||"image/gif"===e.type||"image/svg+xml"===e.type;return t||u.error({id:"IMAGE_UPLOAD_WRONG_FORMAT",data:e,message:"Upload",description:"You can only upload JPG/JPEG/PNG/WEBP/GIF/SVG file!",placement:"bottomRight"}),t},ot=({file:e})=>{const t="image/svg+xml"===e.type,l="image/webp"===e.type,a=e=>{const t=new Image;t.src=URL.createObjectURL(e),t.onload=()=>{(async e=>{oe(!0);const t=e.file;try{"image/gif"!==t.type&&(e.file=await(0,me.A)(t,{maxSizeMB:s.compressMaxSize||.45,maxWidthOrHeight:s.compressMaxWidthOrHeight||2e3})),r(e).then((({error:e,data:s})=>{var l;if(e)u.fromError("IMAGE_UPLOAD_ERROR",t,e);else if(400===(null===s||void 0===s||null===(l=s.data)||void 0===l?void 0:l.status))u.error({id:"IMAGE_UPLOAD_ERROR",data:t,innerException:null===s||void 0===s?void 0:s.data,message:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:s.code}}),description:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:s.message}}),placement:"bottomRight"});else{var a;const e=null===s||void 0===s||null===(a=s[0])||void 0===a?void 0:a.file_url;e&&(ee("auto"),z(!1),Ge({url:e})),u.success({id:"IMAGE_UPLOAD_SUCCESS",data:t,message:i("The image was successfully uploaded.")})}})).catch((e=>{console.warn("e",e)})).finally((()=>{oe(!1)}))}catch(l){console.error(l),oe(!1)}})({user_id:C.id,folder:n,file:e})}};t?((e,t)=>{const s=new FileReader;s.onload=function(s){const l=s.target.result,i=new Blob([l],{type:"image/svg+xml;charset=utf-8"}),a=URL.createObjectURL(i),o=new Image;o.onload=function(){const s=document.createElement("canvas");s.width=2*o.width,s.height=2*o.height,s.getContext("2d").drawImage(o,0,0,s.width,s.height),s.toBlob((s=>{const l=new File([s],e.name.replace(".svg",".png"),{type:"image/png"});t(l),URL.revokeObjectURL(a)}),"image/png")},o.src=a},s.readAsText(e)})(e,(e=>a(e))):l?((e,t,s=90)=>{const l=new Image;l.src=URL.createObjectURL(e),l.onload=()=>{const e=document.createElement("canvas");e.width=l.width,e.height=l.height;const i=e.getContext("2d");i.imageSmoothingEnabled=!0,i.imageSmoothingQuality="high",i.drawImage(l,0,0,e.width,e.height),e.toBlob((e=>{const s=new File([e],"converted.jpg",{type:"image/jpeg"});t(s)}),"image/jpeg",s/100)},l.onerror=e=>{console.error("Error loading image:",e),t(null)}})(e,(e=>a(e))):a(e)},nt=e=>ot({file:e});let rt=[{label:i("Upload"),key:tt,children:(0,M.jsxs)("div",{ref:F,style:{paddingBottom:24},children:[(0,M.jsxs)(at,{showUploadList:!1,name:"Image",beforeUpload:$e,customRequest:ot,style:{marginBottom:10},multiple:!1,accept:"image/png, image/jpeg, image/jpg, image/webp, image/gif, image/svg+xml",children:[(0,M.jsx)("p",{className:"ant-upload-drag-icon",children:(0,M.jsx)(ce.A,{})}),(0,M.jsx)("p",{className:"ant-upload-text",children:i("Click to select, paste from the clipboard, or drag and drop")}),(0,M.jsx)("p",{className:"ant-upload-hint",children:i("Accepted formats: PNG, JPG, WEBP, SVG or GIF.")})]}),(0,M.jsx)(q.A,{style:{padding:"0 2px 0 2px"},children:(0,M.jsx)(q.A.Item,{validateStatus:O,children:(0,M.jsx)(ne.A,{ref:W,allowClear:!0,size:"large",placeholder:i("Paste image URL here"),value:S,onChange:e=>{const t=e.target.value;E(t),le&&clearTimeout(le);const s=setTimeout((()=>Fe(t)),1e3);ie(s)},spellCheck:"false"})})})]})}];s.imageCenterStockEnabled&&!ze&&rt.push({label:i("Stock"),key:st,children:(0,M.jsx)("div",{ref:G,style:{paddingBottom:24},children:(0,M.jsx)(Ze,{currentReq:ve,setCurrentReq:fe,imageStockList:be,setImageStockList:ke,setModalWidth:se,setModalHeight:ee,setStockLink:H,setCurrentImageLink:L,inputRef:Y,customRequest:Fe})})}),s.imageCenterGifEnabled&&!ze&&rt.push({label:i("GIF"),key:lt,children:(0,M.jsx)("div",{ref:K,style:{paddingBottom:24},children:(0,M.jsx)(We,{currentReqGif:je,setCurrentReqGif:_e,imageGifList:ye,setImageGifList:we,setModalWidth:se,setModalHeight:ee,setStockLink:H,setCurrentImageLink:L,inputRef:X,customRequest:Fe})})}),s.elementAIimageEnabled&&!ze&&rt.push({label:i("AI"),key:it,children:(0,M.jsx)("div",{ref:$,style:{paddingBottom:24},children:(0,M.jsx)(Ke,{setModalHeight:ee,customRequest:ot,aiImageRequest:Ne,setAiImageRequest:Ie,imageAiList:Me,setImageAiList:Se,isLoadingAi:Ee,setIsLoadingAi:He,aiTabRef:$,inputAiRef:J,isImageUploaded:P,setIsImageUploaded:z})})}),s.imageCenterEditorEnabled&&rt.push({label:"",key:et,children:(0,M.jsx)("div",{ref:U,children:(0,M.jsx)(Ve,{currentImageLink:w,newLink:S,imageSize:Z,onSave:nt,uploadImageResultIsLoading:c.isLoading||!1})})});const ct=(0,M.jsx)(de.A,{style:{fontSize:32,margin:-16},spin:!0});return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(x.A,{width:te,className:"image-center blocks-modal",title:i("Image Center"),centered:!0,style:{minHeight:390},open:!!N,onOk:Ge,onCancel:()=>{a((0,Ce.Oo)()),setTimeout((()=>{L(""),E(""),ke([]),ke([]),fe({keywords:"",color:"",orientation:""}),_e({keywords:""}),ee("auto"),!Ee&&Ie(""),se(572),T(tt)}),200)},footer:B===et?(0,M.jsx)(M.Fragment,{}):null,children:(0,M.jsx)(re.A,{spinning:ae,indicator:ct,children:(0,M.jsx)(m.A,{activeKey:B,onChange:e=>{"GALLERY"===e?p.success({maskClosable:!0,centered:!0,title:i("Coming soon"),content:i("The feature is under development."),okText:i("Ok. I'll be waiting"),onOk:()=>{}}):e===et&&""===w?p.warning({maskClosable:!0,centered:!0,title:i(""),content:i("To preview and edit the uploaded image"),okText:i("Upload Image"),onOk:()=>{T(tt)}}):(setTimeout((()=>{let t=0,s=0;var l;if(e===tt&&F.current)""===ve.keywords&&(null===(l=W.current)||void 0===l||l.focus({cursor:"start"})),t=300,s=572;else if(e===et&&U.current)t=U.current.offsetHeight+62,s=572;else if(e===st&&G.current){var i;""===ve.keywords&&(null===(i=Y.current)||void 0===i||i.focus({cursor:"start"})),t=130,s=572,be.length>0&&(s=1060,t="84vh")}else if(e===lt&&K.current){var a;""===ve.keywords&&(null===(a=X.current)||void 0===a||a.focus({cursor:"start"})),t=130,s=572,ye.length>0&&(s=1060,t="84vh")}else if(e===it&&$.current){var o;if(""===Ne&&0===Me.length)null===(o=J.current)||void 0===o||o.focus({cursor:"start"}),t=130;else t=$.current.offsetHeight+82;s=572}ee(t),se(s)}),0),T(e))},items:rt,style:{height:Q,minHeight:130}})})}),(0,M.jsx)(Xe.A,{open:Be,onCancel:()=>Te(!1),initialSlide:Re})]})};var nt=s(57806),rt=s(49246),ct=s(86739),dt=s(84568),mt=s(39738),pt=s(32411);const ut=({emailElement:e})=>{const{__:t}=(0,j.s9)(),s=(0,J.XW)(),i=(0,v.wA)(),{projectId:a}=(0,f.g)(),o=(0,pt.fn)(),n=(0,v.d4)(mt.p1),r=(0,v.d4)(mt.RL),c=(0,v.d4)(te.Wm),[d,p]=(0,l.useState)(!0),[u,C]=(0,l.useState)(!1),[g,x]=(0,l.useState)([]),[_,y]=(0,l.useState)([]),w=e=>i((0,te.mi)(e)),L=(0,l.useCallback)((e=>{i((0,X.no)(e)),o.setValue(null===e||void 0===e?void 0:e.html.replaceAll("\r\n","\n"))}),[o,i]),{data:k}=dt.Nq.useGetProjectQuery(Number(a),{skip:!a}),[S,E]=(0,l.useState)([]);(0,l.useEffect)((()=>{if(k){const{owner:e,admins:t,users:s}=null===k||void 0===k?void 0:k.members;E([e&&{...e},t&&Array.isArray(t)&&t.map((e=>({...e}))),s&&Array.isArray(s)&&s.map((e=>({...e})))].filter((e=>e)).flat(1).map((e=>({id:e.ID,display_name:e.display_name}))))}}),[k,null===k||void 0===k?void 0:k.members,t]);const[V,H]=(0,l.useState)(1),[N,I]=(0,l.useState)(!1);(0,l.useEffect)((()=>{const e=Array.isArray(n)&&n.length&&(null===n||void 0===n?void 0:n.map((e=>{var s;return{key:e.id,author:e.author,date:(0,Ye.Yq)((0,Ye.Cl)(e.date||e.modified),t),title:e.title,html:e.html,common_styles:e.common_styles,loading:!1,isAutosave:null===(s=e.slug)||void 0===s?void 0:s.includes("autosave")}})));y(e||[]),x(e),p(!1),r<2&&I(!0)}),[n,r,t]);const B=d||u||N?null:(0,M.jsx)("div",{style:{textAlign:"center",marginTop:24,marginBottom:24,height:32,lineHeight:"32px"},children:(0,M.jsx)(h.Ay,{onClick:()=>{C(!0),y(g.concat([...new Array(3)].map((()=>({loading:!0}))))),i(ct.GY.endpoints.getEmailHistory.initiate({emailId:e.id,page:V+1})).then((e=>{const{data:s,totalPages:l}=e.data,i=Array.isArray(s)&&(null===s||void 0===s?void 0:s.map((e=>({key:e.id,author:e.author,date:(0,Ye.Yq)((0,Ye.Cl)(e.date||e.modified),t),title:e.title,html:e.html,loading:!1})))),a=g.concat(i);y(a),x(a),C(!1),window.dispatchEvent(new Event("resize")),V+1>=l&&I(!0),H(V+1)}))},children:t("loading more")})}),[T,Z]=(0,l.useState)(),[R,D]=(0,l.useState)(null),P=(0,l.useRef)();return P.current=e,(0,l.useEffect)((()=>{if(!c&&!R){const e=P.current;e&&D({html:o.getValue(),preheader:e.preheader,common_styles:e.common_styles,subject:e.subject})}}),[c,D,o,R]),(0,l.useEffect)((()=>{c&&R&&(L(R),D(null))}),[c,R,L]),(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(m.A,{className:"secondary-tabs email-settings__collapse secondary-tabs_unset_scroll",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:b.Vv,items:[{label:(0,M.jsx)(M.Fragment,{children:t("Version history")}),key:b.Vv,forceRender:!0,className:"email-settings__collapse-panel",style:{height:"100%"},children:(0,M.jsx)(nt.A,{className:"history-panel__list",loading:d,itemLayout:"horizontal",loadMore:B,dataSource:_,header:(0,M.jsxs)("div",{className:"history-panel__list-header",children:[(0,M.jsx)("div",{className:"history-panel__list-date",children:t("Time")}),(0,M.jsx)("div",{className:"history-panel__list-author",children:t("Author")}),(0,M.jsx)("div",{className:"history-panel__restore",children:"Set"})]}),renderItem:(e,l)=>{var a;return(0,M.jsx)(nt.A.Item,{onClick:()=>{l!==T&&(Z(l),L(g[l])),i((0,Y.rc)(!0))},className:A()("history-panel__item",{"history-panel__item_active":l===T}),children:(0,M.jsxs)(rt.A,{title:!1,loading:e.loading||!1,active:!0,children:[(0,M.jsx)("div",{className:"history-panel__list-date",children:e.date}),(0,M.jsx)("div",{className:"history-panel__list-author",children:(null===(a=S.find((t=>{var s,l;return(null===(s=t.id)||void 0===s?void 0:s.toString())===(null===(l=e.author)||void 0===l?void 0:l.toString())})))||void 0===a?void 0:a.display_name)||"\u2013"}),e.isAutosave&&T!==l&&(0,M.jsx)("div",{style:{opacity:.45},className:"history-panel__list-autosave",children:t("Auto")}),!e.isAutosave&&(0,M.jsx)(h.Ay,{size:"small",className:"history-panel__restore",type:"link",onClick:e=>{T===l&&e.stopPropagation(),L(g[l]),Z(null),D(null),s({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1}),i((0,te.Fk)())},children:t("Set")}),e.isAutosave&&T===l&&(0,M.jsx)(h.Ay,{size:"small",className:"history-panel__restore",type:"link",onClick:e=>{T===l&&e.stopPropagation(),L(g[l]),w(!0),Z(null),D(null),s({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1})},children:t("Set")})]})})}})}]}),(0,M.jsx)(h.Ay,{type:"text",className:"ant-modal-close","aria-label":"Close",onClick:()=>{i((0,te.Fk)()),L(R),D(null),w(!0),s({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1})},children:(0,M.jsx)(O.A,{icon:"Close"})})]})};var ht=s(3185),Ct=s(86529),gt=s(7228);const xt=({elementPath:e})=>{const{_x:t}=(0,j.s9)(),s=(0,v.wA)(),i=(0,J.QC)(),a=(0,l.useCallback)((e=>{i.send({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_SET,index:e})}),[i]),o=(0,l.useCallback)((()=>{s((0,te.PM)(b.rY)),i.send({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1}),i.send({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_RESET})}),[i,s]),n={title:(0,M.jsxs)("span",{onClick:o,children:[(0,M.jsx)(O.A,{icon:"Email"})," ",t("Email","letter")]})},[r,c]=(0,l.useState)([n]),d=(0,l.useCallback)((e=>{i.send({operation:b.Ru.SANDBOX_ELEMENT_HOVER_SET,index:e})}),[i]),m=(0,l.useCallback)(((e,t)=>{return(0,M.jsxs)("span",{className:e.className,onClick:()=>{a(t)},onMouseOver:()=>{d(t)},children:[(s=e.className,s.includes("em-element-path-item-text")?(0,M.jsx)(O.A,{icon:"ElementText"}):s.includes("em-element-path-item-image")?(0,M.jsx)(O.A,{icon:"ElementImage"}):s.includes("em-element-path-item-link")?(0,M.jsx)(gt.A,{}):s.includes("em-element-path-item-atom")?(0,M.jsx)(O.A,{icon:"Atom"}):s.includes("em-element-path-item-column")?(0,M.jsx)(O.A,{icon:"Column"}):s.includes("em-element-path-item-block")?(0,M.jsx)(O.A,{icon:"Block"}):s.includes("em-element-path-item-group")?(0,M.jsx)(O.A,{icon:"Group"}):s.includes("em-element-path-item-button")?(0,M.jsx)(O.A,{icon:"Button"}):s.includes("em-element-path-item-table")?(0,M.jsx)(O.A,{icon:"Table"}):s.includes("em-element-path-item-amp")?(0,M.jsx)(O.A,{icon:"AMP"}):void 0)," ",e.title]});var s}),[a,d]);return(0,l.useEffect)((()=>{if(e){const s=e.map(((e,t)=>({title:m(e,t)})));c([{title:(0,M.jsxs)("span",{onClick:o,children:[(0,M.jsx)(O.A,{icon:"Email"})," ",t("Email","letter")]})},...s])}}),[e,m,o,t]),(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(Ct.A,{items:r,type:"separator",separator:""})})};var vt=s(26201),ft=s(84612),jt=s(58819),_t=s(18777),yt=s(18398),At=s(53204),wt=s(34524),Lt=s(39990),bt=s(64037),kt=s(92756);const Mt=(e,t)=>(0,M.jsx)(t,{className:"email-pane__tab-bar",...e}),{Content:St}=i.A,{useToken:Et}=a.A,Vt=(0,l.memo)((e=>(0,M.jsx)(le.A,{...e}))),Ht=(0,l.memo)((e=>(0,M.jsx)(N,{...e}))),Nt=(0,l.memo)((e=>(0,M.jsx)(I.A,{...e}))),It=(0,l.memo)((e=>(0,M.jsx)(ae.A,{...e}))),Bt=(0,l.memo)((0,l.forwardRef)(((e,t)=>(0,M.jsx)(ie.A,{...e,ref:t})))),Tt=(0,l.memo)((e=>(0,M.jsx)(Z.A,{...e}))),Zt=(0,l.memo)((e=>(0,M.jsx)(S,{...e}))),Rt=(0,l.memo)((e=>(0,M.jsx)(ut,{...e}))),Ot=({emailElement:e,isSuccess:t,setIsCollaborationEditor:s})=>{var a,y,w,L,S;const{__:E,_x:V}=(0,j.s9)(),H=(0,J.QC)(),{emailId:N,blockId:I,projectId:Z}=(0,f.g)(),D=(0,v.wA)(),{modal:P}=o.A.useApp(),z=(0,k.rD)(),{token:F}=Et(),U=(0,_.hN)(),q=(0,ye.p6)(),G=(0,v.d4)(te.B),K=(0,v.d4)(he.C1),$=(0,v.d4)(he.B$),W=(0,v.d4)(Ce.cL),Q=(0,v.d4)(te.NQ),ee=(0,v.d4)(X.qX),le=(0,v.d4)(Y.qX),ie=(0,v.d4)(te.Fv),ae=(0,v.d4)(te.yy),oe=(0,v.d4)(wt.D2),ne=(0,v.d4)(wt.jr),re=(0,v.d4)(wt.hc),ce=(0,v.d4)(te.Tn),[de]=(0,jt.Ll)(),[me,pe]=(0,l.useState)(!1),[ue,ge]=(0,l.useState)(),[ve,fe]=(0,l.useState)(z.defaultBuildPanel||"empty"),[je,_e]=(0,l.useState)("empty"),[Ae,we]=(0,l.useState)(!1),[Le,be]=(0,l.useState)([]),[ke,Me]=(0,l.useState)(!1),[Se,Ee]=(0,l.useState)([]),Ve=(0,v.d4)(xe.yN);let He=!$&&(null===(a=K.id)||void 0===a?void 0:a.toString())===(null===Ve||void 0===Ve||null===(y=Ve.members)||void 0===y?void 0:y.owner.ID)&&!0;const Ne=!b.EW.isPlugin||((null===z||void 0===z?void 0:z.configSwither)||!1);(0,l.useEffect)((()=>{D((0,te.sy)())}),[D]),(0,l.useEffect)((()=>{const e=window.localStorage.getItem(b.V0.em_active_tab);e&&D((0,te.PM)(e))}),[q,D]);const Ie=N||I,Be=e.hasOwnProperty("type")?b.IE:b.Tm,Te=Be===b.Tm?ee:le,[Ze,Re]=(0,l.useState)({}),Oe=(0,l.useRef)(null),De=(0,l.useRef)(),Pe=(0,l.useRef)(),ze=(0,l.useRef)(),Fe=(0,l.useRef)(),Ue=(0,l.useRef)(),qe=(0,l.useRef)(null),Ge=(0,l.useRef)(!1),[Ke,$e]=(0,l.useState)(!1),[We,Je]=(0,l.useState)(!1),[Qe]=(0,Lt.b9)(),[et,tt]=(0,l.useState)(!1),[st,lt]=(0,l.useState)(0),[it,at]=(0,l.useState)(b.EW.isPlugin?"pro"===localStorage.getItem("configSwither"):"pro"===K.email_builder_config),[nt,rt]=(0,l.useState)("FreeMode"),ct=b.EW.isPlugin?z.configSwither&&"pro"===z.mode?"DesignerMode":"EditorMode":it?"DesignerMode":"EditorMode",dt=(0,l.useCallback)((()=>{clearTimeout(qe.current);const e=".blocks-search__result-holder";document.querySelector(e)&&(oe||ne||re)&&(document.querySelector(e).style.removeProperty("transition"),document.querySelector(e).style.opacity=0,document.querySelectorAll(".blocks-search__result-body").forEach((e=>e.style.removeProperty("height"))),qe.current=setTimeout((()=>{document.querySelectorAll(".blocks-search__result-body").forEach((e=>{e.style.height=207*e.getBoundingClientRect().height/660+"px"})),document.querySelector(e)&&(document.querySelector(e).style.transition="opacity 0.2s",document.querySelectorAll(e).forEach((e=>e.style.opacity=1)))}),200))}),[ne,oe,re]);function mt(e){setTimeout((()=>{$e(e.target.closest(".desktop_view")),Je(e.target.closest(".mobile_view"))}),100)}(0,l.useEffect)((()=>(document.addEventListener("mouseover",mt),()=>{document.removeEventListener("mouseover",mt)})),[]),(0,l.useEffect)((()=>{D((0,te.wr)(me?b.ND:b.Vp))}),[me,D]),(0,l.useEffect)((()=>{"function"===typeof s&&(Se.length>0?s(!0):s(!1))}),[Se]);const[pt]=(0,ft.EQ)(),{data:ut={},refetch:Ct,status:gt}=(0,ft.gb)({entity_id:Ie},{skip:!Ie}),[Ot,Dt]=(0,l.useState)([]),[Pt,zt]=(0,l.useState)(""!==z.defaultBuildPanel?b.nA:b.Jy),[Ft,Ut]=(0,l.useState)(null),qt=(0,l.useCallback)((()=>{var e;const t=null===(e=Pe.current)||void 0===e?void 0:e.getBoundingClientRect(),s=null===ue||void 0===ue?void 0:ue.getBoundingClientRect();H.send({operation:b.Ru.SANDBOX_WINDOW_CHARACTERISTIC,settings:{iframeOffsetTop:ie&&"bottom"!==ae?0:30,scrollTop:-(null===t||void 0===t?void 0:t.top)+(null===s||void 0===s?void 0:s.top)+30,innerHeight:window.innerHeight,previewHeight:null===s||void 0===s?void 0:s.height,mode:ie&&"bottom"!==ae?"code":"default"}})}),[ae,ie,ue,H]),Gt=t&&e,Kt=(0,l.useCallback)((e=>{const t=window.navigator.platform.match("Mac");z.codeEnabled&&z.codeSideEnabled&&e.altKey&&88===e.keyCode&&(D((0,te.vs)()),He&&(tt(!0),lt(1))),((t?e.metaKey:e.ctrlKey)&&e.shiftKey&&76===e.keyCode||(t?e.metaKey:e.ctrlKey)&&e.shiftKey&&69===e.keyCode||(t?e.metaKey:e.ctrlKey)&&e.shiftKey&&82===e.keyCode)&&e.preventDefault()}),[D,z.codeEnabled,He,z.codeSideEnabled]),$t=(0,l.useCallback)((t=>{document.querySelector(".easylogic-colorpicker")||t.target.closest(".email-pane__collapse-wrapper")||t.target.closest(".selected-element-panel__columns-settings__controls__column__remove")||t.target.closest(".email-preview__content-col_main")||t.target.closest(".email-preview-menu")||t.target.closest(".monaco-editor")||t.target.closest(".main__pane-close-btn")||t.target.closest(".main__pane-trigger")||t.target.closest(".ant-modal-wrap")||t.target.closest(".email-pane__sizes")||t.target.closest(".ant-input-clear-icon")||Ft||t.target.closest(".email-preview-menu__history")||t.target.closest(".selected-element-panel-content")||t.target.closest(".toggle_view")||t.target.closest(".upload-bg-image__menu")||t.target.closest(".email-pane__paths")||t.target.closest(".ant-tabs-extra-content")||t.target.closest(".anticon-delete")||W===b.lx.UPLOAD_IMAGE_MODAL||W===b.lx.UPLOAD_IMAGE_MODAL_AI||W===b.lx.UPLOAD_IMAGE_MODAL_UPLOAD||W===b.lx.UPLOAD_IMAGE_MODAL_EDIT||W===b.lx.IMAGE_EDITOR_MODAL||W===b.lx.UPLOAD_BACKGROUND_MODAL||(G===b.yI&&(D((0,te.Fk)()),H.send({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_RESET}),be([])),D((0,te.mi)(!0)),H.send({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1}),setTimeout((()=>{e.type?D((0,Y.A9)({type:null})):D((0,X.A9)({type:null}))}),300)),Ut(null)}),[D,e.type,W,Ft,G,H]),[Wt,Xt]=(0,l.useState)(!0),{data:Yt=[],refetch:Jt}=(0,_t.Cf)(Ie,{skip:!Ie}),[Qt,es]=(0,l.useState)(""),[ts,ss]=(0,l.useState)("");(0,l.useEffect)((()=>{Ie&&Jt()}),[G,Ie,Jt]),(0,l.useEffect)((()=>{Ie&&!Object.keys(ut).length&&"fulfilled"===gt&&Ct()}),[G,Ie,Ct,ut,gt]),(0,l.useEffect)((()=>{var e;const t=new Ye.jG,s=window.localStorage.getItem(b.V0.em_active_tab);if(0===(null===ut||void 0===ut?void 0:ut.totalCount)&&"pending"!==gt){const e={project_id:Z,connection:"chat",entity_id:Ie,context:"default",locale:K.locale.slice(0,2)};s||pt({body:e}).then((()=>{t.isDisposed()||"fulfilled"===gt&&Ct()}))}const l={data:{role:"assistant",message:"\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u0442",isLoading:!0}};var i,a;(null===ut||void 0===ut||null===(e=ut.documents)||void 0===e?void 0:e.length)>0?(window.localStorage.removeItem(b.V0.em_active_tab),Dt(null===ut||void 0===ut?void 0:ut.documents),null!==ut&&void 0!==ut&&null!==(i=ut.documents[(null===ut||void 0===ut||null===(a=ut.documents)||void 0===a?void 0:a.length)-1].data)&&void 0!==i&&i.userInfo&&Dt([...null===ut||void 0===ut?void 0:ut.documents,l])):s||Dt([l]);return()=>t.dispose()}),[Ie,K.locale,null===ut||void 0===ut?void 0:ut.totalCount,null===ut||void 0===ut?void 0:ut.documents,Z,Ct,pt,gt]),(0,l.useEffect)((()=>{Re({}),D(Be===b.Tm?(0,X.A9)({}):(0,Y.A9)({}))}),[D,Be]);const ls=(0,l.useCallback)((e=>{D((0,X.G_)(e))}),[D]),is=(0,l.useCallback)((e=>{D((0,Y.Dz)(e))}),[D]),as=(0,l.useCallback)((e=>{D(Be===b.Tm?(0,X.A9)(e):(0,Y.A9)(e))}),[D,Be]);(0,l.useEffect)((()=>{const e=Fe.current,t=ze.current;ge(ie?t:e)}),[ie,ae]);const os=(0,l.useCallback)((e=>{fe(e),"search"===e?we(!0):(we(!1),_e(e)),setTimeout(dt,50)}),[dt]),ns=(0,l.useCallback)((e=>{const t=e.data.operation,s=e.data,l=e.data.action;if(t===b.Ru.APPLICATION_SCROLL_TO&&setTimeout((()=>{var t;null===(t=ze.current)||void 0===t||t.scrollTo({top:e.data.settings.value,behavior:"smooth"})}),100),t===b.Ru.APPLICATION_ACTION&&"toggle_editor"===l&&D((0,te.vs)()),t===b.Ru.APPLICATION_IFRAME_SET_HEIGHT&&(document.querySelector(".email-pane__iframe").style.height=s.settings.height+"px"),t===b.Ru.APPLICATION_EMAIL_SETTINGS_SET){let e=Object.assign({},s.settings);delete e.preheader;Object.values(e).every((e=>!e))?(D((0,X.M7)(!0)),D((0,te.Fk)())):ls(s.settings),s.settings.noBlocks&&console.log("No blocks detected."),D((0,te.wW)(s.settings.responsive)),Xt(e.structuresMedia)}if(t===b.Ru.APPLICATION_BLOCK_SETTINGS_SET){Object.values(s.settings).every((e=>!e))?(D((0,Y.rc)(!0)),D((0,te.Fk)())):(is(s.settings),Xt(s.settings.structuresMedia))}if(t===b.Ru.APPLICATION_ELEMENT_SETTINGS_SET){var i,a;const e=Object.values(b.bV),t=!!s.tab||!e.includes(s.type);var o;if(t&&G===b.yI&&D((0,te.Fk)()),s.type===b.bV.EMPTY_TABLE||s.type===b.bV.EMPTY_TD?(D((0,te.PM)(b.Bv)),s.type===b.bV.EMPTY_TABLE?(zt(b.nA),s.tab?os(s.tab):os("common")):s.type===b.bV.EMPTY_TD&&zt(b.Jy)):s.type&&G!==b.yI&&D((0,te.PM)(b.yI)),s.type===b.bV.CAROUSEL||s.type===b.bV.ACCORDION?(Re({settings:{...s.settings,type:t?null:s.type,caption:s.caption,parent:t?null:s.settings.parent},type:t?null:s.type,parent:t?null:s.settings.parent,caption:s.caption}),as({})):(as({...s.settings,type:t?null:s.type,parent:t?null:s.settings.parent,caption:s.caption}),Re({})),(null===(i=s.settings)||void 0===i||null===(a=i.path)||void 0===a?void 0:a.length)>0)be(null===(o=s.settings)||void 0===o?void 0:o.path)}t===b.Ru.APPLICATION_ELEMENT_SETTINGS_CLOSE&&D((0,te.Fk)())}),[D,ls,is,as,G,os]);(0,l.useEffect)((()=>{K.email_builder_config&&(at(b.EW.isPlugin?"pro"===localStorage.getItem("configSwither"):"pro"===K.email_builder_config),D((0,yt.EV)(K.email_builder_config)))}),[K.email_builder_config,D]),(0,l.useEffect)((()=>{var e,t;ie&&He&&D((0,te.vs)()),$||(null===(e=K.id)||void 0===e?void 0:e.toString())!==(null===Ve||void 0===Ve||null===(t=Ve.members)||void 0===t?void 0:t.owner.ID)?"simple"===z.mode&&(Qe({email_builder_config:"pro"}),localStorage.setItem("configSwither","pro"),D((0,yt.EV)("pro"))):(Qe({email_builder_config:"simple"}),localStorage.setItem("configSwither","simple"),D((0,yt.EV)("simple")))}),[]);const rs=e=>{var t,s;($||(null===(t=K.id)||void 0===t?void 0:t.toString())!==(null===Ve||void 0===Ve||null===(s=Ve.members)||void 0===s?void 0:s.owner.ID))&&at((e=>!e)),setTimeout((()=>{var t,s;if($||(null===(t=K.id)||void 0===t?void 0:t.toString())!==(null===Ve||void 0===Ve||null===(s=Ve.members)||void 0===s?void 0:s.owner.ID)){let t="DesignerMode"===e?"pro":"editor";Qe({email_builder_config:t}),localStorage.setItem("configSwither",t),D((0,yt.EV)(t))}else D((0,yt.EV)("pro")),rt("DesignerMode"),tt(!0)}),200)};(0,bt.A)(ns);const cs=(0,l.useRef)(),[ds,ms]=(0,l.useState)("unset"),ps=(0,l.useCallback)((()=>{var e,t;let s;const l=null===(e=ze.current)||void 0===e?void 0:e.getBoundingClientRect();if((null===cs||void 0===cs||null===(t=cs.current)||void 0===t?void 0:t.getBoundingClientRect().top)>=0){const e=l&&Math.round(l&&(null===l||void 0===l?void 0:l.height)-30);cs.current.style.height=`${e}px`,ms(e-30)}s&&window.clearTimeout(s),s=window.setTimeout((function(){H.isInited()&&qt()}),100)}),[qt,H]);(0,l.useEffect)((()=>(G===b.z$?Oe.current=setInterval((()=>{Ct({entity_id:Ie})}),5e3):clearInterval(Oe.current),clearInterval(Oe.current))),[Ie,Ct,G]);const us=window.localStorage.getItem(b.V0.em_code_mode_pane_sizes),[hs,Cs]=(0,l.useState)(+us||50),gs=()=>{let e=document.querySelector(".block-search__preview");e&&(e.style.opacity="0",e.style.transform="translateX(-99%)",setTimeout((function(){e.remove()}),300))};let xs=[];z.blocksEmptyEnabled&&xs.push({label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:E("Empty blocks"),children:(0,M.jsx)("div",{style:{paddingTop:4},children:(0,M.jsx)(O.A,{icon:"BorderOuterOutlined",style:{fontSize:18}})})}),value:"empty"}),z.blocksSavedEnabled&&xs.push({label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:E("Saved blocks"),children:(0,M.jsx)("div",{style:{paddingTop:4},children:(0,M.jsx)(O.A,{icon:"AppstoreAddOutlined",style:{fontSize:18}})})}),value:"project"}),z.blocksCommonEnabled&&xs.push({label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:E("Common blocks"),children:(0,M.jsx)("div",{style:{paddingTop:4},children:(0,M.jsx)(O.A,{icon:"AppstoreOutlined",style:{fontSize:18}})})}),value:"common"}),z.blocksTemplateEnabled&&xs.push({label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:E("Template blocks"),children:(0,M.jsx)("div",{style:{paddingTop:4},children:(0,M.jsx)(O.A,{icon:"BuildOutlined",style:{fontSize:18}})})}),value:"template"}),z.blocksSearchEnabled&&xs.push({label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:E("Blocks search"),children:(0,M.jsx)("div",{style:{paddingTop:4},children:(0,M.jsx)(O.A,{icon:"SearchOutlined",style:{fontSize:18}})})}),value:"search"});let vs=[{label:(0,M.jsx)("div",{className:"email-pane__tab",children:E("Elements")}),key:b.Jy,forceRender:!0,className:"email-pane__collapse-panel email-pane__atoms",children:(0,M.jsx)(Tt,{})},{label:(0,M.jsx)("div",{className:"email-pane__tab",children:E("Blocks")}),key:b.nA,forceRender:!0,className:"email-pane__collapse-panel email-pane__blocks-search",style:{height:z.blocksSectionsShow?"calc(100% - 44px)":"100%"},children:(0,M.jsxs)(M.Fragment,{children:[z.blocksSectionsShow&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)(r.A.Compact,{block:!0,children:[!Ae&&(0,M.jsx)(c.A,{block:!0,style:{width:"100%",marginTop:24},onChange:os,value:ve,options:xs}),Ae&&(0,M.jsx)("div",{style:{width:"100%",height:36}}),Ae&&(0,M.jsx)("div",{style:{width:36,textAlign:"right",marginTop:22},children:(0,M.jsx)(O.A,{icon:"CloseOutlined",style:{padding:"0 2px 0",cursor:"pointer"},onClick:()=>{we(!1),fe(je)}})})]}),(0,M.jsx)("div",{className:"blocks-search__divider-wrapper",style:{marginTop:Ae?28:12},children:(0,M.jsx)(d.A,{className:"blocks-search__divider"})})]}),(0,M.jsxs)("div",{style:{height:"100%"},children:[(0,M.jsx)("div",{className:"blocks-search__empty-shadow",style:{display:"empty"!==ve||Ae?"none":"block"},children:Wt?(0,M.jsx)(T.A,{}):(0,M.jsx)(B.A,{})}),(0,M.jsx)("div",{style:{height:z.blocksSectionsShow?"calc(100% - 24px)":"100%",display:"empty"!==ve||Ae?"block":"none"},children:(0,M.jsx)(Nt,{parentEmailId:null===e||void 0===e?void 0:e.parent_email,blocksTab:ve,search:Ae,reloadBlockScreens:dt,email:e})})]})]})}],fs=[{disabled:et,key:b.yI,style:{height:z.sidePanelFloating?ie&&"bottom"===ae?ds:"calc(100% - 30px)":"100%"},className:"em-analytics__email-tab-properties",children:(0,M.jsx)(M.Fragment,{children:(!(null===Te||void 0===Te||!Te.type)||!(null===Ze||void 0===Ze||!Ze.type))&&(0,M.jsx)("div",{className:A()("email-pane__collapse-wrapper",{"mobile-view":me,"mobile-properties":me&&ce!==b.mX}),onMouseLeave:gs,children:(0,M.jsx)(se,{email:e,formSettings:Ze})})})},{disabled:et,key:b.Vv,style:{height:z.sidePanelFloating?ie&&"bottom"===ae?ds:"calc(100% - 30px)":"100%"},className:"em-analytics__email-tab-history",children:Gt&&(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",onMouseLeave:gs,children:(0,M.jsx)(Rt,{setCollapsedHistory:()=>D((0,te.mi)(!0)),emailElement:Gt})})},{key:b.rb,className:"em-analytics__email-tab-properties"},{disabled:et,label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"left",title:V("Build","tab"),children:(0,M.jsx)(O.A,{icon:"PlusCircleOutlined"})}),key:b.Bv,className:"em-analytics__email-tab-build",style:{height:z.sidePanelFloating?ie&&"bottom"===ae?ds:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)("div",{className:A()("email-pane__collapse-wrapper",{"email-pane__collapse-wrapper_no-topleft-radius":G===b.Bv||!G}),onMouseLeave:gs,children:(0,M.jsx)(m.A,{className:A()("secondary-tabs email-pane__collapse",{"secondary-tabs_unset_scroll":Pt===b.nA}),size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:Pt,onChange:e=>zt(e||""),items:vs})})},{disabled:et,label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",overlayInnerStyle:{border:"2px dot-dash red"},overlayStyle:{border:"2px dot-dash red"},placement:"left",title:V("Styles","tab"),children:(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(O.A,{icon:"Styles"})})}),key:b.rY,className:"em-analytics__email-tab-styles",style:{height:z.sidePanelFloating?ie&&"bottom"===ae?ds:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",children:(0,M.jsx)(Ht,{email:e})})}];z.commentsEnabled&&fs.push({disabled:et,label:(0,M.jsxs)(n.A,{overlayClassName:"email-pane__tooltip",placement:"left",title:V("Discuss","tab"),children:[(0,M.jsx)(O.A,{icon:"CommentOutlined"}),He&&(0,M.jsx)(O.A,{icon:"Lock",className:"free-mode-firewall-icon free-mode-firewall-icon_emailpane"}),!!Yt.length&&(0,M.jsx)("span",{className:"email-pane__comment-counter",children:Yt.filter((e=>"deleted"!==e.comment_status)).length})]}),key:b.hc,className:"email-pane__tab-discuss em-analytics__email-tab-discuss",style:{height:z.sidePanelFloating?ie&&"bottom"===ae?ds:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",children:(0,M.jsx)(m.A,{className:"secondary-tabs email-settings__collapse",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:b.hc,items:[{label:(0,M.jsx)(M.Fragment,{children:E("Discuss")}),key:b.hc,forceRender:!0,className:"email-settings__collapse-panel",children:Ie?(0,M.jsx)(R.A,{email:e,comments:Yt,subjectId:Ie,isLoggedIn:!0,emailElementType:Be}):(0,M.jsx)("div",{className:"aside-content-wrapper",children:e.hasOwnProperty("type")?(0,M.jsx)(p.A,{description:E("Save the block before commenting."),type:"info",showIcon:!0,style:{marginBottom:20}}):(0,M.jsx)(p.A,{description:E("Save the email before commenting."),type:"info",showIcon:!0,style:{marginBottom:20}})})}]})})});const js=()=>{de({entity_id:Ie}).then((e=>{e.error?U.error({message:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:e.error.data.code}}),description:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:e.error.data.message}}),placement:"bottomRight"}):e.data.success&&U.success({message:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:E("Success")}}),description:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:e.data.success}}),placement:"bottomRight"}),Ct(),Me(!1)}))};z.aiAssistentEnabled&&fs.push({disabled:et,label:(0,M.jsxs)(n.A,{overlayClassName:"email-pane__tooltip",placement:"left",title:V("AI assistant","tab"),children:[(0,M.jsx)(O.A,{icon:"AI"}),He&&(0,M.jsx)(O.A,{icon:"Lock",className:"free-mode-firewall-icon free-mode-firewall-icon_emailpane"}),(null===ut||void 0===ut?void 0:ut.totalCount)>0&&Ie&&(0,M.jsx)("span",{className:"email-pane__comment-counter",children:null===ut||void 0===ut?void 0:ut.totalCount})]}),key:b.z$,className:"email-pane__tab-discuss em-analytics__email-tab-discuss",style:{height:z.sidePanelFloating?ie&&"bottom"===ae?ds:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)(M.Fragment,{children:(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",children:(0,M.jsx)(m.A,{className:"secondary-tabs email-settings__collapse",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:b.z$,tabBarExtraContent:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:E("Clear chat"),children:(0,M.jsx)(u.A,{description:"Clear chat history?",onConfirm:js,okText:"Yes",cancelText:"No",icon:"",placement:"leftTop",title:!1,children:(0,M.jsx)(h.Ay,{type:"text",icon:(0,M.jsx)(O.A,{icon:"ClearChat",style:{fontSize:16}}),style:{marginRight:16}})})}),items:[{label:(0,M.jsx)(M.Fragment,{children:E("AI assistant")}),key:b.z$,forceRender:!0,className:"email-settings__collapse-panel",children:Ie||window.localStorage.getItem(b.V0.em_active_tab)?(0,M.jsx)(Vt,{messages:Ot.length>0?Ot:[{data:{role:"assistant",message:"\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u0442",isLoading:!0}}],newEmailAiGeneratorRef:Ge}):(0,M.jsx)("div",{className:"aside-content-wrapper",children:e.hasOwnProperty("type")?(0,M.jsx)(p.A,{description:E("Save the block before commenting."),type:"info",showIcon:!0,style:{marginBottom:20}}):(0,M.jsx)(p.A,{description:E("Save the email before commenting."),type:"info",showIcon:!0,style:{marginBottom:20}})})}]})})})}),z.optimizeEnabled&&fs.push({disabled:et,label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",overlayInnerStyle:{border:"2px dot-dash red"},overlayStyle:{border:"2px dot-dash red"},placement:"left",title:V("Optimize","tab"),children:(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(O.A,{icon:"Speed"}),He&&(0,M.jsx)(O.A,{icon:"Lock",className:"free-mode-firewall-icon free-mode-firewall-icon_emailpane"})]})}),key:b.N7,className:"em-analytics__email-tab-optimise",style:{height:z.sidePanelFloating?ie&&"bottom"===ae?ds:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",children:(0,M.jsx)(m.A,{className:"secondary-tabs secondary-tabs_optimise email-settings__collapse",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:b.N7,items:[{label:(0,M.jsx)(M.Fragment,{children:E("Optimize")}),key:b.N7,forceRender:!0,className:"email-settings__collapse-panel",children:(0,M.jsx)(vt.A,{})}]})})}),z.settingsEnabled&&fs.push({disabled:et,label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"left",title:V("Settings","tab"),children:(0,M.jsx)(O.A,{icon:"SettingOutlined"})}),key:b.zx,className:"em-analytics__email-tab-edit",style:{height:z.sidePanelFloating?ie&&"bottom"===ae?ds:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",children:(0,M.jsx)(Zt,{email:e})})});const[_s,ys]=(0,l.useState)([]),[As,ws]=(0,l.useState)(!1),[Ls,bs]=(0,l.useState)(0),[ks,Ms]=(0,l.useState)(0),Ss=(null===(w=document.querySelector(".email-pane__col_preview"))||void 0===w?void 0:w.getBoundingClientRect().width)-(z.sidePanelFloating?0:38),[Es,Vs]=(0,l.useState)(null);(0,l.useEffect)((()=>{Ie&&Jt(Ie)}),[Ie,Jt]),(0,l.useEffect)((()=>{const e=H.onInit((()=>{H.send({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1}),H.send({operation:b.Ru.SANDBOX_LOCK_DISCUSS,value:As})}));return()=>e.dispose()}),[As,H]),(0,l.useEffect)((()=>{if(_s.length<2){const e=null===ue||void 0===ue?void 0:ue.getBoundingClientRect(),t=setInterval(s,50);function s(){H.isInited()&&e&&(qt(),clearInterval(t))}ys((e=>[...e,t]))}return clearInterval(_s[_s.length-1])}),[_s,ue,qt,H]);const Hs=(0,l.useCallback)(((e=Q)=>{var t;H.send({operation:b.Ru.SANDBOX_IFRAME_SETSIZE,settings:{iframeWidth:e+2}}),null===(t=De.current)||void 0===t||t.resize()}),[Q,H]);(0,l.useEffect)((()=>{if(ws(G===b.hc),G!==b.rb){var e;const t=document.querySelector(".email-pane__row"),s=null===t||void 0===t?void 0:t.getBoundingClientRect().width;(null===Pe||void 0===Pe||null===(e=Pe.current)||void 0===e?void 0:e.getBoundingClientRect().width)+540>s&&D((0,te.vc)("100%"))}}),[D,G]);const Ns=(0,l.useCallback)((()=>{const e=Pe.current;e&&(e.style.borderWidth="1px",z.sidePanelFloating||(e.style.marginLeft="-1px",e.style.marginRight="-1px"),e.style.borderLeftColor=null,e.style.borderRightColor=null)}),[z.sidePanelFloating]),Is=(0,l.useCallback)((e=>{Rs(!1),Es&&(setTimeout((()=>Hs()),50),Vs(null)),e.target.classList.contains("email-pane__handle")||Ns(),window.localStorage.setItem(b.V0.em_code_mode_pane_sizes,JSON.stringify(hs))}),[Hs,Es,hs,Ns]),Bs=e=>t=>{t.target.classList.contains("email-pane__handle")&&(t.preventDefault(),bs(t.target.parentNode.offsetWidth),Ms(t.pageX),Vs(e),Ut(e))},Ts=e=>{const t=Pe.current;"string"!==typeof e||Es&&Es!==e?Es||(Ns(),document.querySelector(".email-pane__iframe").style.width="1px",document.querySelector(".email-pane__iframe").style.removeProperty("margin-left")):(document.querySelector(".email-pane__iframe").style.width="calc(100% + 1px)","right"===e?(t.style.borderRightColor=F.colorPrimary,t.style.borderRightWidth="2px"):(t.style.borderLeftColor=F.colorPrimary,t.style.borderLeftWidth="2px",document.querySelector(".email-pane__iframe").style.marginLeft="-1px"))},[Zs,Rs]=(0,l.useState)(!1),Os=(0,l.useCallback)((e=>{if(!Es)return;let t=2*(e.pageX-ks),s=Ls+("left"===Es?-t:t);var l;s>318&&s<Ss&&(D((0,te.vc)(s)),"number"===typeof s&&s<=425?me||pe(!0):me&&pe(!1),null===(l=De.current)||void 0===l||l.resize())}),[D,Ls,ks,Es,Ss,me,pe]),Ds=(0,l.useCallback)((e=>{if(Zs)if("bottom"===ae){const t=Ue.current.getBoundingClientRect().height,s=Ue.current.getBoundingClientRect().top,l=(e.clientY-s)/t*100;if(l<20||l>80)return;Cs(l),ps()}else{const t=Ue.current.getBoundingClientRect().width,s=Ue.current.getBoundingClientRect().left,l=(e.clientX-s)/t*100,i=Pe.current.getBoundingClientRect().width;if(z.desktopMobileSwitchPanel&&"number"===typeof i&&i<=425&&(D((0,te.vc)(425)),me||pe(!0)),l<20||l>80)return;Cs(l)}}),[Zs,ae,ps,me,D,z.desktopMobileSwitchPanel,pe]);(0,l.useEffect)((()=>{ps()}),[ie,ps]);const Ps=e=>{D((0,te.vc)(e)),setTimeout((()=>Hs(e)),700),"number"===typeof e&&e<=425?me||pe(!0):me&&pe(!1)};(0,l.useEffect)((()=>(window.addEventListener("scroll",ps,!0),window.addEventListener("mousemove",Os,!0),window.addEventListener("mousemove",Ds),window.addEventListener("mouseup",Is,!0),window.addEventListener("click",$t),window.addEventListener("keydown",Kt),()=>{window.removeEventListener("mousemove",Os,!0),window.removeEventListener("mousemove",Ds),window.removeEventListener("mouseup",Is,!0),window.removeEventListener("scroll",ps,!0),window.removeEventListener("keydown",Kt),window.removeEventListener("click",$t)})));const[zs,Fs]=(0,l.useState)(z.emailPaneDesktopSize||Q);return(0,l.useEffect)((()=>{z.emailPaneDesktopSize&&D((0,te.vc)(z.emailPaneDesktopSize))}),[D,z.emailPaneDesktopSize]),(0,l.useEffect)((()=>{Fs(ie&&"bottom"!==ae&&!me&&z.desktopMobileSwitchPanel?"100%":Q)}),[D,z.emailPaneDesktopSize,ie,ae,me,z.desktopMobileSwitchPanel,Q]),(0,M.jsxs)(i.A,{className:A()("email-pane",{"email-pane_code-mode":ie,"email-pane_only_code_mode_mobile":z.onlyCodeModeInMobile,"email-pane_code-mode-bottom":ie&&"bottom"===ae,"email-pane_no-element-navigation":!z.switchDesktopMobilePropsEnabled&&!z.stepToOtherElementEnabled&&!z.deleteButtonEnabled,"email-pane_is-mobile":me,"email-pane_path-enabled":z.pathEnabled}),children:[(0,M.jsxs)(St,{className:"email-pane__container",ref:Fe,children:[((null===Te||void 0===Te?void 0:Te.type)===b.bV.TEXT||(null===Te||void 0===Te?void 0:Te.type)===b.bV.LINK||Te.type===b.bV.IMG||Te.type===b.bV.BUTTON)&&ie&&"bottom"!==ae&&(0,M.jsx)(ht.A,{className:A()("selected-element-panel__content selected-element-panel__content_abs",{"selected-element-panel__hidden":Te.type===b.bV.IMG}),emailElementType:Be,formSettings:Ze}),(0,M.jsxs)(C.A,{ref:Ue,className:A()("email-pane__row",{"email-pane__left":ie&&"right"===ae,"email-pane__right":ie&&"left"===ae,"email-pane__bottom":ie&&"bottom"===ae,"email-pane__sizeSwitcher":z.desktopMobileSwitchPanel,"email-pane__reverse":"left"===z.menuDirection,"email-pane__pinch":!z.sidePanelFloating}),children:[(0,M.jsxs)(g.A,{style:{flexGrow:1,overflowY:z.sidePanelFloating?"scroll":"hidden",overflowX:"hidden",height:ie&&"bottom"===ae?`calc(${hs}%)`:"100%",width:`${"left"===ae?100-hs:"bottom"===ae?100:hs}%`},id:"pane-content-wrapper",ref:ze,children:[(0,M.jsx)("div",{className:"email-pane__iframe-scroll-top",id:"iframe-scroll-top"}),z.desktopMobileSwitchPanel&&(0,M.jsxs)(r.A,{className:"email-pane__sizes-panel-wrapper",direction:"vertical",size:10,children:[(0,M.jsxs)(r.A,{className:"email-pane__sizes-panel",direction:"vertical",size:0,children:[(0,M.jsx)(n.A,{title:E("Desktop view"),placement:"right",open:Ke,children:(0,M.jsx)(h.Ay,{type:me?"text":"primary",icon:(0,M.jsx)(O.A,{icon:"DesktopOutlined"}),shape:"circle",onClick:()=>Ps(z.emailPaneDesktopSize||1e3),className:"toggle_view desktop_view"})}),(0,M.jsx)(n.A,{title:E("Mobile view"),placement:"right",open:We,children:(0,M.jsx)(h.Ay,{type:me?"primary":"text",icon:(0,M.jsx)(O.A,{icon:"MobileOutlined"}),shape:"circle",onClick:()=>Ps(425),className:"toggle_view mobile_view"})})]}),z.codeSideEnabled&&(0,M.jsx)(n.A,{title:E("Code mode"),placement:"right",children:(0,M.jsx)(h.Ay,{type:ie?"primary":"default",icon:(0,M.jsx)(O.A,{icon:"Code"}),shape:"circle",onClick:()=>{return e="right",ie?D((0,te.vs)()):"string"===typeof e?(D((0,te.Uf)(e)),!ie&&D((0,te.vs)())):D((0,te.vs)()),D((0,te.Fk)()),setTimeout((()=>{Be===b.IE?D((0,Y.A9)({type:null})):D((0,X.A9)({type:null}))}),300),H.send({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_RESET}),void D((0,At.rI)());var e}})})]}),(0,M.jsxs)(C.A,{className:A()("email-pane__col-wrapper",{container:ie&&"bottom"===ae||!ie,"email-pane__col-wrapper_reverse":"left"===z.menuDirection,"email-pane__col-wrapper_pinch":!z.sidePanelFloating}),style:{flexGrow:1,maxWidth:"unset",paddingTop:z.desktopMobileSwitchPanel&&ie&&"bottom"!==ae?"60px":""},children:[(0,M.jsxs)(g.A,{className:"email-pane__col email-pane__col_preview",style:{flexGrow:1,maxWidth:"unset"},children:[z.desktopMobileSwitchRule&&(0,M.jsx)("div",{className:`email-pane__sizes ${Qt}`,children:(0,M.jsxs)("div",{className:"email-pane__width-selectors-wrapper",children:[(0,M.jsx)("div",{className:"device-width__full",style:{flexGrow:1},onMouseEnter:()=>{es("device-width__full-hovered"),ss(E("Desktop"))},onMouseLeave:()=>{es(""),ss("")},onClick:()=>Ps("100%")}),(0,M.jsx)("div",{className:"device-width__768",style:{width:171},onMouseEnter:()=>{es("device-width__768-hovered"),ss(E("Small desktop \u2013 768px"))},onMouseLeave:()=>{es(""),ss("")},onClick:()=>Ps(768)}),(0,M.jsx)("div",{className:"device-width__425",style:{width:25},onMouseEnter:()=>{es("device-width__425-hovered"),ss(E("Mobile L \u2013 425px"))},onMouseLeave:()=>{es(""),ss("")},onClick:()=>Ps(425)}),(0,M.jsx)("div",{className:"device-width__375",style:{width:28},onMouseEnter:()=>{es("device-width__375-hovered"),ss(E("Mobile M \u2013 375px"))},onMouseLeave:()=>{es(""),ss("")},onClick:()=>Ps(375)}),(0,M.jsx)("div",{className:"device-width__320",style:{width:320},onMouseEnter:()=>{es("device-width__320-hovered"),ss(E("Mobile S \u2013 320px"))},onMouseLeave:()=>{es(""),ss("")},onClick:()=>Ps(320),children:ts}),(0,M.jsx)("div",{className:"device-width__375",style:{width:28},onMouseEnter:()=>{es("device-width__375-hovered"),ss(E("Mobile M \u2013 375px"))},onMouseLeave:()=>{es(""),ss("")},onClick:()=>Ps(375)}),(0,M.jsx)("div",{className:"device-width__425",style:{width:25},onMouseEnter:()=>{es("device-width__425-hovered"),ss(E("Mobile L \u2013 425px"))},onMouseLeave:()=>{es(""),ss("")},onClick:()=>Ps(425),children:(0,M.jsx)(n.A,{title:E("Mobile view"),placement:"bottom",children:(0,M.jsx)(h.Ay,{type:"default",icon:(0,M.jsx)(O.A,{icon:"MobileOutlined"}),size:"small",shape:"circle",style:{right:-12,top:4,zIndex:999,padding:0,position:"absolute",onClick:()=>Ps(425)}})})}),(0,M.jsx)("div",{className:"device-width__768",style:{width:171},onMouseEnter:()=>{es("device-width__768-hovered"),ss(E("Small desktop \u2013 768px"))},onMouseLeave:()=>{es(""),ss("")},onClick:()=>Ps(768),children:(0,M.jsx)(n.A,{title:E("Desktop view"),placement:"bottom",children:(0,M.jsx)(h.Ay,{type:"default",icon:(0,M.jsx)(O.A,{icon:"DesktopOutlined"}),size:"small",shape:"circle",style:{right:-12,top:4,zIndex:999,padding:0,position:"absolute",onClick:()=>Ps(768)}})})}),(0,M.jsx)("div",{className:"device-width__full",style:{flexGrow:1},onMouseEnter:()=>{es("device-width__full-hovered"),ss(E("Desktop"))},onMouseLeave:()=>{es(""),ss("")},onClick:()=>Ps("100%")})]})}),(0,M.jsxs)("div",{className:A()("email-pane__resizable",{"email-pane__resizable_drag":Es||Zs}),style:{maxWidth:zs},children:[(0,M.jsx)("div",{className:"email-pane__handle left",onMouseDown:Bs("left"),onMouseEnter:()=>Ts("left"),onMouseLeave:Ts}),(0,M.jsx)("div",{className:"email-pane__handle right",onMouseDown:Bs("right"),onMouseEnter:()=>Ts("right"),onMouseLeave:Ts}),(0,M.jsx)("div",{className:A()("email-pane__content-col email-pane__content-col_main",{"email-pane__content-col_disable":Es||Zs}),ref:Pe,id:"pane-content-iframe",children:(0,M.jsx)(Bt,{ref:De,className:"email-pane__iframe",email:e,handlerSendPosition:ps})})]})]}),(0,M.jsx)(g.A,{style:{display:ie&&"bottom"!==ae?"none":"initial"},ref:cs,className:A()("email-pane__content-col email-pane__content-col_menu email-pane__content-col_tabs email-pane__col email-pane__col_settings",{"email-pane__col_disabled":G===b.rb}),children:(!ie||"bottom"===ae)&&(0,M.jsx)(m.A,{className:A()("email-pane__col_settings-inner",{"email-pane__col_settings-inner_reverse":"left"===z.menuDirection}),size:"middle",animated:{inkBar:!1,tabPane:!1},activeKey:G,onTabClick:e=>{let t=document.querySelector(".atoms__list");if(e===b.Bv&&"Disabled_tab"===G&&t&&setTimeout((()=>{t.style.opacity=1}),300),z.toggleSidePanel&&e===G?(D((0,te.PM)(b.rb)),t&&(t.style.opacity=0)):"Optimize"===e?(0,Ye.Z1)(E,P):e!==b.yI&&e!==b.Vv&&(D((0,te.PM)(e)),H.send({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1}),H.send({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_RESET}),be([])),He&&("Discuss"===e||"Optimise"===e||"AiChat"===e))switch(tt(!0),e){case"Discuss":lt(7);break;case"Optimise":lt(6);break;case"AiChat":lt(9);break;default:lt(0)}},renderTabBar:Mt,tabPosition:"right",items:fs,tabBarExtraContent:Ne&&(0,M.jsx)(M.Fragment,{children:$||(null===(L=K.id)||void 0===L?void 0:L.toString())!==(null===Ve||void 0===Ve||null===(S=Ve.members)||void 0===S?void 0:S.owner.ID)?(0,M.jsx)(c.A,{options:[{value:"DesignerMode",icon:(0,M.jsx)(n.A,{placement:"left",title:E("Designer mode"),children:(0,M.jsx)(O.A,{icon:"DesignerMode",style:{fontSize:18,top:2}})})},{value:"EditorMode",icon:(0,M.jsx)(n.A,{placement:"left",title:E("Editor mode"),children:(0,M.jsx)(O.A,{icon:"EditorMode",style:{fontSize:18,top:4,left:2}})})}],className:"ant-segmented_editor-mode",onChange:rs,defaultValue:ct}):(0,M.jsx)(c.A,{options:[{value:"FreeMode",icon:(0,M.jsx)(n.A,{placement:"left",title:E("Simple mode"),children:(0,M.jsx)("span",{style:{fontSize:14,fontWeight:600,position:"relative",top:-1},children:"Free"})})},{value:"DesignerMode",icon:(0,M.jsx)(n.A,{placement:"left",title:E("Pro mode"),children:(0,M.jsx)(O.A,{icon:"DesignerMode",style:{fontSize:20,top:2}})})}],className:"ant-segmented_editor-mode",onChange:rs,value:nt})})})})]}),(0,M.jsx)("div",{className:"email-pane__iframe-scroll-bottom",id:"iframe-scroll-bottom"})]}),(0,M.jsxs)(g.A,{style:{width:`${"right"===ae?100-hs:"bottom"===ae?100:hs}%`,position:"relative",height:"bottom"===ae?`calc(${100-hs}%)`:"unset",display:ie?"initial":"none"},children:[(0,M.jsx)("div",{className:"email-pane__code-divider",onMouseDown:()=>Rs(!0)}),(0,M.jsx)("div",{className:"code-mode__pane code-mode__pane_editor email-pane__pane email-pane__pane_editor",children:(0,M.jsx)("div",{className:"code-mode__pane-content email-pane__pane-content",children:(0,M.jsx)(It,{email:e,setOtherUsers:Ee,newEmailAiGeneratorRef:Ge})})})]})]}),z.pathEnabled&&(0,M.jsx)("div",{className:"email-pane__paths",children:(0,M.jsx)(xt,{elementPath:Le})}),(0,M.jsx)("div",{className:"collaborator-list",children:(0,M.jsx)(kt.CollaboratorList,{users:Se,isEditor:b._P.isEditor,isPlugin:b.EW.isPlugin,token:F})})]}),"img"===(null===Ze||void 0===Ze?void 0:Ze.type)&&ie&&"bottom"!==ae&&(0,M.jsx)("div",{className:"email-pane__collapse-wrapper email-pane__collapse-wrapper_disabled",children:(0,M.jsx)(se,{email:e,formSettings:Ze})}),(0,M.jsx)(ot,{}),(0,M.jsx)(Xe.A,{open:et,onCancel:()=>{ie&&D((0,te.vs)()),D((0,te.Fk)()),D((0,yt.EV)("simple")),rt("FreeMode"),tt(!1)},initialSlide:st}),(0,M.jsx)(x.A,{title:E("Warning"),centered:!0,open:ke,onOk:js,onCancel:()=>{Me(!1)},children:(0,M.jsx)("p",{children:E("Clear chat history?")})})]})}},2491:(e,t,s)=>{s.d(t,{A:()=>F});var l=s(92810),i=s(95838),a=s(33206),o=s(81e3),n=s(66726),r=s(43005),c=s(24293),d=s(4800),m=s(71157),p=s(79716),u=s(82447),h=s(45934),C=s(64617),g=s(48409),x=s.n(g),v=s(23287),f=s(77019),j=s(62303),_=s(92779),y=s(64936),A=s(86286),w=s(47358),L=s(65983),b=s(7760),k=s(36404),M=s(86739),S=s(55701),E=s(63531),V=s(85163),H=s(92756),N=s(31844),I=s(32269),B=s(45695),T=s(32411),Z=s(56991),R=s(93982),O=s(13522),D=s(70082);const P=(0,D.jsx)(p.A,{style:{fontSize:20},spin:!0}),{useToken:z}=i.A,F=({emailElement:e,isCollaborationEditor:t})=>{var s,i,g,F;const{__:U}=(0,v.s9)(),q=(0,h.wA)(),G=(0,B.XW)(),{emailId:K,blockId:$}=(0,C.g)(),W=(0,h.d4)(y.cL),[X,Y]=(0,l.useState)(!1),[J,Q]=(0,E.Zf)(),ee=(0,C.Zp)(),te=(0,h.d4)(A.C1),[se]=(0,M.YE)(K),[le]=(0,S.lx)($),{owner:ie}=(0,N.A)(),ae=(0,T.fn)(),oe=(0,T.aD)(ae),ne=(0,T.TW)(ae),re=(0,h.d4)(w.Wm),ce=(0,h.d4)(w.Fv),de=(0,h.d4)(w.yy),{token:me}=z(),{modal:pe}=a.A.useApp(),ue=(0,m.hN)(),{confirm:he}=pe,Ce=(0,Z.rD)(),ge=e.hasOwnProperty("type")?V.IE:V.Tm,xe=(0,R.ml)(O.A.ON_SHARE_ID),ve=(0,R.ml)(O.A.ON_SHOW_PREVIEW_ID),[fe,je]=(0,l.useState)(!1),[_e,ye]=(0,l.useState)(0),Ae=(0,h.d4)(k.yN);let we=!(0,h.d4)(A.B$)&&(null===(s=te.id)||void 0===s?void 0:s.toString())===(null===Ae||void 0===Ae||null===(i=Ae.members)||void 0===i?void 0:i.owner.ID)&&!0;const Le=K?"emailId":"blockId",be=null===e||void 0===e?void 0:e.project,ke=e=>{"string"===typeof e?(q((0,w.Uf)(e)),!ce&&q((0,w.vs)())):q((0,w.vs)()),setTimeout((()=>{ge===V.IE?q((0,b.A9)({type:null})):q((0,L.A9)({type:null}))}),300),G({operation:V.Ru.SANDBOX_ELEMENT_ACTIVE_RESET}),we&&(je(!0),ye(1))},Me=(0,l.useCallback)((()=>{he({title:U("Available on the Personal plan and higher."),icon:(0,D.jsx)(u.A,{}),content:(0,D.jsx)("div",{style:{maxWidth:"330px"},children:U("Upgrade your plan to use this feature")}),centered:!0,okText:U("Choose your plan"),cancelText:U("Close & continue"),width:"unset",onOk(){ee("/billing")},onCancel(){}})}),[ee,U,he]);(0,l.useEffect)((()=>{Q.isError&&((0,I.p6)(Q,ue),Y(!1))}),[Q,ue]),(0,l.useEffect)((()=>{if(Q.isSuccess&&X){var e;if(401===(null===(e=Q.data)||void 0===e?void 0:e.status))ue.error({message:(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:Q.data.code}}),description:(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:Q.data.message}}),placement:"bottomRight"});else if(Q.data){let e=document.createElement("A");e.setAttribute("target","_blank"),e.setAttribute("href",Q.data.message),e.click()}Y(!1)}}),[Q,X,ue]);const[Se,Ee]=(0,l.useState)(!1),Ve=()=>{G({operation:V.Ru.SANDBOX_LOCK_EDIT,data:re}),q((0,w.mi)(!re))},He=K?se:le;let Ne=[];const Ie=(0,l.useCallback)((async()=>{const e=await ve.fire({project:be,id:K});!1!==e.find((e=>!1===e||"string"===typeof e))&&window.open(e.find((e=>e))||`/email/${K}/raw?key=${x()(`${be}${K}${V.KI}`)}`)}),[ve,be,K]),Be=(0,l.useCallback)((async()=>{window.open(`/getemail/${K}?secret_hash=${x()(`${be}${K}${V.KI}`)}&raw=true`)}),[be,K]);Ce.previewModeEnabled&&Ne.push({key:"Preview_mode",icon:(0,D.jsx)(j.A,{icon:"EyeOutlined",style:{fontSize:16}}),label:U("Preview mode"),onClick:Ie}),Ce.livePreviewEnabled&&Ne.push({key:"Live_preview",icon:X?(0,D.jsx)(p.A,{style:{fontSize:16}}):(0,D.jsx)(j.A,{icon:"CheckCircleOutlined",style:{fontSize:16}}),label:U("Live preview"),onClick:(null===(g=te.id)||void 0===g?void 0:g.toString())===(null===(F=e.project_author)||void 0===F?void 0:F.toString())&&"community"===te.subscription.post_name&&ie?Me:()=>{if(!X){const t={email:K,subject:encodeURIComponent("#"+e.project+" "+e.title).replaceAll(/%20/gi,"+").replaceAll(/%0A/gi,"%0D%0A"),content:encodeURIComponent((null===ae||void 0===ae?void 0:ae.getValue())||"").replaceAll(/%20/gi,"+").replaceAll(/%0A/gi,"%0D%0A")};J(t),Y(!0)}}}),Ce.webversionEnabled&&Ne.push({key:"Web version",icon:(0,D.jsx)(j.A,{icon:"Web",style:{fontSize:16}}),label:U("Web version"),onClick:Be}),Ce.sharePreviewEnabled&&Ne.push({key:"Share",icon:(0,D.jsx)(j.A,{icon:"ShareAltOutlined",style:{fontSize:16}}),label:U("Share"),onClick:async()=>{const e=(await xe.fire({project:be,id:K})).find((e=>!1===e||"string"===typeof e));!1!==e&&navigator.clipboard.writeText(e||`https://app.emailmaker.ru/email/${K}/raw?key=${x()(`${be}${K}${V.KI}`)}`).then((()=>{(0,I.wB)(U("A shareable link to this page has been copied to the clipboard."),ue)}))},className:"em-analytics__email-share"});const Te=[{key:"Left_mode",icon:(0,D.jsx)(j.A,{icon:"PanelLeft",style:{fontSize:"20px",color:"left"===de&&ce?me.colorPrimary:"inherit"}}),label:U("Left Code panel"),onClick:()=>ke("left")},{key:"Right_mode",icon:(0,D.jsx)(j.A,{icon:"PanelLeft",style:{fontSize:"20px",transform:"rotate(180deg)",color:"right"===de&&ce?me.colorPrimary:"inherit"}}),label:U("Right Code panel"),onClick:()=>ke("right")},{key:"Bottom_mode",icon:(0,D.jsx)(j.A,{icon:"PanelLeft",style:{fontSize:"20px",transform:"rotate(-90deg)",color:"bottom"===de&&ce?me.colorPrimary:"inherit"}}),label:U("Bottom Code panel"),onClick:()=>ke("bottom")}];return(0,D.jsxs)("div",{className:"email-preview-menu email-preview-menu_new",children:[(0,D.jsxs)(o.A,{size:32,children:[(0,D.jsxs)(o.A,{size:8,style:{borderRadius:"calc(var(--borderRadius) * 1px"},children:[(0,D.jsx)(n.A,{title:U(t?H.COLLABORATION_EDITOR_WARNING_TEXT:"Undo (Ctrl+Z)"),placement:"bottom",children:(0,D.jsx)(r.Ay,{type:"text",icon:(0,D.jsx)(j.A,{icon:"UndoOutlined",style:{fontSize:20}}),onClick:()=>{oe.undo()},disabled:!ne.canUndo})}),(0,D.jsx)(n.A,{title:U(t?H.COLLABORATION_EDITOR_WARNING_TEXT:"Redo (Ctrl+Shift+Z)"),placement:"bottom",children:(0,D.jsx)(r.Ay,{type:"text",icon:(0,D.jsx)(j.A,{icon:"RedoOutlined",style:{fontSize:20}}),onClick:()=>{oe.redo()},disabled:!ne.canRedo})}),Ce.historyEnabled&&(0,D.jsx)(n.A,{title:U("Version history"),placement:"bottom",children:(0,D.jsx)(r.Ay,{type:re?"text":"primary",ghost:!re,onClick:()=>{re?(Ee(!0),He({[Le]:null===e||void 0===e?void 0:e.id}).then((e=>{e.isSuccess?0===e.data.data.length&&ue.error({message:(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:U("There`s no record of history.")}}),placement:"bottomRight"}):e.isError&&(0,I.p6)(e,ue),Ve(),q((0,w.PM)(V.Vv)),Ee(!1),we&&(je(!0),ye(4))}))):(q((0,w.Fk)()),Ve())},disabled:e.isNew||Se,className:"email-preview-menu__history",icon:Se?(0,D.jsx)(c.A,{indicator:P}):(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(j.A,{icon:"HistoryOutlined",style:{fontSize:20},className:"email-preview-menu__list-item-icon email-preview-menu__list-item-icon_revert"}),we&&(0,D.jsx)(j.A,{icon:"Lock",className:"free-mode-firewall-icon"})]})})})]}),(0,D.jsxs)(o.A,{size:8,style:{borderRadius:"calc(var(--borderRadius) * 1px"},children:[Ce.codeEnabled&&(0,D.jsx)(d.A,{arrow:!0,placement:"bottom",menu:{items:Te},trigger:"hover",mouseEnterDelay:0,children:(0,D.jsx)(r.Ay,{type:ce?"primary":"text",ghost:ce,icon:(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(j.A,{icon:"Code",style:{fontSize:20}}),we&&(0,D.jsx)(j.A,{icon:"Lock",className:"free-mode-firewall-icon"})]}),onClick:ke})},"Code mode"),Ce.previewIconEnabled&&(0,D.jsx)(d.A,{arrow:!0,placement:"bottom",menu:{items:Ne},children:(0,D.jsx)(r.Ay,{type:"text",target:"_blank",rel:"noreferrer",icon:Ce.previewModeEnabled?(0,D.jsx)("span",{onClick:Ie,style:{fontSize:"18px",color:me.colorText},children:(0,D.jsx)(j.A,{icon:"EyeOutlined",style:{fontSize:20},className:"email-preview-menu__list-item-icon"})}):(0,D.jsx)(j.A,{icon:"EyeOutlined",style:{fontSize:20},className:"email-preview-menu__list-item-icon"}),disabled:!ne.canUndo})},"Preview"),Ce.sendTestEnabled&&(0,D.jsx)(n.A,{title:U("Send a test email"),placement:"bottom",children:(0,D.jsx)(r.Ay,{className:"em-analytics__email-open-test",type:"text",icon:(0,D.jsx)(j.A,{icon:"SendOutlined",style:{fontSize:20}}),onClick:()=>{q((0,y.qf)(V.lx.SEND_TEST_EMAIL))}})})]})]}),(0,D.jsx)(f.A,{isModalVisible:W===V.lx.SEND_TEST_EMAIL,email:e}),(0,D.jsx)(_.A,{open:fe,onCancel:()=>{re||(Ve(),q((0,w.Fk)())),ce&&q((0,w.vs)()),je(!1)},initialSlide:_e})]})}},17445:(e,t,s)=>{s.d(t,{A:()=>v});var l=s(92810),i=s(64617),a=s(94822),o=s(95838),n=s(47036),r=s(83351),c=s(39990),d=s(72981),m=s(53765),p=s(32411),u=s(69156),h=s(85163),C=s(90070),g=s(70082);const{useToken:x}=o.A,v=()=>{const{emailId:e}=(0,i.g)();let[t]=(0,a.ok)();const[s]=(0,r.UH)(),[o,v]=(0,l.useState)(!1),{token:f}=x(),j=(0,C.p6)();(0,l.useEffect)((()=>{(0,u.FN)(f)}),[f]);const{isLoading:_}=(0,c.CR)("",{skip:!j.get(h.A9.em_token)}),{isLoading:y,isSuccess:A,data:w}=(0,n.c)({emailId:+e,secret_hash:t.get("key")},{skip:!e||!t.get("key")});(0,l.useEffect)((()=>{document.body.classList.add("editor")}),[]);const L=(0,l.useRef)(),b=L.current||(L.current=(0,p.$Z)());return(0,l.useEffect)((()=>{j.get(h.A9.em_token)?s().then((e=>{if(e.error)return j.remove(h.A9.em_token),void v(!1);v(!0)})):v(!1)}),[s,j]),y||_?(0,g.jsx)(d.A,{}):A&&(0,g.jsx)(p.kx.Provider,{value:b,children:(0,g.jsx)(m.A,{email:w,viewMode:"view",isLoggedIn:o})})}},29718:(e,t,s)=>{s.d(t,{A:()=>re});var l=s(92810),i=s(95838),a=s(33206),o=s(81e3),n=s(66522),r=s(4800),c=s(69417),d=s(19493),m=s(49246),p=s(29234),u=s(21349),h=s(33151),C=s(9452),g=s(82013),x=s(9588),v=s(79612),f=s(10900),j=s(85677),_=s(20350),y=s(64586),A=s(8114),w=s(74267),L=s(94822),b=s(64617),k=s(45934),M=s(7205),S=s(44335),E=s(38883),V=s.n(E),H=s(57903),N=s(43063),I=s(43005),B=s(48409),T=s.n(B),Z=s(32269),R=s(90070),O=s(47381),D=s(23287),P=s(85163),z=s(70082);const{useToken:F}=i.A,U=({element:e,setSearchFilters:t=(e,t)=>{}})=>{var s;const{projectId:i}=(0,b.g)(),a=(0,b.Zp)(),r=(0,R.p6)(),{token:d}=F(),{__:m}=(0,D.s9)(),p=e.type?P.IE:P.Tm,u=`/projects/${i}/emails/new`,h=(0,O.u)(),C=(0,l.useRef)(null);return(0,z.jsx)(c.A,{className:`element-card element-card_${p} element-card_template`,hoverable:!0,id:e.id,style:{cursor:"pointer"},cover:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("div",{ref:C,className:"element-card__img-wrapper",children:(0,z.jsx)("img",{className:"element-card__img",alt:e.title,src:((e,t=i,s)=>`https://scr.emcdn.ru/screenshot?delay=1000&width=800&fullPage=true&deviceScaleFactor=0.8&format=jpg&force=false${s?`&cacheControl=true&cache-hash=${T()(s)}`:""}&url=${encodeURIComponent(`https://app.emailmaker.ru/get${p}/${e}?secret_hash=${T()(`${t}${e}${P.KI}`)}&raw=true`)}`)(e.id,e.project,e.modified),onMouseMove:e=>(0,Z.Hy)(e,C.current),onMouseLeave:Z.Tr})}),e.is_template&&e.project===+i&&(0,z.jsx)("div",{className:"element-card__is-template-wrapper",children:m("Template")}),(0,Z._q)(e,P.zh).length&&(0,z.jsx)("div",{className:"element-card__tags-wrapper",children:(0,z.jsx)(o.A,{wrap:!0,size:8,children:null===(s=(0,Z._q)(e,P.zh))||void 0===s?void 0:s.map((e=>(0,z.jsx)(n.A,{bordered:!1,color:d.colorPrimary,style:{borderRadius:6},onClick:()=>t(null,e.id),children:e.name},e.id)))})})]}),onClick:()=>{return t=e.id,h({event:"select",action:"create_new_email",template_id:t,description:"Create new email from template"}),r.set(P.A9.em_new_email,t),void(0,Z.XZ)(a,u);var t},children:(0,z.jsx)("div",{children:(0,z.jsx)(I.Ay,{type:"link",className:"element-card__title",children:(0,Z.ln)(e.title)})})})};var q=s(72981),G=s(62303),K=s(35055),$=s(86739),W=s(46312),X=s(63531),Y=s(94925),J=s(65983),Q=s(36404),ee=s(86286),te=s(64936),se=s(31844),le=s(14598),ie=s(58689),ae=s(71157);const{useToken:oe}=i.A,ne=(e,t)=>`${e.pathname}/${t.id}`,re=({projectId:e,emailsView:t,createPage:s=!1,currentFolderId:i,foldersList:E,refetchProjectFolders:I,projectTags:B=[],activeTagId:T,setActiveTagHandler:F,projectEmailsCounter:re=0,registerFunction:ce=()=>{},groupType:de=null})=>{var me,pe,ue,he,Ce,ge,xe,ve;const{__:fe,_x:je}=(0,D.s9)(),_e=(0,k.wA)(),ye=(0,k.d4)(Y.MY),Ae=(0,k.d4)(Y.aO),we=(0,k.d4)(Q.RP),Le=(0,k.d4)(Q.AQ),be=(0,k.d4)(Q.qV),ke=(0,k.d4)(ee.C1),Me=(0,k.d4)(Y.NP),Se=(0,k.d4)(Y.qM),Ee=(0,k.d4)(Y.ux),Ve=(0,k.d4)(J.CT),He=(0,k.d4)(Q.GD),Ne=(0,k.d4)(Q.Rw),[Ie,Be]=(0,L.ok)(),Te=(0,R.p6)(),Ze=(0,ae.hN)(),{owner:Re,admin:Oe}=(0,se.A)();let De=(0,b.zy)();const Pe=(0,b.Zp)(),{token:ze}=oe(),{modal:Fe}=a.A.useApp(),Ue=(0,k.Pj)(),{confirm:qe}=Fe,Ge=(0,O.u)(),Ke=[...He,...Ne],[$e,We]=(0,l.useState)(null);(0,l.useEffect)((()=>{de===P.ti.ALL?We(we+Le):de===P.ti.PROJECT?We(Le):de===P.ti.STANDARD&&We(we)}),[de,we,Le]);const Xe=+Ie.get("page"),Ye=Ie.get("folder"),Je=+Ie.get("tag"),[Qe,et]=(0,$.Kh)(),[tt]=(0,$._3)(),[st]=(0,$.dN)(),{refetch:lt}=(0,b.KC)(),[it,at]=(0,l.useState)(!1),ot=`/projects/${e}/emails/new`,nt=i&&i===P.UW,rt=i===P.y2&&!Je;(0,l.useEffect)((()=>{_e((0,Y.FC)())}),[_e]);const[ct,dt]=(0,l.useState)({projectId:e,page:rt?Xe:1,pageSize:P.mU,notEmbed:!0,tags:null,folderTag:null}),{isLoading:mt,isSuccess:pt,isError:ut,isFetching:ht,refetch:Ct,error:gt}=(0,$.Xw)({...ct,folderTag:null,tags:null,status:"main"},{skip:s||!(null===(me=ct.name)||void 0===me||!me.length)&&i!==P.y2}),[xt,vt]=(0,l.useState)({page:Xe||1,pageSize:P.mU,folderTag:null,tags:[],groupType:de}),{isLoading:ft,isSuccess:jt,isError:_t,isFetching:yt,data:At=[],refetch:wt,error:Lt}=(0,$.PX)({...xt,groupType:de},{skip:!s||(Math.ceil(we+Le/P.mU)||1)<xt.page||de===P.ti.PROJECT}),{isLoading:bt,isSuccess:kt,isError:Mt,isFetching:St,data:Et=[],refetch:Vt,error:Ht}=(0,$.PX)({...xt,projectId:e,groupType:de},{skip:!s||(Math.ceil(Le/P.mU)||1)<xt.page||de===P.ti.STANDARD}),Nt=(e,t)=>de===P.ti.ALL?e||t:de===P.ti.PROJECT?t:e,It=Nt(ft,bt),Bt=Nt(jt,kt),Tt=Nt(_t,Mt),Zt=Nt(yt,St),Rt=Nt(wt,Vt),Ot=Nt(Lt,Ht),[Dt,Pt]=(0,l.useState)({projectId:e,page:1,pageSize:P.mU,notEmbed:!0,tags:Je&&[Je],folderTag:i}),{isLoading:zt,isSuccess:Ft,isError:Ut,isFetching:qt,error:Gt,refetch:Kt}=(0,$.Xw)({...Dt,tags:i&&Dt.folderTag?null:Dt.tags,status:"custom"},{skip:s||nt||i===P.y2||Dt.folderTag!==i||!(null===(pe=Dt.name)||void 0===pe||!pe.length)&&(nt||i===P.y2)}),[$t,Wt]=(0,l.useState)({projectId:e,page:nt?Xe:1,pageSize:P.mU,notEmbed:!0,tags:Je&&[Je],folderTag:null,status:"trash"}),[Xt,Yt]=(0,l.useState)(!1),{isLoading:Jt,isSuccess:Qt,isError:es,isFetching:ts,data:ss,refetch:ls,error:is}=(0,$.Xw)({...$t,status:"trash",folderTag:null,page:Xt?$t.page:1},{skip:s||(Math.ceil(Ae/P.mU)||1)<$t.page||!(null===(ue=$t.name)||void 0===ue||!ue.length)&&!nt||!(null===(he=$t.tags)||void 0===he||!he[0])&&Ee>0});(0,l.useEffect)((()=>{Yt(!!ss||Math.ceil(Ae/P.mU)>=$t.page)}),[ss,$t.page,Ae]);let as=[];de!==P.ti.STANDARD&&Et&&be>=xt.page&&as.unshift(...Et),de!==P.ti.PROJECT&&At&&(as.push(...At),as=as.slice(0,P.mU));const os=s?xt:nt?$t:rt?ct:Dt,ns=s?Bt:nt?Qt:rt?pt:Ft,rs=s?It:nt?Jt:rt?mt:zt,cs=s?Tt:nt?es:rt?ut:Ut,ds=s?Zt:nt?ts:rt?ht:qt,ms=s?Rt:nt?ls:rt?Ct:Kt,ps=s?Ot:nt?is:rt?gt:Gt,us=(s?$e:nt?Ae:rt?ye:null===Me||void 0===Me||null===(Ce=Me[i||(null===(ge=Dt.tags)||void 0===ge?void 0:ge[0])])||void 0===Ce?void 0:Ce.total)||0,hs=s?as:nt?Ee:rt?Se:null===Me||void 0===Me||null===(xe=Me[i||(null===(ve=Dt.tags)||void 0===ve?void 0:ve[0])])||void 0===xe?void 0:xe.list;(0,l.useEffect)((()=>{ns&&ms&&ce(ms)}),[ce,ms,ns]);const Cs=(0,l.useCallback)((e=>{s?vt((t=>({...t,...e}))):nt?Wt((t=>({...t,...e}))):rt?dt((t=>({...t,...e}))):Pt((t=>({...t,...e})))}),[s,nt,rt]);(0,l.useEffect)((()=>{var e;"rest_post_invalid_page_number"===(null===ps||void 0===ps||null===(e=ps.data)||void 0===e?void 0:e.code)&&Cs({page:1})}),[ps,Cs]),(0,l.useEffect)((()=>{if(!s){(Ye&&Ye!==i||T&&Je!==T)&&Cs({folderTag:i,page:1});let e={page:Ye===i&&os.page?os.page:1};i&&!Je&&(e.folder=i),T&&(e.tag=T),Be(e,{replace:!0})}}),[os.page,Pe,s,Ye,i,T,Je,Cs,Be]);const gs=e=>{qe({maskClosable:!0,centered:!0,title:je(nt?"Are you sure to irrevocably delete \u201c":"Are you sure to delete \u201c","email")+e.title+fe("\u201d email?"),icon:(0,z.jsx)(C.A,{style:{color:"#ff4d4f"}}),okText:fe("Yes"),cancelText:fe("No"),onOk:()=>(e=>Ue.dispatch($.GY.endpoints.deleteEmail.initiate({id:e.id,force:nt})).then((e=>{e.error?(0,Z.p6)(e,Ze):e.data&&((0,Z.wB)(fe("The email \u201c")+e.data.title+je("\u201d was successfully removed.","email"),Ze),ms(),I(),ls(),nt&<())})))(e)})},xs=e=>{at(!0),st({emailId:null===e||void 0===e?void 0:e.id,status:"publish"}).then((t=>{t.error?Ze.error({message:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:t.error.data.code}}),description:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:t.error.data.message}}),placement:"bottomRight"}):(e.folder[0]?ms():Ct(),I(),ls(),Ze.success({message:fe("The email \u201c")+e.title+je("\u201d was successfully recovered.","recovery"),placement:"bottomRight"})),at(!1)}))},vs=e=>{at(!0),tt(null===e||void 0===e?void 0:e.id).then((t=>{var s,l,i,a,o;const n=t.data;Qe({title:(0,Z.fq)(n.title),project:n.project,subject:n.subject,description:n.description,html:(0,Z.el)(n.html||"",n.title),parent_email:n.parent_email||P.iU,common_styles:n.common_styles||"",utm_parameters:{utm_source:null===(s=n.utm_parameters)||void 0===s?void 0:s.utm_source,utm_medium:null===(l=n.utm_parameters)||void 0===l?void 0:l.utm_medium,utm_campaign:null===(i=n.utm_parameters)||void 0===i?void 0:i.utm_campaign,utm_term:null===(a=n.utm_parameters)||void 0===a?void 0:a.utm_term,utm_content:null===(o=n.utm_parameters)||void 0===o?void 0:o.utm_content},emailtags:e.emailtags,folder:n.folder}).then((t=>{var s;t.error?Ze.error({message:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:t.error.data.code}}),description:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:t.error.data.message}}),placement:"bottomRight"}):(null!==(s=n.folder)&&void 0!==s&&s[0]?Kt():Ct(),I(),Ze.success({message:fe("The copy of email \u201c")+e.title+je("\u201d was successfully created.","copy"),placement:"bottomRight"}));at(!1)}))}))},fs=(e,t)=>{st({emailId:t.id,folder:e.key===P.y2?[]:[e.key]}).then((e=>{var s,l;(null===e||void 0===e||null===(s=e.data)||void 0===s?void 0:s.folder[0])&&_e($.GY.endpoints.getEmails.initiate({...os,folderTag:(null===e||void 0===e||null===(l=e.data)||void 0===l?void 0:l.folder[0])||null})),i!==P.y2&&(_e((0,Y.X)({folder:i,emailId:t.id})),_e($.GY.endpoints.getEmails.initiate({...os,folderTag:i||null}))),Ct(),I()})).catch((e=>console.warn("err",e)))},js=[{width:"40%",title:je("Email","letter"),dataIndex:["title"],render:(e,t,s)=>(0,z.jsx)(L.N_,{to:nt?"":ne(De,t),style:{cursor:nt?"default":"pointer"},children:e})},{width:"20%",title:fe("Tags"),dataIndex:["emailtags"],render:(e,t,s)=>(0,z.jsx)(o.A,{wrap:!0,size:8,children:e&&e.map((e=>{const t=null===B||void 0===B?void 0:B.find((t=>{var s;return(null===(s=t.id)||void 0===s?void 0:s.toString())===(null===e||void 0===e?void 0:e.toString())}));return t&&(0,z.jsx)(n.A,{color:ze.colorPrimary,style:{cursor:"pointer",borderRadius:6,marginRight:0},onClick:()=>F(null,t.id),children:t.name},t.id)||null}))})},{width:"3%",title:"",dataIndex:"lock",render:(e,t,s)=>{var l,i;return e&&(0,z.jsx)(g.A,{className:V()("lock-icon",{"lock-icon__disabled":!(Re||Oe||(null===(l=ke.id)||void 0===l?void 0:l.toString())===(null===(i=t.author)||void 0===i?void 0:i.toString()))})})}},{width:"16%",title:fe("Creator"),dataIndex:["_embedded","author"],render:(e,t,s)=>{var l;return(null===e||void 0===e||null===(l=e[0])||void 0===l?void 0:l.name)||""}},{width:"9%",title:fe("Created"),className:"nobr",dataIndex:"date",render:(e,t,s)=>(0,Z.Yq)((0,w.A)(e),fe),sorter:!0,sortOrder:(0,Z.Np)(os.order)},{width:"3%",title:"",dataIndex:"",key:"x",onCell:()=>({style:{padding:0}}),render:(e,t)=>{var s,l,i,a,o,n,c,d;const m=t.folder[0]||null,p={icon:(0,z.jsx)(x.A,{style:{fontSize:18}}),label:fe("New emails"),key:P.y2,onClick:e=>fs(e,t)},u=null===E||void 0===E?void 0:E.map((e=>({icon:(0,z.jsx)(v.A,{style:{fontSize:18}}),label:e.name,key:e.id,className:e.id,onClick:e=>fs(e,t)}))),h=(null===u||void 0===u?void 0:u.filter((e=>!m||e.key!==m)))||[];m&&(null===h||void 0===h||h.unshift(p));let w=[];return(Re||Oe||(null===(s=ke.id)||void 0===s?void 0:s.toString())===(null===(l=t.author)||void 0===l?void 0:l.toString()))&&!nt&&w.push({label:(0,z.jsx)(H.A,{element:t},"Lock"),icon:t.lock?(0,z.jsx)(f.A,{style:{fontSize:"16px"}}):(0,z.jsx)(g.A,{style:{fontSize:"16px"}})}),(Re||Oe||(null===(i=ke.id)||void 0===i?void 0:i.toString())===(null===(a=t.author)||void 0===a?void 0:a.toString()))&&!nt&&h.length>0&&w.push({label:fe("Transfer to folder"),icon:(0,z.jsx)(v.A,{style:{fontSize:"16px"}}),children:h}),!nt&&w.push({label:(0,z.jsx)(L.N_,{to:ne(De,t),children:fe("Edit")}),icon:(0,z.jsx)(j.A,{style:{fontSize:"16px"}}),key:"Enter",className:"em-analytics__email-enter"},{label:fe("Clone"),key:"Clone",icon:(0,z.jsx)(_.A,{style:{fontSize:"16px"}}),className:"em-analytics__email-clone",disabled:et.isLoading,onClick:()=>vs(t)}),(Re||Oe||(null===(o=ke.id)||void 0===o?void 0:o.toString())===(null===(n=t.author)||void 0===n?void 0:n.toString()))&&nt&&w.push({label:fe("Recover"),icon:(0,z.jsx)(y.A,{style:{fontSize:"16px"}}),key:"Recover",onClick:()=>xs(t)}),(Re||Oe||(null===(c=ke.id)||void 0===c?void 0:c.toString())===(null===(d=t.author)||void 0===d?void 0:d.toString()))&&w.push({label:fe("Remove"),icon:(0,z.jsx)(C.A,{style:{fontSize:"16px"}}),key:"Remove",className:"em-analytics__email-remove",style:{color:"#ff4d4f"},onClick:()=>gs(t)}),(0,z.jsx)(r.A,{arrow:"true",placement:"bottom",menu:{items:w},trigger:["hover"],children:(0,z.jsx)("span",{className:"projects-table__actions",children:(0,z.jsx)(A.A,{})})})}}],[_s,ys]=(0,l.useState)(!1);(0,l.useEffect)((()=>{var e,t;for(let s in Ve)if(s||""===s||0===s.length){ys(!0),Cs({...Ve,folderTag:i,page:1});break}(null!==(e=Ve.tags)&&void 0!==e&&e.length||Ve.name)&&Cs({...Ve,folderTag:i,page:1}),null!==(t=Ve.group)&&void 0!==t&&t.length&&vt({...Ve,group:Ve.group,page:1,pageSize:P.mU})}),[Ve,_e,i,nt,Cs,s]);const[As,ws]=(0,l.useState)(!1),[Ls]=(0,W.mI)(),[bs]=(0,X.dS)(),{data:ks}=(0,b.KC)(),Ms=async e=>{const t=e[0];try{ws(!0);const e=await(0,le.q2)(t,(async(e,t)=>{let s;if("string"===typeof e)try{var l;e=(0,M.A)(e),s=null===(l=await Ls({url:e}))||void 0===l?void 0:l.data}catch(c){return e}else s=e;if(t.split(".").length<2){const e=S.extension(s.type);e&&(t=`${t}.${e}`)}const i=new File([s],t.toLowerCase()),a=await bs({user_id:ke.id,folder:ks.id,file:i});var o,n,r;if(!a.error&&400!==(null===(o=a.data.data)||void 0===o?void 0:o.status))return null===(n=a.data)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.file_url;return"string"===typeof e?e:""})),[s]=(0,ie.Ay)(t.name),l=(0,Z.ez)(e)||s||"";return Qe({title:l,project:ks.id,subject:l,description:"",html:e,parent_email:P.iU,folder:[]}).then((e=>{e&&(e.error?Ze.error({message:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:e.error.data.code}}),description:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:e.error.data.message}}),placement:"bottomRight"}):(Pe(`/projects/${ks.id}/emails/${e.data.id}`),Ge({event:"upload_file",action:"import_email"})))})).finally((()=>ws(!1)))}catch(s){ws(!1);const e=s instanceof Error?s.message:s;Ze.error({message:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}),placement:"bottomRight"})}};return(0,z.jsxs)("div",{className:"project-page__list",children:[s&&(0,z.jsxs)("div",{className:"project-page__cards-grid create-buttons",children:[(0,z.jsx)(c.A,{className:"element-card element-card_email element-card_template element-card_template-empty",hoverable:!0,style:{cursor:"pointer"},cover:(0,z.jsxs)("div",{className:"element-card__empty-template",children:[(0,z.jsx)(G.A,{icon:"NewEmail"}),(0,z.jsxs)("div",{className:"element-card__empty-template__text",children:[(0,z.jsx)("div",{className:"element-card__empty-template__title",children:fe("Blank template")}),(0,z.jsx)("div",{className:"element-card__empty-template__description",children:fe("Start from scratch")})]})]}),onClick:()=>{return e=278056,Ge({event:"select",action:"create_new_email",template_id:"0",description:"Create new email from scratch (template = 0)"}),Te.set(P.A9.em_new_email,e),t&&(window.localStorage.setItem(P.V0.em_active_tab,t),window.localStorage.setItem(P.V0.em_ai_settings,t)),void(0,Z.XZ)(Pe,ot);var e,t}}),(0,z.jsx)(c.A,{className:"element-card element-card_email element-card_template element-card_template-empty",hoverable:!0,style:{cursor:"pointer"},loading:As,cover:(0,z.jsxs)("div",{className:"element-card__empty-template",children:[(0,z.jsx)(G.A,{icon:"Import"}),(0,z.jsxs)("div",{className:"element-card__empty-template__text",children:[(0,z.jsx)("div",{className:"element-card__empty-template__title",children:fe("Import email")}),(0,z.jsx)("div",{className:"element-card__empty-template__description",children:fe("Work with your markup")})," "]})]}),onClick:()=>{Ge({event:"click",action:"import_email"}),(0,le.QM)("application/zip, message/rfc822, text/html",Ms)}}),(0,z.jsx)(c.A,{className:"element-card element-card_email element-card_template element-card_template-empty",hoverable:!0,style:{cursor:"pointer"},cover:(0,z.jsxs)("div",{className:"element-card__empty-template",children:[(0,z.jsx)(G.A,{icon:"generationAI"}),(0,z.jsxs)("div",{className:"element-card__empty-template__text",children:[(0,z.jsx)("div",{className:"element-card__empty-template__title",children:fe("AI email generation")}),(0,z.jsxs)("div",{className:"element-card__empty-template__description",children:[fe("Creating an email on request")," "]})]})]}),onClick:()=>_e((0,te.qf)(P.lx.ADD_NEW_AI_EMAIL))})]}),s&&(!!$e||!!Ke.length)&&(0,z.jsx)("div",{className:"element-card__group-tag-wrapper",children:(0,z.jsxs)(d.A,{gap:"10px",style:{marginBottom:15,marginLeft:4},wrap:!0,children:[Ke.map((e=>(0,z.jsxs)(n.A,{className:"blue-color element-card__group-tag",color:"#1677ff",children:[e.name," ",(0,z.jsx)(G.A,{onClick:()=>{const t=Ke.filter((t=>t.key!==e.key));_e(He.length?(0,Q.es)(t):(0,Q.BN)(t)),_e((0,J.ry)({[He.length?"group":"projectGroup"]:t,[He.length?"projectGroup":"group"]:[]}))},icon:"CloseTag"})]},e.key))),Ke.length>1&&(0,z.jsxs)(n.A,{className:"blue-color element-card__group-tag element-card__group-tag_close",children:[fe("Clear all")," ",(0,z.jsx)(G.A,{onClick:()=>{_e((0,Q.mb)()),_e((0,J.ry)({group:[],projectGroup:[]}))},icon:"CloseAll"})]})]})}),rs&&!(null!==hs&&void 0!==hs&&hs.length)&&(0,z.jsx)(m.A,{active:!0}),cs&&(0,z.jsx)(p.A,{message:fe("Error"),description:fe("Error when receiving data. Try again (reload page) or contact support."),type:"error",showIcon:!0}),!rs&&!ds&&0===(null===hs||void 0===hs?void 0:hs.length)&&(_s||re>0?(0,z.jsx)(p.A,{message:fe("Emails not found"),description:"",type:"info",showIcon:!0}):i!==P.y2?(0,z.jsx)(p.A,{message:fe("You don't have any emails in this folder."),description:fe("Add your first email to the folder..."),type:"info",showIcon:!0}):(0,z.jsx)(p.A,{message:fe("You don't have any emails yet."),description:fe("Add your first email by clicking the Create a new email button."),type:"info",showIcon:!0})),(null===hs||void 0===hs?void 0:hs.length)>0&&t===P.rl&&(0,z.jsx)(u.A,{rowKey:e=>e.id,bordered:!0,dataSource:hs,columns:js,loading:ds||it,onChange:(e,t,{order:s,field:l},{action:i})=>{"sort"===i&&Cs(s?{page:os.page||1,order:(0,Z.gq)(s),orderby:l,pageSize:P.mU}:{page:os.page||1,pageSize:P.mU})},showSizeChanger:!1,pageSize:P.mU,pagination:{current:os.page||1,total:us,hideOnSinglePage:!0,showSizeChanger:!1,pageSize:P.mU,position:["bottomLeft"],onChange:(t,s)=>Cs({projectId:e,page:t,pageSize:s})}}),((null===hs||void 0===hs?void 0:hs.length)>0||ns)&&t===P.Y$&&(0,z.jsxs)(z.Fragment,{children:[(ds||it||As)&&(0,z.jsx)("div",{className:"project-page__loader",children:(0,z.jsx)(q.A,{small:!0})}),(0,z.jsx)("div",{className:"project-page__cards-grid",children:hs&&hs.map((e=>s?(0,z.jsx)(U,{element:e,setSearchFilters:F},e.id):(0,z.jsx)(N.A,{element:e,setSearchFilters:F,isTrash:nt,foldersList:E,refetch:Ct,projectTags:B,foldersHandlers:{handleRemove:gs,handleRecover:xs,handleClone:vs,handlerChangeFolder:fs}},e.id)))}),(0,z.jsx)(h.A,{current:os.page||1,total:us,hideOnSinglePage:!0,showSizeChanger:!1,pageSize:P.mU,onChange:(e,t)=>Cs({page:e,pageSize:t})})]}),(0,z.jsx)(K.A,{})]})}},32398:(e,t,s)=>{s.d(t,{A:()=>B});var l=s(92810),i=s(95838),a=s(33206),o=s(43005),n=s(4800),r=s(24696),c=s(81e3),d=s(66522),m=s(71157),p=s(9588),u=s(9452),h=s(20350),C=s(8114),g=s(48329),x=s(79612),v=s(54316),f=s(94822),j=s(64617),_=s(45934),y=s(23287),A=s(38883),w=s.n(A),L=s(92851),b=s(70431),k=s(94925),M=s(34524),S=s(64936),E=s(93563),V=s(85163),H=s(70082);const{useToken:N}=i.A;function I(e,t,s,l,i,a,o){return{key:t,icon:s,children:l,label:e,className:i,type:a,onTitleClick:o}}const B=({currentFolderId:e,setCurrentFolderId:t,setActiveTagHandler:s,activeTagId:i,projectTags:A,folderTaxonomy:B})=>{var T,Z,R,O,D;const{__:P,_x:z}=(0,y.s9)(),F=(0,_.Pj)(),U=(0,_.wA)(),q=(0,m.hN)(),{modal:G}=a.A.useApp(),{confirm:K}=G,{token:$}=N(),W=(0,_.d4)("folder"===B?k.MY:M.D2),X=(0,_.d4)("folder"===B?k.aO:M.dV),Y=(0,_.d4)(S.o8),[J]=(0,f.ok)(),Q=J.get("folder"),{data:ee}=(0,j.KC)(),te=P("folder"===B?"New emails":"New blocks");let se;null!==window.localStorage.getItem(V.V0.em_folder_is_open)&&(se=window.localStorage.getItem(V.V0.em_folder_is_open));const[le,ie]=(0,l.useState)({folderId:null,folderName:""}),{data:ae,refetch:oe}=(0,E.Jz)({parent:null===(T=ee[B])||void 0===T?void 0:T[0]},{skip:!(null!==(Z=ee[B])&&void 0!==Z&&Z[0])});(0,l.useEffect)((()=>{U((0,S.sB)(ae||[]))}),[U,ae,B]);const ne=(s=null)=>{const l=null===pe||void 0===pe?void 0:pe.filter((e=>!s||e.key!==s));null===l||void 0===l||l.unshift((e=>({icon:(0,H.jsx)(p.A,{style:{fontSize:18}}),label:e("New emails"),key:V.y2}))(P));const i=(s,l)=>{K({maskClosable:!0,centered:!0,title:z("Are you sure to delete \u201c","folder")+l+P("\u201d folder?"),icon:(0,H.jsx)(u.A,{style:{color:"#ff4d4f"}}),okText:P("Yes"),cancelText:P("No"),onOk:()=>(s=>{F.dispatch(E.kE.endpoints.deleteFolder.initiate(s)).then((({data:l,error:i})=>{i?q.error({message:(0,H.jsx)("div",{dangerouslySetInnerHTML:{__html:i.data.code}}),description:(0,H.jsx)("div",{dangerouslySetInnerHTML:{__html:i.data.message}}),placement:"bottomRight"}):null!==l&&void 0!==l&&l.deleted&&(q.success({message:P("The folder \u201c")+l.previous.name+z("\u201d was successfully deleted.","recovery"),placement:"bottomRight"}),s===+e&&t(V.y2),oe())}))})(s)})};let a=[{label:P("Rename"),key:"Rename",icon:(0,H.jsx)(h.A,{style:{fontSize:"16px"}}),onClick:()=>((e,t)=>{U((0,S.qf)(V.lx.EDIT_FOLDER_NAME_MODAL)),ie({folderId:e,folderName:t})})(s,Y.find((e=>e.id===s)).name)},{label:P("Remove"),icon:(0,H.jsx)(u.A,{style:{fontSize:"16px"}}),key:"Remove",style:{color:"#ff4d4f"},onClick:()=>i(s,Y.find((e=>e.id===s)).name)}];return(0,H.jsx)(o.Ay,{type:"text",className:"project-page__folder_menu","data-folder-id":s||"",size:"large",children:(0,H.jsx)(n.A,{disabled:!re,className:"project-page__folder_menu-inner",placement:"right",menu:{items:a},trigger:["hover"],children:(0,H.jsx)("span",{className:"projects-table__actions",children:(0,H.jsx)(C.A,{})})})},s)},[re,ce]=(0,l.useState)("true"===se),[de,me]=(0,l.useState)(!0);(0,l.useEffect)((()=>{ce(!(null===Y||void 0===Y||!Y.length)&&"true"===se)}),[null===Y||void 0===Y?void 0:Y.length,se]);const pe=null===Y||void 0===Y?void 0:Y.map((t=>({icon:+e===t.id?(0,H.jsx)(g.A,{style:{fontSize:18}}):(0,H.jsx)(x.A,{style:{fontSize:18}}),label:(0,H.jsxs)("div",{className:"project-page__folder-title",children:[(0,H.jsx)("span",{children:t.name}),!!t.count&&(0,H.jsx)("span",{className:"project-page__folder-count project-page__folder-count_menu ",children:t.count})]}),key:t.id,className:`folder_${t.id}`})));let ue=[I((0,H.jsxs)("div",{className:"project-page__folder-title",children:[(0,H.jsx)("span",{children:te}),W>0&&(0,H.jsx)("span",{className:"project-page__folder-count ",children:W})]}),V.y2,(0,H.jsx)(p.A,{style:{fontSize:18}})),I((0,H.jsxs)("div",{className:"project-page__folder-title",children:[(0,H.jsx)("span",{children:P("Folders")}),(null===Y||void 0===Y?void 0:Y.length)>0&&!!Y.reduce(((e,t)=>e+t.count),0)&&de&&!re&&(0,H.jsx)("span",{className:"project-page__folder-count ",children:Y.reduce(((e,t)=>e+t.count),0)})]}),V.Ug,re?(0,H.jsx)(g.A,{style:{fontSize:18}}):(0,H.jsx)(x.A,{style:{fontSize:18}}),null!==Y&&void 0!==Y&&Y.length?pe:null,"project-page__all-folders","inline",(({domEvent:e})=>{Y.length||e.preventDefault()}))];ue.push(I((0,H.jsxs)("div",{className:"project-page__folder-title",children:[(0,H.jsx)("span",{children:P("Deleted")}),X>0&&(0,H.jsx)("span",{className:"project-page__folder-count ",children:X})]}),"deleted",(0,H.jsx)(u.A,{style:{fontSize:18}})));(0,l.useEffect)((()=>{ie((e=>{if(e.folderId){const t=Y.find((t=>t.id===e.folderId));return{folderId:null===t||void 0===t?void 0:t.id,folderName:null===t||void 0===t?void 0:t.name}}return e})),ce(!(null===Y||void 0===Y||!Y.length)&&"true"===se)}),[Y,se]);const he=e=>{const t=e.target.closest(".project-page__all-folders .ant-menu-item"),s=e.target.closest(".project-page__all-folders"),l=e.target.closest(".project-page__add-folder"),i=t?t.querySelector(".project-page__folder-count"):null,a=e.target.closest("[data-folder-id]"),o=e.target.closest(".ant-dropdown-menu"),n=null===t||void 0===t?void 0:t.getAttribute("class").split(" "),r=null===n||void 0===n?void 0:n[n.length-1].slice(7),c=()=>document.querySelectorAll("[data-folder-id]").forEach((e=>e.style.opacity=0)),d=()=>document.querySelectorAll(".project-page__folder-count").forEach((e=>e.style.opacity=1)),m=document.querySelector(`[data-folder-id="${r}"]`);me(!(s||l)),t&&m||a||o?(a||o||(c(),d()),m&&(m.style.opacity=1,i&&(i.style.opacity=0))):(c(),d())};return(0,l.useEffect)((()=>{document.querySelectorAll(".project-page__folder_menu").forEach(((e,t)=>{e.style.transform=`translateY(${40*(t+1)}px)`}))}),[Y]),(0,l.useEffect)((()=>(document.addEventListener("mouseover",he),()=>{document.removeEventListener("mouseover",he)})),[]),(0,H.jsxs)("div",{style:{position:"sticky",top:0},children:[(0,H.jsx)(r.A,{items:ue,className:"project-page__folders",mode:"inline",defaultSelectedKeys:[Q||V.y2],defaultOpenKeys:["true"===se&&V.Ug],openKeys:re&&[V.Ug],onOpenChange:e=>{ce(e.includes(V.Ug)),window.localStorage.setItem(V.V0.em_folder_is_open,e.includes(V.Ug))},forceSubMenuRender:!0,onSelect:e=>{e.key!==V.Ug&&s(e.key)},selectedKeys:[i?null:e]}),(0,H.jsx)(o.Ay,{className:w()("project-page__add-folder",{"project-page__add-folder_hidden":!re&&(null===Y||void 0===Y?void 0:Y.length)>0&&de}),type:"text",shape:"default",icon:(0,H.jsx)(v.A,{style:{fontSize:16}}),onClick:()=>U((0,S.qf)(V.lx.ADD_NEW_FOLDER_MODAL))}),null===Y||void 0===Y?void 0:Y.map((e=>ne(e.id))),(0,H.jsx)("div",{style:{maxWidth:"300px",padding:"20px 10px"},children:(0,H.jsx)(c.A,{wrap:!0,size:10,children:null===A||void 0===A||null===(R=A.filter((e=>e.count)))||void 0===R||null===(O=R.sort(((e,t)=>e.count<t.count?1:-1)))||void 0===O?void 0:O.map((e=>(0,H.jsxs)(d.A,{color:i===e.id?$.blue8:$.colorPrimary,style:{cursor:"pointer",borderRadius:6,marginRight:0},checked:i===e.id,onClick:()=>s(null,e.id),children:[(0,H.jsx)("span",{children:e.name}),(0,H.jsx)("span",{className:"tag__counter",children:e.count})]},e.id)))})}),(0,H.jsx)(L.A,{project:ee,parentFolderId:(null===(D=ee[B])||void 0===D?void 0:D[0])||null,folderTaxonomy:B}),(0,H.jsx)(b.A,{folder:le,refetch:oe})]})}},49343:(e,t,s)=>{s.d(t,{A:()=>p});var l=s(92810),i=s(95838),a=s(12280),o=s(5559),n=s(32269),r=s(85163),c=s(70082);const{useToken:d}=i.A,m=({form:e,label:t,name:s,disabled:i,elementSettings:m})=>{var p,u;const h=(null===m||void 0===m?void 0:m.type)===r.bV.CAROUSEL?null===(p=e.getFieldValue("images"))||void 0===p?void 0:p[s]:e.getFieldValue(s),[C,g]=(0,l.useState)("success"),{token:x}=d();return(0,l.useEffect)((()=>{h?(0,n.DI)(h).then((e=>{g(e)})).catch((e=>{g(e)})):g("")}),[e,h]),(0,c.jsx)(a.A.Item,{name:s,validateStatus:C,style:{marginBottom:x.formItemMarginBottomXS},children:(0,c.jsx)(o.A,{validateStatus:C,placeholder:t,name:s,disabled:i,elementSettings:m,imageInfo:(null===m||void 0===m?void 0:m.type)===r.bV.CAROUSEL?null===m||void 0===m||null===(u=m.carouselImages)||void 0===u?void 0:u[s.split("_")[1]]:m})})};m.defaulProps={disabled:!1};const p=m},9439:(e,t,s)=>{var l=s(92810),i=s(66726),a=s(12280),o=s(81e3),n=s(8701),r=s(23287),c=s(5559),d=s(32269),m=s(45695),p=s(85163),u=s(70082);const h=({form:e,placeholder:t,name:s,tooltipTitle:h,disabled:C,elementSettings:g})=>{var x;const{__:v}=(0,r.s9)(),f=(0,m.XW)(),j=e.getFieldValue(s),[_,y]=(0,l.useState)("success"),A=(0,l.useRef)(),[w,L]=(0,l.useState)(!(!g.mobileBackgroundImage||"none"!==g.mobileBackgroundImage[0].value));(0,l.useEffect)((()=>{j?(0,d.DI)(j).then((e=>{y(e)})).catch((e=>{y(e)})):y("")}),[e,j]);return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(i.A,{trigger:["hover"],title:h,placement:"left",children:[(0,u.jsx)(a.A.Item,{name:s,validateStatus:_,style:{marginBottom:-7},children:(0,u.jsx)(c.A,{validateStatus:_,placeholder:t,name:s,disabled:C,elementSettings:g,imageInfo:g.type===p.bV.CAROUSEL?null===(x=g.carouselImages)||void 0===x?void 0:x[s.split("_")[1]]:g})}),(0,u.jsxs)(o.A,{size:8,align:"end",style:{marginTop:-3,display:"flex"},children:[(0,u.jsx)(n.A,{ref:A,size:"small",checked:w,onChange:t=>{e.setFieldsValue({mobileBackgroundImage:""}),L((e=>!e)),f({operation:p.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:g.type,settings:{mobileBackgroundImage:[{classNamePrefix:"em-mob-background_image-",value:w?"":"none",type:"url"}]}})},id:"without-background-image"}),(0,u.jsx)("div",{className:"ant-form-item-switch-label-small",style:{position:"relative",top:2},children:(0,u.jsx)("label",{htmlFor:"without-background-image",children:v("Without background image")})})]})]})})};h.defaulProps={disabled:!1}},50197:(e,t,s)=>{s.d(t,{A:()=>d});var l=s(92810),i=s(24696),a=s(45934),o=s(36404),n=s(65983),r=s(62303),c=s(70082);const d=({className:e="",groups:t,isProjectGroups:s})=>{const d=(0,a.wA)(),m=(0,a.d4)(s?o.Rw:o.GD),p=s?"count_template":"count",[u,h]=(0,l.useState)([]),[C,g]=(0,l.useState)([]);(0,l.useEffect)((()=>{let e=[];u.length&&u.forEach((t=>{e.push(...null===t||void 0===t?void 0:t.children.map((e=>({...e,parentId:t.key}))))})),g(e)}),[d,u]);const x=(0,l.useCallback)((e=>null===e||void 0===e?void 0:e.children.reduce(((e,t)=>e+t[p]),0)),[p]);(0,l.useEffect)((()=>{null!==t&&void 0!==t&&t.length&&h(t.filter((e=>x(e)>0)).map((e=>({key:e.id,label:(0,c.jsxs)("div",{className:"project-page__folder-title",children:[(0,c.jsx)("span",{children:e.name}),(0,c.jsx)("span",{className:"project-page__folder-count ",children:x(e)})]}),icon:(0,c.jsx)(r.A,{className:"groups__group-count",icon:"GroupArrow"}),count:x(e),children:null===e||void 0===e?void 0:e.children.filter((e=>e[p])).map((e=>({key:e.id,label:(0,c.jsxs)("div",{className:"project-page__folder-title",children:[(0,c.jsx)("span",{children:e.name}),(0,c.jsx)("span",{className:"project-page__folder-count ",children:e[p]})]}),name:e.name,count:e[p],className:"groups__menu-item"}))),className:"groups__menu-item"}))))}),[t,p,x]);const v=({selectedKeys:e})=>{const t=C.filter((t=>t.count&&e.includes(String(t.key))));d(s?(0,o.BN)(t):(0,o.es)(t)),d((0,n.ry)({[s?"projectGroup":"group"]:t,[s?"group":"projectGroup"]:[]}))};return!!u.length&&(0,c.jsx)("div",{className:`${e} groups`,children:(0,c.jsx)(i.A,{style:{width:310},defaultOpenKeys:[],selectedKeys:null===m||void 0===m?void 0:m.map((e=>String(e.key))),mode:"inline",items:u,multiple:!0,onSelect:v,onDeselect:v})})}},69292:(e,t,s)=>{s.d(t,{A:()=>V});var l=s(92810),i=s(95838),a=s(33206),o=s(49246),n=s(2018),r=s(7744),c=s(12280),d=s(43005),m=s(4800),p=s(81662),u=s(66522),h=s(9452),C=s(20350),g=s(8114),x=s(45934),v=s(23287),f=s(38883),j=s.n(f),_=s(58353),y=s(35825),A=s(62303),w=s(93563),L=s(64936),b=s(65983),k=s(85163),M=s(71157),S=s(70082);const{useToken:E}=i.A,V=({className:e,refetchProjectGroups:t,isLoading:s})=>{const{__:i,_x:f}=(0,v.s9)(),V=(0,x.wA)(),H=(0,M.hN)(),{modal:N}=a.A.useApp(),{confirm:I}=N,{token:B}=E(),T=(0,x.d4)(b.UI),[Z]=(0,w.Lh)(),R=(e,s)=>{I({maskClosable:!0,centered:!0,title:f("Are you sure to delete \u201c","group")+s+i("\u201d group and all nested groups?"),icon:(0,S.jsx)(h.A,{style:{color:"#ff4d4f"},rev:void 0}),okText:i("Yes"),cancelText:i("No"),onOk:()=>(e=>{Z(e).unwrap().then((e=>{null!==e&&void 0!==e&&e.deleted&&(H.success({message:i("The group \u201c")+e.previous.name+f("\u201d was successfully deleted.","recovery"),placement:"bottomRight"}),t())})).catch((e=>{H.error({message:(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:e.data.code}}),description:(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:e.data.message}}),placement:"bottomRight"})}))})(String(e))})};let O=e=>[{label:i("Rename"),key:"Rename",icon:(0,S.jsx)(C.A,{style:{fontSize:"16px"},rev:void 0}),onClick:()=>{return t=e.id,s=e.name,V((0,L.qf)(k.lx.EDIT_GROUP_NAME_MODAL)),void P({id:t,name:s});var t,s}},{label:i("Remove"),icon:(0,S.jsx)(h.A,{style:{fontSize:"16px"},rev:void 0}),key:"Remove",style:{color:"#ff4d4f"},onClick:()=>R(e.id,e.name)}];const[D,P]=(0,l.useState)({id:null,name:""});return(0,S.jsxs)("div",{className:j()("groups-management",{[e]:e}),children:[s?(0,S.jsx)(o.A,{active:!0}):(0,S.jsxs)(n.A,{children:[!(null===T||void 0===T||!T.length)&&(null===T||void 0===T?void 0:T.map(((e,t)=>{var s;return(0,S.jsx)(r.A,{span:24,children:(0,S.jsx)(c.A.Item,{name:`group_${e.id}`,style:{marginBottom:B.formItemMarginBottomMD},label:(0,S.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",width:"100%",alignItems:"center"},children:[(0,S.jsx)("span",{children:e.name}),(0,S.jsx)(d.Ay,{type:"text",className:"groups-management__group_menu","data-group-id":e.id,size:"large",children:(0,S.jsx)(m.A,{className:"groups-management__group_menu-inner",placement:"bottomLeft",menu:{items:O(e)},trigger:["hover"],children:(0,S.jsx)("span",{className:"groups-management__actions",children:(0,S.jsx)(g.A,{rev:void 0})})})})]}),className:"groups-management__group-select",rules:[{message:"Please input category name!",type:"array"}],children:(0,S.jsx)(p.A,{mode:"tags",style:{width:"100%"},placeholder:i("Type category here"),options:null===(s=e.children)||void 0===s?void 0:s.map((e=>({label:e.name,value:String(e.id)}))),tagRender:e=>{const{label:t,closable:s,onClose:l}=e;return(0,S.jsx)(u.A,{color:B.colorPrimary,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},closable:s,onClose:l,style:{borderRadius:6},children:t})},getPopupContainer:()=>document.querySelector(".email-settings__collapse")})})},e.id)}))),(0,S.jsx)(r.A,{span:24,children:(0,S.jsx)(c.A.Item,{style:{marginBottom:B.formItemMarginBottomMD},children:(0,S.jsx)(d.Ay,{id:"add_group_button",icon:(0,S.jsx)(A.A,{icon:"AddSlide"}),style:{width:"100%"},onClick:()=>V((0,L.qf)(k.lx.ADD_NEW_GROUP_MODAL)),children:i("Add group")})})})]}),(0,S.jsx)(_.A,{taxonomy:k.bV.GROUP}),(0,S.jsx)(y.A,{group:D,refetch:t})]})}},20757:(e,t,s)=>{s.d(t,{A:()=>u});var l=s(92810),i=s(99215),a=s(38883),o=s.n(a),n=s(95838),r=s(81e3),c=s(33284),d=s(56991),m=s(70082);const{useToken:p}=n.A,u=({className:e,leftBlock:t,rightBlock:s,isHeaderCodeMenuOpen:a=!1})=>{const{token:n}=p(),u=(0,l.useRef)(),h=(0,d.rD)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(c.A,{}),h.headerShow&&(0,m.jsx)("header",{className:o()("header",{[e]:e}),style:{borderColor:n.colorBorder},children:!a&&(0,m.jsx)(i.A,{nodeRef:u,in:!a,timeout:300,classNames:"transition",children:(0,m.jsxs)("div",{className:"header__container container",children:[(0,m.jsx)("div",{className:"header__left",style:{flexGrow:1},children:t}),(0,m.jsx)("div",{className:"header__right",children:(0,m.jsx)(r.A,{size:10,children:s})})]})})})]})}}}]);
|
|
1
|
+
"use strict";(globalThis.webpackChunkemail_maker=globalThis.webpackChunkemail_maker||[]).push([[8995],{43063:(e,t,s)=>{s.d(t,{A:()=>Z});var l=s(92810),i=s(64617),a=s(94822),o=s(95838),n=s(69417),r=s(49246),c=s(81e3),d=s(66522),m=s(4800),p=s(43005),u=s(9588),h=s(79612),C=s(10900),g=s(82013),x=s(20350),v=s(64586),f=s(9452),j=s(8114),_=s(74267),y=s(45934),A=s(38883),w=s.n(A),L=s(48409),b=s.n(L),k=s(55701),M=s(86739),S=s(86286),E=s(57903),V=s(31844),H=s(32269),N=s(23287),I=s(85163),B=s(70082);const{useToken:T}=o.A,Z=({element:e,setSearchFilters:t=()=>{},isTrash:s=!1,foldersList:o,projectTags:A=[],foldersHandlers:L={}})=>{var Z,R,O,D,z,P,F,U,q,G,K,$,W,X,Y;const{__:J}=(0,N.s9)();let Q=(0,i.zy)();const{projectId:ee}=(0,i.g)(),{owner:te,admin:se}=(0,V.A)(),le=(0,y.d4)(S.C1),ie=(0,l.useRef)(null),{token:ae}=T(),{handleRecover:oe,handleClone:ne,handlerChangeFolder:re,handleRemove:ce}=L,de=e.hasOwnProperty("type")?I.IE:I.Tm,me=de===I.Tm?I.zh:I.YY,pe=de===I.Tm?J("New emails"):J("New blocks"),ue=(e,t)=>`${e.pathname}/${t.id}`,[he]=(0,k.pP)(),[Ce]=(0,M.Kh)(),ge=(e,t=ee,s)=>{const l=s?`&cacheControl=true&cache-hash=${b()(s)}`:"";return`https://scr.emcdn.ru/screenshot?${"block"===de?"":"minHeight=620&"}delay=1000&width=800&fullPage=true&deviceScaleFactor=0.755&format=jpg&force=false${l}&url=${encodeURIComponent(`https://app.emailmaker.ru/get${de}/${e}?secret_hash=${b()(`${t}${e}${I.KI}`)}&raw=true`)}`},xe=(null===(Z=e[de===I.IE?"blockfolder":"folder"])||void 0===Z?void 0:Z[0])||null,ve={icon:(0,B.jsx)(u.A,{style:{fontSize:18}}),label:pe,key:I.y2,onClick:t=>re(t,e)},fe=null===o||void 0===o?void 0:o.map((t=>({icon:(0,B.jsx)(h.A,{style:{fontSize:18}}),label:t.name,key:t.id,className:t.id,onClick:t=>re(t,e)}))),je=(null===fe||void 0===fe?void 0:fe.filter((e=>!xe||e.key!==xe)))||[];xe&&(null===je||void 0===je||je.unshift(ve));let _e=[];return(te||se||(null===(R=le.id)||void 0===R?void 0:R.toString())===(null===(O=e.author)||void 0===O?void 0:O.toString()))&&!s&&_e.push({label:(0,B.jsx)(E.A,{element:e},"Lock"),icon:e.lock?(0,B.jsx)(C.A,{style:{fontSize:"16px"}}):(0,B.jsx)(g.A,{style:{fontSize:"16px"}})}),(te||se||(null===(D=le.id)||void 0===D?void 0:D.toString())===(null===(z=e.author)||void 0===z?void 0:z.toString()))&&!s&&je.length>0&&_e.push({label:J("Transfer to folder"),icon:(0,B.jsx)(h.A,{style:{fontSize:"16px"}}),children:je}),!s&&_e.push({label:J("Clone"),icon:(0,B.jsx)(x.A,{style:{fontSize:"16px"}}),key:"Clone",className:de===I.IE?"em-analytics__block-clone":"em-analytics__email-clone",disabled:de===I.IE?he.isLoading:Ce.isLoading,onClick:()=>ne(e)}),(te||se||(null===(P=le.id)||void 0===P?void 0:P.toString())===(null===(F=e.author)||void 0===F?void 0:F.toString()))&&s&&_e.push({label:J("Recover"),icon:(0,B.jsx)(v.A,{style:{fontSize:"16px"}}),key:"Recover",onClick:()=>oe(e)}),(te||se||(null===(U=le.id)||void 0===U?void 0:U.toString())===(null===(q=e.author)||void 0===q?void 0:q.toString()))&&_e.push({label:J("Remove"),icon:(0,B.jsx)(f.A,{style:{fontSize:"16px"}}),key:"Remove",style:{color:"#ff4d4f"},className:de===I.IE?"em-analytics__block-remove":"em-analytics__email-remove",onClick:()=>ce(e)}),(0,B.jsxs)(n.A,{className:`element-card element-card_${de}`,hoverable:!0,cover:(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(r.A,{loading:"true",active:!0,avatar:!0,style:{position:"absolute",width:"83%",margin:"50px 10% 0 7%"}}),(0,B.jsx)(a.N_,{ref:ie,className:"element-card__img-wrapper",to:s?"":ue(Q,e),onMouseMove:e=>(0,H.Hy)(e,ie.current),style:{cursor:s?"default":"pointer"},onMouseLeave:H.Tr,children:ge(e.id,e.project,e.modified)&&(0,B.jsx)("img",{className:"element-card__img",alt:e.title,src:ge(e.id,e.project,e.modified)})}),(e.is_template||(null===(G=e.acf)||void 0===G?void 0:G.is_template))&&(0,B.jsx)("div",{className:"element-card__is-template-wrapper",children:J("Template")}),(null===(K=e[me])||void 0===K?void 0:K.length)&&(0,B.jsx)("div",{className:"element-card__tags-wrapper",children:(0,B.jsx)(c.A,{wrap:!0,size:8,children:e[me].map((e=>{const s=null===A||void 0===A?void 0:A.find((t=>{var s;return(null===(s=t.id)||void 0===s?void 0:s.toString())===(null===e||void 0===e?void 0:e.toString())}));return s&&(0,B.jsx)(d.A,{color:ae.colorPrimary,style:{borderRadius:6},onClick:()=>t(null,s.id),children:s.name},s.id)}))})})]}),children:[(0,B.jsxs)("div",{className:"ant-card-body__left",children:[(0,B.jsx)(a.N_,{to:s?"":ue(Q,e),style:{cursor:s?"default":"pointer"},children:(0,B.jsxs)("span",{className:"element-card__title",children:[e.lock&&(0,B.jsx)(g.A,{className:w()("lock-icon",{"lock-icon__disabled":!(te||se||(null===($=le.id)||void 0===$?void 0:$.toString())===(null===(W=e.author)||void 0===W?void 0:W.toString()))})}),(null===(X=e.title)||void 0===X?void 0:X.trim())||(null===(Y=e.subject)||void 0===Y?void 0:Y.trim())]})}),(0,B.jsxs)("p",{className:"element-card__date",children:[J("Last update: ")," ",(0,H.Yq)((0,_.A)(e.modified),J)]})]}),(0,B.jsx)("div",{className:"ant-card-body__right",children:(0,B.jsx)(m.A,{menu:{items:_e},arrow:"true",placement:"bottom",trigger:["hover"],children:(0,B.jsx)(p.Ay,{type:"default",className:"element-card_menu",onClick:()=>{},children:(0,B.jsx)(j.A,{style:{fontSize:"16px"}},"menu-button")})})})]})}},57918:(e,t,s)=>{s.d(t,{A:()=>E});var l=s(92810),i=s(33206),a=s(66726),o=s(71086),n=s(24696),r=s(71157),c=s(82447),d=s(68912),m=s(50295),p=s(79716),u=s(16906),h=s(77970),C=s(38883),g=s.n(C),x=s(23287),v=s(45934),f=s(64617),j=s(64936),_=s(85163),y=s(77019),A=s(62303),w=s(32269),L=s(31844),b=s(86286),k=s(63531),M=s(32411),S=s(70082);const E=({setSizes:e,sizes:t,codeModeShow:s,codeModeIsVisible:C,email:E})=>{var V,H;const{__:N}=(0,x.s9)(),I=(0,v.wA)(),B=(0,v.d4)(j.cL),{admin:T,owner:Z,user:R}=(0,L.A)(E.project),O=T||Z||R,[D,z]=(0,l.useState)(!1),[P,F]=(0,k.Zf)(),U=(0,f.Zp)(),q=(0,v.d4)(b.C1),{modal:G}=i.A.useApp(),K=(0,r.hN)(),{confirm:$}=G,W=(0,M.fn)();(0,l.useEffect)((()=>{F.isError&&((0,w.p6)(F,K),z(!1))}),[F,K]),(0,l.useEffect)((()=>{if(F.isSuccess&&D){var e;if(401===(null===(e=F.data)||void 0===e?void 0:e.status))K.error({message:(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:F.data.code}}),description:(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:F.data.message}}),placement:"bottomRight"});else if(F.data){let e=document.createElement("A");e.setAttribute("target","_blank"),e.setAttribute("href",F.data.message),e.click()}z(!1)}}),[F,D,K]);const X=(0,l.useCallback)((()=>{$({title:N("Upgrade your plan to use this feature"),icon:(0,S.jsx)(c.A,{}),content:(0,S.jsx)("div",{style:{maxWidth:"330px"},children:N("Available on the Personal plan and higher.")}),centered:!0,okText:N("Choose your plan"),cancelText:N("Close & continue"),width:"unset",onOk(){U("/billing")},onCancel(){}})}),[U,N,$]);let Y=[{label:(0,S.jsx)(a.A,{placement:"right",children:(0,S.jsx)(d.A,{className:"element-preview-menu__list-item-icon"})}),key:"Desktop",className:[g()("element-preview-menu__list-item",{"element-preview-menu__list-item_active":(!t[0]||t[0]>80)&&!C}),"em-analytics__email-desktop"],onClick:e,disabled:C},{label:(0,S.jsx)(a.A,{placement:"right",children:(0,S.jsx)(m.A,{className:"element-preview-menu__list-item-icon"})}),key:"Mobile",className:[g()("element-preview-menu__list-item",{"element-preview-menu__list-item_active":t[0]<=80&&!C}),"em-analytics__email-mobile"],onClick:e,disabled:C},{label:(0,S.jsx)(o.A,{className:"email-preview-menu__list__divider"}),key:"divider",className:"element-preview-menu__list-item"},{label:(0,S.jsx)(a.A,{title:N("Live preview"),placement:"right",children:D?(0,S.jsx)(p.A,{className:"preview-mode__list-item-icon"}):(0,S.jsx)(u.A,{className:"preview-mode__list-item-icon"})}),key:"Live preview",className:"element-preview-menu__list-item em-analytics__email-live-preview",onClick:(null===q||void 0===q||null===(V=q.id)||void 0===V?void 0:V.toString())===(null===(H=E.project_author)||void 0===H?void 0:H.toString())&&"community"===(null===q||void 0===q?void 0:q.subscription.post_name)?X:()=>{if(!D){const e={email:E.id,subject:encodeURIComponent("#"+E.project+" "+E.title).replaceAll(/%20/gi,"+").replaceAll(/%0A/gi,"%0D%0A"),content:encodeURIComponent((null===W||void 0===W?void 0:W.getValue())||"").replaceAll(/%20/gi,"+").replaceAll(/%0A/gi,"%0D%0A")};P(e),z(!0)}},disabled:!O},{label:(0,S.jsx)(a.A,{title:N("Send a test email"),placement:"right",children:(0,S.jsx)(A.A,{icon:"SendOutlined",className:"preview-mode__list-item-icon"})}),key:"Send test email",className:"element-preview-menu__list-item em-analytics__email-open-test",onClick:()=>{I((0,j.qf)(_.lx.SEND_TEST_EMAIL))},disabled:!O},{label:(0,S.jsx)(a.A,{title:N("Share"),placement:"right",children:(0,S.jsx)(h.A,{className:"preview-mode__list-item-icon"})}),key:"Share",className:"element-preview-menu__list-item em-analytics__email-share",onClick:()=>{navigator.clipboard.writeText(window.location).then((()=>{(0,w.wB)(N("A shareable link to this page has been copied to the clipboard."),K)}))}}];return(0,S.jsxs)("div",{className:"element-preview-menu",children:[(0,S.jsx)(n.A,{mode:"vertical",className:"element-preview-menu__list",items:Y}),(0,S.jsx)(y.A,{isModalVisible:B===_.lx.SEND_TEST_EMAIL,email:E})]})}},62303:(e,t,s)=>{s.d(t,{A:()=>xl});s(92810);var l=s(47983),i=s(56991),a=s(70082);const o=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"chat-gpt",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M11.1396 4.91121C11.2741 4.50723 11.3208 4.07922 11.2764 3.65577C11.2321 3.23232 11.0979 2.82323 10.8827 2.45587C10.5636 1.90021 10.0763 1.46028 9.49105 1.19955C8.90578 0.938823 8.2528 0.870777 7.62631 1.00523C7.34374 0.68679 6.99643 0.432375 6.60757 0.259023C6.21871 0.0856726 5.79733 -0.00261924 5.3716 5.91632e-05C4.7311 -0.00148674 4.10665 0.200409 3.58828 0.576642C3.06991 0.952872 2.68442 1.484 2.48737 2.09345C2.07011 2.17886 1.67592 2.35242 1.33117 2.60252C0.98642 2.85261 0.699078 3.17346 0.488376 3.5436C0.166798 4.09773 0.02953 4.73964 0.0963679 5.37684C0.163206 6.01401 0.430694 6.61347 0.860259 7.08879C0.725757 7.49277 0.679098 7.92078 0.723405 8.34423C0.767712 8.76768 0.901962 9.17676 1.11717 9.54414C1.43623 10.0998 1.92355 10.5397 2.50882 10.8004C3.09409 11.0611 3.74707 11.1292 4.37353 10.9948C4.6561 11.3132 5.00344 11.5676 5.39227 11.741C5.78113 11.9143 6.20251 12.0026 6.62824 11.9999C7.26907 12.0016 7.89385 11.7996 8.4124 11.4232C8.93098 11.0467 9.31654 10.5152 9.51343 9.90537C9.93067 9.81996 10.3249 9.64641 10.6696 9.3963C11.0144 9.14622 11.3017 8.82534 11.5124 8.4552C11.8336 7.90113 11.9705 7.25937 11.9035 6.62244C11.8365 5.98551 11.569 5.38632 11.1396 4.91121ZM6.6292 11.2155C6.10315 11.2162 5.59363 11.032 5.18968 10.695C5.20789 10.6851 5.23984 10.6676 5.26066 10.6548L7.64998 9.27468C7.70995 9.24057 7.75975 9.1911 7.79425 9.13134C7.82878 9.07158 7.84675 9.00372 7.84633 8.93475V5.56626L8.85625 6.1494C8.86153 6.15204 8.86609 6.15594 8.86954 6.16077C8.87296 6.1656 8.87512 6.17121 8.87587 6.17706V8.96667C8.87512 9.5625 8.63824 10.1337 8.21713 10.5552C7.79602 10.9768 7.225 11.2142 6.6292 11.2155ZM1.79754 9.15192C1.53405 8.69664 1.43908 8.16321 1.52927 7.64496C1.54701 7.65561 1.578 7.67454 1.60024 7.68732L3.98956 9.06744C4.04911 9.10224 4.11685 9.1206 4.18582 9.1206C4.25476 9.1206 4.3225 9.10224 4.38205 9.06744L7.29916 7.38309V8.54937C7.29949 8.55531 7.29835 8.56128 7.29583 8.56668C7.29331 8.57208 7.2895 8.57679 7.28473 8.58036L4.86937 9.97491C4.35274 10.2725 3.73915 10.3529 3.16327 10.1986C2.58738 10.0443 2.09621 9.66789 1.79754 9.15192ZM1.16898 3.93582C1.43133 3.47994 1.8457 3.13092 2.33951 2.94981C2.33951 2.97039 2.33833 3.00684 2.33833 3.03213V5.7924C2.33791 5.86134 2.35586 5.92914 2.39033 5.98887C2.42479 6.04857 2.47454 6.09801 2.53445 6.13212L5.45155 7.81626L4.44166 8.39937C4.43668 8.40267 4.43095 8.40465 4.42501 8.40519C4.41907 8.40573 4.41307 8.4048 4.40758 8.40246L1.992 7.00671C1.47626 6.70803 1.10001 6.21705 0.945726 5.64138C0.791445 5.06574 0.871731 4.45239 1.16898 3.93582ZM9.46636 5.86668L6.54922 4.18233L7.55914 3.59943C7.56412 3.59616 7.56985 3.59415 7.57579 3.59361C7.58173 3.59307 7.5877 3.59403 7.59319 3.59637L10.0088 4.99092C10.3789 5.2047 10.6804 5.51946 10.878 5.89839C11.0757 6.27732 11.1613 6.7047 11.1248 7.13052C11.0884 7.55634 10.9313 7.96296 10.6721 8.30277C10.4129 8.64258 10.0623 8.90151 9.66127 9.04923C9.66127 9.02841 9.66127 8.99199 9.66127 8.96667V6.2064C9.66184 6.13758 9.64408 6.06984 9.60982 6.01014C9.57556 5.95044 9.52606 5.90094 9.46636 5.86668ZM10.4715 4.35384C10.4538 4.34295 10.4228 4.32426 10.4006 4.31151L8.01121 2.93136C7.95166 2.89662 7.88395 2.87829 7.81498 2.87829C7.74604 2.87829 7.6783 2.89662 7.61875 2.93136L4.70164 4.61574V3.44946C4.70131 3.44349 4.70245 3.43755 4.70497 3.43215C4.70749 3.42675 4.7113 3.42204 4.71607 3.41847L7.13143 2.02508C7.50145 1.81171 7.9246 1.70813 8.35135 1.72645C8.7781 1.74477 9.19078 1.88423 9.54118 2.12852C9.89155 2.37282 10.1651 2.71184 10.3299 3.10593C10.4946 3.50001 10.5438 3.93285 10.4715 4.35384ZM4.15258 6.43257L3.14242 5.84943C3.13714 5.84679 3.13255 5.84289 3.12913 5.83806C3.12571 5.83323 3.12352 5.82762 3.1228 5.82174V3.03213C3.12307 2.60489 3.24505 2.18654 3.47443 1.82609C3.70384 1.46563 4.03117 1.17798 4.41811 0.996792C4.80505 0.815607 5.23558 0.748392 5.65933 0.80301C6.08311 0.857628 6.48253 1.03182 6.81088 1.3052C6.79267 1.31514 6.76096 1.33265 6.7399 1.34542L4.35058 2.72555C4.29061 2.75963 4.24084 2.80907 4.20631 2.86878C4.17181 2.92848 4.15384 2.99631 4.15423 3.06525L4.15258 6.43257ZM4.70116 5.24973L6.0004 4.49934L7.29961 5.24925V6.74955L6.0004 7.49949L4.70116 6.74955V5.24973Z"})}),n=({props:e})=>(0,a.jsx)(l.A,{component:o,...e}),r=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"arrow-left",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"})}),c=({props:e})=>(0,a.jsx)(l.A,{component:r,...e}),d=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"styles-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10.6725 11.5528C11.4031 11.5528 12 10.9475 12 10.2069C12 9.31236 10.6725 7.85275 10.6725 7.85275C10.6725 7.85275 9.34494 9.31236 9.34494 10.2069C9.34494 10.9475 9.94183 11.5528 10.6725 11.5528ZM4.36755 10.8154C4.48626 10.9342 4.67853 10.9342 4.79557 10.8154L9.07743 6.53525C9.19614 6.41654 9.19614 6.22427 9.07743 6.10723L4.79724 1.82704C4.78721 1.81701 4.77551 1.80698 4.7638 1.79862L3.45634 0.491154C3.42783 0.463014 3.38939 0.447235 3.34933 0.447235C3.30928 0.447235 3.27083 0.463014 3.24233 0.491154L2.43979 1.29369C2.41165 1.3222 2.39587 1.36064 2.39587 1.40069C2.39587 1.44075 2.41165 1.47919 2.43979 1.5077L3.56334 2.63125L0.0890313 6.10723C-0.0296771 6.22594 -0.0296771 6.41822 0.0890313 6.53525L4.36755 10.8154ZM4.58323 3.31508L7.57435 6.30619H1.59379L4.58323 3.31508Z"})}),m=({props:e})=>(0,a.jsx)(l.A,{component:d,...e}),p=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"close-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1.94975 10.9497L1.24264 10.2426L5.48528 6L1.24264 1.75736L1.94975 1.05025L6.19239 5.29289L10.435 1.05025L11.1421 1.75736L6.89949 6L11.1421 10.2426L10.435 10.9497L6.19239 6.70711L1.94975 10.9497Z"})}),u=({props:e})=>(0,a.jsx)(l.A,{component:p,...e}),h=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"drop-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 0L5.61832 0.458015C5.61832 0.458015 4.64123 1.6355 3.64886 3.09924C3.15268 3.83206 2.64123 4.63168 2.25955 5.40458C1.87787 6.17748 1.60306 6.91794 1.60306 7.60305C1.60306 10.0191 3.58397 12 6 12C8.41603 12 10.397 10.0191 10.397 7.60305C10.397 6.91794 10.1221 6.17748 9.74046 5.40458C9.35878 4.63168 8.84733 3.83206 8.35115 3.09924C7.35878 1.6355 6.38168 0.458015 6.38168 0.458015L6 0ZM6 1.57252C6.27291 1.91031 6.78436 2.50954 7.55726 3.64885C8.03817 4.35687 8.50382 5.1374 8.85497 5.84733C9.20611 6.55725 9.41985 7.21374 9.41985 7.60305C9.41985 9.48664 7.88359 11.0229 6 11.0229C4.11642 11.0229 2.58016 9.48664 2.58016 7.60305C2.58016 7.21374 2.7939 6.55725 3.14504 5.84733C3.49619 5.1374 3.96184 4.35687 4.44275 3.64885C5.21565 2.50954 5.7271 1.91031 6 1.57252ZM3.55726 7.60305C3.55726 8.94466 4.6584 10.0458 6 10.0458V9.0687C5.19084 9.0687 4.53436 8.41221 4.53436 7.60305H3.55726Z"})}),C=({props:e})=>(0,a.jsx)(l.A,{component:h,...e}),g=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"dark-white",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0 6C0 2.68629 2.68629 0 6 0C9.31339 0 12 2.68661 12 6C12 9.31339 9.31339 12 6 12C2.68629 12 0 9.31371 0 6ZM6 10.9821C8.75089 10.9821 10.9821 8.75089 10.9821 6C10.9821 3.24911 8.75089 1.01786 6 1.01786V10.9821Z"})}),x=({props:e})=>(0,a.jsx)(l.A,{component:g,...e}),v=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"min-width-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.35714 1.07143H0.607143C0.548214 1.07143 0.5 1.11964 0.5 1.17857V1.92857C0.5 1.9875 0.548214 2.03571 0.607143 2.03571H1.35714C1.41607 2.03571 1.46429 1.9875 1.46429 1.92857V1.17857C1.46429 1.11964 1.41607 1.07143 1.35714 1.07143ZM1.35714 3.29464H0.607143C0.548214 3.29464 0.5 3.34286 0.5 3.40178V4.15178C0.5 4.21071 0.548214 4.25893 0.607143 4.25893H1.35714C1.41607 4.25893 1.46429 4.21071 1.46429 4.15178V3.40178C1.46429 3.34286 1.41607 3.29464 1.35714 3.29464ZM1.35714 7.74107H0.607143C0.548214 7.74107 0.5 7.78928 0.5 7.84821V8.59821C0.5 8.65714 0.548214 8.70536 0.607143 8.70536H1.35714C1.41607 8.70536 1.46429 8.65714 1.46429 8.59821V7.84821C1.46429 7.78928 1.41607 7.74107 1.35714 7.74107ZM1.35714 9.96428H0.607143C0.548214 9.96428 0.5 10.0125 0.5 10.0714V10.8214C0.5 10.8804 0.548214 10.9286 0.607143 10.9286H1.35714C1.41607 10.9286 1.46429 10.8804 1.46429 10.8214V10.0714C1.46429 10.0125 1.41607 9.96428 1.35714 9.96428ZM1.35714 5.51786H0.607143C0.548214 5.51786 0.5 5.56607 0.5 5.625V6.375C0.5 6.43393 0.548214 6.48214 0.607143 6.48214H1.35714C1.41607 6.48214 1.46429 6.43393 1.46429 6.375V5.625C1.46429 5.56607 1.41607 5.51786 1.35714 5.51786Z"}),(0,a.jsx)("path",{d:"M11.3571 1.07143H10.6071C10.5482 1.07143 10.5 1.11964 10.5 1.17857V1.92857C10.5 1.9875 10.5482 2.03571 10.6071 2.03571H11.3571C11.4161 2.03571 11.4643 1.9875 11.4643 1.92857V1.17857C11.4643 1.11964 11.4161 1.07143 11.3571 1.07143ZM11.3571 3.29464H10.6071C10.5482 3.29464 10.5 3.34286 10.5 3.40178V4.15178C10.5 4.21071 10.5482 4.25893 10.6071 4.25893H11.3571C11.4161 4.25893 11.4643 4.21071 11.4643 4.15178V3.40178C11.4643 3.34286 11.4161 3.29464 11.3571 3.29464ZM11.3571 7.74107H10.6071C10.5482 7.74107 10.5 7.78928 10.5 7.84821V8.59821C10.5 8.65714 10.5482 8.70536 10.6071 8.70536H11.3571C11.4161 8.70536 11.4643 8.65714 11.4643 8.59821V7.84821C11.4643 7.78928 11.4161 7.74107 11.3571 7.74107ZM11.3571 9.96428H10.6071C10.5482 9.96428 10.5 10.0125 10.5 10.0714V10.8214C10.5 10.8804 10.5482 10.9286 10.6071 10.9286H11.3571C11.4161 10.9286 11.4643 10.8804 11.4643 10.8214V10.0714C11.4643 10.0125 11.4161 9.96428 11.3571 9.96428ZM11.3571 5.51786H10.6071C10.5482 5.51786 10.5 5.56607 10.5 5.625V6.375C10.5 6.43393 10.5482 6.48214 10.6071 6.48214H11.3571C11.4161 6.48214 11.4643 6.43393 11.4643 6.375V5.625C11.4643 5.56607 11.4161 5.51786 11.3571 5.51786Z"}),(0,a.jsx)("path",{d:"M11 5.51786H8.20535V4.67679C8.20535 4.59644 8.1116 4.5509 8.04865 4.60045L6.33973 5.95045C6.32816 5.95939 6.3188 5.97086 6.31236 5.98397C6.30592 5.99709 6.30257 6.01151 6.30257 6.02612C6.30257 6.04074 6.30592 6.05516 6.31236 6.06827C6.3188 6.08139 6.32816 6.09286 6.33973 6.10179L8.04732 7.45179C8.11026 7.50135 8.20401 7.45715 8.20401 7.37545V6.48215H11V5.51786Z"}),(0,a.jsx)("path",{d:"M1 5.51786H3.79465V4.67679C3.79465 4.59644 3.8884 4.5509 3.95135 4.60045L5.66027 5.95045C5.67184 5.95939 5.6812 5.97086 5.68764 5.98397C5.69408 5.99709 5.69743 6.01151 5.69743 6.02612C5.69743 6.04074 5.69408 6.05516 5.68764 6.06827C5.6812 6.08139 5.67184 6.09286 5.66027 6.10179L3.95268 7.45179C3.88974 7.50135 3.79599 7.45715 3.79599 7.37545V6.48215H1V5.51786Z"})]}),f=({props:e})=>(0,a.jsx)(l.A,{component:v,...e}),j=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"max-width-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.35714 1.07143H0.607143C0.548214 1.07143 0.5 1.11964 0.5 1.17857V1.92857C0.5 1.9875 0.548214 2.03571 0.607143 2.03571H1.35714C1.41607 2.03571 1.46429 1.9875 1.46429 1.92857V1.17857C1.46429 1.11964 1.41607 1.07143 1.35714 1.07143ZM1.35714 3.29464H0.607143C0.548214 3.29464 0.5 3.34286 0.5 3.40178V4.15178C0.5 4.21071 0.548214 4.25893 0.607143 4.25893H1.35714C1.41607 4.25893 1.46429 4.21071 1.46429 4.15178V3.40178C1.46429 3.34286 1.41607 3.29464 1.35714 3.29464ZM1.35714 7.74107H0.607143C0.548214 7.74107 0.5 7.78928 0.5 7.84821V8.59821C0.5 8.65714 0.548214 8.70536 0.607143 8.70536H1.35714C1.41607 8.70536 1.46429 8.65714 1.46429 8.59821V7.84821C1.46429 7.78928 1.41607 7.74107 1.35714 7.74107ZM1.35714 9.96428H0.607143C0.548214 9.96428 0.5 10.0125 0.5 10.0714V10.8214C0.5 10.8804 0.548214 10.9286 0.607143 10.9286H1.35714C1.41607 10.9286 1.46429 10.8804 1.46429 10.8214V10.0714C1.46429 10.0125 1.41607 9.96428 1.35714 9.96428ZM1.35714 5.51786H0.607143C0.548214 5.51786 0.5 5.56607 0.5 5.625V6.375C0.5 6.43393 0.548214 6.48214 0.607143 6.48214H1.35714C1.41607 6.48214 1.46429 6.43393 1.46429 6.375V5.625C1.46429 5.56607 1.41607 5.51786 1.35714 5.51786Z"}),(0,a.jsx)("path",{d:"M11.3571 1.07143H10.6071C10.5482 1.07143 10.5 1.11964 10.5 1.17857V1.92857C10.5 1.9875 10.5482 2.03571 10.6071 2.03571H11.3571C11.4161 2.03571 11.4643 1.9875 11.4643 1.92857V1.17857C11.4643 1.11964 11.4161 1.07143 11.3571 1.07143ZM11.3571 3.29464H10.6071C10.5482 3.29464 10.5 3.34286 10.5 3.40178V4.15178C10.5 4.21071 10.5482 4.25893 10.6071 4.25893H11.3571C11.4161 4.25893 11.4643 4.21071 11.4643 4.15178V3.40178C11.4643 3.34286 11.4161 3.29464 11.3571 3.29464ZM11.3571 7.74107H10.6071C10.5482 7.74107 10.5 7.78928 10.5 7.84821V8.59821C10.5 8.65714 10.5482 8.70536 10.6071 8.70536H11.3571C11.4161 8.70536 11.4643 8.65714 11.4643 8.59821V7.84821C11.4643 7.78928 11.4161 7.74107 11.3571 7.74107ZM11.3571 9.96428H10.6071C10.5482 9.96428 10.5 10.0125 10.5 10.0714V10.8214C10.5 10.8804 10.5482 10.9286 10.6071 10.9286H11.3571C11.4161 10.9286 11.4643 10.8804 11.4643 10.8214V10.0714C11.4643 10.0125 11.4161 9.96428 11.3571 9.96428ZM11.3571 5.51786H10.6071C10.5482 5.51786 10.5 5.56607 10.5 5.625V6.375C10.5 6.43393 10.5482 6.48214 10.6071 6.48214H11.3571C11.4161 6.48214 11.4643 6.43393 11.4643 6.375V5.625C11.4643 5.56607 11.4161 5.51786 11.3571 5.51786Z"}),(0,a.jsx)("path",{d:"M7.95133 4.54822L9.66026 5.89688C9.70848 5.93572 9.70848 6.01072 9.65758 6.04956L7.94999 7.39956C7.88705 7.44911 7.7933 7.40358 7.7933 7.32322V6.48215H4.20401V7.37545C4.20401 7.45715 4.11026 7.50135 4.04732 7.45179L2.33973 6.10179C2.32816 6.09286 2.3188 6.08139 2.31236 6.06827C2.30592 6.05516 2.30257 6.04074 2.30257 6.02612C2.30257 6.01151 2.30592 5.99709 2.31236 5.98397C2.3188 5.97085 2.32816 5.95939 2.33973 5.95045L4.04865 4.60045C4.1116 4.5509 4.20535 4.59644 4.20535 4.67679V5.51786H7.79464V4.62456C7.79459 4.60637 7.79967 4.58853 7.8093 4.57309C7.81892 4.55766 7.8327 4.54524 7.84906 4.53728C7.86541 4.52931 7.88368 4.52611 7.90177 4.52805C7.91986 4.52998 7.93703 4.53697 7.95133 4.54822Z"})]}),_=({props:e})=>(0,a.jsx)(l.A,{component:j,...e}),y=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"bg-position-horizontal",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsxs)("g",{children:[(0,a.jsx)("path",{opacity:"0.3",d:"M10.9286 0.85734H1.07142C0.834371 0.85734 0.642853 1.04886 0.642853 1.28591V11.1431C0.642853 11.3801 0.834371 11.5716 1.07142 11.5716H2.5958C2.65473 11.5716 2.70295 11.5234 2.70295 11.4645V10.7145C2.70295 10.6556 2.65473 10.6073 2.5958 10.6073H1.60714V1.82163H10.3929V5.10734C10.3929 5.16627 10.4411 5.21448 10.5 5.21448H11.25C11.3089 5.21448 11.3571 5.16627 11.3571 5.10734V1.28591C11.3571 1.04886 11.1656 0.85734 10.9286 0.85734Z"}),(0,a.jsx)("path",{d:"M10.9286 5.95536H3.85715C3.62009 5.95536 3.42857 6.14688 3.42857 6.38393V10.9286C3.42857 11.1656 3.62009 11.3571 3.85715 11.3571H10.9286C11.1656 11.3571 11.3571 11.1656 11.3571 10.9286V6.38393C11.3571 6.14688 11.1656 5.95536 10.9286 5.95536ZM10.3393 10.3393H4.44643V6.97322H10.3393V10.3393Z"}),(0,a.jsx)("path",{d:"M3.15129 3.31274H6.94594V2.47167C6.94594 2.39132 7.03969 2.34578 7.10264 2.39533L8.81157 3.74533C8.82313 3.75427 8.83249 3.76574 8.83893 3.77885C8.84537 3.79197 8.84872 3.80639 8.84872 3.821C8.84872 3.83562 8.84537 3.85004 8.83893 3.86315C8.83249 3.87627 8.82313 3.88774 8.81157 3.89667L7.10398 5.24667C7.04103 5.29623 6.94728 5.25203 6.94728 5.17033V4.27703H3.15129V3.31274Z"})]})}),A=({props:e})=>(0,a.jsx)(l.A,{component:y,...e}),w=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"bg-position-vertical",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsxs)("g",{children:[(0,a.jsx)("path",{opacity:"0.3",d:"M0.642854 11.143L0.642854 1.2859C0.642854 1.04885 0.834372 0.85733 1.07143 0.85733L10.9286 0.857331C11.1656 0.857331 11.3571 1.04885 11.3571 1.2859L11.3571 2.81028C11.3571 2.86921 11.3089 2.91742 11.25 2.91742L10.5 2.91742C10.4411 2.91742 10.3929 2.86921 10.3929 2.81028L10.3929 1.82162L1.60714 1.82162L1.60714 10.6073L4.89285 10.6073C4.95178 10.6073 5 10.6555 5 10.7145L5 11.4645C5 11.5234 4.95178 11.5716 4.89285 11.5716L1.07143 11.5716C0.834372 11.5716 0.642854 11.3801 0.642854 11.143Z"}),(0,a.jsx)("path",{d:"M5.74087 11.1431L5.74088 4.07162C5.74088 3.83457 5.93239 3.64305 6.16945 3.64305L10.7141 3.64305C10.9511 3.64305 11.1427 3.83457 11.1427 4.07162L11.1427 11.1431C11.1427 11.3801 10.9511 11.5716 10.7141 11.5716L6.16945 11.5716C5.93239 11.5716 5.74087 11.3801 5.74087 11.1431ZM10.1248 10.5538L10.1248 4.66091L6.75873 4.66091L6.75873 10.5538L10.1248 10.5538Z"}),(0,a.jsx)("path",{d:"M3.09827 3.36576L3.09827 7.1604L2.2572 7.1604C2.17684 7.1604 2.1313 7.25415 2.18086 7.3171L3.53086 9.02603C3.53979 9.03759 3.55126 9.04695 3.56438 9.0534C3.57749 9.05984 3.59191 9.06319 3.60653 9.06319C3.62114 9.06319 3.63556 9.05984 3.64868 9.0534C3.66179 9.04695 3.67326 9.03759 3.6822 9.02603L5.0322 7.31844C5.08175 7.25549 5.03755 7.16174 4.95586 7.16174L4.06255 7.16174L4.06255 3.36576L3.09827 3.36576Z"})]})}),L=({props:e})=>(0,a.jsx)(l.A,{component:w,...e}),b=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"up-to-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsxs)("g",{children:[(0,a.jsx)("path",{d:"M11.3571 1.07142L11.3571 10.9286C11.3571 11.1656 11.1656 11.3571 10.9286 11.3571H1.07142C0.834364 11.3571 0.642846 11.1656 0.642846 10.9286V6.10714C0.642846 6.04821 0.69106 6 0.749989 6H1.49999C1.55892 6 1.60713 6.04821 1.60713 6.10714V10.3929H10.3928L10.3928 1.60714L6.10713 1.60714C6.0482 1.60714 5.99999 1.55892 5.99999 1.5V0.749995C5.99999 0.691067 6.0482 0.642853 6.10713 0.642853L10.9286 0.642853C11.1656 0.642853 11.3571 0.834371 11.3571 1.07142Z"}),(0,a.jsx)("path",{d:"M1.80978 2.53298L1.11067 3.23209C1.09644 3.24625 1.07852 3.25614 1.05895 3.26062C1.03938 3.2651 1.01894 3.264 0.999964 3.25744C0.980987 3.25088 0.964231 3.23913 0.951603 3.22352C0.938975 3.20791 0.93098 3.18907 0.928529 3.16914L0.647279 0.766466C0.639243 0.698162 0.696833 0.639233 0.766476 0.647269L3.16916 0.928519C3.25755 0.939233 3.29505 1.04772 3.2321 1.11066L2.53032 1.81245L5.96156 5.2437C6.00308 5.28522 6.00308 5.35352 5.96156 5.39504L5.39371 5.96289C5.35219 6.00441 5.28389 6.00441 5.24237 5.96289L1.80978 2.53298Z"})]})}),k=({props:e})=>(0,a.jsx)(l.A,{component:b,...e}),M=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"vertical-offset-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M4.92856 10.4987L4.92856 1.17859C4.92856 1.11966 4.88034 1.07144 4.82141 1.07144L4.01784 1.07144C3.95891 1.07144 3.9107 1.11966 3.9107 1.17859L3.9107 9.28394L1.45981 7.35135C1.39016 7.29644 1.2857 7.346 1.2857 7.43573L1.2857 8.40671C1.2857 8.47234 1.31516 8.53394 1.3674 8.57546L4.23481 10.8362C4.51606 11.0572 4.92856 10.8576 4.92856 10.4987ZM8.08927 10.8214L8.08927 2.71609L10.5402 4.64868C10.6098 4.70359 10.7143 4.65403 10.7143 4.5643L10.7143 3.59332C10.7143 3.52769 10.6848 3.46609 10.6326 3.42457L7.76516 1.16385C7.48391 0.942871 7.07141 1.14243 7.07141 1.50001L7.07141 10.8214C7.07141 10.8804 7.11963 10.9286 7.17856 10.9286L7.98213 10.9286C8.04106 10.9286 8.08927 10.8804 8.08927 10.8214Z"})}),S=({props:e})=>(0,a.jsx)(l.A,{component:M,...e}),E=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-horizontal-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.85714 1.07143H1.10714C1.04821 1.07143 1 1.11964 1 1.17857V10.8214C1 10.8804 1.04821 10.9286 1.10714 10.9286H1.85714C1.91607 10.9286 1.96429 10.8804 1.96429 10.8214V1.17857C1.96429 1.11964 1.91607 1.07143 1.85714 1.07143Z"}),(0,a.jsx)("path",{d:"M7.85714 7H3.10714C3.04821 7 3 7.04821 3 7.10714V8.85714C3 8.91607 3.04821 8.96429 3.10714 8.96429H7.85714C7.91607 8.96429 7.96429 8.91607 7.96429 8.85714V7.10714C7.96429 7.04821 7.91607 7 7.85714 7Z"}),(0,a.jsx)("path",{d:"M10.8571 3H3.10714C3.04821 3 3 3.04821 3 3.10714V4.85714C3 4.91607 3.04821 4.96429 3.10714 4.96429H10.8571C10.9161 4.96429 10.9643 4.91607 10.9643 4.85714V3.10714C10.9643 3.04821 10.9161 3 10.8571 3Z"})]}),V=({props:e})=>(0,a.jsx)(l.A,{component:E,...e}),H=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-horizontal-center-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M6.375 1.07143H5.625C5.56607 1.07143 5.51786 1.11964 5.51786 1.17857V10.8214C5.51786 10.8804 5.56607 10.9286 5.625 10.9286H6.375C6.43393 10.9286 6.48214 10.8804 6.48214 10.8214V1.17857C6.48214 1.11964 6.43393 1.07143 6.375 1.07143Z"}),(0,a.jsx)("path",{d:"M8.85714 7H3.10714C3.04821 7 3 7.04821 3 7.10714V8.85714C3 8.91607 3.04821 8.96429 3.10714 8.96429H8.85714C8.91607 8.96429 8.96429 8.91607 8.96429 8.85714V7.10714C8.96429 7.04821 8.91607 7 8.85714 7Z"}),(0,a.jsx)("path",{d:"M10.8571 3H1.10714C1.04821 3 1 3.04821 1 3.10714V4.85714C1 4.91607 1.04821 4.96429 1.10714 4.96429H10.8571C10.9161 4.96429 10.9643 4.91607 10.9643 4.85714V3.10714C10.9643 3.04821 10.9161 3 10.8571 3Z"})]}),N=({props:e})=>(0,a.jsx)(l.A,{component:H,...e}),I=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-horizontal-right-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M10.1429 1.07143H10.8929C10.9518 1.07143 11 1.11964 11 1.17857V10.8214C11 10.8804 10.9518 10.9286 10.8929 10.9286H10.1429C10.0839 10.9286 10.0357 10.8804 10.0357 10.8214V1.17857C10.0357 1.11964 10.0839 1.07143 10.1429 1.07143Z"}),(0,a.jsx)("path",{d:"M4.14286 7H8.89286C8.95179 7 9 7.04821 9 7.10714V8.85714C9 8.91607 8.95179 8.96429 8.89286 8.96429H4.14286C4.08393 8.96429 4.03571 8.91607 4.03571 8.85714V7.10714C4.03571 7.04821 4.08393 7 4.14286 7Z"}),(0,a.jsx)("path",{d:"M1.14286 3H8.89286C8.95179 3 9 3.04821 9 3.10714V4.85714C9 4.91607 8.95179 4.96429 8.89286 4.96429H1.14286C1.08393 4.96429 1.03571 4.91607 1.03571 4.85714V3.10714C1.03571 3.04821 1.08393 3 1.14286 3Z"})]}),B=({props:e})=>(0,a.jsx)(l.A,{component:I,...e}),T=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-vertical-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.07143 1.85714L1.07143 1.10714C1.07143 1.04821 1.11964 1 1.17857 1L10.8214 1C10.8804 1 10.9286 1.04821 10.9286 1.10714L10.9286 1.85714C10.9286 1.91607 10.8804 1.96429 10.8214 1.96429L1.17857 1.96429C1.11964 1.96429 1.07143 1.91607 1.07143 1.85714Z"}),(0,a.jsx)("path",{d:"M7 7.85714L7 3.10714C7 3.04821 7.04821 3 7.10714 3L8.85714 3C8.91607 3 8.96429 3.04821 8.96429 3.10714L8.96429 7.85714C8.96429 7.91607 8.91607 7.96429 8.85714 7.96429L7.10714 7.96429C7.04821 7.96429 7 7.91607 7 7.85714Z"}),(0,a.jsx)("path",{d:"M3 10.8571L3 3.10714C3 3.04821 3.04821 3 3.10714 3L4.85714 3C4.91607 3 4.96429 3.04821 4.96429 3.10714L4.96429 10.8571C4.96429 10.9161 4.91607 10.9643 4.85714 10.9643L3.10714 10.9643C3.04821 10.9643 3 10.9161 3 10.8571Z"})]}),Z=({props:e})=>(0,a.jsx)(l.A,{component:T,...e}),R=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-vertical-center-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.07143 5.625L1.07143 6.375C1.07143 6.43393 1.11964 6.48215 1.17857 6.48215L10.8214 6.48215C10.8804 6.48215 10.9286 6.43393 10.9286 6.375L10.9286 5.625C10.9286 5.56608 10.8804 5.51786 10.8214 5.51786L1.17857 5.51786C1.11964 5.51786 1.07143 5.56608 1.07143 5.625Z"}),(0,a.jsx)("path",{d:"M7 3.14286L7 8.89286C7 8.95179 7.04821 9 7.10714 9L8.85714 9C8.91607 9 8.96429 8.95179 8.96429 8.89286L8.96429 3.14286C8.96429 3.08393 8.91607 3.03571 8.85714 3.03571L7.10714 3.03571C7.04821 3.03571 7 3.08393 7 3.14286Z"}),(0,a.jsx)("path",{d:"M3 1.14286L3 10.8929C3 10.9518 3.04821 11 3.10714 11L4.85714 11C4.91607 11 4.96429 10.9518 4.96429 10.8929L4.96429 1.14286C4.96429 1.08393 4.91607 1.03571 4.85714 1.03571L3.10714 1.03571C3.04821 1.03571 3 1.08393 3 1.14286Z"})]}),O=({props:e})=>(0,a.jsx)(l.A,{component:R,...e}),D=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-vertical-bottom-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M1.07143 10.1429L1.07143 10.8929C1.07143 10.9518 1.11964 11 1.17857 11L10.8214 11C10.8804 11 10.9286 10.9518 10.9286 10.8929L10.9286 10.1429C10.9286 10.0839 10.8804 10.0357 10.8214 10.0357L1.17857 10.0357C1.11964 10.0357 1.07143 10.0839 1.07143 10.1429Z"}),(0,a.jsx)("path",{d:"M7 4.14286L7 8.89286C7 8.95179 7.04821 9 7.10714 9L8.85714 9C8.91607 9 8.96429 8.95179 8.96429 8.89286L8.96429 4.14286C8.96429 4.08393 8.91607 4.03571 8.85714 4.03571L7.10714 4.03571C7.04821 4.03571 7 4.08393 7 4.14286Z"}),(0,a.jsx)("path",{d:"M3 1.14286L3 8.89286C3 8.95179 3.04821 9 3.10714 9L4.85714 9C4.91607 9 4.96429 8.95179 4.96429 8.89286L4.96429 1.14286C4.96429 1.08393 4.91607 1.03571 4.85714 1.03571L3.10714 1.03571C3.04821 1.03571 3 1.08393 3 1.14286Z"})]}),z=({props:e})=>(0,a.jsx)(l.A,{component:D,...e}),P=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"mixed-view-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M12.0357 11.6071L12.0357 4.42857C12.0357 4.19152 11.8442 4 11.6071 4L7.42857 4C7.19151 4 7 4.19152 7 4.42857L7 11.6071C7 11.8442 7.19151 12.0357 7.42857 12.0357L11.6071 12.0357C11.8442 12.0357 12.0357 11.8442 12.0357 11.6071ZM8.01785 11.0179L8.01785 5.01786L11.0178 5.01786L11.0178 11.0179L8.01785 11.0179Z"}),(0,a.jsx)("path",{d:"M6.03571 11.6071L6.0357 6.42857C6.0357 6.19152 5.84419 6 5.60713 6L0.428567 6C0.191514 6 -4.29991e-06 6.19152 -4.31027e-06 6.42857L-4.05979e-06 11.6071C-4.07016e-06 11.8442 0.191514 12.0357 0.428568 12.0357L5.60713 12.0357C5.84419 12.0357 6.03571 11.8442 6.03571 11.6071ZM1.01785 11.0179L1.01785 7.01786L5.01785 7.01786L5.01785 11.0179L1.01785 11.0179Z"}),(0,a.jsx)("path",{d:"M5.99999 5.03571L0.428572 5.03571C0.191518 5.03571 0 4.84419 0 4.60714L2.45825e-06 0.428573C2.43753e-06 0.191519 0.191521 0 0.428574 0H7.60714C7.84419 0 8.03571 0.191518 8.03571 0.428572L8.03571 3H7.01785L7.01786 1.01786L1.01786 1.01786L1.01786 4.01785L5.99999 4.01785V5.03571Z"})]}),F=({props:e})=>(0,a.jsx)(l.A,{component:P,...e}),U=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"landscape-view",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0.392859 10.0357L11.5714 10.0357C11.8085 10.0357 12 9.84419 12 9.60714L12 2.42858C12 2.19152 11.8085 2 11.5714 2L0.392862 2C0.155808 2 -0.0357096 2.19152 -0.0357097 2.42857L-0.0357132 9.60714C-0.0357132 9.84419 0.155805 10.0357 0.392859 10.0357ZM0.982149 3.01786L10.9821 3.01786L10.9821 9.01786L0.982145 9.01786L0.982149 3.01786Z"})}),q=({props:e})=>(0,a.jsx)(l.A,{component:U,...e}),G=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"portrait-view",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10 11.6071L10 0.428574C10 0.191521 9.80848 2.46721e-06 9.57143 2.45684e-06L2.39286 -3.32519e-07C2.15581 -3.42881e-07 1.96429 0.191518 1.96429 0.428571L1.96429 11.6071C1.96429 11.8442 2.15581 12.0357 2.39286 12.0357L9.57143 12.0357C9.80848 12.0357 10 11.8442 10 11.6071ZM2.98215 11.0179L2.98215 1.01786L8.98214 1.01786L8.98214 11.0179L2.98215 11.0179Z"})}),K=({props:e})=>(0,a.jsx)(l.A,{component:G,...e}),$=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"square-view",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1 1.42857L1 10.5893C1 10.8263 1.19152 11.0179 1.42857 11.0179L10.5605 11.0179C10.7976 11.0179 10.9891 10.8263 10.9891 10.5893L10.9891 1.42857C10.9891 1.19151 10.7976 0.999997 10.5605 0.999997L1.42857 0.999997C1.19152 0.999997 1 1.19151 1 1.42857ZM9.97123 2.01785L9.97123 10L2.01786 10L2.01786 2.01785L9.97123 2.01785Z"})}),W=({props:e})=>(0,a.jsx)(l.A,{component:$,...e}),X=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"panel-left",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10.9286 0.64286H1.07143C0.834378 0.64286 0.64286 0.834378 0.64286 1.07143V10.9286C0.64286 11.1656 0.834378 11.3571 1.07143 11.3571H10.9286C11.1656 11.3571 11.3571 11.1656 11.3571 10.9286V1.07143C11.3571 0.834378 11.1656 0.64286 10.9286 0.64286ZM10.3929 10.3929H4.64315V1.60715H10.3929V10.3929Z"})}),Y=({props:e})=>(0,a.jsx)(l.A,{component:X,...e}),J=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"sun-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M5.53842 -2.28882e-05V2.30768H6.4615V-2.28882e-05H5.53842ZM2.07687 1.42787L1.42783 2.07691L3.05764 3.72115L3.72111 3.05768L2.07687 1.42787ZM9.92305 1.42787L8.27882 3.05768L8.94228 3.72115L10.5721 2.07691L9.92305 1.42787ZM5.99996 2.76922C4.22051 2.76922 2.76918 4.22055 2.76918 6C2.76918 7.77945 4.22051 9.23078 5.99996 9.23078C7.77942 9.23078 9.23074 7.77945 9.23074 6C9.23074 4.22055 7.77942 2.76922 5.99996 2.76922ZM5.99996 3.6923C7.28002 3.6923 8.30766 4.71995 8.30766 6C8.30766 7.28005 7.28002 8.3077 5.99996 8.3077C4.71991 8.3077 3.69226 7.28005 3.69226 6C3.69226 4.71995 4.71991 3.6923 5.99996 3.6923ZM-6.10352e-05 5.53846V6.46154H2.30764V5.53846H-6.10352e-05ZM9.69228 5.53846V6.46154H12V5.53846H9.69228ZM3.05764 8.27885L1.42783 9.92309L2.07687 10.5721L3.72111 8.94232L3.05764 8.27885ZM8.94228 8.27885L8.27882 8.94232L9.92305 10.5721L10.5721 9.92309L8.94228 8.27885ZM5.53842 9.69232V12H6.4615V9.69232H5.53842Z"})}),Q=({props:e})=>(0,a.jsx)(l.A,{component:J,...e}),ee=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"crescent-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 1C6.112 1 6.22266 1.00383 6.332 1.0115C6.11066 1.48817 6 1.98433 6 2.5C6 2.974 6.0925 3.42717 6.2775 3.8595C6.4625 4.29183 6.71116 4.66417 7.0235 4.9765C7.33583 5.28883 7.70816 5.5375 8.1405 5.7225C8.57283 5.9075 9.026 6 9.5 6C10.0157 6 10.5118 5.88933 10.9885 5.668C10.9962 5.77733 11 5.888 11 6C11 6.453 10.9402 6.89567 10.8205 7.328C10.7008 7.76033 10.5335 8.1595 10.3185 8.5255C10.1035 8.8915 9.8425 9.22816 9.5355 9.5355C9.2285 9.84283 8.89183 10.1038 8.5255 10.3185C8.15916 10.5332 7.76 10.7005 7.328 10.8205C6.896 10.9405 6.45333 11.0003 6 11C5.54666 10.9997 5.104 10.9398 4.672 10.8205C4.24 10.7012 3.84083 10.5338 3.4745 10.3185C3.10817 10.1032 2.7715 9.84216 2.4645 9.5355C2.1575 9.22883 1.8965 8.89216 1.6815 8.5255C1.4665 8.15883 1.29917 7.75967 1.1795 7.328C1.05983 6.89633 1 6.45366 1 6C1 5.54633 1.05983 5.10367 1.1795 4.672C1.29917 4.24033 1.4665 3.84117 1.6815 3.4745C1.8965 3.10783 2.1575 2.77117 2.4645 2.4645C2.7715 2.15783 3.10817 1.89683 3.4745 1.6815C3.84083 1.46617 4.24 1.29883 4.672 1.1795C5.104 1.06017 5.54666 1.00033 6 1ZM5.0155 2.121C4.58583 2.23033 4.1855 2.40733 3.8145 2.652C3.4435 2.89667 3.1245 3.187 2.8575 3.523C2.5905 3.859 2.38083 4.24117 2.2285 4.6695C2.07617 5.09783 2 5.54117 2 5.9995C2 6.54116 2.1055 7.05866 2.3165 7.552C2.5275 8.04533 2.812 8.47116 3.17 8.8295C3.528 9.18783 3.95383 9.47233 4.4475 9.683C4.94116 9.89366 5.45866 9.99916 6 9.9995C6.45833 9.9995 6.90166 9.92333 7.33 9.771C7.75833 9.61866 8.1405 9.409 8.4765 9.142C8.8125 8.875 9.10283 8.556 9.3475 8.185C9.59216 7.814 9.76916 7.41366 9.8785 6.984C9.7665 6.99433 9.64016 6.9995 9.4995 6.9995C8.89016 6.9995 8.30816 6.88033 7.7535 6.642C7.19883 6.40366 6.72033 6.08333 6.318 5.681C5.91566 5.27867 5.59533 4.80017 5.357 4.2455C5.11867 3.69083 4.9995 3.10883 4.9995 2.4995C4.9995 2.35883 5.00516 2.233 5.0155 2.121Z"})}),te=({props:e})=>(0,a.jsx)(l.A,{component:ee,...e}),se=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"vimeo-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10.9952 3.66719C10.9513 4.59967 10.2888 5.87689 9.00665 7.49794C7.68113 9.19101 6.55939 10.0376 5.64191 10.0376C5.07348 10.0376 4.59281 9.52102 4.19988 8.48818L3.41305 5.64743C3.12152 4.61411 2.80855 4.09732 2.47363 4.09732C2.40051 4.09732 2.14554 4.24829 1.70874 4.54983L1.25 3.96878C1.73068 3.55248 2.20404 3.13609 2.6701 2.72027C3.31116 2.1748 3.79184 1.88809 4.11213 1.85928C4.86971 1.78774 5.33576 2.29679 5.51077 3.38725C5.69992 4.56414 5.83106 5.29554 5.90419 5.58268C6.12259 6.55838 6.36293 7.04614 6.6252 7.04614C6.82898 7.04614 7.13513 6.73064 7.54268 6.09922C7.95072 5.46781 8.16913 4.98707 8.19838 4.65719C8.25639 4.11172 8.03799 3.83953 7.54268 3.83953C7.30966 3.83953 7.06932 3.88961 6.82167 3.98997C7.30235 2.45487 8.22031 1.70847 9.57508 1.75169C10.5798 1.7805 11.0537 2.41875 10.9952 3.66719Z"})}),le=({props:e})=>(0,a.jsx)(l.A,{component:se,...e}),ie=()=>(0,a.jsx)("svg",{viewBox:"0 0 20 20",focusable:"false","data-icon":"image-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M3.75 17.5C3.41667 17.5 3.125 17.375 2.875 17.125C2.625 16.875 2.5 16.5833 2.5 16.25V3.75C2.5 3.41667 2.625 3.125 2.875 2.875C3.125 2.625 3.41667 2.5 3.75 2.5H16.25C16.5833 2.5 16.875 2.625 17.125 2.875C17.375 3.125 17.5 3.41667 17.5 3.75V16.25C17.5 16.5833 17.375 16.875 17.125 17.125C16.875 17.375 16.5833 17.5 16.25 17.5H3.75ZM3.75 16.25H16.25V3.75H3.75V16.25ZM4.91667 14.2292H15.1042L12.0417 10.1458L9.29167 13.7083L7.35417 11.0625L4.91667 14.2292Z"})}),ae=({props:e})=>(0,a.jsx)(l.A,{component:ie,...e}),oe=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"blur-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0.326321 7.56842C0.235089 7.56842 0.157895 7.53684 0.0947368 7.47368C0.0315789 7.41052 0 7.33333 0 7.24211C0 7.15088 0.0315789 7.07368 0.0947368 7.01053C0.157895 6.94737 0.235089 6.91579 0.326321 6.91579C0.417542 6.91579 0.494731 6.94737 0.557889 7.01053C0.621047 7.07368 0.652626 7.15088 0.652626 7.24211C0.652626 7.33333 0.621047 7.41052 0.557889 7.47368C0.494731 7.53684 0.417542 7.56842 0.326321 7.56842ZM0.326321 5.08421C0.235089 5.08421 0.157895 5.05263 0.0947368 4.98947C0.0315789 4.92632 0 4.84912 0 4.75789C0 4.66667 0.0315789 4.58948 0.0947368 4.52632C0.157895 4.46316 0.235089 4.43158 0.326321 4.43158C0.417542 4.43158 0.494731 4.46316 0.557889 4.52632C0.621047 4.58948 0.652626 4.66667 0.652626 4.75789C0.652626 4.84912 0.621047 4.92632 0.557889 4.98947C0.494731 5.05263 0.417542 5.08421 0.326321 5.08421ZM2.21163 10.4C2.03897 10.4 1.89386 10.3416 1.77632 10.2248C1.65877 10.108 1.59999 9.96325 1.59999 9.79058C1.59999 9.61792 1.6584 9.47281 1.77521 9.35526C1.89201 9.23772 2.03675 9.17894 2.20942 9.17894C2.38208 9.17894 2.52719 9.23735 2.64474 9.35416C2.76228 9.47096 2.82106 9.61569 2.82106 9.78837C2.82106 9.96103 2.76265 10.1061 2.64584 10.2237C2.52904 10.3412 2.38431 10.4 2.21163 10.4ZM2.21163 7.85263C2.03897 7.85263 1.89386 7.79423 1.77632 7.67743C1.65877 7.56062 1.59999 7.41588 1.59999 7.24322C1.59999 7.07054 1.6584 6.92544 1.77521 6.8079C1.89201 6.69035 2.03675 6.63158 2.20942 6.63158C2.38208 6.63158 2.52719 6.68998 2.64474 6.80678C2.76228 6.92359 2.82106 7.06833 2.82106 7.24099C2.82106 7.41366 2.76265 7.55877 2.64584 7.67632C2.52904 7.79386 2.38431 7.85263 2.21163 7.85263ZM2.21163 5.36842C2.03897 5.36842 1.89386 5.31002 1.77632 5.19322C1.65877 5.07641 1.59999 4.93167 1.59999 4.75901C1.59999 4.58634 1.6584 4.44123 1.77521 4.32368C1.89201 4.20614 2.03675 4.14737 2.20942 4.14737C2.38208 4.14737 2.52719 4.20577 2.64474 4.32257C2.76228 4.43938 2.82106 4.58412 2.82106 4.75678C2.82106 4.92946 2.76265 5.07456 2.64584 5.1921C2.52904 5.30965 2.38431 5.36842 2.21163 5.36842ZM2.21163 2.82106C2.03897 2.82106 1.89386 2.76265 1.77632 2.64584C1.65877 2.52904 1.59999 2.38431 1.59999 2.21163C1.59999 2.03897 1.6584 1.89386 1.77521 1.77632C1.89201 1.65877 2.03675 1.59999 2.20942 1.59999C2.38208 1.59999 2.52719 1.6584 2.64474 1.77521C2.76228 1.89201 2.82106 2.03675 2.82106 2.20942C2.82106 2.38208 2.76265 2.52719 2.64584 2.64474C2.52904 2.76228 2.38431 2.82106 2.21163 2.82106ZM4.75789 8.12632C4.51228 8.12632 4.30351 8.04035 4.13158 7.86842C3.95965 7.69649 3.87368 7.48772 3.87368 7.24211C3.87368 6.99649 3.95965 6.78772 4.13158 6.61579C4.30351 6.44386 4.51228 6.3579 4.75789 6.3579C5.00351 6.3579 5.21228 6.44386 5.38421 6.61579C5.55614 6.78772 5.6421 6.99649 5.6421 7.24211C5.6421 7.48772 5.55614 7.69649 5.38421 7.86842C5.21228 8.04035 5.00351 8.12632 4.75789 8.12632ZM4.75789 5.6421C4.51228 5.6421 4.30351 5.55614 4.13158 5.38421C3.95965 5.21228 3.87368 5.00351 3.87368 4.75789C3.87368 4.51228 3.95965 4.30351 4.13158 4.13158C4.30351 3.95965 4.51228 3.87368 4.75789 3.87368C5.00351 3.87368 5.21228 3.95965 5.38421 4.13158C5.55614 4.30351 5.6421 4.51228 5.6421 4.75789C5.6421 5.00351 5.55614 5.21228 5.38421 5.38421C5.21228 5.55614 5.00351 5.6421 4.75789 5.6421ZM4.75901 10.4C4.58634 10.4 4.44123 10.3416 4.32368 10.2248C4.20614 10.108 4.14737 9.96325 4.14737 9.79058C4.14737 9.61792 4.20577 9.47281 4.32257 9.35526C4.43938 9.23772 4.58412 9.17894 4.75678 9.17894C4.92946 9.17894 5.07456 9.23735 5.1921 9.35416C5.30965 9.47096 5.36842 9.61569 5.36842 9.78837C5.36842 9.96103 5.31002 10.1061 5.19322 10.2237C5.07641 10.3412 4.93167 10.4 4.75901 10.4ZM4.75901 2.82106C4.58634 2.82106 4.44123 2.76265 4.32368 2.64584C4.20614 2.52904 4.14737 2.38431 4.14737 2.21163C4.14737 2.03897 4.20577 1.89386 4.32257 1.77632C4.43938 1.65877 4.58412 1.59999 4.75678 1.59999C4.92946 1.59999 5.07456 1.6584 5.1921 1.77521C5.30965 1.89201 5.36842 2.03675 5.36842 2.20942C5.36842 2.38208 5.31002 2.52719 5.19322 2.64474C5.07641 2.76228 4.93167 2.82106 4.75901 2.82106ZM4.75789 12C4.66667 12 4.58948 11.9684 4.52632 11.9053C4.46316 11.8421 4.43158 11.7649 4.43158 11.6737C4.43158 11.5825 4.46316 11.5053 4.52632 11.4421C4.58948 11.379 4.66667 11.3474 4.75789 11.3474C4.84912 11.3474 4.92632 11.379 4.98947 11.4421C5.05263 11.5053 5.08421 11.5825 5.08421 11.6737C5.08421 11.7649 5.05263 11.8421 4.98947 11.9053C4.92632 11.9684 4.84912 12 4.75789 12ZM4.75789 0.652626C4.66667 0.652626 4.58948 0.621047 4.52632 0.55789C4.46316 0.494732 4.43158 0.417542 4.43158 0.326321C4.43158 0.235089 4.46316 0.157895 4.52632 0.0947368C4.58948 0.0315789 4.66667 0 4.75789 0C4.84912 0 4.92632 0.0315789 4.98947 0.0947368C5.05263 0.157895 5.08421 0.235089 5.08421 0.326321C5.08421 0.417542 5.05263 0.494732 4.98947 0.55789C4.92632 0.621047 4.84912 0.652626 4.75789 0.652626ZM7.24211 8.12632C6.99649 8.12632 6.78772 8.04035 6.61579 7.86842C6.44386 7.69649 6.3579 7.48772 6.3579 7.24211C6.3579 6.99649 6.44386 6.78772 6.61579 6.61579C6.78772 6.44386 6.99649 6.3579 7.24211 6.3579C7.48772 6.3579 7.69649 6.44386 7.86842 6.61579C8.04035 6.78772 8.12632 6.99649 8.12632 7.24211C8.12632 7.48772 8.04035 7.69649 7.86842 7.86842C7.69649 8.04035 7.48772 8.12632 7.24211 8.12632ZM7.24211 5.6421C6.99649 5.6421 6.78772 5.55614 6.61579 5.38421C6.44386 5.21228 6.3579 5.00351 6.3579 4.75789C6.3579 4.51228 6.44386 4.30351 6.61579 4.13158C6.78772 3.95965 6.99649 3.87368 7.24211 3.87368C7.48772 3.87368 7.69649 3.95965 7.86842 4.13158C8.04035 4.30351 8.12632 4.51228 8.12632 4.75789C8.12632 5.00351 8.04035 5.21228 7.86842 5.38421C7.69649 5.55614 7.48772 5.6421 7.24211 5.6421ZM7.24322 10.4C7.07054 10.4 6.92544 10.3416 6.8079 10.2248C6.69035 10.108 6.63158 9.96325 6.63158 9.79058C6.63158 9.61792 6.68998 9.47281 6.80678 9.35526C6.92359 9.23772 7.06833 9.17894 7.24099 9.17894C7.41366 9.17894 7.55877 9.23735 7.67632 9.35416C7.79386 9.47096 7.85263 9.61569 7.85263 9.78837C7.85263 9.96103 7.79423 10.1061 7.67743 10.2237C7.56062 10.3412 7.41588 10.4 7.24322 10.4ZM7.24322 2.82106C7.07054 2.82106 6.92544 2.76265 6.8079 2.64584C6.69035 2.52904 6.63158 2.38431 6.63158 2.21163C6.63158 2.03897 6.68998 1.89386 6.80678 1.77632C6.92359 1.65877 7.06833 1.59999 7.24099 1.59999C7.41366 1.59999 7.55877 1.6584 7.67632 1.77521C7.79386 1.89201 7.85263 2.03675 7.85263 2.20942C7.85263 2.38208 7.79423 2.52719 7.67743 2.64474C7.56062 2.76228 7.41588 2.82106 7.24322 2.82106ZM7.30527 12C7.21404 12 7.13684 11.9684 7.07368 11.9053C7.01053 11.8421 6.97895 11.7649 6.97895 11.6737C6.97895 11.5825 7.01053 11.5053 7.07368 11.4421C7.13684 11.379 7.21404 11.3474 7.30527 11.3474C7.39649 11.3474 7.47368 11.379 7.53684 11.4421C7.59999 11.5053 7.63157 11.5825 7.63157 11.6737C7.63157 11.7649 7.59999 11.8421 7.53684 11.9053C7.47368 11.9684 7.39649 12 7.30527 12ZM7.24211 0.652626C7.15088 0.652626 7.07368 0.621047 7.01053 0.55789C6.94737 0.494732 6.91579 0.417542 6.91579 0.326321C6.91579 0.235089 6.94737 0.157895 7.01053 0.0947368C7.07368 0.0315789 7.15088 0 7.24211 0C7.33333 0 7.41052 0.0315789 7.47368 0.0947368C7.53684 0.157895 7.56842 0.235089 7.56842 0.326321C7.56842 0.417542 7.53684 0.494732 7.47368 0.55789C7.41052 0.621047 7.33333 0.652626 7.24211 0.652626ZM9.79058 10.4C9.61792 10.4 9.47281 10.3416 9.35526 10.2248C9.23772 10.108 9.17894 9.96325 9.17894 9.79058C9.17894 9.61792 9.23735 9.47281 9.35416 9.35526C9.47096 9.23772 9.61569 9.17894 9.78837 9.17894C9.96103 9.17894 10.1061 9.23735 10.2237 9.35416C10.3412 9.47096 10.4 9.61569 10.4 9.78837C10.4 9.96103 10.3416 10.1061 10.2248 10.2237C10.108 10.3412 9.96325 10.4 9.79058 10.4ZM9.79058 7.85263C9.61792 7.85263 9.47281 7.79423 9.35526 7.67743C9.23772 7.56062 9.17894 7.41588 9.17894 7.24322C9.17894 7.07054 9.23735 6.92544 9.35416 6.8079C9.47096 6.69035 9.61569 6.63158 9.78837 6.63158C9.96103 6.63158 10.1061 6.68998 10.2237 6.80678C10.3412 6.92359 10.4 7.06833 10.4 7.24099C10.4 7.41366 10.3416 7.55877 10.2248 7.67632C10.108 7.79386 9.96325 7.85263 9.79058 7.85263ZM9.79058 5.36842C9.61792 5.36842 9.47281 5.31002 9.35526 5.19322C9.23772 5.07641 9.17894 4.93167 9.17894 4.75901C9.17894 4.58634 9.23735 4.44123 9.35416 4.32368C9.47096 4.20614 9.61569 4.14737 9.78837 4.14737C9.96103 4.14737 10.1061 4.20577 10.2237 4.32257C10.3412 4.43938 10.4 4.58412 10.4 4.75678C10.4 4.92946 10.3416 5.07456 10.2248 5.1921C10.108 5.30965 9.96325 5.36842 9.79058 5.36842ZM9.79058 2.82106C9.61792 2.82106 9.47281 2.76265 9.35526 2.64584C9.23772 2.52904 9.17894 2.38431 9.17894 2.21163C9.17894 2.03897 9.23735 1.89386 9.35416 1.77632C9.47096 1.65877 9.61569 1.59999 9.78837 1.59999C9.96103 1.59999 10.1061 1.6584 10.2237 1.77521C10.3412 1.89201 10.4 2.03675 10.4 2.20942C10.4 2.38208 10.3416 2.52719 10.2248 2.64474C10.108 2.76228 9.96325 2.82106 9.79058 2.82106ZM11.6737 7.56842C11.5825 7.56842 11.5053 7.53684 11.4421 7.47368C11.379 7.41052 11.3474 7.33333 11.3474 7.24211C11.3474 7.15088 11.379 7.07368 11.4421 7.01053C11.5053 6.94737 11.5825 6.91579 11.6737 6.91579C11.7649 6.91579 11.8421 6.94737 11.9053 7.01053C11.9684 7.07368 12 7.15088 12 7.24211C12 7.33333 11.9684 7.41052 11.9053 7.47368C11.8421 7.53684 11.7649 7.56842 11.6737 7.56842ZM11.6737 5.08421C11.5825 5.08421 11.5053 5.05263 11.4421 4.98947C11.379 4.92632 11.3474 4.84912 11.3474 4.75789C11.3474 4.66667 11.379 4.58948 11.4421 4.52632C11.5053 4.46316 11.5825 4.43158 11.6737 4.43158C11.7649 4.43158 11.8421 4.46316 11.9053 4.52632C11.9684 4.58948 12 4.66667 12 4.75789C12 4.84912 11.9684 4.92632 11.9053 4.98947C11.8421 5.05263 11.7649 5.08421 11.6737 5.08421Z"})}),ne=({props:e})=>(0,a.jsx)(l.A,{component:oe,...e}),re=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"zoom-out-map",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0.650002 11.35V7.88241H1.64073V9.65585L3.7213 7.57528L4.42472 8.2787L2.34415 10.3593H4.11759V11.35H0.650002ZM7.88241 11.35V10.3593H9.65585L7.58519 8.28861L8.28861 7.58519L10.3593 9.65585V7.88241H11.35V11.35H7.88241ZM3.71139 4.41481L1.64073 2.34415V4.11759H0.650002V0.65H4.11759V1.64073H2.34415L4.41481 3.71139L3.71139 4.41481ZM8.28861 4.41481L7.58519 3.71139L9.65585 1.64073H7.88241V0.65H11.35V4.11759H10.3593V2.34415L8.28861 4.41481Z"})}),ce=({props:e})=>(0,a.jsx)(l.A,{component:re,...e}),de=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"paragraph-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M5.01104 12V7.61696H4.94805C4.12998 7.61696 3.43412 7.29507 2.86047 6.65128C2.28682 6.00748 2 5.22655 2 4.30848C2 3.39041 2.28682 2.60947 2.86047 1.96568C3.43412 1.32189 4.12998 1 4.94805 1H10V2.10281H8.68975V12H7.70709V2.10281H5.99371V12H5.01104Z"})}),me=({props:e})=>(0,a.jsx)(l.A,{component:de,...e}),pe=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-image-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6.63463 25.6249C6.00321 25.6249 5.46875 25.4062 5.03125 24.9687C4.59375 24.5312 4.375 23.9967 4.375 23.3653V6.63463C4.375 6.00321 4.59375 5.46875 5.03125 5.03125C5.46875 4.59375 6.00321 4.375 6.63463 4.375H23.3653C23.9967 4.375 24.5312 4.59375 24.9687 5.03125C25.4062 5.46875 25.6249 6.00321 25.6249 6.63463V23.3653C25.6249 23.9967 25.4062 24.5312 24.9687 24.9687C24.5312 25.4062 23.9967 25.6249 23.3653 25.6249H6.63463ZM6.63463 23.75H23.3653C23.4615 23.75 23.5496 23.7099 23.6298 23.6298C23.7099 23.5496 23.75 23.4615 23.75 23.3653V6.63463C23.75 6.53846 23.7099 6.4503 23.6298 6.37016C23.5496 6.29003 23.4615 6.24997 23.3653 6.24997H6.63463C6.53846 6.24997 6.4503 6.29003 6.37016 6.37016C6.29003 6.4503 6.24997 6.53846 6.24997 6.63463V23.3653C6.24997 23.4615 6.29003 23.5496 6.37016 23.6298C6.4503 23.7099 6.53846 23.75 6.63463 23.75ZM8.43753 20.9374H21.6586L17.548 15.4567L14.0384 20.024L11.5384 16.8269L8.43753 20.9374ZM10.625 12.1874C11.0577 12.1874 11.4262 12.0352 11.7307 11.7307C12.0352 11.4262 12.1874 11.0577 12.1874 10.625C12.1874 10.1923 12.0352 9.8237 11.7307 9.51922C11.4262 9.21474 11.0577 9.0625 10.625 9.0625C10.1923 9.0625 9.8237 9.21474 9.51922 9.51922C9.21474 9.8237 9.0625 10.1923 9.0625 10.625C9.0625 11.0577 9.21474 11.4262 9.51922 11.7307C9.8237 12.0352 10.1923 12.1874 10.625 12.1874Z"})}),ue=({props:e})=>(0,a.jsx)(l.A,{component:pe,...e}),he=()=>(0,a.jsxs)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-image-ai",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M6.63463 25.2499C6.00321 25.2499 5.46875 25.0312 5.03125 24.5937C4.59375 24.1562 4.375 23.6217 4.375 22.9903V6.25963C4.375 5.62821 4.59375 5.09375 5.03125 4.65625C5.46875 4.21875 6.00321 4 6.63463 4H23.3653C23.9967 4 24.5312 4.21875 24.9687 4.65625C25.4062 5.09375 25.6249 5.62821 25.6249 6.25963V22.9903C25.6249 23.6217 25.4062 24.1562 24.9687 24.5937C24.5312 25.0312 23.9967 25.2499 23.3653 25.2499H6.63463ZM6.63463 23.375H23.3653C23.4615 23.375 23.5496 23.3349 23.6298 23.2548C23.7099 23.1746 23.75 23.0865 23.75 22.9903V6.25963C23.75 6.16346 23.7099 6.0753 23.6298 5.99516C23.5496 5.91503 23.4615 5.87497 23.3653 5.87497H6.63463C6.53846 5.87497 6.4503 5.91503 6.37016 5.99516C6.29003 6.0753 6.24997 6.16346 6.24997 6.25963V22.9903C6.24997 23.0865 6.29003 23.1746 6.37016 23.2548C6.4503 23.3349 6.53846 23.375 6.63463 23.375Z"}),(0,a.jsx)("path",{d:"M11 21C11 21 10.6521 19.5906 10.0308 18.9692C9.40939 18.3479 8 18 8 18C8 18 9.40939 17.6521 10.0308 17.0308C10.6521 16.4094 11 15 11 15C11 15 11.3479 16.4094 11.9692 17.0308C12.5906 17.6521 14 18 14 18C14 18 12.5906 18.3479 11.9692 18.9692C11.3479 19.5906 11 21 11 21Z"}),(0,a.jsx)("path",{d:"M17 18C17 18 16.4202 15.651 15.3846 14.6154C14.349 13.5798 12 13 12 13C12 13 14.349 12.4202 15.3846 11.3846C16.4202 10.349 17 8 17 8C17 8 17.5798 10.349 18.6154 11.3846C19.651 12.4202 22 13 22 13C22 13 19.651 13.5798 18.6154 14.6154C17.5798 15.651 17 18 17 18Z"}),(0,a.jsx)("path",{d:"M10 12C10 12 9.7681 11.0604 9.35385 10.6462C8.93959 10.2319 8 10 8 10C8 10 8.93959 9.7681 9.35385 9.35385C9.7681 8.93959 10 8 10 8C10 8 10.2319 8.93959 10.6462 9.35385C11.0604 9.7681 12 10 12 10C12 10 11.0604 10.2319 10.6462 10.6462C10.2319 11.0604 10 12 10 12Z"}),(0,a.jsx)("path",{d:"M20.5 21C20.5 21 20.3261 20.2953 20.0154 19.9846C19.7047 19.6739 19 19.5 19 19.5C19 19.5 19.7047 19.3261 20.0154 19.0154C20.3261 18.7047 20.5 18 20.5 18C20.5 18 20.6739 18.7047 20.9846 19.0154C21.2953 19.3261 22 19.5 22 19.5C22 19.5 21.2953 19.6739 20.9846 19.9846C20.6739 20.2953 20.5 21 20.5 21Z"})]}),Ce=({props:e})=>(0,a.jsx)(l.A,{component:he,...e}),ge=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-text",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M4.375 22.0865V20.2115H18.1249V22.0865H4.375ZM4.375 15.9807V14.1058H25.6249V15.9807H4.375ZM4.375 9.87497V8H25.6249V9.87497H4.375Z"})}),xe=({props:e})=>(0,a.jsx)(l.A,{component:ge,...e}),ve=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-title",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M13.678 24.3749V8.28119H6.88708V5.625H23.125V8.28119H16.3341V24.3749H13.678Z"})}),fe=({props:e})=>(0,a.jsx)(l.A,{component:ve,...e}),je=()=>(0,a.jsxs)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-button",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.03131 19.9687C4.46881 20.4062 5.00327 20.6249 5.63469 20.6249H7V18.75H5.63469C5.53852 18.75 5.45036 18.7099 5.37022 18.6298C5.29009 18.5496 5.25003 18.4615 5.25003 18.3653V7.63463C5.25003 7.53846 5.29009 7.4503 5.37022 7.37016C5.45036 7.29003 5.53852 7.24997 5.63469 7.24997H24.3654C24.4615 7.24997 24.5497 7.29003 24.6298 7.37016C24.71 7.4503 24.75 7.53846 24.75 7.63463V18.3653C24.75 18.4615 24.71 18.5496 24.6298 18.6298C24.5497 18.7099 24.4615 18.75 24.3654 18.75H23V20.6249H24.3654C24.9968 20.6249 25.5312 20.4062 25.9688 19.9687C26.4062 19.5312 26.625 18.9967 26.625 18.3653V7.63463C26.625 7.00321 26.4062 6.46875 25.9688 6.03125C25.5312 5.59375 24.9968 5.375 24.3654 5.375H5.63469C5.00327 5.375 4.46881 5.59375 4.03131 6.03125C3.59381 6.46875 3.37506 7.00321 3.37506 7.63463V18.3653C3.37506 18.9967 3.59381 19.5312 4.03131 19.9687Z"}),(0,a.jsx)("path",{d:"M14.225 28C13.825 28 13.4417 27.925 13.075 27.775C12.7083 27.625 12.3833 27.4083 12.1 27.125L7 22L7.825 21.15C8.05833 20.9167 8.34167 20.7583 8.675 20.675C9.00833 20.5917 9.34167 20.5917 9.675 20.675L11.4 21.175V13C11.4 12.7167 11.4958 12.4792 11.6875 12.2875C11.8792 12.0958 12.1167 12 12.4 12C12.6833 12 12.9208 12.0958 13.1125 12.2875C13.3042 12.4792 13.4 12.7167 13.4 13V23.825L10.95 23.125L13.525 25.7C13.625 25.8 13.7333 25.875 13.85 25.925C13.9667 25.975 14.0917 26 14.225 26H18.4C18.95 26 19.4208 25.8042 19.8125 25.4125C20.2042 25.0208 20.4 24.55 20.4 24V20C20.4 19.7167 20.4958 19.4792 20.6875 19.2875C20.8792 19.0958 21.1167 19 21.4 19C21.6833 19 21.9208 19.0958 22.1125 19.2875C22.3042 19.4792 22.4 19.7167 22.4 20V24C22.4 25.1 22.0083 26.0417 21.225 26.825C20.4417 27.6083 19.5 28 18.4 28H14.225ZM14.4 21V17C14.4 16.7167 14.4958 16.4792 14.6875 16.2875C14.8792 16.0958 15.1167 16 15.4 16C15.6833 16 15.9208 16.0958 16.1125 16.2875C16.3042 16.4792 16.4 16.7167 16.4 17V21H14.4ZM17.4 21V18C17.4 17.7167 17.4958 17.4792 17.6875 17.2875C17.8792 17.0958 18.1167 17 18.4 17C18.6833 17 18.9208 17.0958 19.1125 17.2875C19.3042 17.4792 19.4 17.7167 19.4 18V21H17.4Z"})]}),_e=({props:e})=>(0,a.jsx)(l.A,{component:je,...e}),ye=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-spacer",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 4V5.65H24V4H6ZM15.0562 6.75L10.7812 10.93L11.9906 12.1125L14.2125 9.94V20.06L11.9906 17.8875L10.7812 19.07L15.0562 23.25L19.3312 19.07L18.1219 17.8875L15.9 20.06V9.94L18.1219 12.1125L19.3312 10.93L15.0562 6.75ZM6 24.35V26H24V24.35H6Z"})}),Ae=({props:e})=>(0,a.jsx)(l.A,{component:ye,...e}),we=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-list",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M11.6346 23.4376V21.5627H25.6249V23.4376H11.6346ZM11.6346 15.9376V14.0627H25.6249V15.9376H11.6346ZM11.6346 8.43765V6.56271H25.6249V8.43765H11.6346ZM6.45431 24.5795C5.8825 24.5795 5.393 24.3759 4.98581 23.9687C4.5786 23.5615 4.375 23.072 4.375 22.5002C4.375 21.9284 4.5786 21.4389 4.98581 21.0317C5.393 20.6245 5.8825 20.4209 6.45431 20.4209C7.02613 20.4209 7.51563 20.6245 7.92281 21.0317C8.33 21.4389 8.53359 21.9284 8.53359 22.5002C8.53359 23.072 8.33 23.5615 7.92281 23.9687C7.51563 24.3759 7.02613 24.5795 6.45431 24.5795ZM6.45431 17.0795C5.8825 17.0795 5.393 16.8759 4.98581 16.4687C4.5786 16.0615 4.375 15.572 4.375 15.0002C4.375 14.4284 4.5786 13.9389 4.98581 13.5317C5.393 13.1245 5.8825 12.9209 6.45431 12.9209C7.02613 12.9209 7.51563 13.1245 7.92281 13.5317C8.33 13.9389 8.53359 14.4284 8.53359 15.0002C8.53359 15.572 8.33 16.0615 7.92281 16.4687C7.51563 16.8759 7.02613 17.0795 6.45431 17.0795ZM6.45431 9.57946C5.8825 9.57946 5.393 9.37587 4.98581 8.96868C4.5786 8.56149 4.375 8.07199 4.375 7.50018C4.375 6.92837 4.5786 6.43887 4.98581 6.03168C5.393 5.62449 5.8825 5.4209 6.45431 5.4209C7.02613 5.4209 7.51563 5.62449 7.92281 6.03168C8.33 6.43887 8.53359 6.92837 8.53359 7.50018C8.53359 8.07199 8.33 8.56149 7.92281 8.96868C7.51563 9.37587 7.02613 9.57946 6.45431 9.57946Z"})}),Le=({props:e})=>(0,a.jsx)(l.A,{component:we,...e}),be=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-list-ol",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M4.375 26.8749V25.3846H7.5V24.0624H5.625V22.5721H7.5V21.2499H4.375V19.7596H7.93269C8.23238 19.7596 8.48357 19.8609 8.68628 20.0637C8.88901 20.2664 8.99038 20.5176 8.99038 20.8173V22.3077C8.99038 22.6073 8.88901 22.8585 8.68628 23.0613C8.48357 23.264 8.23238 23.3653 7.93269 23.3653C8.23238 23.3653 8.48357 23.4667 8.68628 23.6694C8.88901 23.8721 8.99038 24.1233 8.99038 24.423V25.8173C8.99038 26.1169 8.88901 26.3681 8.68628 26.5708C8.48357 26.7736 8.23238 26.8749 7.93269 26.8749H4.375ZM4.375 18.5577V15.3125C4.375 15.0128 4.47636 14.7616 4.67909 14.5589C4.88182 14.3561 5.13302 14.2548 5.43269 14.2548H7.5V12.9327H4.375V11.4423H7.93269C8.23238 11.4423 8.48357 11.5436 8.68628 11.7464C8.88901 11.9491 8.99038 12.2003 8.99038 12.5V14.6875C8.99038 14.9871 8.88901 15.2383 8.68628 15.4411C8.48357 15.6438 8.23238 15.7452 7.93269 15.7452H5.86537V17.0673H8.99038V18.5577H4.375ZM6.25 10.2404V4.61538H4.375V3.125H7.74038V10.2404H6.25ZM11.6346 23.4374V21.5625H25.6249V23.4374H11.6346ZM11.6346 15.9374V14.0625H25.6249V15.9374H11.6346ZM11.6346 8.43744V6.5625H25.6249V8.43744H11.6346Z"})}),ke=({props:e})=>(0,a.jsx)(l.A,{component:be,...e}),Me=()=>(0,a.jsxs)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-devider",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M6 14.35V16H24V14.35H6Z"}),(0,a.jsx)("path",{d:"M11.2596 10.6249C10.6282 10.6249 10.0938 10.4062 9.65625 9.96869C9.21875 9.53119 9 8.99673 9 8.36531V6.63463C9 6.00321 9.21875 5.46875 9.65625 5.03125C10.0938 4.59375 10.6282 4.375 11.2596 4.375H18.9903C19.6217 4.375 20.1562 4.59375 20.5937 5.03125C21.0312 5.46875 21.2499 6.00321 21.2499 6.63463V8.36531C21.2499 8.99673 21.0312 9.53119 20.5937 9.96869C20.1562 10.4062 19.6217 10.6249 18.9903 10.6249H11.2596ZM11.2596 9H18.9903C19.0865 9 19.1746 8.95994 19.2548 8.87981C19.3349 8.79967 19.375 8.71151 19.375 8.61534V6.38466C19.375 6.28849 19.3349 6.20033 19.2548 6.12019C19.1746 6.04006 19.0865 6 18.9903 6H11.2596C11.1635 6 11.0753 6.04006 10.9952 6.12019C10.915 6.20033 10.875 6.28849 10.875 6.38466V8.61534C10.875 8.71151 10.915 8.79967 10.9952 8.87981C11.0753 8.95994 11.1635 9 11.2596 9Z"}),(0,a.jsx)("path",{d:"M11.2596 26.2499C10.6282 26.2499 10.0938 26.0312 9.65625 25.5937C9.21875 25.1562 9 24.6217 9 23.9903V22.2596C9 21.6282 9.21875 21.0938 9.65625 20.6562C10.0938 20.2188 10.6282 20 11.2596 20H18.9903C19.6217 20 20.1562 20.2188 20.5937 20.6562C21.0312 21.0938 21.2499 21.6282 21.2499 22.2596V23.9903C21.2499 24.6217 21.0312 25.1562 20.5937 25.5937C20.1562 26.0312 19.6217 26.2499 18.9903 26.2499H11.2596ZM11.2596 24.625H18.9903C19.0865 24.625 19.1746 24.5849 19.2548 24.5048C19.3349 24.4247 19.375 24.3365 19.375 24.2403V22.0097C19.375 21.9135 19.3349 21.8253 19.2548 21.7452C19.1746 21.6651 19.0865 21.625 18.9903 21.625H11.2596C11.1635 21.625 11.0753 21.6651 10.9952 21.7452C10.915 21.8253 10.875 21.9135 10.875 22.0097V24.2403C10.875 24.3365 10.915 24.4247 10.9952 24.5048C11.0753 24.5849 11.1635 24.625 11.2596 24.625Z"})]}),Se=({props:e})=>(0,a.jsx)(l.A,{component:Me,...e}),Ee=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-social",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M22.5014 27.1875C21.5469 27.1875 20.7352 26.8533 20.0661 26.1848C19.397 25.5164 19.0625 24.7048 19.0625 23.75C19.0625 23.5939 19.0749 23.4323 19.0998 23.2652C19.1246 23.098 19.1618 22.9439 19.2115 22.8028L9.96631 17.3894C9.63619 17.7179 9.26039 17.9747 8.83891 18.1598C8.41743 18.3449 7.97111 18.4374 7.49997 18.4374C6.54511 18.4374 5.73349 18.1034 5.06509 17.4353C4.3967 16.7671 4.0625 15.9558 4.0625 15.0014C4.0625 14.0469 4.3967 13.2352 5.06509 12.5661C5.73349 11.897 6.54511 11.5625 7.49997 11.5625C7.97111 11.5625 8.41743 11.655 8.83891 11.8401C9.26039 12.0252 9.63619 12.282 9.96631 12.6106L19.2115 7.19709C19.1618 7.05607 19.1246 6.90197 19.0998 6.73478C19.0749 6.56761 19.0625 6.40601 19.0625 6.24997C19.0625 5.29512 19.3966 4.48349 20.0647 3.81509C20.7328 3.1467 21.5441 2.8125 22.4986 2.8125C23.453 2.8125 24.2648 3.14656 24.9338 3.81469C25.6029 4.48281 25.9374 5.29411 25.9374 6.24856C25.9374 7.20302 25.6032 8.01478 24.9348 8.68384C24.2665 9.35291 23.4548 9.68744 22.5 9.68744C22.0288 9.68744 21.5825 9.5949 21.161 9.40981C20.7396 9.22471 20.3638 8.9679 20.0336 8.63938L10.7884 14.0528C10.8381 14.1939 10.8754 14.3477 10.9002 14.5143C10.925 14.6809 10.9374 14.842 10.9374 14.9975C10.9374 15.153 10.925 15.3149 10.9002 15.4832C10.8754 15.6514 10.8381 15.8061 10.7884 15.9471L20.0336 21.3606C20.3638 21.032 20.7396 20.7752 21.161 20.5901C21.5825 20.405 22.0288 20.3125 22.5 20.3125C23.4548 20.3125 24.2665 20.6466 24.9348 21.3147C25.6032 21.9828 25.9374 22.7941 25.9374 23.7486C25.9374 24.703 25.6034 25.5148 24.9353 26.1838C24.2671 26.8529 23.4558 27.1875 22.5014 27.1875ZM22.5 7.81247C22.9343 7.81247 23.3033 7.66062 23.607 7.35694C23.9107 7.05323 24.0625 6.68423 24.0625 6.24994C24.0625 5.81565 23.9107 5.44665 23.607 5.14294C23.3033 4.83927 22.9343 4.68744 22.5 4.68744C22.0657 4.68744 21.6967 4.83928 21.393 5.14297C21.0893 5.44668 20.9374 5.81568 20.9374 6.24997C20.9374 6.68426 21.0893 7.05326 21.393 7.35697C21.6967 7.66066 22.0657 7.81247 22.5 7.81247ZM7.49997 16.5625C7.93426 16.5625 8.30326 16.4106 8.60697 16.1069C8.91066 15.8032 9.0625 15.4342 9.0625 14.9999C9.0625 14.5656 8.91066 14.1966 8.60697 13.8929C8.30326 13.5893 7.93426 13.4374 7.49997 13.4374C7.06568 13.4374 6.69668 13.5893 6.39297 13.893C6.08928 14.1967 5.93744 14.5657 5.93744 15C5.93744 15.4343 6.08928 15.8033 6.39297 16.107C6.69668 16.4107 7.06568 16.5625 7.49997 16.5625V16.5625ZM22.5 25.3125C22.9343 25.3125 23.3033 25.1606 23.607 24.8569C23.9107 24.5532 24.0625 24.1842 24.0625 23.7499C24.0625 23.3156 23.9107 22.9466 23.607 22.6429C23.3033 22.3393 22.9343 22.1874 22.5 22.1874C22.0657 22.1874 21.6967 22.3393 21.393 22.643C21.0893 22.9467 20.9374 23.3157 20.9374 23.75C20.9374 24.1843 21.0893 24.5533 21.393 24.857C21.6967 25.1607 22.0657 25.3125 22.5 25.3125Z"})}),Ve=({props:e})=>(0,a.jsx)(l.A,{component:Ee,...e}),He=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-table",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M24.6153 25.6249H6.63463C6.00321 25.6249 5.46875 25.4062 5.03125 24.9687C4.59375 24.5312 4.375 23.9967 4.375 23.3653V6.63463C4.375 6.00321 4.59375 5.46875 5.03125 5.03125C5.46875 4.59375 6.00321 4.375 6.63463 4.375H24.6153C25.2467 4.375 25.7812 4.59375 26.2187 5.03125C26.6562 5.46875 26.8749 6.00321 26.8749 6.63463V23.3653C26.8749 23.9967 26.6562 24.5312 26.2187 24.9687C25.7812 25.4062 25.2467 25.6249 24.6153 25.6249ZM6.24997 10.3125H25V6.63463C25 6.53846 24.9599 6.4503 24.8798 6.37016C24.7996 6.29003 24.7115 6.24997 24.6153 6.24997H6.63463C6.53846 6.24997 6.4503 6.29003 6.37016 6.37016C6.29003 6.4503 6.24997 6.53846 6.24997 6.63463V10.3125ZM10.2404 12.1874H6.24997V23.3653C6.24997 23.4615 6.29003 23.5496 6.37016 23.6298C6.4503 23.7099 6.53846 23.75 6.63463 23.75H10.2404V12.1874ZM21.0096 12.1874V23.75H24.6153C24.7115 23.75 24.7996 23.7099 24.8798 23.6298C24.9599 23.5496 25 23.4615 25 23.3653V12.1874H21.0096ZM19.1346 12.1874H12.1153V23.75H19.1346V12.1874Z"})}),Ne=({props:e})=>(0,a.jsx)(l.A,{component:He,...e}),Ie=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-countdown",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M19.3413 20.6586L20.6586 19.3413L15.9374 14.6199V8.74997H14.0625V15.3798L19.3413 20.6586ZM15.0021 26.8749C13.3596 26.8749 11.8159 26.5633 10.3707 25.9399C8.9255 25.3166 7.6684 24.4707 6.59938 23.4021C5.53033 22.3336 4.68401 21.077 4.06041 19.6325C3.4368 18.188 3.125 16.6445 3.125 15.0021C3.125 13.3596 3.43667 11.8159 4.06 10.3707C4.68333 8.9255 5.52927 7.6684 6.59781 6.59938C7.66638 5.53034 8.92293 4.68401 10.3675 4.06041C11.812 3.4368 13.3555 3.125 14.9979 3.125C16.6403 3.125 18.1841 3.43667 19.6293 4.06C21.0744 4.68333 22.3315 5.52927 23.4006 6.59781C24.4696 7.66638 25.3159 8.92293 25.9395 10.3675C26.5631 11.812 26.8749 13.3555 26.8749 14.9979C26.8749 16.6403 26.5633 18.1841 25.9399 19.6293C25.3166 21.0744 24.4707 22.3315 23.4021 23.4006C22.3336 24.4696 21.077 25.3159 19.6325 25.9395C18.188 26.5631 16.6445 26.8749 15.0021 26.8749ZM15 25C17.7708 25 20.1302 24.026 22.0781 22.0781C24.026 20.1302 25 17.7708 25 15C25 12.2291 24.026 9.86976 22.0781 7.92184C20.1302 5.97393 17.7708 4.99997 15 4.99997C12.2291 4.99997 9.86976 5.97393 7.92184 7.92184C5.97393 9.86976 4.99997 12.2291 4.99997 15C4.99997 17.7708 5.97393 20.1302 7.92184 22.0781C9.86976 24.026 12.2291 25 15 25Z"})}),Be=({props:e})=>(0,a.jsx)(l.A,{component:Ie,...e}),Te=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-video",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M12.1154 20.048L19.9759 15L12.1154 9.95194V20.048ZM6.63463 25.6249C6.00321 25.6249 5.46875 25.4062 5.03125 24.9687C4.59375 24.5312 4.375 23.9967 4.375 23.3653V6.63463C4.375 6.00321 4.59375 5.46875 5.03125 5.03125C5.46875 4.59375 6.00321 4.375 6.63463 4.375H23.3653C23.9967 4.375 24.5312 4.59375 24.9687 5.03125C25.4062 5.46875 25.6249 6.00321 25.6249 6.63463V23.3653C25.6249 23.9967 25.4062 24.5312 24.9687 24.9687C24.5312 25.4062 23.9967 25.6249 23.3653 25.6249H6.63463ZM6.63463 23.75H23.3653C23.4615 23.75 23.5496 23.7099 23.6298 23.6298C23.7099 23.5496 23.75 23.4615 23.75 23.3653V6.63463C23.75 6.53846 23.7099 6.4503 23.6298 6.37016C23.5496 6.29003 23.4615 6.24997 23.3653 6.24997H6.63463C6.53846 6.24997 6.4503 6.29003 6.37016 6.37016C6.29003 6.4503 6.24997 6.53846 6.24997 6.63463V23.3653C6.24997 23.4615 6.29003 23.5496 6.37016 23.6298C6.4503 23.7099 6.53846 23.75 6.63463 23.75Z"})}),Ze=({props:e})=>(0,a.jsx)(l.A,{component:Te,...e}),Re=()=>(0,a.jsxs)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-text-ai",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M4.375 22.0865V20.2115H18.1249V22.0865H4.375ZM4.375 15.9807V14.1058H25.6249V15.9807H4.375ZM4.375 9.87497V8H11V9.87497H4.375Z"}),(0,a.jsx)("path",{d:"M17 13C17 13 16.6521 11.5906 16.0308 10.9692C15.4094 10.3479 14 10 14 10C14 10 15.4094 9.65215 16.0308 9.03077C16.6521 8.40939 17 7 17 7C17 7 17.3479 8.40939 17.9692 9.03077C18.5906 9.65215 20 10 20 10C20 10 18.5906 10.3479 17.9692 10.9692C17.3479 11.5906 17 13 17 13Z"}),(0,a.jsx)("path",{d:"M22.5 11C22.5 11 21.8623 8.41612 20.7231 7.27692C19.5839 6.13773 17 5.5 17 5.5C17 5.5 19.5839 4.86227 20.7231 3.72308C21.8623 2.58388 22.5 0 22.5 0C22.5 0 23.1377 2.58388 24.2769 3.72308C25.4161 4.86227 28 5.5 28 5.5C28 5.5 25.4161 6.13773 24.2769 7.27692C23.1377 8.41612 22.5 11 22.5 11Z"}),(0,a.jsx)("path",{d:"M15 5C15 5 14.7681 4.06041 14.3538 3.64615C13.9396 3.2319 13 3 13 3C13 3 13.9396 2.7681 14.3538 2.35385C14.7681 1.93959 15 1 15 1C15 1 15.2319 1.93959 15.6462 2.35385C16.0604 2.7681 17 3 17 3C17 3 16.0604 3.2319 15.6462 3.64615C15.2319 4.06041 15 5 15 5Z"}),(0,a.jsx)("path",{d:"M27 13C27 13 26.7681 12.0604 26.3538 11.6462C25.9396 11.2319 25 11 25 11C25 11 25.9396 10.7681 26.3538 10.3538C26.7681 9.93959 27 9 27 9C27 9 27.2319 9.93959 27.6462 10.3538C28.0604 10.7681 29 11 29 11C29 11 28.0604 11.2319 27.6462 11.6462C27.2319 12.0604 27 13 27 13Z"})]}),Oe=({props:e})=>(0,a.jsx)(l.A,{component:Re,...e}),De=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"element-form",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6.63463 25.6251C6.00321 25.6251 5.46875 25.4064 5.03125 24.9689C4.59375 24.5314 4.375 23.9969 4.375 23.3655V6.63484C4.375 6.00342 4.59375 5.46896 5.03125 5.03146C5.46875 4.59396 6.00321 4.37521 6.63463 4.37521H17.4543L15.5793 6.25018H6.63463C6.53846 6.25018 6.4503 6.29024 6.37016 6.37037C6.29003 6.45051 6.24997 6.53867 6.24997 6.63484V23.3655C6.24997 23.4617 6.29003 23.5498 6.37016 23.63C6.4503 23.7101 6.53846 23.7502 6.63463 23.7502H23.3653C23.4615 23.7502 23.5496 23.7101 23.6298 23.63C23.7099 23.5498 23.75 23.4617 23.75 23.3655V14.3415L25.6249 12.4665V23.3655C25.6249 23.9969 25.4062 24.5314 24.9687 24.9689C24.5312 25.4064 23.9967 25.6251 23.3653 25.6251H6.63463ZM11.875 18.1251V13.8343L23.1995 2.50984C23.3934 2.31592 23.6066 2.17449 23.8389 2.08555C24.0713 1.99662 24.3077 1.95215 24.5481 1.95215C24.7932 1.95215 25.0288 1.99662 25.2548 2.08555C25.4807 2.17449 25.6866 2.31191 25.8725 2.4978L27.4422 4.06271C27.6233 4.25661 27.7623 4.47054 27.8593 4.70452C27.9562 4.93848 28.0047 5.17565 28.0047 5.41602C28.0047 5.65642 27.9635 5.8896 27.8809 6.11555C27.7984 6.34149 27.6602 6.55142 27.4663 6.74533L16.1057 18.1251H11.875ZM13.75 16.2502H15.3077L23.0986 8.45927L22.3197 7.68043L21.4856 6.87755L13.75 14.6132V16.2502Z"})}),ze=({props:e})=>(0,a.jsx)(l.A,{component:De,...e}),Pe=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"ai-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M2.45454 11.7273C2.45454 11.7273 2.16994 10.446 1.66154 9.88113C1.15314 9.31625 0 9 0 9C0 9 1.15314 8.68374 1.66154 8.11887C2.16994 7.554 2.45454 6.27273 2.45454 6.27273C2.45454 6.27273 2.73915 7.554 3.24755 8.11887C3.75594 8.68374 4.90909 9 4.90909 9C4.90909 9 3.75594 9.31625 3.24755 9.88113C2.73915 10.446 2.45454 11.7273 2.45454 11.7273Z"}),(0,a.jsx)("path",{d:"M7.63636 9C7.63636 9 7.1304 6.94996 6.22658 6.04614C5.32276 5.14233 3.27273 4.63636 3.27273 4.63636C3.27273 4.63636 5.32276 4.1304 6.22658 3.22657C7.1304 2.32275 7.63636 0.272728 7.63636 0.272728C7.63636 0.272728 8.14233 2.32275 9.04615 3.22657C9.94996 4.1304 12 4.63636 12 4.63636C12 4.63636 9.94996 5.14233 9.04615 6.04614C8.14233 6.94996 7.63636 9 7.63636 9Z"}),(0,a.jsx)("path",{d:"M1.63636 4.09091C1.63636 4.09091 1.44663 3.19402 1.10769 2.7986C0.768758 2.40318 0 2.18182 0 2.18182C0 2.18182 0.768758 1.96046 1.10769 1.56503C1.44663 1.16961 1.63636 0.272728 1.63636 0.272728C1.63636 0.272728 1.8261 1.16961 2.16503 1.56503C2.50397 1.96046 3.27273 2.18182 3.27273 2.18182C3.27273 2.18182 2.50397 2.40318 2.16503 2.7986C1.8261 3.19402 1.63636 4.09091 1.63636 4.09091Z"}),(0,a.jsx)("path",{d:"M10.6364 11.7273C10.6364 11.7273 10.4782 11.0866 10.1958 10.8042C9.91336 10.5218 9.27273 10.3636 9.27273 10.3636C9.27273 10.3636 9.91336 10.2055 10.1958 9.92307C10.4782 9.64064 10.6364 9 10.6364 9C10.6364 9 10.7945 9.64064 11.0769 9.92307C11.3594 10.2055 12 10.3636 12 10.3636C12 10.3636 11.3594 10.5218 11.0769 10.8042C10.7945 11.0866 10.6364 11.7273 10.6364 11.7273Z"})]}),Fe=({props:e})=>(0,a.jsx)(l.A,{component:Pe,...e}),Ue=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"typorgaf-icon",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M6.65333 7.21508H5.1671L3.00719 4.63822L5.1671 2H6.65333L4.44481 4.63822L6.65333 7.21508ZM3.64614 7.21508H2.17379L0 4.63822L2.17379 2H3.63919L1.43762 4.63822L3.64614 7.21508Z"}),(0,a.jsx)("path",{d:"M12 6.43338L11.1167 9.98246H9.94694L11.069 6.43338H12ZM9.58089 6.43338L8.72148 9.98246H7.52784L8.6419 6.43338H9.58089Z"})]}),qe=({props:e})=>(0,a.jsx)(l.A,{component:Ue,...e}),Ge=()=>(0,a.jsxs)("svg",{width:"42",height:"43",viewBox:"0 0 42 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"0.00830078",y:"0.173828",width:"42",height:"42",rx:"21",fill:"#4597F7"}),(0,a.jsxs)("g",{clipPath:"url(#clip0_2193_1178)",children:[(0,a.jsx)("path",{d:"M14.0083 30.1739C13.4583 30.1739 12.9875 29.9781 12.5958 29.5864C12.2041 29.1948 12.0083 28.7239 12.0083 28.1739V14.1739C12.0083 13.6239 12.2041 13.1531 12.5958 12.7614C12.9875 12.3698 13.4583 12.1739 14.0083 12.1739H22.9333L20.9333 14.1739H14.0083V28.1739H28.0083V21.2239L30.0083 19.2239V28.1739C30.0083 28.7239 29.8125 29.1948 29.4208 29.5864C29.0291 29.9781 28.5583 30.1739 28.0083 30.1739H14.0083ZM18.0083 24.1739V19.9239L27.1833 10.7489C27.3833 10.5489 27.6083 10.3989 27.8583 10.2989C28.1083 10.1989 28.3583 10.1489 28.6083 10.1489C28.875 10.1489 29.1291 10.1989 29.3708 10.2989C29.6125 10.3989 29.8333 10.5489 30.0333 10.7489L31.4333 12.1739C31.6166 12.3739 31.7583 12.5948 31.8583 12.8364C31.9583 13.0781 32.0083 13.3239 32.0083 13.5739C32.0083 13.8239 31.9625 14.0698 31.8708 14.3114C31.7791 14.5531 31.6333 14.7739 31.4333 14.9739L22.2583 24.1739H18.0083ZM20.0083 22.1739H21.4083L27.2083 16.3739L26.5083 15.6739L25.7833 14.9739L20.0083 20.7489V22.1739Z",fill:"white"}),(0,a.jsx)("path",{d:"M14.0083 30.1739C13.4583 30.1739 12.9875 29.9781 12.5958 29.5864C12.2041 29.1948 12.0083 28.7239 12.0083 28.1739V14.1739C12.0083 13.6239 12.2041 13.1531 12.5958 12.7614C12.9875 12.3698 13.4583 12.1739 14.0083 12.1739H22.9333L20.9333 14.1739H14.0083V28.1739H28.0083V21.2239L30.0083 19.2239V28.1739C30.0083 28.7239 29.8125 29.1948 29.4208 29.5864C29.0291 29.9781 28.5583 30.1739 28.0083 30.1739H14.0083ZM18.0083 24.1739V19.9239L27.1833 10.7489C27.3833 10.5489 27.6083 10.3989 27.8583 10.2989C28.1083 10.1989 28.3583 10.1489 28.6083 10.1489C28.875 10.1489 29.1291 10.1989 29.3708 10.2989C29.6125 10.3989 29.8333 10.5489 30.0333 10.7489L31.4333 12.1739C31.6166 12.3739 31.7583 12.5948 31.8583 12.8364C31.9583 13.0781 32.0083 13.3239 32.0083 13.5739C32.0083 13.8239 31.9625 14.0698 31.8708 14.3114C31.7791 14.5531 31.6333 14.7739 31.4333 14.9739L22.2583 24.1739H18.0083ZM20.0083 22.1739H21.4083L27.2083 16.3739L26.5083 15.6739L25.7833 14.9739L20.0083 20.7489V22.1739Z",fill:"white"})]}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"clip0_2193_1178",children:(0,a.jsx)("rect",{width:"24",height:"24",fill:"white",transform:"translate(9.0083 9.17383)"})})})]}),Ke=({props:e})=>(0,a.jsx)(l.A,{component:Ge,...e}),$e=()=>(0,a.jsxs)("svg",{width:"42",height:"43",viewBox:"0 0 42 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"0.00830078",y:"0.173828",width:"42",height:"42",rx:"21",fill:"#6A32C9"}),(0,a.jsx)("path",{d:"M12.0083 14.0129C12.0083 13.5629 12.1736 13.1726 12.5041 12.8419C12.8347 12.5114 13.225 12.3462 13.6751 12.3462L18.5083 12.3462L18.5083 14.0129L13.6751 14.0129L13.6751 28.6794L28.3416 28.6794L28.3416 14.0129L23.5083 14.0129L23.5083 12.3462L28.3416 12.3462C28.7916 12.3462 29.1819 12.5114 29.5126 12.8419C29.8431 13.1726 30.0083 13.5629 30.0083 14.0129L30.0083 28.6794C30.0083 29.1294 29.843 29.5198 29.5125 29.8504C29.1819 30.1809 28.7916 30.3462 28.3416 30.3462L13.675 30.3462C13.225 30.3462 12.8347 30.1809 12.5041 29.8504C12.1736 29.5198 12.0083 29.1294 12.0083 28.6794L12.0083 14.0129ZM16.1251 19.7294L17.3583 18.5129L20.1751 21.3294L20.1751 12.3462L21.8416 12.3462L21.8416 21.3294L24.6583 18.5129L25.8916 19.7294L21.0083 24.6129L16.1251 19.7294Z",fill:"white"})]}),We=({props:e})=>(0,a.jsx)(l.A,{component:$e,...e}),Xe=()=>(0,a.jsxs)("svg",{width:"42",height:"43",viewBox:"0 0 42 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"0.00830078",y:"0.173828",width:"42",height:"42",rx:"21",fill:"#72C240"}),(0,a.jsx)("path",{d:"M15.0669 30.9687C15.0669 30.9687 14.59 28.8216 13.738 27.875C12.886 26.9284 10.9536 26.3984 10.9536 26.3984C10.9536 26.3984 12.886 25.8684 13.738 24.9218C14.59 23.9752 15.0669 21.8281 15.0669 21.8281C15.0669 21.8281 15.5438 23.9752 16.3958 24.9218C17.2478 25.8684 19.1802 26.3984 19.1802 26.3984C19.1802 26.3984 17.2478 26.9284 16.3958 27.875C15.5438 28.8216 15.0669 30.9687 15.0669 30.9687Z",fill:"white"}),(0,a.jsx)("path",{d:"M23.7505 26.0037C23.7505 26.0037 22.9026 22.5682 21.388 21.0536C19.8734 19.539 16.438 18.6912 16.438 18.6912C16.438 18.6912 19.8734 17.8433 21.388 16.3287C22.9026 14.8141 23.7505 11.3787 23.7505 11.3787C23.7505 11.3787 24.5984 14.8141 26.113 16.3287C27.6276 17.8433 31.063 18.6912 31.063 18.6912C31.063 18.6912 27.6276 19.539 26.113 21.0536C24.5984 22.5682 23.7505 26.0037 23.7505 26.0037Z",fill:"white"}),(0,a.jsx)("path",{d:"M13.6958 17.7771C13.6958 17.7771 13.3778 16.2741 12.8099 15.6115C12.2419 14.9488 10.9536 14.5779 10.9536 14.5779C10.9536 14.5779 12.2419 14.2069 12.8099 13.5443C13.3778 12.8816 13.6958 11.3787 13.6958 11.3787C13.6958 11.3787 14.0138 12.8816 14.5817 13.5443C15.1497 14.2069 16.438 14.5779 16.438 14.5779C16.438 14.5779 15.1497 14.9488 14.5817 15.6115C14.0138 16.2741 13.6958 17.7771 13.6958 17.7771Z",fill:"white"}),(0,a.jsx)("path",{d:"M28.7144 30.2357C28.7144 30.2357 28.4494 29.1622 27.9761 28.6889C27.5028 28.2156 26.4293 27.9506 26.4293 27.9506C26.4293 27.9506 27.5028 27.6856 27.9761 27.2123C28.4494 26.739 28.7144 25.6654 28.7144 25.6654C28.7144 25.6654 28.9794 26.739 29.4527 27.2123C29.926 27.6856 30.9996 27.9506 30.9996 27.9506C30.9996 27.9506 29.926 28.2156 29.4527 28.6889C28.9794 29.1622 28.7144 30.2357 28.7144 30.2357Z",fill:"white"})]}),Ye=({props:e})=>(0,a.jsx)(l.A,{component:Xe,...e}),Je=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-top-bottom-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M7.43866e-05 1.03733V0L12 0.0407197V1.07805L7.43866e-05 1.03733ZM0 11.9593V10.922L12 10.9627V12L0 11.9593Z"}),(0,a.jsx)("rect",{x:"3.5",y:"3.5",width:"5",height:"5",fill:"none",stroke:"currentColor"})]}),Qe=({props:e})=>(0,a.jsx)(l.A,{component:Je,...e}),et=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-left-right-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M10.9626 7.43413e-05L11.9999 7.43866e-05L11.9592 12L10.9218 12L10.9626 7.43413e-05ZM0.0405974 -5.22757e-07L1.07792 -4.77414e-07L1.0372 12L-0.00012271 12L0.0405974 -5.22757e-07Z"}),(0,a.jsx)("rect",{x:"8.5",y:"3.5",width:"5",height:"5",transform:"rotate(90 8.5 3.5)",fill:"none",stroke:"currentColor"})]}),tt=({props:e})=>(0,a.jsx)(l.A,{component:et,...e}),st=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-switcher",fill:"currentColor",width:"1em",height:"1em","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M10.959 2.00007L11.9999 2.00007L11.959 10L10.9181 10L10.959 2.00007ZM-0.00012207 2L1.04074 2L0.999842 10L-0.041016 10L-0.00012207 2Z"}),(0,a.jsx)("path",{d:"M9.99993 10.9797L9.99993 12.0205L1.99995 11.9796L1.99995 10.9387L9.99993 10.9797ZM10 0.0205078L10 1.06137L1.99995 1.02043L1.99995 -0.0204332L10 0.0205078Z"})]}),lt=({props:e})=>(0,a.jsx)(l.A,{component:st,...e}),it=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-top-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M0 1.04086V0L11.9999 0.0408583V1.08172L0 1.04086Z"}),(0,a.jsx)("rect",{x:"3.5",y:"3.5",width:"5",height:"5",fill:"none",stroke:"currentColor"})]}),at=({props:e})=>(0,a.jsx)(l.A,{component:it,...e}),ot=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-bottom-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M0 10.9591V12L11.9999 11.9591V10.9183L0 10.9591Z"}),(0,a.jsx)("rect",{x:"0.5",y:"-0.5",width:"5",height:"5",transform:"matrix(1 0 0 -1 3 8)",fill:"none",stroke:"currentColor"})]}),nt=({props:e})=>(0,a.jsx)(l.A,{component:ot,...e}),rt=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-left-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M-8.67844e-05 -4.54974e-08L1.04077 0L0.999913 12L-0.0409456 12L-8.67844e-05 -4.54974e-08Z"}),(0,a.jsx)("rect",{x:"8.5",y:"3.5",width:"5",height:"5",transform:"rotate(90 8.5 3.5)",fill:"none",stroke:"currentColor"})]}),ct=({props:e})=>(0,a.jsx)(l.A,{component:rt,...e}),dt=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"padding-righr-icon",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M12.0001 -4.54974e-08L10.9592 0L11.0001 12L12.0409 12L12.0001 -4.54974e-08Z"}),(0,a.jsx)("rect",{x:"0.5",y:"0.5",width:"5",height:"5",transform:"matrix(4.37114e-08 1 1 -4.37114e-08 3 3)",fill:"none",stroke:"currentColor"})]}),mt=({props:e})=>(0,a.jsx)(l.A,{component:dt,...e}),pt=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"code",width:"1em",height:"1em","aria-hidden":"true",fill:"currentColor",children:[(0,a.jsx)("path",{d:"M6.75582 1.62701L7.6995 1.87987L5.42377 10.373L4.48009 10.1201L6.75582 1.62701Z"}),(0,a.jsx)("path",{d:"M0 6.32085L2.76329 3.55756L3.45411 4.24838L1.38164 6.32085L3.45411 8.39332L2.76329 9.08414L0 6.32085Z"}),(0,a.jsx)("path",{d:"M12 6.32085L9.23671 3.55756L8.54589 4.24838L10.6184 6.32085L8.54589 8.39332L9.23671 9.08414L12 6.32085Z"})]}),ut=({props:e})=>(0,a.jsx)(l.A,{component:pt,...e}),ht=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"go-to-parrent",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10.2778 10.4815L7.87408 10.4815C7.29692 10.4815 6.81651 10.2897 6.43287 9.90602C6.04922 9.52238 5.8574 9.04197 5.8574 8.46481L5.8574 2.46064L8.25092 4.85417L8.97408 4.12592L5.34814 0.5L1.72222 4.12592L2.44537 4.85417L4.83889 2.46064L4.83889 8.46481C4.83889 9.32377 5.13002 10.0444 5.71227 10.6266C6.29452 11.2089 7.01512 11.5 7.87408 11.5L10.2778 11.5L10.2778 10.4815Z"})}),Ct=({props:e})=>(0,a.jsx)(l.A,{component:ht,...e}),gt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"undo",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M511.4 124C290.5 124.3 112 303 112 523.9c0 128 60.2 242 153.8 315.2l-37.5 48c-4.1 5.3-.3 13 6.3 12.9l167-.8c5.2 0 9-4.9 7.7-9.9L369.8 727a8 8 0 00-14.1-3L315 776.1c-10.2-8-20-16.7-29.3-26a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-7.5 7.5-15.3 14.5-23.4 21.2a7.93 7.93 0 00-1.2 11.1l39.4 50.5c2.8 3.5 7.9 4.1 11.4 1.3C854.5 760.8 912 649.1 912 523.9c0-221.1-179.4-400.2-400.6-399.9z"})}),xt=({props:e})=>(0,a.jsx)(l.A,{component:gt,...e}),vt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"redo",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"})}),ft=({props:e})=>(0,a.jsx)(l.A,{component:vt,...e}),jt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"history",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"})}),_t=({props:e})=>(0,a.jsx)(l.A,{component:jt,...e}),yt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"eye",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"})}),At=({props:e})=>(0,a.jsx)(l.A,{component:yt,...e}),wt=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"send",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0.5 1.5024L0.684652 2.29376L1.5024 6L0.684652 9.70623L0.5 10.4976L1.2518 10.1942L10.5372 6.39568L11.5 6L10.5372 5.60431L1.2518 1.80575L0.5 1.5024ZM1.67386 2.90048L8.22902 5.57793H2.26739L1.67386 2.90048ZM2.26739 6.42206H8.22902L1.67386 9.09952L2.26739 6.42206Z"})}),Lt=({props:e})=>(0,a.jsx)(l.A,{component:wt,...e}),bt=()=>(0,a.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"check-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}),(0,a.jsx)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"})]}),kt=({props:e})=>(0,a.jsx)(l.A,{component:bt,...e}),Mt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"share-alt",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"})}),St=({props:e})=>(0,a.jsx)(l.A,{component:Mt,...e}),Et=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"mobile",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"})}),Vt=({props:e})=>(0,a.jsx)(l.A,{component:Et,...e}),Ht=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"desktop",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M928 140H96c-17.7 0-32 14.3-32 32v496c0 17.7 14.3 32 32 32h380v112H304c-8.8 0-16 7.2-16 16v48c0 4.4 3.6 8 8 8h432c4.4 0 8-3.6 8-8v-48c0-8.8-7.2-16-16-16H548V700h380c17.7 0 32-14.3 32-32V172c0-17.7-14.3-32-32-32zm-40 488H136V212h752v416z"})}),Nt=({props:e})=>(0,a.jsx)(l.A,{component:Ht,...e}),It=()=>(0,a.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"plus-circle",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}),(0,a.jsx)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"})]}),Bt=({props:e})=>(0,a.jsx)(l.A,{component:It,...e}),Tt=()=>(0,a.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"comment",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("defs",{children:(0,a.jsx)("style",{})}),(0,a.jsx)("path",{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}),(0,a.jsx)("path",{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}),(0,a.jsx)("path",{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"})]}),Zt=({props:e})=>(0,a.jsx)(l.A,{component:Tt,...e}),Rt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"setting",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"})}),Ot=({props:e})=>(0,a.jsx)(l.A,{component:Rt,...e}),Dt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"border-outer",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM484 366h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zM302 548h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm364 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-182 0h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 182h56c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8z"})}),zt=({props:e})=>(0,a.jsx)(l.A,{component:Dt,...e}),Pt=()=>(0,a.jsxs)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"appstore-add",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("defs",{children:(0,a.jsx)("style",{})}),(0,a.jsx)("path",{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zm52 132H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200zM424 712H296V584c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v128H104c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h128v128c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V776h128c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"})]}),Ft=({props:e})=>(0,a.jsx)(l.A,{component:Pt,...e}),Ut=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"appstore",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"})}),qt=({props:e})=>(0,a.jsx)(l.A,{component:Ut,...e}),Gt=()=>(0,a.jsx)("svg",{viewBox:"64 64 896 896",focusable:"false","data-icon":"build",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M916 210H376c-17.7 0-32 14.3-32 32v236H108c-17.7 0-32 14.3-32 32v272c0 17.7 14.3 32 32 32h540c17.7 0 32-14.3 32-32V546h236c17.7 0 32-14.3 32-32V242c0-17.7-14.3-32-32-32zm-504 68h200v200H412V278zm-68 468H144V546h200v200zm268 0H412V546h200v200zm268-268H680V278h200v200z"})}),Kt=({props:e})=>(0,a.jsx)(l.A,{component:Gt,...e}),$t=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"search-outlined",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M10.7667 11.5L6.80463 7.53797C6.49908 7.79599 6.14443 7.99799 5.74069 8.14398C5.33696 8.28997 4.90735 8.36297 4.45186 8.36297C3.34736 8.36297 2.4126 7.98017 1.64756 7.21458C0.88252 6.449 0.5 5.52131 0.5 4.43149C0.5 3.34168 0.882795 2.41397 1.64838 1.64838C2.41396 0.882795 3.34336 0.5 4.43658 0.5C5.52979 0.5 6.45748 0.882795 7.21967 1.64838C7.98187 2.41397 8.36297 3.34219 8.36297 4.43302C8.36297 4.87336 8.29167 5.29553 8.14908 5.69955C8.00649 6.10355 7.79939 6.47531 7.52778 6.81482L11.5 10.7667L10.7667 11.5ZM4.44167 7.34446C5.248 7.34446 5.93337 7.06012 6.4978 6.49144C7.06223 5.92277 7.34444 5.23612 7.34444 4.43149C7.34444 3.62685 7.06223 2.9402 6.4978 2.37153C5.93337 1.80286 5.248 1.51852 4.44167 1.51852C3.62968 1.51852 2.93949 1.80286 2.3711 2.37153C1.80271 2.9402 1.51851 3.62685 1.51851 4.43149C1.51851 5.23612 1.80271 5.92277 2.3711 6.49144C2.93949 7.06012 3.62968 7.34446 4.44167 7.34446Z"})}),Wt=({props:e})=>(0,a.jsx)(l.A,{component:$t,...e}),Xt=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"close-outlined",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1.84745 11L1 10.1526L5.15255 6L1 1.84745L1.84745 1L6 5.15255L10.1526 1L11 1.84745L6.84745 6L11 10.1526L10.1526 11L6 6.84745L1.84745 11Z"})}),Yt=({props:e})=>(0,a.jsx)(l.A,{component:Xt,...e}),Jt=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"add-image",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1.11007 11.9944C0.804799 11.9944 0.543469 11.8858 0.326081 11.6684C0.108694 11.451 0 11.1896 0 10.8844V1.11563C0 0.810353 0.108694 0.549023 0.326081 0.331636C0.543469 0.114248 0.804799 0.0055542 1.11007 0.0055542H7.64848V1.11563H1.11007V10.8844H10.8788V4.35707H11.9889V10.8844C11.9889 11.1896 11.8802 11.451 11.6628 11.6684C11.4454 11.8858 11.1841 11.9944 10.8788 11.9944H1.11007ZM9.54672 3.80204V2.45883H8.20352V1.34876H9.54672V0.0055542H10.6568V1.34876H12V2.45883H10.6568V3.80204H9.54672ZM1.99815 9.30805H9.99074L7.55966 6.06661L5.4838 8.80852L3.9408 6.76596L1.99815 9.30805Z"})}),Qt=({props:e})=>(0,a.jsx)(l.A,{component:Jt,...e}),es=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"merge-tags",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M7.2 10.8V9.60001H9C9.17 9.60001 9.3125 9.54251 9.4275 9.42751C9.5425 9.31251 9.6 9.17 9.6 9V7.8C9.6 7.42 9.71 7.07501 9.93 6.76501C10.15 6.45501 10.44 6.235 10.8 6.105V5.895C10.44 5.765 10.15 5.545 9.93 5.235C9.71 4.925 9.6 4.58 9.6 4.2V3C9.6 2.83 9.5425 2.6875 9.4275 2.5725C9.3125 2.4575 9.17 2.4 9 2.4H7.2V1.2H9C9.5 1.2 9.925 1.375 10.275 1.725C10.625 2.075 10.8 2.5 10.8 3V4.2C10.8 4.37 10.8575 4.5125 10.9725 4.6275C11.0875 4.7425 11.23 4.8 11.4 4.8H12V7.2H11.4C11.23 7.2 11.0875 7.25751 10.9725 7.37251C10.8575 7.48751 10.8 7.63 10.8 7.8V9C10.8 9.5 10.625 9.92501 10.275 10.275C9.925 10.625 9.5 10.8 9 10.8H7.2ZM3 10.8C2.5 10.8 2.075 10.625 1.725 10.275C1.375 9.92501 1.2 9.5 1.2 9V7.8C1.2 7.63 1.1425 7.48751 1.0275 7.37251C0.9125 7.25751 0.77 7.2 0.6 7.2H0V4.8H0.6C0.77 4.8 0.9125 4.7425 1.0275 4.6275C1.1425 4.5125 1.2 4.37 1.2 4.2V3C1.2 2.5 1.375 2.075 1.725 1.725C2.075 1.375 2.5 1.2 3 1.2H4.8V2.4H3C2.83 2.4 2.6875 2.4575 2.5725 2.5725C2.4575 2.6875 2.4 2.83 2.4 3V4.2C2.4 4.58 2.29 4.925 2.07 5.235C1.85 5.545 1.56 5.765 1.2 5.895V6.105C1.56 6.235 1.85 6.45501 2.07 6.76501C2.29 7.07501 2.4 7.42 2.4 7.8V9C2.4 9.17 2.4575 9.31251 2.5725 9.42751C2.6875 9.54251 2.83 9.60001 3 9.60001H4.8V10.8H3Z"})}),ts=({props:e})=>(0,a.jsx)(l.A,{component:es,...e}),ss=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"light-mode",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 7.81819C6.50303 7.81819 6.93182 7.64092 7.28637 7.28637C7.64092 6.93182 7.81819 6.50303 7.81819 6C7.81819 5.49697 7.64092 5.06818 7.28637 4.71363C6.93182 4.35908 6.50303 4.18181 6 4.18181C5.49697 4.18181 5.06818 4.35908 4.71363 4.71363C4.35908 5.06818 4.18181 5.49697 4.18181 6C4.18181 6.50303 4.35908 6.93182 4.71363 7.28637C5.06818 7.64092 5.49697 7.81819 6 7.81819ZM6 8.72727C5.24545 8.72727 4.60227 8.46136 4.07045 7.92955C3.53864 7.39773 3.27273 6.75455 3.27273 6C3.27273 5.24545 3.53864 4.60227 4.07045 4.07045C4.60227 3.53864 5.24545 3.27273 6 3.27273C6.75455 3.27273 7.39773 3.53864 7.92955 4.07045C8.46136 4.60227 8.72727 5.24545 8.72727 6C8.72727 6.75455 8.46136 7.39773 7.92955 7.92955C7.39773 8.46136 6.75455 8.72727 6 8.72727ZM2.18182 6.45454H0V5.54546H2.18182V6.45454ZM12 6.45454H9.81818V5.54546H12V6.45454ZM5.54546 2.18182V0H6.45454V2.18182H5.54546ZM5.54546 12V9.81818H6.45454V12H5.54546ZM3 3.6091L1.63182 2.28637L2.28181 1.61819L3.5909 2.98182L3 3.6091ZM9.72727 10.3727L8.39546 9.00454L9.0091 8.38182L10.3682 9.71363L9.72727 10.3727ZM8.38182 2.9909L9.71363 1.63182L10.3818 2.27273L9.02727 3.6L8.38182 2.9909ZM1.62727 9.71819L2.98636 8.38636L3.61818 9.0091L2.28637 10.3682L1.62727 9.71819Z"})}),ls=({props:e})=>(0,a.jsx)(l.A,{component:ss,...e}),is=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"dark-mode",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 11C4.61111 11 3.43056 10.5139 2.45833 9.54167C1.48611 8.56944 1 7.38889 1 6C1 4.61111 1.48611 3.43056 2.45833 2.45833C3.43056 1.48611 4.61111 1 6 1C6.09259 1 6.1875 1.00309 6.28472 1.00926C6.38194 1.01543 6.49382 1.02469 6.62036 1.03704C6.2716 1.32408 5.99769 1.68442 5.79861 2.11806C5.59954 2.55169 5.5 3.01234 5.5 3.5C5.5 4.33333 5.79167 5.04167 6.375 5.625C6.95833 6.20833 7.66667 6.5 8.5 6.5C8.99074 6.5 9.45216 6.40509 9.88426 6.21528C10.3164 6.02546 10.6759 5.76544 10.963 5.43519C10.9753 5.54939 10.9846 5.65047 10.9907 5.73843C10.9969 5.82639 11 5.91358 11 6C11 7.38889 10.5139 8.56944 9.54167 9.54167C8.56944 10.5139 7.38889 11 6 11ZM6 10.0741C6.94444 10.0741 7.77469 9.7909 8.49075 9.22454C9.20681 8.65818 9.67594 7.97376 9.89815 7.17129C9.68211 7.25463 9.45474 7.3179 9.21606 7.36111C8.97737 7.40431 8.73869 7.42592 8.5 7.42592C7.41242 7.42592 6.4862 7.0435 5.72135 6.27865C4.9565 5.5138 4.57408 4.58758 4.57408 3.5C4.57408 3.29012 4.59414 3.06944 4.63426 2.83796C4.67438 2.60648 4.74229 2.35185 4.83797 2.07407C3.99229 2.3395 3.29552 2.83487 2.74768 3.56018C2.19984 4.28549 1.92592 5.09876 1.92592 6C1.92592 7.12963 2.32252 8.09105 3.11574 8.88426C3.90895 9.67748 4.87037 10.0741 6 10.0741Z"})}),as=({props:e})=>(0,a.jsx)(l.A,{component:is,...e}),os=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"auto-mode",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M5.52714 9.9212C6.07297 9.9212 6.58669 9.79919 7.0683 9.55517C7.54992 9.31115 7.97052 8.98205 8.33012 8.56787C7.09078 8.49081 6.04087 8.02445 5.18038 7.16879C4.31991 6.31312 3.88967 5.27204 3.88967 4.04554C3.88967 3.89463 3.8993 3.74292 3.91857 3.59041C3.93783 3.4379 3.96031 3.28779 3.986 3.1401C3.38558 3.47402 2.89835 3.92352 2.5243 4.48861C2.15024 5.0537 1.96321 5.67659 1.96321 6.35727C1.96321 7.34725 2.30971 8.18873 3.0027 8.88171C3.69568 9.5747 4.53716 9.9212 5.52714 9.9212ZM5.52714 10.8844C4.26853 10.8844 3.19935 10.4445 2.31961 9.5648C1.43987 8.68506 1 7.61588 1 6.35727C1 5.09866 1.43987 4.02948 2.31961 3.14974C3.19935 2.27 4.26853 1.83013 5.52714 1.83013C5.5432 1.83013 5.55925 1.83093 5.5753 1.83253C5.59136 1.83414 5.60741 1.83494 5.62346 1.83494C5.36338 2.14317 5.16994 2.48672 5.04312 2.86558C4.9163 3.24446 4.85288 3.63777 4.85288 4.04554C4.85288 5.03552 5.19938 5.877 5.89237 6.56998C6.58535 7.26297 7.42683 7.60946 8.41681 7.60946C8.68331 7.60946 8.94739 7.57976 9.20906 7.52036C9.47074 7.46097 9.72037 7.37187 9.95796 7.25307C9.74605 8.31261 9.22431 9.18273 8.39273 9.86341C7.56115 10.5441 6.60595 10.8844 5.52714 10.8844ZM7.20315 5.16287L9.02883 0H10.1699L12 5.16287H10.9405L10.533 4.007H8.67018L8.26269 5.16287H7.20315ZM8.90805 3.26533H10.2951L9.60158 1.06918L8.90805 3.26533Z"})}),ns=({props:e})=>(0,a.jsx)(l.A,{component:os,...e}),rs=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"email-confirmation",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M8.00198 11.3105L5.85436 9.16288L6.47419 8.54304L8.00198 10.0708L11.1186 6.95415L11.7385 7.574L8.00198 11.3105ZM5.95912 5.48748L10.2718 2.75493H1.64641L5.95912 5.48748ZM5.95912 6.36049L1.61149 3.59303V9.2851H4.74564L5.61864 10.1581H1.61149C1.37577 10.1581 1.17134 10.0715 0.998197 9.8984C0.825052 9.72525 0.73848 9.52081 0.73848 9.2851V2.75493C0.73848 2.51922 0.825052 2.31479 0.998197 2.14165C1.17134 1.9685 1.37577 1.88193 1.61149 1.88193H10.3155C10.5512 1.88193 10.7556 1.9685 10.9288 2.14165C11.1019 2.31479 11.1885 2.51922 11.1885 2.75493V5.64463L10.3155 6.51766V3.59303L5.95912 6.36049Z"})}),cs=({props:e})=>(0,a.jsx)(l.A,{component:rs,...e}),ds=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"atom",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M480-200 200-480l280-280 280 280-280 280Zm0-91.999L668.001-480 480-668.001 291.999-480 480-291.999ZM480-480Z"})}),ms=({props:e})=>(0,a.jsx)(l.A,{component:ds,...e}),ps=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"column",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M579.999-120q-26.999 0-46.833-19.833-19.833-19.833-19.833-46.833v-586.668q0-27 19.833-46.833Q553-840 579.999-840h193.335q27 0 46.833 19.833T840-773.334v586.668q0 27-19.833 46.833T773.334-120H579.999Zm0-653.334v586.668h193.335v-586.668H579.999ZM186.666-120q-27 0-46.833-19.833T120-186.666v-586.668q0-27 19.833-46.833T186.666-840h193.335q26.999 0 46.833 19.833 19.833 19.833 19.833 46.833v586.668q0 27-19.833 46.833Q407-120 380.001-120H186.666Zm0-653.334v586.668h193.335v-586.668H186.666Zm586.668 0H579.999h193.335Zm-393.333 0H186.666h193.335Z"})}),us=({props:e})=>(0,a.jsx)(l.A,{component:ps,...e}),hs=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"block",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M186.666-120q-27 0-46.833-19.833T120-186.666v-586.668q0-27 19.833-46.833T186.666-840h586.668q27 0 46.833 19.833T840-773.334v586.668q0 27-19.833 46.833T773.334-120H186.666Zm0-66.666h586.668v-586.668H186.666v586.668Zm0 0v-586.668 586.668Z"})}),Cs=({props:e})=>(0,a.jsx)(l.A,{component:hs,...e}),gs=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"group",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M146.666-160q-27.5 0-47.083-19.583T80-226.666v-506.668q0-27.5 19.583-47.083T146.666-800h666.668q27.5 0 47.083 19.583T880-733.334v506.668q0 27.5-19.583 47.083T813.334-160H146.666Zm0-66.666h100.001v-506.668H146.666v506.668Zm166.667 0h333.334v-506.668H313.333v506.668Zm400 0h100.001v-506.668H713.333v506.668Zm-400-506.668v506.668-506.668Z"})}),xs=({props:e})=>(0,a.jsx)(l.A,{component:gs,...e}),vs=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"button",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M186.666-280q-27 0-46.833-19.833T120-346.666v-266.668q0-27 19.833-46.833T186.666-680h586.668q27 0 46.833 19.833T840-613.334v266.668q0 27-19.833 46.833T773.334-280H186.666Zm0-66.666h586.668v-266.668H186.666v266.668Zm0 0v-266.668 266.668Z"})}),fs=({props:e})=>(0,a.jsx)(l.A,{component:vs,...e}),js=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"button",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M186.666-120q-27 0-46.833-19.833T120-186.666v-586.668q0-27 19.833-46.833T186.666-840h586.668q27 0 46.833 19.833T840-773.334v586.668q0 27-19.833 46.833T773.334-120H186.666Zm0-66.666h151.001v-151.001H186.666v151.001Zm217.667 0h151.334v-151.001H404.333v151.001Zm218 0h151.001v-151.001H622.333v151.001ZM186.666-404.333h151.001v-151.334H186.666v151.334Zm217.667 0h151.334v-151.334H404.333v151.334Zm218 0h151.001v-151.334H622.333v151.334Zm-435.667-218h151.001v-151.001H186.666v151.001Zm217.667 0h151.334v-151.001H404.333v151.001Zm218 0h151.001v-151.001H622.333v151.001Z"})}),_s=({props:e})=>(0,a.jsx)(l.A,{component:js,...e}),ys=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"button",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M146.666-160q-27 0-46.833-19.833T80-226.666v-506.668q0-27 19.833-46.833T146.666-800h666.668q27 0 46.833 19.833T880-733.334v506.668q0 27-19.833 46.833T813.334-160H146.666ZM480-454.667 146.666-670.001v443.335h666.668v-443.335L480-454.667Zm0-66.666 330.667-212.001H150l330 212.001ZM146.666-670.001v-63.333 506.668-443.335Z"})}),As=({props:e})=>(0,a.jsx)(l.A,{component:ys,...e}),ws=()=>(0,a.jsx)("svg",{viewBox:"0 -960 960 960",focusable:"false","data-icon":"button",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M120-120v-175.333L490.667-666l-67.334-66.667 46.667-46L556.667-692l136-136q5-5 11.5-8t13.167-3q6.666 0 13 3 6.333 3 12.333 8L828-742.667q5 6 8 12.333 3 6.334 3 13 0 6.667-3 13.167t-8 11.5L692.333-557 779-469.666l-46.333 46.333L666-490.667 295.333-120H120Zm66.666-66.666h84L618-534.667 534.667-618 186.666-270.666v84Zm457.667-416.667L759-718l-41-41-114.667 114.667 41 41Zm0 0-41-41 41 41Z"})}),Ls=({props:e})=>(0,a.jsx)(l.A,{component:ws,...e}),bs=({svgString:e,...t})=>(0,a.jsx)("span",{role:"img",className:"anticon",dangerouslySetInnerHTML:{__html:e},...t}),ks=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"slider-group",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M10.0385 4.8313C9.82428 4.61707 9.47693 4.61707 9.2627 4.8313C9.04846 5.04554 9.04846 5.39289 9.2627 5.60712C9.47693 5.82137 9.82428 5.82138 10.0385 5.60713C10.2527 5.3929 10.2528 5.04554 10.0385 4.8313ZM8.61987 4.18848C9.18913 3.61922 10.1121 3.61922 10.6813 4.18848C11.2506 4.75773 11.2506 5.68069 10.6813 6.24995C10.1121 6.81923 9.18912 6.81923 8.61987 6.24995C8.05062 5.68069 8.05062 4.75773 8.61987 4.18848Z"}),(0,a.jsx)("path",{d:"M5.22924 3.56484C4.80353 3.99055 4.80353 4.68074 5.22924 5.10645C5.65495 5.53216 6.34514 5.53215 6.77082 5.10646C7.19653 4.68075 7.19653 3.99054 6.77083 3.56484C6.34512 3.13913 5.65491 3.13915 5.22924 3.56484ZM4.58642 5.74927C3.80568 4.96854 3.80568 3.70274 4.58642 2.92201C5.36712 2.14128 6.63293 2.14129 7.41365 2.92201C8.19438 3.70274 8.19438 4.96854 7.41366 5.74927"}),(0,a.jsx)("path",{d:"M2.73736 4.8313C2.52311 4.61706 2.17576 4.61707 1.96153 4.8313C1.74729 5.04554 1.74729 5.39289 1.96153 5.60712C2.17576 5.82137 2.52311 5.82138 2.73736 5.60713C2.95159 5.3929 2.95159 5.04554 2.73736 4.8313V4.8313ZM1.31871 4.18847C1.88797 3.61922 2.81092 3.61922 3.38018 4.18847C3.94944 4.75773 3.94944 5.68069 3.38019 6.24995C2.81092 6.81923 1.88797 6.81923 1.31871 6.24995M1.31871 4.18847C0.749447 4.75773 0.749454 5.68069 1.31871 6.24995Z"}),(0,a.jsx)("path",{d:"M9.36315 7.42584C9.36315 7.1748 9.56666 6.97129 9.81769 6.97129H10.2149C11.1507 6.97129 11.9091 7.72966 11.9091 8.66549V9.20898C11.9091 9.46002 11.7056 9.66353 11.4545 9.66353C11.2035 9.66353 11 9.46002 11 9.20898V8.66549C11 8.23174 10.6486 7.88038 10.2149 7.88038H9.81769C9.56666 7.88038 9.36315 7.67688 9.36315 7.42584Z"}),(0,a.jsx)("path",{d:"M1.78513 7.88038C1.35136 7.88038 1 8.23174 1 8.66549V9.20898C1 9.46002 0.796496 9.66353 0.545457 9.66353C0.294419 9.66353 0.0909119 9.46002 0.0909119 9.20898V8.66549C0.0909119 7.72966 0.849299 6.97129 1.78513 6.97129H2.18231C2.43335 6.97129 2.63686 7.1748 2.63686 7.42584C2.63686 7.67688 2.43335 7.88038 2.18231 7.88038H1.78513Z"}),(0,a.jsx)("path",{d:"M2.89752 8.41507C2.89752 7.20553 3.87805 6.225 5.08759 6.225H6.91189C8.12143 6.225 9.10197 7.20553 9.10197 8.41507V9.20896C9.10197 9.45999 8.89846 9.6635 8.64742 9.6635C8.39638 9.6635 8.19288 9.45999 8.19288 9.20896V8.41507C8.19288 7.70761 7.61936 7.13409 6.91189 7.13409H5.08759C4.38013 7.13409 3.80661 7.70761 3.80661 8.41507V9.20896C3.80661 9.45999 3.60311 9.6635 3.35207 9.6635C3.10103 9.6635 2.89752 9.45999 2.89752 9.20896V8.41507Z"})]}),Ms=({props:e})=>(0,a.jsx)(l.A,{component:ks,...e}),Ss=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"slider-templates",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0 1.82812C0 0.818477 0.818477 0 1.82812 0H7.73438C8.74401 0 9.5625 0.818477 9.5625 1.82812V4.50405C9.51598 4.50135 9.46907 4.5 9.42188 4.5H8.71875V1.82812C8.71875 1.28447 8.27803 0.84375 7.73438 0.84375H1.82812C1.28447 0.84375 0.84375 1.28447 0.84375 1.82812V8.29688C0.84375 8.84053 1.28447 9.28125 1.82812 9.28125H2.25V9.42188C2.25 9.66656 2.28677 9.9027 2.35507 10.125H1.82812C0.818483 10.125 0 9.30651 0 8.29688V1.82812ZM2.67188 1.6875C2.43888 1.6875 2.25 1.87638 2.25 2.10938C2.25 2.34237 2.43888 2.53125 2.67188 2.53125H6.89062C7.12361 2.53125 7.3125 2.34237 7.3125 2.10938C7.3125 1.87638 7.12361 1.6875 6.89062 1.6875H2.67188ZM3.375 3.51562C3.375 3.28263 3.56388 3.09375 3.79688 3.09375H6.89062C7.12361 3.09375 7.3125 3.28263 7.3125 3.51562C7.3125 3.74862 7.12361 3.9375 6.89062 3.9375H3.79688C3.56388 3.9375 3.375 3.74862 3.375 3.51562ZM2.8125 6.89062C2.8125 5.88099 3.63098 5.0625 4.64062 5.0625H9.42188C10.4315 5.0625 11.25 5.88099 11.25 6.89062V9.42188C11.25 10.4315 10.4315 11.25 9.42188 11.25H4.64062C3.63098 11.25 2.8125 10.4315 2.8125 9.42188V6.89062ZM4.64062 5.90625C4.35696 5.90625 4.10132 6.02623 3.92169 6.21821L7.03131 8.21723L10.1408 6.21821C9.9612 6.02623 9.70554 5.90625 9.42188 5.90625H4.64062ZM3.65625 9.42188C3.65625 9.96553 4.09697 10.4062 4.64062 10.4062H9.42188C9.96553 10.4062 10.4062 9.96553 10.4062 9.42188V7.05066L7.2594 9.07363C7.12046 9.16296 6.94209 9.16296 6.80316 9.07363L3.65625 7.05066V9.42188Z"})}),Es=({props:e})=>(0,a.jsx)(l.A,{component:Ss,...e}),Vs=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"slider-blocks",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M5.81067 2.66667H8.82103C9.47215 2.66667 10 3.19453 10 3.84566V5.81065H9.21403V3.84566C9.21403 3.62862 9.03807 3.45267 8.82103 3.45267H5.81067V2.66667ZM3.45268 5.81065V8.82101C3.45268 9.03805 3.62863 9.21401 3.84568 9.21401H5.81067V10H3.84568C3.19454 10 2.66669 9.47213 2.66669 8.82101V5.81065H3.45268Z"}),(0,a.jsx)("path",{d:"M1 2.21875C1 1.54565 1.54565 1 2.21875 1H4.11458C4.78768 1 5.33333 1.54565 5.33333 2.21875V4.11458C5.33333 4.78768 4.78768 5.33333 4.11458 5.33333H2.21875C1.54565 5.33333 1 4.78768 1 4.11458V2.21875ZM2.21875 1.8125C1.99439 1.8125 1.8125 1.99439 1.8125 2.21875V4.11458C1.8125 4.33895 1.99439 4.52083 2.21875 4.52083H4.11458C4.33895 4.52083 4.52083 4.33895 4.52083 4.11458V2.21875C4.52083 1.99439 4.33895 1.8125 4.11458 1.8125H2.21875Z"}),(0,a.jsx)("path",{d:"M6.33334 7.53334C6.33334 6.87062 6.87062 6.33334 7.53334 6.33334H10.4667C11.1294 6.33334 11.6667 6.87062 11.6667 7.53334V10.4667C11.6667 11.1294 11.1294 11.6667 10.4667 11.6667H7.53334C6.87062 11.6667 6.33334 11.1294 6.33334 10.4667V7.53334ZM7.53334 7.13334C7.31244 7.13334 7.13334 7.31243 7.13334 7.53334V10.4667C7.13334 10.6876 7.31244 10.8667 7.53334 10.8667H10.4667C10.6876 10.8667 10.8667 10.6876 10.8667 10.4667V7.53334C10.8667 7.31243 10.6876 7.13334 10.4667 7.13334H7.53334Z"})]}),Hs=({props:e})=>(0,a.jsx)(l.A,{component:Vs,...e}),Ns=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"slider-adaptive",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M2.11687 2.27574C2.29356 1.52741 2.95016 1 3.70508 1H8.96257C9.7175 1 10.3741 1.52741 10.5508 2.27574L11.6132 6.7753C11.9 7.98974 10.9973 9.1579 9.77217 9.1579H5.53398V8.34211H9.77217C10.4796 8.34211 11.0009 7.6675 10.8353 6.96625L9.77286 2.46668C9.68273 2.08488 9.34774 1.81579 8.96257 1.81579H3.70508C3.31992 1.81579 2.98492 2.08488 2.89477 2.46668L2.5348 3.99123H1.9334C1.85664 3.99123 1.78124 3.99724 1.70766 4.00883L2.11687 2.27574ZM5.52795 10.5175H9.13425C9.35521 10.5175 9.5343 10.3349 9.5343 10.1096C9.5343 9.88438 9.35521 9.70175 9.13425 9.70175H5.53398V10.3816C5.53398 10.4274 5.53195 10.4728 5.52795 10.5175ZM3.00031 7.25439C3.36855 7.25439 3.66707 6.95004 3.66707 6.57456C3.66707 6.19908 3.36855 5.89474 3.00031 5.89474C2.63206 5.89474 2.33354 6.19908 2.33354 6.57456C2.33354 6.95004 2.63206 7.25439 3.00031 7.25439ZM1 5.48684C1 4.9612 1.41793 4.53509 1.93348 4.53509H4.06713C4.58268 4.53509 5.00061 4.9612 5.00061 5.48684V10.3816C5.00061 10.9072 4.58268 11.3333 4.06713 11.3333H1.93347C1.41793 11.3333 1 10.9072 1 10.3816V5.48684ZM1.93348 5.35088C1.85982 5.35088 1.80012 5.41174 1.80012 5.48684V10.3816C1.80012 10.4567 1.85982 10.5175 1.93347 10.5175H4.06713C4.14078 10.5175 4.20049 10.4567 4.20049 10.3816V5.48684C4.20049 5.41174 4.14078 5.35088 4.06713 5.35088H1.93348Z"})}),Is=({props:e})=>(0,a.jsx)(l.A,{component:Ns,...e}),Bs=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"slider-magic",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M9.5568 0.653814C9.5243 0.522457 9.40639 0.430084 9.27106 0.430084C9.1357 0.430084 9.01779 0.522409 8.98532 0.653814L8.98496 0.655251L8.98325 0.661939C8.98166 0.668112 8.97917 0.677645 8.97579 0.690173C8.96902 0.715244 8.95873 0.752211 8.94502 0.798175C8.91751 0.890365 8.87665 1.0174 8.82339 1.1565C8.71241 1.44638 8.56387 1.74441 8.39728 1.91099C8.2307 2.07757 7.93268 2.22611 7.64279 2.33709C7.50369 2.39035 7.37666 2.43122 7.28447 2.45872C7.2385 2.47244 7.20154 2.48273 7.17647 2.48949C7.16394 2.49287 7.15441 2.49537 7.14823 2.49696L7.14154 2.49866L7.14018 2.49901C7.00883 2.53151 6.91638 2.64943 6.91638 2.78477C6.91638 2.92013 7.0087 3.03804 7.14011 3.07051L7.14154 3.07087L7.14823 3.07258C7.15441 3.07417 7.16394 3.07666 7.17647 3.08004C7.20154 3.0868 7.2385 3.0971 7.28447 3.11081C7.37666 3.13832 7.50369 3.17918 7.64279 3.23244C7.93268 3.34342 8.2307 3.49196 8.39728 3.65854C8.56387 3.82513 8.71241 4.12315 8.82339 4.41304C8.87665 4.55214 8.91751 4.67917 8.94502 4.77136C8.95873 4.81732 8.96902 4.85429 8.97579 4.87936C8.97917 4.89189 8.98166 4.90142 8.98325 4.9076L8.98496 4.91428L8.9853 4.91564C9.0178 5.047 9.13573 5.13945 9.27106 5.13945C9.40643 5.13945 9.52433 5.04713 9.5568 4.91572L9.55716 4.91428L9.55887 4.9076C9.56046 4.90142 9.56295 4.89189 9.56633 4.87936C9.5731 4.85429 9.58339 4.81732 9.59711 4.77136C9.62461 4.67917 9.66548 4.55214 9.71873 4.41304C9.82972 4.12315 9.97825 3.82513 10.1448 3.65854C10.3114 3.49196 10.6094 3.34342 10.8993 3.23244C11.0384 3.17918 11.1655 3.13832 11.2577 3.11081C11.3036 3.0971 11.3406 3.0868 11.3657 3.08004C11.3782 3.07666 11.3877 3.07417 11.3939 3.07258L11.4006 3.07087L11.4019 3.07053C11.5333 3.03803 11.6257 2.92011 11.6257 2.78477C11.6257 2.6494 11.5334 2.53149 11.402 2.49903L11.4006 2.49867L11.3939 2.49696C11.3877 2.49537 11.3782 2.49287 11.3657 2.48949C11.3406 2.48273 11.3036 2.47244 11.2577 2.45872C11.1655 2.43122 11.0384 2.39035 10.8993 2.33709C10.6094 2.22611 10.3114 2.07757 10.1448 1.91099C9.97825 1.74441 9.82972 1.44638 9.71873 1.1565C9.66548 1.0174 9.62461 0.890364 9.59711 0.798175C9.58339 0.752211 9.5731 0.715244 9.56633 0.690173C9.56295 0.677645 9.56046 0.668112 9.55887 0.661938L9.55716 0.655251L9.5568 0.653814ZM10.4426 2.78477C10.1928 2.67242 9.92218 2.52084 9.72859 2.32724C9.53499 2.13364 9.38341 1.86299 9.27106 1.61323C9.15872 1.86299 9.00714 2.13364 8.81354 2.32724C8.61994 2.52084 8.34928 2.67242 8.09952 2.78477C8.34928 2.89711 8.61994 3.04869 8.81354 3.24229C9.00714 3.43589 9.15872 3.70654 9.27106 3.95631C9.38341 3.70654 9.53499 3.43589 9.72859 3.24229C9.92218 3.04869 10.1928 2.89711 10.4426 2.78477Z"}),(0,a.jsx)("path",{d:"M9.90356 6.32335C9.87931 6.22534 9.79133 6.15641 9.69035 6.15641C9.58934 6.15641 9.50136 6.2253 9.47714 6.32335L9.47687 6.32442L9.47559 6.32942C9.47441 6.33402 9.47255 6.34114 9.47002 6.35048C9.46498 6.36919 9.45729 6.39677 9.44706 6.43107C9.42654 6.49986 9.39604 6.59465 9.35631 6.69845C9.27349 6.91475 9.16266 7.13713 9.03835 7.26143C8.91405 7.38574 8.69167 7.49657 8.47537 7.57939C8.37157 7.61912 8.27678 7.64962 8.20799 7.67014C8.17369 7.68037 8.14611 7.68806 8.1274 7.6931C8.11805 7.69563 8.11094 7.69749 8.10634 7.69867L8.10134 7.69995C8.00333 7.7242 7.93333 7.81245 7.93333 7.91343C7.93333 8.01444 8.00222 8.10242 8.10027 8.12665L8.10634 8.12819C8.11094 8.12938 8.11805 8.13124 8.1274 8.13376C8.14611 8.1388 8.17369 8.14649 8.20799 8.15672C8.27678 8.17724 8.37157 8.20774 8.47537 8.24748C8.69167 8.33029 8.91405 8.44113 9.03835 8.56543C9.16266 8.68973 9.27349 8.91211 9.35631 9.12842C9.39604 9.23221 9.42654 9.327 9.44706 9.39579C9.45729 9.43009 9.46498 9.45767 9.47002 9.47638C9.47255 9.48573 9.47441 9.49284 9.47559 9.49745L9.47687 9.50244C9.50112 9.60045 9.58937 9.67045 9.69035 9.67045C9.79136 9.67045 9.87934 9.60156 9.90356 9.50351L9.90383 9.50244L9.90511 9.49745C9.9063 9.49284 9.90815 9.48573 9.91068 9.47638C9.91572 9.45767 9.92341 9.43009 9.93364 9.39579C9.95416 9.327 9.98466 9.23221 10.0244 9.12842C10.1072 8.91211 10.218 8.68973 10.3423 8.56543C10.4666 8.44113 10.689 8.33029 10.9053 8.24748C11.0091 8.20774 11.1039 8.17724 11.1727 8.15672C11.207 8.14649 11.2346 8.1388 11.2533 8.13376C11.2626 8.13124 11.2698 8.12938 11.2744 8.12819L11.2794 8.12691C11.3774 8.10267 11.4474 8.01442 11.4474 7.91343C11.4474 7.81242 11.3785 7.72444 11.2804 7.70022L11.2794 7.69995L11.2744 7.69867C11.2698 7.69749 11.2626 7.69563 11.2533 7.6931C11.2346 7.68806 11.207 7.68037 11.1727 7.67014C11.1039 7.64962 11.0091 7.61912 10.9053 7.57939C10.689 7.49657 10.4666 7.38574 10.3423 7.26143C10.218 7.13713 10.1072 6.91475 10.0244 6.69845C9.98466 6.59465 9.95416 6.49986 9.93364 6.43107C9.92341 6.39677 9.91572 6.36919 9.91068 6.35048C9.90815 6.34114 9.9063 6.33402 9.90511 6.32941L9.90383 6.32442L9.90356 6.32335ZM10.5645 7.91343C10.3782 7.8296 10.1762 7.71649 10.0317 7.57203C9.88729 7.42757 9.77418 7.22562 9.69035 7.03925C9.60652 7.22562 9.49341 7.42757 9.34895 7.57203C9.20449 7.71649 9.00254 7.8296 8.81617 7.91343C9.00254 7.99726 9.20449 8.11037 9.34895 8.25483C9.49341 8.39929 9.60652 8.60124 9.69035 8.78761C9.77418 8.60124 9.88729 8.39929 10.0317 8.25483C10.1762 8.11037 10.3782 7.99726 10.5645 7.91343Z"}),(0,a.jsx)("path",{d:"M4.03008 0.707933C4.00583 0.609917 3.91785 0.54099 3.81687 0.54099C3.71586 0.54099 3.62788 0.609881 3.60365 0.707933L3.60338 0.709005L3.60211 0.713995C3.60092 0.718602 3.59906 0.725715 3.59654 0.735063C3.59149 0.753771 3.58381 0.781355 3.57358 0.815652C3.55305 0.884443 3.52256 0.979231 3.48282 1.08303C3.40001 1.29933 3.28917 1.52171 3.16487 1.64601C3.04057 1.77032 2.81819 1.88115 2.60188 1.96397C2.49809 2.0037 2.4033 2.0342 2.33451 2.05472C2.30021 2.06496 2.27263 2.07264 2.25392 2.07768C2.24457 2.08021 2.23746 2.08207 2.23285 2.08325L2.22786 2.08453C2.12984 2.10878 2.05984 2.19703 2.05984 2.29801C2.05984 2.39902 2.12874 2.487 2.22679 2.51123L2.22786 2.51149L2.23285 2.51277C2.23746 2.51396 2.24457 2.51582 2.25392 2.51834C2.27263 2.52338 2.30021 2.53107 2.33451 2.5413C2.4033 2.56182 2.49809 2.59232 2.60188 2.63206C2.81819 2.71487 3.04057 2.82571 3.16487 2.95001C3.28917 3.07431 3.40001 3.29669 3.48282 3.513C3.52256 3.61679 3.55305 3.71158 3.57358 3.78037C3.58381 3.81467 3.59149 3.84225 3.59654 3.86096C3.59906 3.87031 3.60092 3.87742 3.60211 3.88203L3.60338 3.88702C3.62763 3.98503 3.71588 4.05503 3.81687 4.05503C3.91787 4.05503 4.00585 3.98614 4.03008 3.88809L4.03035 3.88702L4.03162 3.88203C4.03281 3.87742 4.03467 3.87031 4.03719 3.86096C4.04224 3.84225 4.04992 3.81467 4.06015 3.78037C4.08068 3.71158 4.11117 3.61679 4.15091 3.513C4.23372 3.29669 4.34456 3.07431 4.46886 2.95001C4.59316 2.82571 4.81554 2.71487 5.03185 2.63206C5.13565 2.59232 5.23043 2.56182 5.29922 2.5413C5.33352 2.53107 5.36111 2.52338 5.37981 2.51834C5.38916 2.51582 5.39627 2.51396 5.40088 2.51277L5.40587 2.51149C5.5039 2.48725 5.57389 2.399 5.57389 2.29801C5.57389 2.197 5.505 2.10902 5.40694 2.0848L5.40587 2.08453L5.40088 2.08325C5.39627 2.08207 5.38916 2.08021 5.37981 2.07768C5.36111 2.07264 5.33352 2.06496 5.29922 2.05472C5.23043 2.0342 5.13565 2.0037 5.03185 1.96397C4.81554 1.88115 4.59316 1.77032 4.46886 1.64601C4.34456 1.52171 4.23372 1.29933 4.15091 1.08303C4.11117 0.979231 4.08068 0.884443 4.06015 0.815652C4.04992 0.781355 4.04224 0.753771 4.03719 0.735063C4.03467 0.725715 4.03281 0.718602 4.03162 0.713995L4.03035 0.709005L4.03008 0.707933ZM4.69105 2.29801C4.50468 2.21418 4.30272 2.10107 4.15826 1.95661C4.0138 1.81215 3.90069 1.6102 3.81687 1.42383C3.73304 1.6102 3.61993 1.81215 3.47547 1.95661C3.33101 2.10107 3.12905 2.21418 2.94268 2.29801C3.12905 2.38184 3.33101 2.49495 3.47547 2.63941C3.61993 2.78387 3.73304 2.98582 3.81687 3.17219C3.9007 2.98582 4.0138 2.78387 4.15826 2.63941C4.30272 2.49495 4.50468 2.38184 4.69105 2.29801Z"}),(0,a.jsx)("path",{d:"M5.68126 4.37775C5.81404 4.24497 6.02931 4.24497 6.16209 4.37775L7.5664 5.78206C7.69918 5.91484 7.69918 6.13011 7.5664 6.26289L2.55813 11.2712C2.15979 11.6695 1.51397 11.6695 1.11563 11.2712L0.672988 10.8285C0.274654 10.4302 0.274653 9.78436 0.672988 9.38602L5.68126 4.37775ZM4.89535 6.12532L1.15382 9.86686C1.02104 9.99964 1.02104 10.2149 1.15382 10.3477L1.59646 10.7903C1.72924 10.9231 1.94452 10.9231 2.0773 10.7903L5.81886 7.04877C5.76742 7.03245 5.72012 7.00397 5.68125 6.9651L4.9791 6.26295C4.93919 6.22303 4.91127 6.17566 4.89535 6.12532ZM5.92167 5.80121L5.70035 6.02253L5.92167 6.24385L6.14299 6.02253L5.92167 5.80121Z"})]}),Ts=({props:e})=>(0,a.jsx)(l.A,{component:Bs,...e}),Zs=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"align-justify",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0.75 2.22321H11.25C11.3089 2.22321 11.3571 2.175 11.3571 2.11607V1.36607C11.3571 1.30714 11.3089 1.25893 11.25 1.25893L0.75 1.25893C0.691071 1.25893 0.642857 1.30714 0.642857 1.36607V2.11607C0.642857 2.175 0.691071 2.22321 0.75 2.22321ZM11.25 7.90178C11.3089 7.90178 11.3571 7.85357 11.3571 7.79464V7.04464C11.3571 6.98571 11.3089 6.9375 11.25 6.9375H0.75C0.691071 6.9375 0.642857 6.98571 0.642857 7.04464V7.79464C0.642857 7.85357 0.691071 7.90178 0.75 7.90178H11.25ZM11.25 9.77678H0.749999C0.691071 9.77678 0.642857 9.825 0.642857 9.88393V10.6339C0.642857 10.6929 0.691071 10.7411 0.749999 10.7411H11.25C11.3089 10.7411 11.3571 10.6929 11.3571 10.6339V9.88393C11.3571 9.825 11.3089 9.77678 11.25 9.77678ZM11.25 4.09821H0.749999C0.691071 4.09821 0.642857 4.14643 0.642857 4.20536V4.95536C0.642857 5.01428 0.691071 5.0625 0.749999 5.0625H11.25C11.3089 5.0625 11.3571 5.01428 11.3571 4.95536V4.20536C11.3571 4.14643 11.3089 4.09821 11.25 4.09821Z"})}),Rs=({props:e})=>(0,a.jsx)(l.A,{component:Zs,...e}),Os=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"speed",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M5.09583 8.04167C5.32917 8.275 5.63055 8.38924 6 8.38438C6.36944 8.37952 6.64167 8.24584 6.81667 7.98334L10.0833 3.08334L5.18333 6.35C4.92083 6.525 4.78229 6.79236 4.76771 7.15209C4.75312 7.51181 4.8625 7.80834 5.09583 8.04167ZM6 1.33334C6.57361 1.33334 7.12535 1.41354 7.65521 1.57396C8.18507 1.73438 8.68333 1.975 9.15 2.29584L8.04167 2.99584C7.72083 2.83056 7.38785 2.7066 7.04271 2.62396C6.69757 2.54132 6.35 2.5 6 2.5C4.70694 2.5 3.6059 2.95452 2.69687 3.86354C1.78785 4.77257 1.33333 5.87361 1.33333 7.16667C1.33333 7.575 1.38924 7.97847 1.50104 8.37709C1.61285 8.7757 1.77083 9.15 1.975 9.5H10.025C10.2486 9.13056 10.4115 8.74653 10.5135 8.34792C10.6156 7.94931 10.6667 7.53611 10.6667 7.10834C10.6667 6.75834 10.6253 6.41806 10.5427 6.0875C10.4601 5.75695 10.3361 5.43611 10.1708 5.125L10.8708 4.01667C11.1625 4.47361 11.3934 4.95972 11.5635 5.475C11.7337 5.99028 11.8236 6.525 11.8333 7.07917C11.8431 7.63334 11.7799 8.1632 11.6437 8.66875C11.5076 9.17431 11.3083 9.65556 11.0458 10.1125C10.9389 10.2875 10.7931 10.4236 10.6083 10.5208C10.4236 10.6181 10.2292 10.6667 10.025 10.6667H1.975C1.77083 10.6667 1.57639 10.6181 1.39167 10.5208C1.20694 10.4236 1.06111 10.2875 0.954166 10.1125C0.701388 9.675 0.506944 9.21077 0.370833 8.71979C0.234722 8.22882 0.166666 7.71111 0.166666 7.16667C0.166666 6.35972 0.319791 5.60382 0.626041 4.89896C0.932291 4.1941 1.35035 3.57674 1.88021 3.04688C2.41007 2.51702 3.02986 2.09896 3.73958 1.79271C4.4493 1.48646 5.20278 1.33334 6 1.33334Z"})}),Ds=({props:e})=>(0,a.jsx)(l.A,{component:Os,...e}),zs=()=>(0,a.jsxs)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"replacer",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M8.08337 10V9.16663H9.58337C9.74721 9.16663 9.88538 9.11075 9.99788 8.999C10.1104 8.88717 10.1666 8.74863 10.1666 8.58338V7.41663C10.1666 7.10554 10.2597 6.82637 10.4459 6.57912C10.632 6.33196 10.8722 6.15975 11.1666 6.0625V5.9375C10.8722 5.84583 10.632 5.675 10.4459 5.425C10.2597 5.175 10.1666 4.89446 10.1666 4.58337V3.41663C10.1666 3.25138 10.1108 3.11283 9.999 3.001C9.88717 2.88925 9.74862 2.83337 9.58337 2.83337H8.08337V2H9.58337C9.97779 2 10.3125 2.13775 10.5875 2.41325C10.8625 2.68867 11 3.02313 11 3.41663V4.58337C11 4.74862 11.0559 4.88717 11.1678 4.999C11.2795 5.11075 11.418 5.16663 11.5834 5.16663H12V6.83338H11.5834C11.418 6.83338 11.2795 6.88925 11.1678 7.001C11.0559 7.11283 11 7.25138 11 7.41663V8.58338C11 8.97688 10.8623 9.31133 10.5868 9.58675C10.3113 9.86225 9.97687 10 9.58337 10H8.08337ZM2.41662 10C2.02221 10 1.6875 9.86225 1.4125 9.58675C1.1375 9.31133 1 8.97688 1 8.58338V7.41663C1 7.25138 0.944083 7.11283 0.83225 7.001C0.7205 6.88925 0.581958 6.83338 0.416625 6.83338H0V5.16663H0.416625C0.581958 5.16663 0.7205 5.11075 0.83225 4.999C0.944083 4.88717 1 4.74862 1 4.58337V3.41663C1 3.02313 1.13775 2.68867 1.41325 2.41325C1.68867 2.13775 2.02312 2 2.41662 2H3.91662V2.83337H2.41662C2.25279 2.83337 2.11463 2.88925 2.00213 3.001C1.88963 3.11283 1.83337 3.25138 1.83337 3.41663V4.58337C1.83337 4.89446 1.74029 5.175 1.55413 5.425C1.36804 5.675 1.12779 5.84583 0.833375 5.9375V6.0625C1.12779 6.15975 1.36804 6.33196 1.55413 6.57912C1.74029 6.82637 1.83337 7.10554 1.83337 7.41663V8.58338C1.83337 8.74863 1.88925 8.88717 2.001 8.999C2.11283 9.11075 2.25137 9.16663 2.41662 9.16663H3.91662V10H2.41662Z"}),(0,a.jsx)("path",{d:"M6.48214 7.88473V7.13473C6.48214 7.0758 6.43393 7.02759 6.375 7.02759H5.625C5.56607 7.02759 5.51786 7.0758 5.51786 7.13473V7.88473C5.51786 7.94366 5.56607 7.99187 5.625 7.99187H6.375C6.43393 7.99187 6.48214 7.94366 6.48214 7.88473ZM4.25893 7.88473V7.13473C4.25893 7.0758 4.21072 7.02759 4.15179 7.02759H3.40179C3.34286 7.02759 3.29464 7.0758 3.29464 7.13473V7.88473C3.29464 7.94366 3.34286 7.99187 3.40179 7.99187H4.15179C4.21072 7.99187 4.25893 7.94366 4.25893 7.88473ZM8.70536 7.88473V7.13473C8.70536 7.0758 8.65715 7.02759 8.59822 7.02759H7.84822C7.78929 7.02759 7.74107 7.0758 7.74107 7.13473V7.88473C7.74107 7.94366 7.78929 7.99187 7.84822 7.99187H8.59822C8.65715 7.99187 8.70536 7.94366 8.70536 7.88473Z"})]}),Ps=({props:e})=>(0,a.jsx)(l.A,{component:zs,...e}),Fs=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"editor-mode",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1 7.14578V6.10422H5.07403V7.14578H1ZM1 4.59375V3.55203H7.38889V4.59375H1ZM1 2.04172V1H7.38889V2.04172H1ZM6 11V9.07812L9.06944 5.64062C9.15278 5.54688 9.24537 5.47917 9.34722 5.4375C9.44907 5.39583 9.55093 5.375 9.65278 5.375C9.76389 5.375 9.87037 5.39844 9.97222 5.44531C10.0741 5.49219 10.1667 5.5625 10.25 5.65625L10.7639 6.23438C10.8442 6.32812 10.9036 6.43229 10.9421 6.54688C10.9807 6.66146 11 6.77604 11 6.89062C11 7.00521 10.98 7.1224 10.9399 7.24219C10.8997 7.36198 10.8382 7.46875 10.7554 7.5625L7.70833 11H6ZM6.83333 10.0625H7.36111L9.04167 8.15625L8.79167 7.85938L8.52778 7.57812L6.83333 9.46875V10.0625ZM8.79167 7.85938L8.52778 7.57812L9.04167 8.15625L8.79167 7.85938Z"})}),Us=({props:e})=>(0,a.jsx)(l.A,{component:Fs,...e}),qs=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"designer-mode",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 12C5.18 12 4.405 11.8425 3.675 11.5275C2.945 11.2125 2.3075 10.7825 1.7625 10.2375C1.2175 9.6925 0.7875 9.055 0.4725 8.325C0.1575 7.595 0 6.82 0 6C0 5.1567 0.16085 4.37005 0.48255 3.64005C0.80415 2.91005 1.24245 2.27505 1.79745 1.73505C2.35245 1.19505 3.00165 0.77085 3.74505 0.46245C4.48835 0.15415 5.28335 0 6.13005 0C6.92335 0 7.675 0.13415 8.385 0.40245C9.095 0.67085 9.7175 1.04255 10.2525 1.51755C10.7875 1.99255 11.2125 2.55585 11.5275 3.20745C11.8425 3.85915 12 4.57 12 5.34C12 6.4433 11.6733 7.3058 11.02 7.9275C10.3666 8.5492 9.52665 8.86005 8.50005 8.86005H7.38C7.23 8.86005 7.10585 8.91505 7.00755 9.02505C6.90915 9.13505 6.85995 9.2567 6.85995 9.39C6.85995 9.61 6.9333 9.82085 7.08 10.0225C7.2267 10.2241 7.30005 10.4566 7.30005 10.72C7.30005 11.14 7.1842 11.4584 6.9525 11.6749C6.7208 11.8916 6.4033 12 6 12ZM2.56995 6.46005C2.78995 6.46005 2.9783 6.3817 3.135 6.225C3.2917 6.0683 3.37005 5.87995 3.37005 5.65995C3.37005 5.43995 3.2917 5.25165 3.135 5.09505C2.9783 4.93835 2.78995 4.86 2.56995 4.86C2.34995 4.86 2.16165 4.93835 2.00505 5.09505C1.84835 5.25165 1.77 5.43995 1.77 5.65995C1.77 5.87995 1.84835 6.0683 2.00505 6.225C2.16165 6.3817 2.34995 6.46005 2.56995 6.46005ZM4.42995 3.96C4.64995 3.96 4.8383 3.88165 4.995 3.72495C5.1517 3.56835 5.23005 3.38005 5.23005 3.16005C5.23005 2.94005 5.1517 2.7517 4.995 2.595C4.8383 2.4383 4.64995 2.35995 4.42995 2.35995C4.20995 2.35995 4.02165 2.4383 3.86505 2.595C3.70835 2.7517 3.63 2.94005 3.63 3.16005C3.63 3.38005 3.70835 3.56835 3.86505 3.72495C4.02165 3.88165 4.20995 3.96 4.42995 3.96ZM7.57005 3.96C7.79005 3.96 7.97835 3.88165 8.13495 3.72495C8.29165 3.56835 8.37 3.38005 8.37 3.16005C8.37 2.94005 8.29165 2.7517 8.13495 2.595C7.97835 2.4383 7.79005 2.35995 7.57005 2.35995C7.35005 2.35995 7.1617 2.4383 7.005 2.595C6.8483 2.7517 6.76995 2.94005 6.76995 3.16005C6.76995 3.38005 6.8483 3.56835 7.005 3.72495C7.1617 3.88165 7.35005 3.96 7.57005 3.96ZM9.48 6.46005C9.7 6.46005 9.88835 6.3817 10.045 6.225C10.2016 6.0683 10.28 5.87995 10.28 5.65995C10.28 5.43995 10.2016 5.25165 10.045 5.09505C9.88835 4.93835 9.7 4.86 9.48 4.86C9.26 4.86 9.07165 4.93835 8.91495 5.09505C8.75835 5.25165 8.68005 5.43995 8.68005 5.65995C8.68005 5.87995 8.75835 6.0683 8.91495 6.225C9.07165 6.3817 9.26 6.46005 9.48 6.46005ZM6 11C6.1033 11 6.17915 10.9766 6.22755 10.93C6.27585 10.8833 6.3 10.8133 6.3 10.72C6.3 10.58 6.22665 10.4384 6.07995 10.295C5.93335 10.1517 5.86005 9.88 5.86005 9.48C5.86005 9.0333 6.00835 8.65165 6.30495 8.33505C6.60165 8.01835 6.97335 7.86 7.42005 7.86H8.50005C9.22665 7.86 9.82495 7.6475 10.295 7.2225C10.765 6.7975 11 6.17 11 5.34C11 4.0567 10.5125 3.01255 9.53745 2.20755C8.56245 1.40255 7.42665 1.00005 6.13005 1.00005C4.70335 1.00005 3.49165 1.48335 2.49495 2.44995C1.49835 3.41665 1.00005 4.6 1.00005 6C1.00005 7.3833 1.48755 8.56245 2.46255 9.53745C3.43755 10.5125 4.6167 11 6 11Z"})}),Gs=({props:e})=>(0,a.jsx)(l.A,{component:qs,...e}),Ks=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"clear-chat",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0 9.5V8.33327H9.33333V9.5H0ZM1.33333 6.58327V5.41672H10.6667V6.58327H1.33333ZM2.66667 3.66672V2.5H12V3.66672H2.66667Z"})}),$s=({props:e})=>(0,a.jsx)(l.A,{component:Ks,...e}),Ws=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"webhook",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M2.89995 11.7C2.10335 11.7 1.42085 11.4159 0.85245 10.8476C0.28415 10.2792 0 9.59665 0 8.80005C0 8.11005 0.20585 7.50755 0.61755 6.99255C1.02915 6.47755 1.55665 6.14335 2.20005 5.98995V7.035C1.85005 7.1683 1.56255 7.39495 1.33755 7.71495C1.11255 8.03495 1.00005 8.39665 1.00005 8.80005C1.00005 9.32665 1.18505 9.77495 1.55505 10.145C1.92505 10.515 2.37335 10.7 2.89995 10.7C3.42665 10.7 3.875 10.515 4.245 10.145C4.615 9.77495 4.8 9.32665 4.8 8.80005V8.29995H8.46495C8.54495 8.20995 8.6408 8.13745 8.7525 8.08245C8.8642 8.02745 8.98005 7.99995 9.10005 7.99995C9.32335 7.99995 9.5125 8.07745 9.6675 8.23245C9.8225 8.38745 9.9 8.57665 9.9 8.80005C9.9 9.01665 9.8225 9.20415 9.6675 9.36255C9.5125 9.52085 9.32335 9.6 9.10005 9.6C8.98005 9.6 8.8642 9.5725 8.7525 9.5175C8.6408 9.4625 8.54495 9.39 8.46495 9.3H5.76C5.62 9.99 5.28415 10.5625 4.75245 11.0175C4.22085 11.4725 3.60335 11.7 2.89995 11.7ZM9.10005 11.7C8.59335 11.7 8.12915 11.5809 7.70745 11.3426C7.28585 11.1042 6.94505 10.79 6.68505 10.4H8.08005C8.22665 10.5 8.38665 10.575 8.56005 10.625C8.73335 10.675 8.91335 10.7 9.10005 10.7C9.62665 10.7 10.075 10.515 10.445 10.145C10.815 9.77495 11 9.32665 11 8.80005C11 8.27335 10.815 7.825 10.445 7.455C10.075 7.085 9.62665 6.9 9.10005 6.9C8.90665 6.9 8.7283 6.92415 8.565 6.97245C8.4017 7.02085 8.24505 7.09335 8.09505 7.18995L6.195 3.99495C5.9917 3.95495 5.82505 3.8633 5.69505 3.72C5.56505 3.5767 5.50005 3.40335 5.50005 3.19995C5.50005 2.97665 5.5792 2.7875 5.7375 2.6325C5.8958 2.4775 6.0833 2.4 6.3 2.4C6.5233 2.4 6.71245 2.4775 6.86745 2.6325C7.02245 2.7875 7.09995 2.97665 7.09995 3.19995C7.09995 3.24335 7.0983 3.28255 7.095 3.31755C7.0917 3.35255 7.08005 3.4017 7.06005 3.465L8.52495 5.955C8.62495 5.935 8.72495 5.92085 8.82495 5.91255C8.92495 5.90415 9.01665 5.89995 9.10005 5.89995C9.90335 5.89995 10.5875 6.18245 11.1525 6.74745C11.7175 7.31245 12 7.99665 12 8.80005C12 9.59665 11.7175 10.2792 11.1525 10.8476C10.5875 11.4159 9.90335 11.7 9.10005 11.7ZM2.89995 9.6C2.68335 9.6 2.49585 9.52085 2.33745 9.36255C2.17915 9.20415 2.1 9.01665 2.1 8.80005C2.1 8.60665 2.165 8.4383 2.295 8.295C2.425 8.1517 2.58665 8.05505 2.77995 8.00505L4.36005 5.355C4.06335 5.0717 3.82915 4.74585 3.65745 4.37745C3.48585 4.00915 3.40005 3.61665 3.40005 3.19995C3.40005 2.39665 3.6842 1.7125 4.2525 1.1475C4.8208 0.582503 5.5033 0.300003 6.3 0.300003C7.0833 0.300003 7.7558 0.572503 8.3175 1.1175C8.8792 1.6625 9.17335 2.32335 9.19995 3.10005H8.20005C8.18005 2.59335 7.9867 2.16665 7.62 1.81995C7.2533 1.47335 6.8133 1.30005 6.3 1.30005C5.7733 1.30005 5.32495 1.48505 4.95495 1.85505C4.58495 2.22505 4.39995 2.67335 4.39995 3.19995C4.39995 3.62335 4.52495 4.00085 4.77495 4.33245C5.02495 4.66415 5.3433 4.89165 5.73 5.01495L3.645 8.52C3.665 8.5767 3.67915 8.6267 3.68745 8.67C3.69585 8.7133 3.70005 8.75665 3.70005 8.80005C3.70005 9.01665 3.62255 9.20415 3.46755 9.36255C3.31255 9.52085 3.12335 9.6 2.89995 9.6Z"})}),Xs=({props:e})=>(0,a.jsx)(l.A,{component:Ws,...e}),Ys=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"lock",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1.5 12V4.5H3V3C3 2.175 3.29375 1.46875 3.88125 0.881251C4.46875 0.293751 5.175 0 6 0C6.825 0 7.53125 0.293751 8.11875 0.881251C8.70625 1.46875 9 2.175 9 3V4.5H10.5V12H1.5ZM4.5 4.5H7.5V3C7.5 2.575 7.35625 2.21875 7.06875 1.93125C6.78125 1.64375 6.425 1.5 6 1.5C5.575 1.5 5.21875 1.64375 4.93125 1.93125C4.64375 2.21875 4.5 2.575 4.5 3V4.5Z"})}),Js=({props:e})=>(0,a.jsx)(l.A,{component:Ys,...e}),Qs=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"web",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6 12C5.1667 12 4.38505 11.8425 3.65505 11.5275C2.92505 11.2125 2.2892 10.7842 1.7475 10.2425C1.2058 9.70085 0.77915 9.06335 0.46755 8.32995C0.15585 7.59665 0 6.81335 0 5.98005C0 5.14335 0.15585 4.3625 0.46755 3.6375C0.77915 2.9125 1.2058 2.27915 1.7475 1.73745C2.2892 1.19585 2.92505 0.77085 3.65505 0.46245C4.38505 0.15415 5.1667 0 6 0C6.8367 0 7.6192 0.15415 8.3475 0.46245C9.0758 0.77085 9.7108 1.19585 10.2525 1.73745C10.7942 2.27915 11.2209 2.9125 11.5325 3.6375C11.8442 4.3625 12 5.14335 12 5.98005C12 6.81335 11.8442 7.59665 11.5325 8.32995C11.2209 9.06335 10.7942 9.70085 10.2525 10.2425C9.7108 10.7842 9.0758 11.2125 8.3475 11.5275C7.6192 11.8425 6.8367 12 6 12ZM6 11.01C6.32 10.65 6.59 10.25 6.81 9.81C7.03 9.37 7.21 8.86335 7.35 8.29005H4.66005C4.79335 8.83665 4.97 9.33495 5.19 9.78495C5.41 10.235 5.68 10.6433 6 11.01ZM4.63005 10.81C4.40335 10.4466 4.2075 10.0591 4.0425 9.64755C3.8775 9.23585 3.74 8.78335 3.63 8.29005H1.54005C1.89005 8.93005 2.3042 9.4467 2.7825 9.84C3.2608 10.2333 3.87665 10.5566 4.63005 10.81ZM7.38 10.8C8.0467 10.5867 8.6442 10.265 9.1725 9.83505C9.7008 9.40505 10.13 8.89005 10.46 8.29005H8.38005C8.26335 8.77665 8.12415 9.2258 7.96245 9.6375C7.80085 10.0492 7.6067 10.4367 7.38 10.8ZM1.17 7.29H3.43995C3.40995 7.0433 3.3908 6.8158 3.3825 6.6075C3.3742 6.3992 3.37005 6.19005 3.37005 5.98005C3.37005 5.74335 3.37585 5.5275 3.38745 5.3325C3.39915 5.1375 3.42 4.92665 3.45 4.69995H1.17C1.1067 4.92665 1.06255 5.13585 1.03755 5.32755C1.01255 5.51915 1.00005 5.73665 1.00005 5.98005C1.00005 6.22335 1.01255 6.44585 1.03755 6.64755C1.06255 6.84915 1.1067 7.0633 1.17 7.29ZM4.45995 7.29H7.54995C7.58665 7.0167 7.61085 6.78255 7.62255 6.58755C7.63415 6.39255 7.63995 6.19005 7.63995 5.98005C7.63995 5.77665 7.63415 5.5808 7.62255 5.3925C7.61085 5.2042 7.58665 4.97335 7.54995 4.69995H4.45995C4.42335 4.97335 4.3992 5.2042 4.3875 5.3925C4.3758 5.5808 4.36995 5.77665 4.36995 5.98005C4.36995 6.19005 4.3758 6.39255 4.3875 6.58755C4.3992 6.78255 4.42335 7.0167 4.45995 7.29ZM8.55 7.29H10.83C10.8933 7.0633 10.9375 6.84915 10.9625 6.64755C10.9875 6.44585 11 6.22335 11 5.98005C11 5.73665 10.9875 5.51915 10.9625 5.32755C10.9375 5.13585 10.8933 4.92665 10.83 4.69995H8.56005C8.59005 4.99995 8.61085 5.24415 8.62245 5.43255C8.63415 5.62085 8.64 5.80335 8.64 5.98005C8.64 6.19665 8.6325 6.40245 8.6175 6.59745C8.6025 6.79245 8.58 7.0233 8.55 7.29ZM8.37 3.70005H10.46C10.1434 3.07335 9.72085 2.545 9.19245 2.115C8.66415 1.685 8.05665 1.37665 7.36995 1.18995C7.59665 1.54665 7.79085 1.9275 7.95255 2.3325C8.11415 2.7375 8.2533 3.19335 8.37 3.70005ZM4.66005 3.70005H7.36005C7.24665 3.20005 7.07165 2.72005 6.83505 2.26005C6.59835 1.80005 6.32 1.38335 6 1.00995C5.7 1.30995 5.445 1.67165 5.235 2.09505C5.025 2.51835 4.83335 3.05335 4.66005 3.70005ZM1.54005 3.70005H3.64005C3.74335 3.21335 3.87415 2.76915 4.03245 2.36745C4.19085 1.96585 4.3867 1.5767 4.62 1.2C3.9333 1.3867 3.3308 1.6917 2.8125 2.115C2.2942 2.5383 1.87005 3.06665 1.54005 3.70005Z"})}),el=({props:e})=>(0,a.jsx)(l.A,{component:Qs,...e}),tl=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"acordion",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M1.5 10V9.16663H10.5V10H1.5ZM1.5 2.83337V2H10.5V2.83337H1.5ZM2.33337 7.90838C2.10837 7.90838 1.91321 7.82571 1.74788 7.66037C1.58263 7.49512 1.5 7.3 1.5 7.075V4.925C1.5 4.7 1.58263 4.50487 1.74788 4.33962C1.91321 4.17429 2.10837 4.09163 2.33337 4.09163H9.66663C9.89163 4.09163 10.0868 4.17429 10.2521 4.33962C10.4174 4.50487 10.5 4.7 10.5 4.925V7.075C10.5 7.3 10.4174 7.49512 10.2521 7.66037C10.0868 7.82571 9.89163 7.90838 9.66663 7.90838H2.33337ZM2.33337 7.075H9.66663V4.925H2.33337V7.075Z"})}),sl=({props:e})=>(0,a.jsx)(l.A,{component:tl,...e}),ll=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"carousel",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M0 7.73684V4.25716C0 3.96979 0.102474 3.72384 0.307421 3.51932C0.512263 3.31479 0.758579 3.21253 1.04637 3.21253C1.33426 3.21253 1.58 3.31479 1.78358 3.51932C1.98726 3.72384 2.08911 3.96979 2.08911 4.25716V7.73684C2.08911 8.02863 1.98663 8.27568 1.78168 8.478C1.57684 8.68021 1.33053 8.78132 1.04274 8.78132C0.754842 8.78132 0.509105 8.68021 0.305526 8.478C0.101842 8.27568 0 8.02863 0 7.73684ZM3.98384 10.1053C3.73616 10.1053 3.52242 10.0154 3.34263 9.83558C3.16284 9.65579 3.07295 9.44205 3.07295 9.19437V2.80563C3.07295 2.55795 3.16284 2.34421 3.34263 2.16442C3.52242 1.98463 3.73616 1.89474 3.98384 1.89474H8.01616C8.26384 1.89474 8.47758 1.98463 8.65737 2.16442C8.83716 2.34421 8.92705 2.55795 8.92705 2.80563V9.19437C8.92705 9.44205 8.83716 9.65579 8.65737 9.83558C8.47758 10.0154 8.26384 10.1053 8.01616 10.1053H3.98384ZM9.91089 7.73684V4.25716C9.91089 3.96979 10.0134 3.72384 10.2183 3.51932C10.4232 3.31479 10.6695 3.21253 10.9573 3.21253C11.2452 3.21253 11.4909 3.31479 11.6945 3.51932C11.8982 3.72384 12 3.96979 12 4.25716V7.73684C12 8.02863 11.8975 8.27568 11.6926 8.478C11.4877 8.68021 11.2414 8.78132 10.9536 8.78132C10.6657 8.78132 10.42 8.68021 10.2164 8.478C10.0127 8.27568 9.91089 8.02863 9.91089 7.73684ZM3.98384 9.38858H8.01616C8.07289 9.38858 8.11947 9.37037 8.15589 9.33395C8.19232 9.29753 8.21053 9.251 8.21053 9.19437V2.80563C8.21053 2.749 8.19232 2.70247 8.15589 2.66605C8.11947 2.62963 8.07289 2.61142 8.01616 2.61142H3.98384C3.92711 2.61142 3.88053 2.62963 3.84411 2.66605C3.80768 2.70247 3.78947 2.749 3.78947 2.80563V9.19437C3.78947 9.251 3.80768 9.29753 3.84411 9.33395C3.88053 9.37037 3.92711 9.38858 3.98384 9.38858Z"})}),il=({props:e})=>(0,a.jsx)(l.A,{component:ll,...e}),al=()=>(0,a.jsx)("svg",{viewBox:"0 0 30 30",focusable:"false","data-icon":"reload",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M15.0625 24.6874C12.359 24.6874 10.0581 23.7467 8.1599 21.8653C6.26167 19.9839 5.31255 17.6955 5.31255 15V14.0239L3.00002 16.3365L1.68274 15.0192L6.25002 10.4519L10.8173 15.0192L9.50002 16.3365L7.18749 14.0239V15C7.18749 17.1714 7.95192 19.0164 9.48077 20.5348C11.0096 22.0533 12.8702 22.8125 15.0625 22.8125C15.5801 22.8125 16.0974 22.756 16.6142 22.643C17.131 22.5301 17.6354 22.3606 18.1274 22.1346L19.5336 23.5408C18.8301 23.919 18.1038 24.2047 17.3546 24.3978C16.6054 24.5909 15.8414 24.6874 15.0625 24.6874ZM23.75 19.548L19.1827 14.9808L20.5 13.6635L22.8126 15.976V15C22.8126 12.8285 22.0481 10.9835 20.5193 9.46509C18.9904 7.94666 17.1298 7.18744 14.9375 7.18744C14.4199 7.18744 13.9027 7.24393 13.3858 7.35691C12.869 7.46989 12.3646 7.63935 11.8726 7.86531L10.4664 6.45913C11.1699 6.08092 11.8963 5.79526 12.6455 5.60216C13.3947 5.40905 14.1587 5.3125 14.9375 5.3125C17.641 5.3125 19.9419 6.2532 21.8401 8.13459C23.7384 10.016 24.6875 12.3045 24.6875 15V15.976L27 13.6635L28.3173 14.9808L23.75 19.548Z"})}),ol=({props:e})=>(0,a.jsx)(l.A,{component:al,...e}),nl=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"add-slide",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M6.49995 7.42005H7.5V5.50005H9.42V4.5H7.5V2.58H6.49995V4.5H4.57995V5.50005H6.49995V7.42005ZM3 10C2.73 10 2.49585 9.90085 2.29755 9.70245C2.09915 9.50415 1.99995 9.27 1.99995 9V1.00005C1.99995 0.73005 2.09915 0.49585 2.29755 0.29745C2.49585 0.0991503 2.73 0 3 0H11C11.27 0 11.5041 0.0991503 11.7025 0.29745C11.9008 0.49585 12 0.73005 12 1.00005V9C12 9.27 11.9008 9.50415 11.7025 9.70245C11.5041 9.90085 11.27 10 11 10H3ZM3 9H11V1.00005H3V9ZM1.00005 12C0.73005 12 0.49585 11.9008 0.29745 11.7025C0.09915 11.5041 0 11.27 0 11V1.99995H1.00005V11H10V12H1.00005Z"})}),rl=({props:e})=>(0,a.jsx)(l.A,{component:nl,...e}),cl=()=>(0,a.jsx)("svg",{viewBox:"0 0 12 12",focusable:"false","data-icon":"amp",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M4.88673 10.454L8.74382 5.82959H6.04045L6.55631 1.75526L3.08385 6.7769H5.41199L4.88673 10.454ZM3.85613 12L4.49319 7.57736H1.54678L6.79632 0H7.58039L6.94954 5.02912H10.4532L4.64019 12H3.85613Z"})}),dl=({props:e})=>(0,a.jsx)(l.A,{component:cl,...e}),ml=()=>(0,a.jsxs)("svg",{width:"18",height:"19",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"0.371338",y:"0.878906",width:"17.29",height:"17.29",rx:"8.645",fill:"white"}),(0,a.jsx)("path",{d:"M5.30034 14.1689L4.37134 13.2399L8.08734 9.52391L4.37134 5.80791L5.30034 4.87891L9.01634 8.59491L12.7323 4.87891L13.6613 5.80791L9.94534 9.52391L13.6613 13.2399L12.7323 14.1689L9.01634 10.4529L5.30034 14.1689Z",fill:"#1677FF"})]}),pl=({props:e})=>(0,a.jsx)(l.A,{component:ml,...e}),ul=()=>(0,a.jsxs)("svg",{width:"18",height:"19",viewBox:"0 0 18 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"0.371338",y:"0.878906",width:"17.29",height:"17.29",rx:"8.645",fill:"#1F1F1F"}),(0,a.jsx)("path",{d:"M5.30034 14.1689L4.37134 13.2399L8.08734 9.52391L4.37134 5.80791L5.30034 4.87891L9.01634 8.59491L12.7323 4.87891L13.6613 5.80791L9.94534 9.52391L13.6613 13.2399L12.7323 14.1689L9.01634 10.4529L5.30034 14.1689Z",fill:"white"})]}),hl=({props:e})=>(0,a.jsx)(l.A,{component:ul,...e}),Cl=()=>(0,a.jsx)("svg",{width:"8",height:"13",viewBox:"0 0 8 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M5.04156 6.58339L0.208313 1.75014L1.39156 0.566895L7.40831 6.58339L1.39156 12.6001L0.208313 11.4169L5.04156 6.58339Z",fill:"#545456"})}),gl=({props:e})=>(0,a.jsx)(l.A,{component:Cl,...e}),xl=({icon:e,...t})=>{const s=(0,i.rD)();if(s.icons&&s.icons[e]){const l=s.icons[e].replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"").replace(/<\/?(?:script|embed|object|frameset|frame|iframe|applet|meta)[^>]*>/gi,"").replace(/ on\w+="[^"]*"/g,"").replace(/ on\w+='[^']*'/g,"");return(0,a.jsx)(bs,{svgString:l,...t})}switch(e){case"AddSlide":return(0,a.jsx)(rl,{props:t});case"AMP":return(0,a.jsx)(dl,{props:t});case"ElementAccordion":return(0,a.jsx)(sl,{props:t});case"Reload":return(0,a.jsx)(ol,{props:t});case"Web":return(0,a.jsx)(el,{props:t});case"Lock":return(0,a.jsx)(Js,{props:t});case"DesignerMode":return(0,a.jsx)(Gs,{props:t});case"EditorMode":return(0,a.jsx)(Us,{props:t});case"ClearChat":return(0,a.jsx)($s,{props:t});case"Speed":return(0,a.jsx)(Ds,{props:t});case"Justify":return(0,a.jsx)(Rs,{props:t});case"Colorize":return(0,a.jsx)(Ls,{props:t});case"Email":return(0,a.jsx)(As,{props:t});case"Table":return(0,a.jsx)(_s,{props:t});case"Button":return(0,a.jsx)(fs,{props:t});case"Group":return(0,a.jsx)(xs,{props:t});case"Block":return(0,a.jsx)(Cs,{props:t});case"Column":return(0,a.jsx)(us,{props:t});case"Atom":return(0,a.jsx)(ms,{props:t});case"Styles":return(0,a.jsx)(m,{props:t});case"Close":return(0,a.jsx)(u,{props:t});case"Drop":return(0,a.jsx)(C,{props:t});case"DarkWhite":return(0,a.jsx)(x,{props:t});case"MinWidth":return(0,a.jsx)(f,{props:t});case"MaxWidth":return(0,a.jsx)(_,{props:t});case"BgPositionHorizontal":return(0,a.jsx)(A,{props:t});case"BgPositionVertical":return(0,a.jsx)(L,{props:t});case"UpTo":return(0,a.jsx)(k,{props:t});case"VerticalOffset":return(0,a.jsx)(S,{props:t});case"AlignHorizontalLeft":return(0,a.jsx)(V,{props:t});case"AlignHorizontalCenter":return(0,a.jsx)(N,{props:t});case"AlignHorizontalRight":return(0,a.jsx)(B,{props:t});case"AlignVerticalTop":return(0,a.jsx)(Z,{props:t});case"AlignVerticalCenter":return(0,a.jsx)(O,{props:t});case"AlignVerticalBottom":return(0,a.jsx)(z,{props:t});case"MixedView":return(0,a.jsx)(F,{props:t});case"LandscapeView":return(0,a.jsx)(q,{props:t});case"PortraitView":return(0,a.jsx)(K,{props:t});case"SquareView":return(0,a.jsx)(W,{props:t});case"PanelLeft":return(0,a.jsx)(Y,{props:t});case"Sun":return(0,a.jsx)(Q,{props:t});case"Crescent":return(0,a.jsx)(te,{props:t});case"Vimeo":return(0,a.jsx)(le,{props:t});case"Image":return(0,a.jsx)(ae,{props:t});case"Blur":return(0,a.jsx)(ne,{props:t});case"ZoomOutMap":return(0,a.jsx)(ce,{props:t});case"Paragraph":return(0,a.jsx)(me,{props:t});case"ElementImage":return(0,a.jsx)(ue,{props:t});case"ElementImageAI":return(0,a.jsx)(Ce,{props:t});case"ElementText":return(0,a.jsx)(xe,{props:t});case"ElementTitle":return(0,a.jsx)(fe,{props:t});case"ElementButton":return(0,a.jsx)(_e,{props:t});case"ElementSpacer":return(0,a.jsx)(Ae,{props:t});case"ElementListUL":return(0,a.jsx)(Le,{props:t});case"ElementListOL":return(0,a.jsx)(ke,{props:t});case"ElementDivider":return(0,a.jsx)(Se,{props:t});case"ElementSocial":return(0,a.jsx)(Ve,{props:t});case"ElementTable":return(0,a.jsx)(Ne,{props:t});case"ElementCountdown":return(0,a.jsx)(Be,{props:t});case"ElementVideo":return(0,a.jsx)(Ze,{props:t});case"ElementTextAI":return(0,a.jsx)(Oe,{props:t});case"ElementCarousel":return(0,a.jsx)(il,{props:t});case"ElementForm":return(0,a.jsx)(ze,{props:t});case"AI":return(0,a.jsx)(Fe,{props:t});case"Typograf":return(0,a.jsx)(qe,{props:t});case"NewEmail":return(0,a.jsx)(Ke,{props:t});case"Import":return(0,a.jsx)(We,{props:t});case"generationAI":return(0,a.jsx)(Ye,{props:t});case"PaddingTopBottom":return(0,a.jsx)(Qe,{props:t});case"PaddingLeftRight":return(0,a.jsx)(tt,{props:t});case"PaddingSwitcher":return(0,a.jsx)(lt,{props:t});case"PaddingTop":return(0,a.jsx)(at,{props:t});case"PaddingBottom":return(0,a.jsx)(nt,{props:t});case"PaddingLeft":return(0,a.jsx)(ct,{props:t});case"PaddingRight":return(0,a.jsx)(mt,{props:t});case"Code":return(0,a.jsx)(ut,{props:t});case"GoToParent":return(0,a.jsx)(Ct,{props:t});case"UndoOutlined":return(0,a.jsx)(xt,{props:t});case"RedoOutlined":return(0,a.jsx)(ft,{props:t});case"HistoryOutlined":return(0,a.jsx)(_t,{props:t});case"EyeOutlined":return(0,a.jsx)(At,{props:t});case"SendOutlined":return(0,a.jsx)(Lt,{props:t});case"CheckCircleOutlined":return(0,a.jsx)(kt,{props:t});case"ShareAltOutlined":return(0,a.jsx)(St,{props:t});case"MobileOutlined":return(0,a.jsx)(Vt,{props:t});case"DesktopOutlined":return(0,a.jsx)(Nt,{props:t});case"PlusCircleOutlined":return(0,a.jsx)(Bt,{props:t});case"CommentOutlined":return(0,a.jsx)(Zt,{props:t});case"SettingOutlined":return(0,a.jsx)(Ot,{props:t});case"BorderOuterOutlined":return(0,a.jsx)(zt,{props:t});case"AppstoreAddOutlined":return(0,a.jsx)(Ft,{props:t});case"AppstoreOutlined":return(0,a.jsx)(qt,{props:t});case"BuildOutlined":return(0,a.jsx)(Kt,{props:t});case"SearchOutlined":return(0,a.jsx)(Wt,{props:t});case"CloseOutlined":return(0,a.jsx)(Yt,{props:t});case"AddImage":return(0,a.jsx)(Qt,{props:t});case"MergeTags":return(0,a.jsx)(ts,{props:t});case"ArrowLeftOutlined":return(0,a.jsx)(c,{props:t});case"ChatGpt":return(0,a.jsx)(n,{props:t});case"LightMode":return(0,a.jsx)(ls,{props:t});case"DarkMode":return(0,a.jsx)(as,{props:t});case"AutoMode":return(0,a.jsx)(ns,{props:t});case"EmailConfirmation":return(0,a.jsx)(cs,{props:t});case"SliderGroup":return(0,a.jsx)(Ms,{props:t});case"SliderTemplates":return(0,a.jsx)(Es,{props:t});case"SliderBlocks":return(0,a.jsx)(Hs,{props:t});case"SliderAdaptive":return(0,a.jsx)(Is,{props:t});case"SliderMagic":return(0,a.jsx)(Ts,{props:t});case"Replacer":return(0,a.jsx)(Ps,{props:t});case"WebHook":return(0,a.jsx)(Xs,{props:t});case"CloseAll":return(0,a.jsx)(hl,{props:t});case"CloseTag":return(0,a.jsx)(pl,{props:t});case"GroupArrow":return(0,a.jsx)(gl,{props:t});default:return null}}},79060:(e,t,s)=>{s.d(t,{A:()=>A});var l=s(92810),i=s(4785),a=s(38883),o=s.n(a),n=s(58889),r=s(32411),c=s(45934),d=s(64037),m=s(56991),p=s(86739),u=s(85163),h=s(36671),C=s(37969),g=s(89698),x=s(43672),v=s(45695),f=s(93982),j=s(13522),_=s(70082);const y=(0,l.forwardRef)((({className:e,email:t,handlerSendPosition:a},y)=>{const A=(0,c.wA)(),w=(0,r.fn)(),L=(0,m.rD)(),b=(0,v.ur)(),k=(0,v.XW)(),M=(0,v.QC)(),S=(0,f._q)(j.A.ON_EMAIL_INIT_ID),[E,V]=(0,l.useState)(),H=(0,l.useCallback)((e=>{const s=window.localStorage.getItem(u.V0.em_color_scheme),l=matchMedia(u.F3).matches?u.nd:u.T,i=window.localStorage.getItem(u.V0.em_code_mode_settings)?JSON.parse(window.localStorage.getItem(u.V0.em_code_mode_settings)):null,o={operation:u.Ru.UPDATE_PREVIEW,versionId:(null===w||void 0===w?void 0:w.getVersionId())||0,theme:s&&"system"!==s?s:l,commonStyles:"string"===typeof(null===t||void 0===t?void 0:t.common_styles)&&null!==t&&void 0!==t&&t.common_styles.startsWith("{")&&"{}"!==t.common_styles?JSON.parse(t.common_styles):u.BD,pathEnabled:L.pathEnabled,copyPasteEnabled:L.copyPasteEnabled,saveBlockEnabled:L.saveBlockEnabled,editImageControlEnabled:L.editImageControlEnabled,codeMode:!!i&&!(!i.isCodeMode||"left"!==i.codeModeDirection&&"right"!==i.codeModeDirection),elementAIimageEnabled:L.elementAIimageEnabled,imageCenterStockEnabled:L.imageCenterStockEnabled,imageCenterGifEnabled:L.imageCenterGifEnabled,imageCenterEditorEnabled:L.imageCenterEditorEnabled,blocksAddPanelEnabled:L.blocksAddPanelEnabled,appName:"emailmaker"};V(e.target),b(e.target),y.current.resize(),k(o),a()}),[L,a,k,w,t.common_styles,y,V,b]),N=(0,l.useCallback)((e=>{var t;e.data.operation===u.Ru.SANDBOX_RESIZED&&(null===(t=y.current)||void 0===t||t.resize())}),[y]);(0,l.useEffect)((()=>{const e=S((()=>{y.current.resize()}));return()=>e.dispose()}),[y,S]),(0,l.useEffect)((()=>()=>{b()}),[b]);const I=(0,l.useCallback)((()=>new Promise((e=>{M.setTarget(void 0);const t=()=>{H({target:E}),e(),null===E||void 0===E||E.removeEventListener("load",t)};null===E||void 0===E||E.addEventListener("load",t)}))),[M,H,E]);(0,l.useEffect)((()=>{const e=M.addListenerAsync(u.Ru.RELOAD,I,Number.MAX_SAFE_INTEGER);return()=>e.dispose()}),[M,I]),(0,d.A)(N),(0,d.A)((()=>{var e;null===(e=y.current)||void 0===e||e.resize()}),u.Ru.SANDBOX_INITED),(0,g.V)(),(0,x.w)(),(0,l.useEffect)((()=>{matchMedia(u.F3).addEventListener("change",(e=>{const t=window.localStorage.getItem(u.V0.em_color_scheme),s=e.matches?u.nd:u.T;k({operation:u.Ru.UPDATE_PREVIEW,theme:t||s})}))}),[k]),(0,h.h)(w,t),(0,l.useEffect)((()=>{const e=w.onDidChangeContent((()=>{y.current.resize()}));return()=>e.dispose()}),[w,y]);const B=(0,l.useCallback)((e=>{e.data.operation===u.Ru.APPLICATION_COMMON_STYLES_UPDATE&&A(p.GY.util.updateQueryData("getEmail",t.id,(t=>Object.assign(t,{common_styles:JSON.stringify(e.data.settings.commonStyles)}))))}),[A,t.id]);return(0,d.A)(B),(0,_.jsx)(C.y,{children:(0,_.jsx)(i.A,{forwardRef:y,checkOrigin:!1,sandbox:"allow-top-navigation allow-scripts allow-popups allow-popups-to-escape-sandbox",className:o()("email-preview",{[e]:e}),width:"100%",minHeight:600,scrolling:"no",id:"email_iframe",allow:"clipboard-read; clipboard-write",src:(u.EW.isPlugin?`${s.p}iframe/`:"/iframe/")+(t.hasOwnProperty("type")?n.l5:n.yG),title:"Email content",onLoad:H})})}));y.defaultProps={className:null,email:null,handlerSendPosition:()=>{}};const A=y},85879:(e,t,s)=>{s.d(t,{A:()=>le});var l=s(92810),i=s(41919),a=s(33206),o=s(25072),n=s(43005),r=s(64617),c=s(94822),d=s(45934),m=s(23287),p=s(72981),u=s(77242),h=s(35069),C=s(95838),g=s(12280),x=s(81e3),v=s(66726),f=s(49246),j=s(55039),_=s(71086),y=s(82013),A=s(38883),w=s.n(A),L=s(56991),b=s(2491),k=s(21731),M=s(20757),S=s(62303),E=s(31844),V=s(22197),H=s(45695),N=s(93982),I=s(85163),B=s(13522),T=s(8493),Z=s(86286),R=s(47358),O=s(65983),D=s(7760),z=s(32269),P=s(70082);const{useToken:F}=C.A,U=({email:e,autoSaveEmailResult:t,isCollaborationEditor:s})=>{var i,a;const[o]=g.A.useForm(),{__:c}=(0,m.s9)();let p=(0,d.wA)(),u=(0,r.Zp)();const h=(0,d.d4)(Z.C1),C=(0,H.QC)(),{data:A}=(0,r.KC)(),{owner:U,admin:q}=(0,E.A)(),{token:G}=F(),K=(0,L.rD)(),$=(0,l.useRef)(),W=(0,l.useRef)(),X=(0,l.useRef)(),Y=(0,N.ml)(B.A.ON_PREVIOUSBUTTON_CLICK_ID),J=(0,d.d4)(R.yy),Q=e.hasOwnProperty("type")?I.IE:I.Tm,ee=(0,d.d4)(O.qX),te=(0,d.d4)(D.qX),se=Q===I.Tm?ee:te,le=(0,d.d4)(R.Fv),[ie,ae]=(0,l.useState)(!1);(0,l.useEffect)((()=>{ae(!(null===se||void 0===se||!se.type)&&((null===se||void 0===se?void 0:se.type)===I.bV.TEXT||(null===se||void 0===se?void 0:se.type)===I.bV.LINK||se.type===I.bV.BUTTON)&&le&&"bottom"!==J)}),[se,J,le]);const oe=(0,l.useCallback)((()=>{var t;I.EW.isPlugin?Y.fire(e):u(`/projects/${A.id}/emails?page=1&folder=${(null===(t=e.folder)||void 0===t?void 0:t[0])||I.y2}`)}),[u,Y,e,A.id]),[ne,re]=(0,l.useState)(),ce=(0,N._q)(B.A.WILL_EMAIL_INIT_ID),de=(0,N._q)(B.A.ON_EMAIL_INIT_ID);(0,l.useEffect)((()=>{const e=new z.jG;return e.addDisposable(ce((()=>re(!1)))),e.addDisposable(de((e=>{re(!0);const t=o.getFieldValue("subject");e.subject!==t&&o.setFieldValue("subject",e.subject);const s=o.getFieldValue("preheader");e.preheader!==s&&o.setFieldValue("preheader",e.preheader)}))),()=>e.dispose()}),[re,ce,de,o]);const me=(0,l.useCallback)((t=>{const s=t.target.value.trim();e.isNew?p((0,T.TU)(s)):p((0,O.HO)(s)),C.send(I.Ru.SANDBOX_SUBJECT_UPDATE,{value:s,guid:e.renderGuid})}),[C,e.renderGuid,p,e.isNew]),pe=(0,N._q)(B.A.BEFORE_SAVE_EMAIL),ue=(0,l.useCallback)((async e=>{var t,s;const l=null===(t=W.current)||void 0===t?void 0:t.input;if(document.activeElement===l){const t=l.value.trim();t!==e.subject&&(e.subject=t,e.isNew?p((0,T.TU)(t)):p((0,O.HO)(t)),await C.sendAsync(I.Ru.SANDBOX_SUBJECT_UPDATE,{value:t,guid:e.renderGuid}))}const i=null===(s=X.current)||void 0===s?void 0:s.input;if(document.activeElement===i){const t=i.value.trim();t!==e.preheader&&(e.preheader=t,e.isNew?p((0,T.x3)(t)):p((0,O.pl)(t)),await C.sendAsync(I.Ru.SANDBOX_PREHEADER_UPDATE,{value:t,guid:e.renderGuid}))}}),[C,p]);(0,l.useEffect)((()=>{const e=pe(ue);return()=>e.dispose()}),[pe,ue]);const he=(0,l.useCallback)((t=>{const s=t.target.value.trim();e.isNew?p((0,T.x3)(s)):p((0,O.pl)(s)),C.send(I.Ru.SANDBOX_PREHEADER_UPDATE,{value:s,guid:e.renderGuid})}),[C,e.renderGuid,p,e.isNew]),Ce=e.isNew;(0,l.useEffect)((()=>{const t=new z.jG;return t.addDisposable(C.addListenerAsync(I.Ru.APPLICATION_SUBJECT_UPDATE,(({guid:t,value:s})=>{t===e.renderGuid&&(o.setFieldValue("subject",s),p(Ce?(0,T.TU)(s):(0,O.HO)(s)))}))),t.addDisposable(C.addListenerAsync(I.Ru.APPLICATION_PREHEADER_UPDATE,(({guid:t,value:s})=>{t===e.renderGuid&&(o.setFieldValue("preheader",s),p(Ce?(0,T.x3)(s):(0,O.pl)(s)))}))),()=>t.dispose()}),[C,p,Ce,o,e.renderGuid]),(0,V.A)(null===e.title?c("New email title"):e.title);const ge=(0,P.jsx)(P.Fragment,{children:(0,P.jsxs)(x.A,{ref:$,size:10,children:[K.headerArrowBackVisible&&(0,P.jsx)(v.A,{title:c("Back"),placement:"left",children:(0,P.jsx)(n.Ay,{type:"text",icon:(0,P.jsx)(S.A,{icon:"ArrowLeftOutlined"}),onClick:oe,shape:"circle"})}),(0,P.jsx)("div",{children:(K.headerTitleVisible||K.headerPreheaderVisible)&&(0,P.jsxs)(g.A,{form:o,layout:"vertical",name:"subject_preheader_form",autoComplete:"off",initialValues:{subject:"",preheader:""},children:[K.headerTitleVisible&&(0,P.jsx)("div",{style:{marginTop:ne?-3:0},children:(0,P.jsxs)(x.A,{style:{width:"100%"},align:"baseline",size:12,children:[(0,P.jsx)("div",{className:"subject_preheader_form__title",children:c("Subject")}),ne?(0,P.jsx)(g.A.Item,{name:"subject",style:{marginBottom:0},children:(0,P.jsx)(j.A,{bordered:!1,ref:W,placeholder:c("Enter subject line here"),className:"ant-page-header-heading-title",onPressEnter:me,onBlur:me})}):(0,P.jsx)(f.A.Input,{active:!0,size:16,style:{width:"40%",marginTop:3}})]})}),K.headerPreheaderVisible&&(0,P.jsx)("div",{children:(0,P.jsxs)(x.A,{style:{width:"100%"},align:"baseline",size:12,children:[(0,P.jsx)("div",{className:"subject_preheader_form__title",children:c("Preheader")}),ne?(0,P.jsx)(g.A.Item,{name:"preheader",style:{marginBottom:0},children:(0,P.jsx)(j.A,{ref:X,bordered:!1,placeholder:c("Enter preheader here"),className:"ant-page-header-heading-preheader",onPressEnter:he,onBlur:he})}):(0,P.jsx)(f.A.Input,{active:!0,size:16,style:{width:"80%",marginTop:2}})]})})]})})]})}),xe=(0,P.jsxs)(P.Fragment,{children:[K.emailIdShow&&!!e.id&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{className:"email-page-header__email-id",children:"ID"+e.id}),(0,P.jsx)(_.A,{type:"vertical"})]}),(0,P.jsx)(b.A,{emailElement:e,isCollaborationEditor:s}),K.commandButtonsEnabled&&(0,P.jsxs)(P.Fragment,{children:[e.lock?(0,P.jsx)(y.A,{className:w()("lock-icon",{"lock-icon__disabled":!(U||q||(null===(i=h.id)||void 0===i?void 0:i.toString())===(null===(a=e.author)||void 0===a?void 0:a.toString()))}),style:{color:G.colorPrimary,fontSize:"16px"}},"Lock"):null,(0,P.jsx)(k.A,{email:e,autoSaveEmailResult:t},"Buttons")]})]});return(0,P.jsx)(M.A,{className:"email-pane__header",leftBlock:ge,rightBlock:xe,isHeaderCodeMenuOpen:ie})};var q=s(86739),G=s(39990),K=s(53204),$=s(94925),W=s(39738),X=s(64037),Y=s(82447),J=s(32411),Q=s(90070),ee=s(69106),te=s(38920);const{Content:se}=i.A,le=()=>{const{__:e}=(0,m.s9)(),t=(0,H.QC)(),{emailId:s,projectId:C,preview:g}=(0,r.g)(),x=(0,d.wA)(),v=(0,d.d4)(R.Fv),f=(0,r.Zp)(),j=(0,d.d4)(R.cL),_=(0,d.d4)(T.YG),y=(0,d.d4)(O.Hs),A=(0,d.d4)(R.oG),[w,b]=(0,c.ok)(),[k]=(0,G.on)(),M=(0,d.d4)(Z.C1),{isSuccess:S,data:V}=(0,G.W5)(),{owner:N}=(0,E.A)(),B=(0,J.fn)(),{modal:D}=a.A.useApp(),z=(0,Q.p6)(),F=(0,L.rD)(),[le,ie]=(0,l.useState)(!1),{confirm:ae}=D,[oe,ne]=(0,l.useState)(!1),re=w.get("template")||!oe&&!s&&z.get(I.A9.em_new_email),ce=z.get(I.A9.em_template_email);(0,l.useEffect)((()=>{!oe&&y.id&&ne(!0)}),[ne,oe,y.id]);const{isSuccess:de,isLoading:me,isError:pe,error:ue,data:he}=(0,q.sl)(re,{skip:!re||!!s}),{isLoading:Ce,isSuccess:ge,isError:xe,error:ve}=(0,q.sl)(s,{skip:!s});(0,l.useEffect)((()=>{re&&de&&(x((0,T.MZ)(he)),ne(!0),b({}))}),[re,de,x,he,ce,b]),(0,l.useEffect)((()=>(x((0,R.mi)(!0)),()=>x((0,R.mi)(!0)))),[x]);const fe=re?he:s?y:_;(0,ee.f)(fe,void 0===s);const je=(0,te.r)(fe),{counters:{emails_counter:_e},subscription:ye}=M,Ae=(0,l.useCallback)((()=>{x((0,R.vs)()),x((0,K.rI)())}),[x]);(0,l.useEffect)((()=>{g&&!v&&Ae()}),[v,g,Ae]),(0,l.useEffect)((()=>{x((0,$.ff)()),document.body.classList.add("editor"),x((0,R.PM)(I.Bv))}),[x]);const[we,Le]=(0,l.useState)(!1);(0,l.useEffect)((()=>{!we&&_e<3&&(k(),Le(!0))}),[k,_e,we]);const be=re?de:ge,ke=re?me:Ce,Me=re?pe:xe,Se=re?ue:ve,Ee=(0,J.aD)(B),Ve=(0,l.useCallback)((()=>{Ee.undo()}),[Ee]),He=(0,l.useCallback)((()=>{Ee.redo()}),[Ee]),Ne=(0,l.useRef)();(0,l.useEffect)((()=>{Ne.current!==(null===fe||void 0===fe?void 0:fe.id)&&(Ee.clear(),Ne.current=null===fe||void 0===fe?void 0:fe.id)}),[fe,Ee]);const Ie=(0,l.useCallback)((e=>{(window.navigator.appVersion.indexOf("Mac")&&e.metaKey||e.ctrlKey)&&"KeyZ"===e.code&&(e.preventDefault(),e.shiftKey?He():Ve())}),[Ve,He]);(0,l.useEffect)((()=>()=>{x((0,K.rI)()),x((0,W.qX)())}),[x]),(0,l.useEffect)((()=>{const e=t.addListener(I.Ru.APPLICATION_HAS_AMP,(e=>{x(null!==fe&&void 0!==fe&&fe.id?(0,O.VO)(e):(0,T.lg)(e))}));return()=>e.dispose()}),[t,x,null===fe||void 0===fe?void 0:fe.id]);const[Be,Te]=(0,l.useState)(),Ze=(0,l.useCallback)((e=>{const t=e.data.operation,s=e.data,l=e.data.action,i=document.getElementById("iframe-scroll-top"),a=document.getElementById("iframe-scroll-bottom");if(t===I.Ru.APPLICATION_EBLOCK_ADD&&(Te(s.data),x((0,R.qf)(I.lx.ADD_NEW_EBLOCK_MODAL))),t===I.Ru.APPLICATION_ACTION&&("undo"===l?Ve():"redo"===l&&He()),t===I.Ru.APPLICATION_SCROLL_BLOCK_SHOW){const e=document.getElementById("email_iframe"),t=document.body.getBoundingClientRect().height,s=e.getClientRects()[0];s.top<0&&(i.style.display="block"),s.top+s.height>t&&(a.style.display="block")}t===I.Ru.APPLICATION_SCROLL_BLOCK_HIDE&&(i.style.display="none",a.style.display="none")}),[x,Ve,He]);(0,X.A)(Ze);const Re=e=>{e.preventDefault(),e.target&&t.send({operation:I.Ru.SANDBOX_DRAG_CANCEL}),document.querySelectorAll(".em-dragging-element").forEach((e=>{e.classList.remove("em-dragging-element")}))};(0,l.useEffect)((()=>(window.addEventListener("drop",Re),window.addEventListener("dragover",Oe),window.addEventListener("dragstart",ze),window.addEventListener("dragend",De),window.addEventListener("keydown",Ie),window.addEventListener("dragenter dragleave",(e=>{e.preventDefault()})),()=>{window.removeEventListener("drop",Re),window.removeEventListener("dragover",Oe),window.removeEventListener("dragstart",ze),window.removeEventListener("dragend",De),window.removeEventListener("keydown",Ie),window.removeEventListener("dragenter dragleave",(e=>{e.preventDefault()}))})));const Oe=e=>{e.preventDefault();const t=document.getElementById("iframe-scroll-top"),s=document.getElementById("iframe-scroll-bottom"),l=F.sidePanelFloating?document.getElementById("pane-content-wrapper"):document.querySelector(".email-pane__col_preview"),i=document.getElementById("email_iframe"),{height:a,top:o}=i.getBoundingClientRect(),n=l.getBoundingClientRect().height;o>96?"block"===t.style.display&&(t.style.display="none"):"none"!==t.style.display&&""!==t.style.display||(t.style.display="block"),a-n+o<44?"block"===s.style.display&&(s.style.display="none"):"none"===s.style.display&&(s.style.display="block"),e.target===t&&l.scrollBy(0,-15),e.target===s&&l.scrollBy(0,15)},De=()=>{const e=document.getElementById("iframe-scroll-top"),t=document.getElementById("iframe-scroll-bottom");e&&t&&(e.style.display="none",t.style.display="none"),document.querySelectorAll(".em-dragging-element").forEach((e=>{e.classList.remove("em-dragging-element")}))},ze=e=>{e.target.parentElement.classList.add("em-dragging-element");var t=e.target.closest(".blocks-search__result-wrapper")?e.target.querySelector(".blocks-search__result-html").cloneNode(!0):e.target.cloneNode(!0);t.classList.add("em-ghost-element"),t.style.height=e.target.closest(".blocks-search__result-wrapper")?"auto":"70px",t.style.width=e.target.closest(".blocks-search__result-wrapper")?"600px":"109px",t.style.position="absolute",t.style.top="0",t.style.left="0",t.style.zIndex="-1",e.target.appendChild(t),e.dataTransfer.setDragImage(t,0,0),window.setTimeout((function(){t.parentNode.removeChild(t)}),1e3)},Pe=(0,l.useCallback)((()=>{ae({title:e("You reached the plan limit"),icon:(0,P.jsx)(Y.A,{}),content:(0,P.jsx)("div",{style:{maxWidth:"330px"},children:e("Switch to a different plan to save more emails.")}),centered:!0,okText:e("Choose a plan"),cancelText:e("Continue without saving"),width:"unset",onOk(){f("/billing")},onCancel(){}})}),[f,e,ae]),[Fe,Ue]=(0,l.useState)(!1);return(0,l.useEffect)((()=>{if(S&&V){var e,t;const l=null===V||void 0===V||null===(e=V.find((e=>{var t,s;return(null===(t=e.id)||void 0===t?void 0:t.toString())===(null===ye||void 0===ye||null===(s=ye.ID)||void 0===s?void 0:s.toString())})))||void 0===e||null===(t=e.limits)||void 0===t?void 0:t.emails_limit;l&&_e>=l&&!Fe&&!s&&N&&(Pe(),Ue(!0))}}),[V,S,ye,_e,Fe,Pe,s,N]),(0,l.useEffect)((()=>{const e=t.onInit((()=>{t.send({operation:I.Ru.SANDBOX_LOCK_EDIT,data:!1})}));return()=>e.dispose()}),[t]),(0,P.jsxs)(i.A,{className:"email-page",children:[ke&&(0,P.jsx)(p.A,{}),Me&&Se&&(0,P.jsx)(se,{style:{paddingTop:"40px"},children:(0,P.jsx)("div",{className:"container",children:(0,P.jsx)(o.Ay,{status:Se.status,title:Se.status,subTitle:Se.data.message,extra:(0,P.jsx)(n.Ay,{type:"primary",onClick:()=>{f(`/projects/${C}/emails`)},children:e("Back To Project")})})})}),(!s&&!re&&oe||ge&&fe)&&!ke&&(0,P.jsxs)(i.A,{className:"email-pane",children:[A&&(0,P.jsx)("div",{className:"email-pane__loader",children:(0,P.jsx)(p.A,{small:!0})}),(0,P.jsx)(U,{email:fe,autoSaveEmailResult:je,isCollaborationEditor:le}),(0,P.jsx)(u.A,{emailElement:fe,isSuccess:be,setIsCollaborationEditor:ie})]}),(0,P.jsx)(h.A,{isModalVisible:j===I.lx.ADD_NEW_EBLOCK_MODAL,htmlContent:Be,projectId:C})]})}},77242:(e,t,s)=>{s.d(t,{A:()=>Ot});var l=s(92810),i=s(41919),a=s(95838),o=s(33206),n=s(66726),r=s(81e3),c=s(37005),d=s(71086),m=s(86889),p=s(29234),u=s(92328),h=s(43005),C=s(2018),g=s(7744),x=s(14852),v=s(45934),f=s(64617),j=s(23287),_=s(71157),y=s(38883),A=s.n(y),w=s(90219),L=s(54565),b=s(85163),k=s(56991),M=s(70082);const S=({email:e})=>{const{__:t}=(0,j.s9)(),s=e.hasOwnProperty("type")?b.IE:b.Tm,[i,a]=(0,l.useState)(b.yy),o=(0,k.rD)();let n=[{label:(0,M.jsx)(M.Fragment,{children:t("Settings")}),key:b.yy,forceRender:!0,className:"email-settings__collapse-panel",children:(0,M.jsx)(w.A,{className:"email-settings__collapse-panel-content",element:e})}];return o.UTMEnabled&&s===b.Tm&&n.push({label:(0,M.jsx)(M.Fragment,{children:t("UTM parameters")}),key:b.iW,forceRender:!0,className:"email-settings__collapse-panel",children:(0,M.jsx)(L.A,{className:"email-settings__collapse-panel-content",email:e})}),(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(m.A,{className:"secondary-tabs email-settings__collapse",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:i,onChange:e=>a(e||""),items:n})})};var E=s(43319),V=s(92267),H=s(45927);const N=({email:e})=>{const{__:t}=(0,j.s9)(),s=e.hasOwnProperty("type")?b.IE:b.Tm,[i,a]=(0,l.useState)(b.xz),o=!!e.common_styles&&"{}"!==e.common_styles;let n=[{label:(0,M.jsx)(M.Fragment,{children:s===b.Tm?t("Global styles"):t("Block styles")}),key:b.xz,forceRender:!0,className:"email-settings__collapse-panel",children:s===b.Tm?(0,M.jsx)(E.A,{className:"email-settings__collapse-panel-content",email:e}):(0,M.jsx)(V.A,{className:"email-settings__collapse-panel-content"})}];return s===b.Tm&&o&&n.push({label:(0,M.jsx)(M.Fragment,{children:t("Content styles")}),key:"contentStyles",forceRender:!0,className:"email-settings__collapse-panel",children:(0,M.jsx)(H.A,{className:"email-settings__collapse-panel-content",email:e})}),(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(m.A,{className:"secondary-tabs email-settings__collapse appearance-panel__content-styles",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:i,onChange:e=>a(e||""),items:n})})};var I=s(98519),B=s(13465),T=s(85291),Z=s(16106),R=s(97562),O=s(62303),D=s(9452),z=s(34275),P=s(14954),F=s(62767),U=s(11007),q=s(12280),G=s(78159),K=s(8701),$=s(26021),W=s(44997),X=s(65983),Y=s(7760),J=s(45695);const Q=({emailElementType:e,isSelectedElement:t=!1,selectedElement:s})=>{var i,a,o,c,m,u,x,f,_;const{__:y}=(0,j.s9)(),A=(0,v.wA)(),w=(0,J.XW)(),[L]=q.A.useForm(),S=(0,l.useRef)(),E=(0,l.useRef)(),V=(0,v.d4)(X.qX),H=(0,v.d4)(Y.qX),N=(0,k.rD)(),I=s||(e===b.Tm?V:H),[B,T]=(0,l.useState)(null===(i=I.floatBlocks)||void 0===i?void 0:i.wrap),[Z,R]=(0,l.useState)(null===(a=I.floatBlocks)||void 0===a?void 0:a.dirRevers),[O,z]=(0,l.useState)(null),[Q,ee]=(0,l.useState)(0),[te,se]=(0,l.useState)([]),le=(0,l.useCallback)((t=>{A(e===b.Tm?(0,X.A9)(t):(0,Y.A9)(t))}),[A,e]);(0,l.useEffect)((()=>{if(I&&"{}"!==JSON.stringify(I)&&L._init){var e,t,s,l,i;if(L.resetFields(),L.setFieldsValue({gap:null===(e=I.floatBlocks)||void 0===e?void 0:e.gap,gapMobile:null===(t=I.floatBlocks)||void 0===t?void 0:t.gapMobile,gapDim:"px",valign:null===(s=I.floatBlocks)||void 0===s?void 0:s.valign}),(null===(l=I.floatBlocks)||void 0===l?void 0:l.items.length)>0){var a;const o=I.floatBlocks.items.reduce(((e,t)=>e+t.width),0),n=I.floatBlocks.items.map((e=>{var t;return null===(t=(e.width||0)/o*100)||void 0===t?void 0:t.toFixed(1)}));function r(e,t){if(e.length!==t.length)return!1;for(let s=0;s<e.length;s++)if(e[s]!==t[s])return!1;return!0}ee(o),r(n,te)||"gap"===I.changeKey||se(n),I.floatBlocks.items.forEach(((e,t)=>L.setFieldsValue({["width-"+t]:e.width||0}))),I.floatBlocks.items.length>=8?document.querySelector(".selected-element-panel__columns-settings__links__add").classList.add("noactive"):null!==(a=document.querySelector(".selected-element-panel__columns-settings__links__add"))&&void 0!==a&&a.classList.contains("noactive")&&document.querySelector(".selected-element-panel__columns-settings__links__add").classList.remove("noactive")}T(null===(i=I.floatBlocks)||void 0===i?void 0:i.wrap)}}),[L,I,O,te]);let ie=0;(null===(o=I.floatBlocks)||void 0===o?void 0:o.items.length)>0&&(ie=I.floatBlocks.items.length);const ae=(e,t)=>{Object.keys(t).forEach((t=>{if(t.includes("width")){const s=parseInt(t.match(/\d+/));L.setFieldsValue({[t]:e.items[s]})}}))},[oe,ne]=(0,l.useState)(!1);(0,l.useEffect)((()=>{const e=()=>ne(!0),t=()=>ne(!1);return document.addEventListener("keyup",t),document.addEventListener("keydown",e),()=>{document.removeEventListener("keyup",t),document.removeEventListener("keydown",e)}}),[]);const re=e=>{const s=L.getFieldsValue(!0),l=I.floatBlocks.items.map((e=>e.width)),i=I.floatBlocks.gap||20,a=e.cols-l.length;let o=[],n=l.reduce(((e,t)=>e+t),0);e.cols>=l.length?n-=i*a:n+=i*Math.abs(a);const r=Math.round(n/e.cols);o=function(t,s){const l=[];for(let o=0;o<t;o++){var i,a;l.push(null!==(i=e.width)&&void 0!==i&&i[o]?Math.round(n/100*(null===(a=e.width)||void 0===a?void 0:a[o])):s)}return l}(e.cols,r);const c=n-o.reduce(((e,t)=>e+t),0);if(0!==c){let e=o.map(((e,t)=>[t,e])).filter((e=>e[1]>30));const t=e.length-Math.abs(c);e=e.map(((e,s)=>{const l=t<=s?e[1]+(c>0?1:-1):e[1];return[e[0],l]})),e.map((e=>(o[e[0]]=e[1],e)))}let d={items:o,gap:s.gap||20};const m=o.reduce(((e,t)=>e+t),0);se(o.map((e=>{var t;return null===(t=e/m*100)||void 0===t?void 0:t.toFixed(1)}))),w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksPreset",settings:d,editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,...d,items:d.items.map(((e,t)=>({width:e,current:!1})))},changeKey:"width"})},ce=e=>{const s=L.getFieldsValue(!0);let l=0;document.querySelectorAll(".selected-element-panel__columns-settings__controls__column").forEach(((t,s)=>{t===e.target.closest(".selected-element-panel__columns-settings__controls__column")&&(l=s)}));const i=+I.floatBlocks.gap,a=+I.floatBlocks.items[l].width+i,o=I.floatBlocks.items.map((e=>+e.width)),n=(o.length-1)*i,r=o.reduce(((e,t)=>e+t),0)+n,c=o.length-1,d=Math.floor(a/c);let m=o.filter(((e,t)=>t!==l)).map((e=>e+d));const p=r-(m.reduce(((e,t)=>e+t),0)+(o.length-2)*i);if(0!==p){const e=m.length-Math.abs(p);m=m.map(((t,s)=>e<=s?t+(p>0?1:-1):t))}w({operation:b.Ru.SANDBOX_FLOATBLOCK_REMOVE,settings:{removedBlockIndex:l,gap:s.gap},editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,items:m.map(((e,t)=>({width:e,current:I.floatBlocks.items.filter(((e,t)=>t!==l))[t].current})))},changeKey:"width"})};return I.floatBlocks&&I.floatBlocks.items.length>0&&(0,M.jsx)(q.A,{layout:"vertical",form:L,name:"float_blocks_settings_form",autoComplete:"off",initialValues:{gap:(null===(c=I.floatBlocks)||void 0===c?void 0:c.gap)||0,gapDim:"px",gapMobile:(null===(m=I.floatBlocks)||void 0===m?void 0:m.gapMobile)||0,valign:(null===(u=I.floatBlocks)||void 0===u?void 0:u.valign)||"top",...null===(x=I.floatBlocks)||void 0===x?void 0:x.items.reduce(((e,{width:t},s)=>(e[`width-${s}`]=t,e)),{})},onValuesChange:e=>{E.current&&oe&&clearTimeout(E.current),E.current=setTimeout((()=>function(e){const s=L.getFieldsValue(!0),l=Object.keys(e)[0];if(z(l),l.includes("width")){if(s[l]&&s[l]>=30){let i={items:[],gap:s.gap,valign:s.valign,activateSection:t?void 0:"structure"},a=0;if(document.querySelectorAll(".selected-element-panel__columns-settings__controls__column").length>1){a=parseFloat(Object.keys(e)[0].substring(Object.keys(e)[0].length-1));const t=s["width-"+(a+1)]?a+1:0;let l=Q;Object.keys(s).forEach((e=>{e.includes("width")&&-1===e.indexOf("width-"+t)&&(l-=s[e])})),s["width-"+t]=l}Object.keys(s).forEach((e=>{e.includes("width")&&i.items.push(s[e])})),w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksWidths",settings:i}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,...i,items:I.floatBlocks.items.map(((e,t)=>({...I.floatBlocks.items[t],width:i.items[t]})))},changeKey:l})}}else if("gap"===l){const i={items:I.floatBlocks.items.map((e=>e.width)),gap:I.floatBlocks.gap},a=i.items.reduce(((e,t)=>e+t),0)+(i.items.length-1)*i.gap,o=s.gap,n=a-(i.items.length-1)*o;if(n>30*i.items.length||I.floatBlocks.gap-e>=0){const e=(e,t)=>Math.round(t*e/100);let r=i.items.map(((t,s)=>e(te[s],n)));const c=a-(r.reduce(((e,t)=>e+t),0)+(i.items.length-1)*o);if(0!==c){const e=r.length-Math.abs(c);r=r.map(((t,s)=>e<=s?t+(c>0?1:-1):t))}let d={items:r,gap:o||0};ae(d,s),w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksGap",settings:d,editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,...d,items:I.floatBlocks.items.map(((e,t)=>({...e,width:d.items[t]})))},changeKey:l})}}else if("valign"===l){let e={valign:s.valign};w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksValign",settings:e,editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,...e},changeKey:l})}else if("gapMobile"===l){let s={mobileHeight:{classNamePrefix:"em-mob-height-",value:e[l],dim:"px"}};w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksGapMobile",settings:s,editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,gapMobile:s.mobileHeight.value},changeKey:l})}setTimeout((()=>(null===S||void 0===S?void 0:S.current)&&S.current.focus({cursor:"end"})),600)}(e)),50)},onFieldsChange:()=>setTimeout((()=>(null===S||void 0===S?void 0:S.current)&&S.current.focus({cursor:"end"})),300),className:"element-controls",children:(0,M.jsxs)("div",{className:"selected-element-panel__columns-settings",style:{paddingTop:N.switchDesktopMobilePropsEnabled||N.stepToOtherElementEnabled||N.deleteButtonEnabled||"structure"===I.type?0:24},children:[1===I.floatBlocks.items.length&&(0,M.jsx)(p.A,{style:{marginBottom:10,marginTop:24},message:y('The selected element is in the block that supports a multicolumn structure. To add a new column, click the "Add a column" button.'),type:"info"}),(0,M.jsxs)(r.A,{style:{display:"flex",justifyContent:"space-between"},children:[(0,M.jsx)("div",{className:"form-group-title",style:{paddingTop:15},children:y("Columns")}),(0,M.jsxs)("div",{className:"selected-element-panel__columns-settings__links",children:[(0,M.jsxs)("span",{className:"selected-element-panel__columns-settings__links__add",onClick:()=>{const e=L.getFieldsValue(!0);if(ie<8){const s=I.floatBlocks.items.map((e=>e.width)),l=I.floatBlocks.gap,i=s.reduce(((e,t)=>e+(t>30?t:0)),0),a=(i-30-l)/i,o=s.map((e=>e>30?Math.round(e*a):e)).reduce(((e,t)=>e+(t>30?t:0)),0);let n=s.map((e=>e>30?Math.round(e*a):e));n.push(30);const r=i-o-30-l;if(0!==r){let e=n.map(((e,t)=>[t,e])).filter((e=>e[1]>30));const t=e.length-Math.abs(r);e=e.map(((e,s)=>{const l=t<=s?e[1]+(r>0?1:-1):e[1];return[e[0],l]})),e.map((e=>(n[e[0]]=e[1],e)))}w({operation:b.Ru.SANDBOX_FLOATBLOCK_ADD,settings:{gap:e.gap,gapMobile:e.gapMobile,minWidth:30},editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,items:n.map(((e,t)=>{var s;return{width:e,current:(null===(s=I.floatBlocks.items[t])||void 0===s?void 0:s.current)||!1}}))},changeKey:"width"})}else document.querySelector(".selected-element-panel__columns-settings__links__add").classList.add("noactive")},children:[(0,M.jsx)(P.A,{})," ",y("Add column")]}),I.floatBlocks.items.length>1&&(0,M.jsx)("span",{onClick:()=>{const e=L.getFieldsValue(!0),s=I.floatBlocks.items.map((e=>e.width));let l={items:[],gap:e.gap};const i=s.reduce(((e,t)=>e+t),0),a=s.length,o=Math.ceil(Q/a)*a,n=o/a,r=i-o;if(l.items=Array(a).fill(n),0!==r){const e=s.length-Math.abs(r);l.items=l.items.map(((t,s)=>e<=s?t+(r>0?1:-1):t))}ae(l,e),w({operation:b.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:"floatBlocksWidths",settings:l,editFromStructure:!!document.querySelector(".selected-element-panel__columns-settings__links__add").closest(".selected-element-panel")}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,...l,items:I.floatBlocks.items.map(((e,t)=>({...e,width:l.items[t]})))},changeKey:"width"})},children:(0,M.jsxs)(n.A,{title:y("Make columns the same width."),children:[(0,M.jsx)(F.A,{})," ",y("Equalize")]})})]})]}),I.floatBlocks.items.length>1&&(0,M.jsx)(q.A.Item,{style:{marginBottom:16},children:(0,M.jsx)("div",{className:"selected-element-panel__columns-settings__controls",children:I.floatBlocks.items.map(((e,t)=>(0,M.jsxs)("div",{className:"selected-element-panel__columns-settings__controls__column "+(e.current?"current":""),style:{width:e.width/Q*100+"%"},children:[I.floatBlocks.items.length>1&&(0,M.jsx)("span",{className:"selected-element-panel__columns-settings__controls__column__remove",onClick:ce,children:(0,M.jsx)(D.A,{style:{color:"#ff4d4f"}})}),(0,M.jsx)("div",{className:"selected-element-panel__columns-settings__controls__field",children:(0,M.jsx)(q.A.Item,{label:"",name:"width-"+t,children:(0,M.jsx)(G.A,{min:30,value:e.width||0,placeholder:y("Width"),ref:O==="width-"+t&&S})})})]},"floatblock-"+t)))})}),(0,M.jsxs)(r.A,{size:7,className:"columns-presets",children:[(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:1})},children:(0,M.jsx)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,M.jsx)("rect",{y:"7",width:"32",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})})}),(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:2})},children:(0,M.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,M.jsx)("rect",{y:"7",width:"15",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"17",y:"7",width:"15",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})]})}),(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:2,width:[66,34]})},children:(0,M.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,M.jsx)("rect",{y:"7",width:"20.6667",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"22.6667",y:"7",width:"9.33333",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})]})}),(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:2,width:[34,66]})},children:(0,M.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,M.jsx)("rect",{y:"7",width:"9.33333",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"11.3333",y:"7",width:"20.6667",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})]})}),(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:3})},children:(0,M.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,M.jsx)("rect",{y:"7",width:"9.33333",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"11.3333",y:"7",width:"9.33333",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"22.6667",y:"7",width:"9.33333",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})]})}),(0,M.jsx)(h.Ay,{onClick:()=>{re({cols:4})},children:(0,M.jsxs)("svg",{width:"32",height:"20",viewBox:"0 0 32 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,M.jsx)("rect",{y:"7",width:"6.5",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"8.5",y:"7",width:"6.5",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"17",y:"7",width:"6.5",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"}),(0,M.jsx)("rect",{x:"25.5",y:"7",width:"6.5",height:"6",rx:"2",fill:"currentColor",fillOpacity:"0.65"})]})})]}),I.floatBlocks.items.length>1&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)(r.A,{style:{marginBottom:10},children:[(0,M.jsx)(K.A,{size:"small",disabled:void 0===(null===(f=I.floatBlocks)||void 0===f?void 0:f.wrap),checked:B,onChange:e=>{T(e),w({operation:b.Ru.SANDBOX_FLOATBLOCK_WRAP,settings:{wrap:!B}}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,wrap:!B},changeKey:"wrap"})}}),(0,M.jsx)("div",{style:{position:"relative",top:2},children:y("Line break on mobile devices")})]}),(0,M.jsxs)(r.A,{style:{marginBottom:24},children:[(0,M.jsx)(K.A,{size:"small",disabled:void 0===(null===(_=I.floatBlocks)||void 0===_?void 0:_.wrap),checked:Z,onChange:e=>{R(e),w({operation:b.Ru.SANDBOX_FLOATBLOCK_DIR,settings:{dirRevert:!Z}}),le({...I,activateSection:t?void 0:"structure",floatBlocks:{...I.floatBlocks,dirRevert:!Z},changeKey:"dir"})}}),(0,M.jsx)("div",{style:{position:"relative",top:2},children:y("Revers order on desktop")})]})]}),I.floatBlocks.items.length>1&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(d.A,{className:"selected-td-form__divider"}),(0,M.jsxs)(C.A,{gutter:10,children:[(0,M.jsxs)(g.A,{span:12,children:[(0,M.jsx)("div",{className:"form-group-title",children:y("Indent between columns")}),(0,M.jsx)(q.A.Item,{name:"gap",style:{marginBottom:20},children:(0,M.jsx)(W.A,{min:0,disabled:I.floatBlocks.items.length<=1,placeholder:y("Indent between columns"),prefix:(0,M.jsx)(F.A,{}),addonAfter:"px",ref:"gap"===O&&S})})]}),(0,M.jsxs)(g.A,{span:12,children:[(0,M.jsx)("div",{className:"form-group-title",children:y("Indent in mobile")}),(0,M.jsx)(q.A.Item,{name:"gapMobile",style:{marginBottom:20},children:(0,M.jsx)(W.A,{min:0,disabled:I.floatBlocks.items.length<=1,placeholder:y("Indent in mobile"),prefix:(0,M.jsx)(U.A,{}),addonAfter:"px"})})]}),(0,M.jsxs)(g.A,{span:12,children:[(0,M.jsx)("div",{className:"form-group-title",style:{paddingTop:0},children:y("Vertical alignment")}),(0,M.jsx)("div",{style:{paddingBottom:4},children:(0,M.jsx)($.A,{form:L,elementSettings:{},disabled:I.floatBlocks.items.length<=1})})]})]})]})]})})};Q.defaultProps={selectedElement:{parent:!1}};const ee=Q;var te=s(47358);const se=({email:e,formSettings:t})=>{var s,i;const{__:a}=(0,j.s9)(),o=(0,v.wA)(),c=(0,J.XW)(),d=e.hasOwnProperty("type")?b.IE:b.Tm,p=(0,v.d4)(X.qX),u=(0,v.d4)(Y.qX),C=(0,v.d4)(te.Tn),g=Object.keys(t).length>0?t.settings:d===b.Tm?p:u,x=(0,k.rD)();(0,l.useEffect)((()=>{const e=Object.values(b.bV);g.type&&e.includes(g.type)?"structure"!==g.activateSection?(document.querySelector(".email-pane .secondary-tabs .ant-tabs-content").scrollTop=0,o((0,te.Bp)(b.WU))):o((0,te.Bp)(b.mX)):"{}"!==JSON.stringify(g)&&o((0,te.Bp)(""))}),[g,o]);let f=[{label:(0,M.jsx)("span",{style:{textTransform:"capitalize"},children:g.caption?g.caption:a("Edit element")}),key:b.WU,forceRender:!0,className:"email-properties__collapse-panel",children:(0,M.jsx)(z.A,{className:"email-properties__collapse-panel",selectedElement:g,formSettings:t,emailElementType:d,forceRender:!0},b.WU)}];g.type&&!(null===(s=g.floatBlocks)||void 0===s||!s.items.length)>0&&!(null===(i=g.floatBlocks)||void 0===i||!i.items.filter((e=>!!e.width)).length)>0&&f.push({label:(0,M.jsx)(M.Fragment,{children:a("Structure")}),key:b.mX,forceRender:!0,className:"email-properties__collapse-panel",children:(0,M.jsx)(ee,{selectedElement:g,emailElementType:d,isSelectedElement:!1})});const _=e=>{e.stopPropagation(),c({operation:b.Ru.SANDBOX_ELEMENT_PARENT_GET})};return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(m.A,{className:A()("secondary-tabs email-properties__collapse",{"secondary-tabs_unset_scroll":C===b.nA||C===b.WU}),size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:C,onChange:e=>o((0,te.Bp)(e||"")),items:f}),((e,t,s)=>(x.switchDesktopMobilePropsEnabled||x.stepToOtherElementEnabled||x.deleteButtonEnabled)&&(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(r.A,{className:"selected-element-panel__extra-btn-container",children:(0,M.jsx)(r.A,{children:(0,M.jsxs)(r.A,{size:5,children:[x.deleteButtonEnabled&&(0,M.jsx)(n.A,{title:a("Remove element by Delete Key"),placement:"bottom",children:(0,M.jsx)(h.Ay,{type:"text",onClick:e=>((e,t,s)=>{e.stopPropagation(),c({operation:b.Ru.SANDBOX_ELEMENT_REMOVE}),t(s===b.Tm?(0,X.A9)({}):(0,Y.A9)({}))})(e,t,s),icon:(0,M.jsx)(D.A,{}),disabled:!g.deletable})}),x.stepToOtherElementEnabled&&(0,M.jsx)(n.A,{title:a("Up to parent element"),placement:"bottom",children:(0,M.jsx)(h.Ay,{type:"text",onClick:_,icon:(0,M.jsx)(O.A,{icon:"GoToParent"}),disabled:!g.parent})})]})})})}))(g.parent,o,d),(0,M.jsx)(h.Ay,{type:"text",className:"ant-modal-close","aria-label":"Close",onClick:()=>{o((0,te.Fk)()),setTimeout((()=>{d===b.IE?o((0,Y.A9)({type:null})):o((0,X.A9)({type:null}))}),300),c({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_RESET})},children:(0,M.jsx)(O.A,{icon:"Close"})})]})};var le=s(63719),ie=s(79060),ae=s(84e3),oe=s(80844),ne=s(55039),re=s(24293),ce=s(3453),de=s(79716),me=s(6890),pe=s(63531),ue=s(95679),he=s(86286),Ce=s(64936),ge=s(77532),xe=s(36404),ve=s(28073),fe=s(68879),je=s(42738),_e=s(38587),ye=s(90070),Ae=s(93982),we=s(33288),Le=s(13522),be=s(1383);function ke(e,t){if("json"===e)return new Blob([t],{type:"application/json"});if("svg"===e)return new Blob([t],{type:"image/svg+xml"});const s=`image/${e}`;return((e,t="application/octet-stream")=>fetch(`data:${t};base64,${e}`).then((e=>e.blob())))(t=t.replace(/data:image\/([a-z]*)?;base64,/,""),s)}const Me=(0,M.jsx)(de.A,{style:{fontSize:48},spin:!0}),Se=({currentImageLink:e,newLink:t,onSave:s,uploadImageResultIsLoading:i})=>{const a=(0,ye.p6)(),[o,n]=(0,l.useState)(),[r,c]=(0,l.useState)(),{__:d}=(0,j.s9)();let m=(0,v.wA)();const p=(0,v.Pj)(),u=(0,v.d4)(he.C1),C=(0,v.d4)(Ce.sK),g=(0,v.d4)(xe.yN),f=(0,l.useRef)(!1),[_,y]=(0,l.useState)(),A=(0,Ae.ml)(Le.A.FILE_PROXY_EVENT_ID);(0,l.useEffect)((()=>{(async()=>{let t;try{const s=await fetch(e);t=await s.blob()}catch{if(t=await A.fire({url:e,project:g}).filter((e=>e instanceof Blob))[0],!t){const s=a.get(b.A9.em_token)||await we.di.getInstance(p,be.Y),l=await fetch(`https://app.emailmaker.ru/api/wp-json/cors-proxy/v1/get?url=${encodeURIComponent(e)}`,{headers:{authorization:`Bearer ${s}`}});t=await l.blob()}}if(t){let e=new FileReader;e.onload=()=>{null===_||void 0===_||_.tools.import.openBackgroundImage(o),e.result!==o&&(n(e.result),c(t.type))},e.readAsDataURL(t)}})().catch((e=>console.log(e)))}),[e,t,n,a,o,_,A,g,p]);const w=(0,l.useCallback)((()=>{n(null),c(null),m((0,ge.BK)()),m((0,Ce.Os)()),m((0,Ce.Oo)(b.lx.UPLOAD_IMAGE_MODAL))}),[m]),L=(0,l.useRef)();L.current=async function(e,t,l){const i=await ke(l,e);s&&s(new File([i],t,{lastModified:(new Date).getTime(),type:i.type}))};const k=(0,l.useCallback)((e=>{if(e)if(f.current&&_);else{f.current=!0;const e=u.locale?u.locale.replace("_","-"):"ru-RU",t=u.theme===b.IJ?matchMedia(b.F3).matches?b.nd:b.T:u.theme;fe.A.init({selector:"#pixie-editor",baseUrl:"https://emailmaker.ru/assets/pixie",image:o,activeLanguage:e,languages:(0,ve.g)(e,d),tools:{text:{replaceDefault:!0,defaultCategory:"handwriting",items:[{family:"Montserrat Light",src:"customFonts/Montserrat-Light.woff2"},{family:"Montserrat Regular",src:"customFonts/Montserrat-Regular.woff2"},{family:"Montserrat Bold",src:"customFonts/Montserrat-Bold.woff2"},{family:"Montserrat Black",src:"customFonts/Montserrat-Black.woff2"},{family:"Roboto Light",src:"customFonts/Roboto-Light.woff2"},{family:"Roboto Regular",src:"customFonts/Roboto-Regular.woff2"},{family:"Roboto Bold",src:"customFonts/Roboto-Bold.woff2"},{family:"Roboto Black",src:"customFonts/Roboto-Black.woff2"},{family:"Lato Light",src:"customFonts/Lato-Light.woff2"},{family:"Lato Regular",src:"customFonts/Lato-Regular.woff2"},{family:"Lato Bold",src:"customFonts/Lato-Bold.woff2"},{family:"Lato Black",src:"customFonts/Lato-Black.woff2"},{family:"Rubik Light",src:"customFonts/Rubik-Light.woff2"},{family:"Rubik Regular",src:"customFonts/Rubik-Regular.woff2"},{family:"Rubik Bold",src:"customFonts/Rubik-Bold.woff2"},{family:"Rubik Black",src:"customFonts/Rubik-Black.woff2"},{family:"Bebas Neue Light",src:"customFonts/BebasNeueLight.woff2"},{family:"Bebas Neue Regular",src:"customFonts/BebasNeueRegular.woff2"},{family:"Bebas Neue Book",src:"customFonts/BebasNeueBook.woff2"},{family:"Bebas Neue Bold",src:"customFonts/BebasNeueBold.woff2"},{family:"Arial",src:"customFonts/ArialMT.woff2"},{family:"Arial Bold",src:"customFonts/Arial-BoldMT.woff2"}]}},ui:{menubar:{replaceDefaultItems:!0,items:[{type:"undoWidget",align:"left"},{type:"zoomWidget",align:"center",desktopOnly:!0},{type:"button",icon:(0,M.jsx)(je.A,{style:{fontSize:20}}),align:"right",desktopOnly:!0,action:e=>{e.togglePanel("history")}},{type:"button",icon:(0,M.jsx)(_e.A,{style:{fontSize:20}}),align:"right",desktopOnly:!0,action:()=>w()}]},nav:{position:"top"},activeTheme:t,mode:"inline",forceOverlayModeOnMobile:!1},onSave:async function(e,t,s){L.current(e,t,s)}}).then((e=>{y(e)})).catch((e=>console.log(e)))}}),[u.theme,o,_,y,u.locale,d,w]);return(0,M.jsxs)(x.A,{afterOpenChange:k,width:"100%",style:{maxWidth:"100%",minHeight:"100vh"},className:"image-editor-modal blocks-modal",centered:!0,closable:!1,zIndex:1100,mask:!1,open:C,footer:[(0,M.jsx)(h.Ay,{className:"em-analytics__profile-cancel",onClick:w,children:d("Cancel")},"Cancel"),(0,M.jsx)(h.Ay,{className:"em-analytics__profile-updapixiete",id:"save",type:"primary",onClick:()=>null===_||void 0===_?void 0:_.tools.export.save(null===e||void 0===e?void 0:e.split("/").pop().split(".")[0],null===r||void 0===r?void 0:r.split("/")[1]),children:d("Update")},"Ok")],children:[i&&(0,M.jsx)("div",{style:{position:"absolute",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:"var(--colorBgLayout)",zIndex:10,opacity:.7},children:(0,M.jsx)(re.A,{size:"large",indicator:Me})}),(0,M.jsx)("div",{id:"pixie-editor"})]})},Ee=(0,M.jsx)(de.A,{style:{fontSize:48},spin:!0}),Ve=({currentImageLink:e,newLink:t,onSave:s,uploadImageResultIsLoading:l})=>(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)("div",{children:(0,M.jsxs)("div",{className:"image-preview",children:[l&&(0,M.jsx)("div",{style:{position:"absolute",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:"var(--colorBgLayout)",zIndex:10,opacity:.7},children:(0,M.jsx)(re.A,{size:"large",indicator:Ee})}),(t||e)&&(0,M.jsx)("img",{alt:"uploadedImage",src:t||e})]})}),(0,M.jsx)(Se,{currentImageLink:e,newLink:t,onSave:s,uploadImageResultIsLoading:l})]});var He=s(20984),Ne=s(70084),Ie=s(26268),Be=s(77406);const Te="blocks",Ze=({setCurrentImageLink:e,setModalHeight:t,setModalWidth:s,setImageStockList:i,imageStockList:a,currentReq:o,setCurrentReq:r,inputRef:c,setStockLink:m,customRequest:p})=>{const[u,h]=(0,l.useState)(!1),[x,v]=(0,l.useState)(2),{__:f}=(0,j.s9)(),[_]=(0,ue.Jg)(),[y]=(0,ue.h4)();(0,l.useEffect)((()=>{""!==o.keywords&&A()}),[o.color,o.orientation]);const A=async()=>{const e=await y({query:o,page:1});e.data.results.length>0&&(i(e.data.results),setTimeout((()=>{s(1060),t("84vh")}),0))},[w,L]=(0,l.useState)(null);return(0,M.jsxs)("div",{className:"stock-tab",children:[(0,M.jsxs)(q.A,{onValuesChange:A,className:a.length>0?"serach-results":"",children:[(0,M.jsxs)(C.A,{gutter:24,children:[(0,M.jsx)(g.A,{span:a.length>0?"":24,children:(0,M.jsx)(q.A.Item,{className:"stock-search-input",children:(0,M.jsx)(ne.A,{onKeyDown:e=>"Space"===e.code&&A(),onPressEnter:e=>A(),allowClear:!0,size:a.length>0?"medium":"large",placeholder:f("Search image"),value:o.keywords,onChange:e=>r((t=>({...t,keywords:e.target.value}))),ref:c,spellCheck:"false",suffix:(0,M.jsx)(Be.A,{onClick:A,className:"cards-search__search-icon, input-icon",style:{fontSize:"16px",cursor:"pointer"}})})})}),a.length>0&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(g.A,{children:(0,M.jsxs)(He.Ay.Group,{defaultValue:"",onChange:e=>r((t=>({...t,orientation:e.target.value}))),children:[(0,M.jsx)(n.A,{title:f("All"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{value:"",children:(0,M.jsx)(O.A,{icon:"MixedView"})})}),(0,M.jsx)(n.A,{title:f("Landscape"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{value:"landscape",children:(0,M.jsx)(O.A,{icon:"LandscapeView"})})}),(0,M.jsx)(n.A,{title:f("Portrait"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{value:"portrait",children:(0,M.jsx)(O.A,{icon:"PortraitView"})})}),(0,M.jsx)(n.A,{title:f("Squarish"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{value:"squarish",children:(0,M.jsx)(O.A,{icon:"SquareView"})})})]})}),(0,M.jsx)(g.A,{children:(0,M.jsxs)(He.Ay.Group,{defaultValue:"",className:"stock-color-filter",onChange:e=>r((t=>({...t,color:e.target.value}))),children:[(0,M.jsx)(n.A,{title:f("All"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"all-colors",value:"",children:"All"})}),(0,M.jsx)(n.A,{title:f("Black"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"black-color",value:"black",children:"B"})}),(0,M.jsx)(n.A,{title:f("Black and White"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"bw-color",value:"black_and_white",children:"B&\xa7W"})}),(0,M.jsx)(n.A,{title:f("White"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"white-color",value:"white",children:"W"})}),(0,M.jsx)(n.A,{title:f("Orange"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"orange-color",value:"orange",children:"O"})}),(0,M.jsx)(n.A,{title:f("Red"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"red-color",value:"red",children:"R"})}),(0,M.jsx)(n.A,{title:f("Purple"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"purple-color",value:"purple",children:"P"})}),(0,M.jsx)(n.A,{title:f("Magenta"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"magenta-color",value:"magenta",children:"M"})}),(0,M.jsx)(n.A,{title:f("Green"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"green-color",value:"green",children:"G"})}),(0,M.jsx)(n.A,{title:f("Teal"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"teal-color",value:"teal",children:"T"})}),(0,M.jsx)(n.A,{title:f("Blue"),placement:"top",children:(0,M.jsx)(He.Ay.Button,{className:"blue-color",value:"blue",children:"Blue"})})]})})]})]}),a.length>0&&(0,M.jsx)("div",{className:"blocks-search__divider-wrapper",children:(0,M.jsx)("div",{className:"ant-divider ant-divider-horizontal",role:"separator"})})]}),(0,M.jsx)("div",{className:"serach-output-wrapper",style:{marginRight:-10},children:a.length>0&&(0,M.jsx)("div",{id:"scrollableDiv",style:{width:"100%",height:"calc(84vh - 148px)",overflow:"auto",paddingTop:24,paddingRight:14,paddingLeft:24,marginLeft:-24,lineHeight:"0",boxSizing:"unset"},children:(0,M.jsx)(Ne.A,{dataLength:a&&a.length,next:async()=>{u||(h(!0),y({query:o,page:x}).then((e=>{i((t=>[...t,...e.data.results])),h(!1),v((e=>e+1))})).catch((()=>{h(!1)})))},hasMore:a,endMessage:(0,M.jsxs)(d.A,{plain:!0,children:[f("That`s all we could find.")," \ud83e\udd10"]}),scrollableTarget:"scrollableDiv",style:{overflow:"visible"},loader:null,children:(0,M.jsx)(Ie.A,{breakpointCols:{default:3},className:"my-masonry-grid",columnClassName:"my-masonry-grid_column",children:a.map((t=>(0,M.jsxs)("div",{className:"list-item",onClick:()=>{return s=t.urls,l=t.links,i=t.id,_(l.download_location),L(i),setTimeout((()=>L(null)),2e3),m(`${s.raw}&w=1200&q=96`),e(`${s.raw}&w=1200&q=96`),void p(`${s.raw}&w=1200&q=96`);var s,l,i},children:[(0,M.jsx)("img",{className:w===t.id?"loaded-image":"",width:"322px",src:`${t.urls.raw}&w=644&q=96`,alt:t.description,onLoad:e=>e.target.parentNode.classList.add("loaded")}),(0,M.jsxs)("p",{className:"creator-info",onClick:e=>e.stopPropagation(),children:["Photo by"," ",(0,M.jsx)("a",{target:"_blank",href:`${t.user.links.html}?utm_source=${Te}&utm_medium=referral`,rel:"noreferrer",children:t.user.name})," ","on"," ",(0,M.jsx)("a",{target:"_blank",href:`https://unsplash.com/?utm_source=${Te}&utm_medium=referral`,rel:"noreferrer",children:"Unsplash"})]}),w===t.id&&(0,M.jsx)(re.A,{className:"ant-spin",indicator:(0,M.jsx)(de.A,{spin:!0})})]},t.id)))})})})})]})};var Re=s(89831),Oe=s(26786),De=s(58013),ze=s(41564);const Pe=({images:e,transitionDuration:t=1e3})=>{const[s,i]=(0,l.useState)([]);return(0,l.useEffect)((()=>{if(e.length>0){const t=e[e.length-1];i((e=>[...e,{src:t,opacity:0}])),setTimeout((()=>{i((e=>e.map(((t,s)=>s===e.length-1?{...t,opacity:1}:t))))}),1e3)}}),[e]),(0,M.jsx)("div",{className:"slideshow-container",children:s.map(((e,s)=>(0,M.jsx)("img",{src:`data:image/jpeg;base64, ${e.src}`,alt:`Slide ${s+1}`,className:"slideshow-image",style:{opacity:e.opacity,transition:`opacity ${t}ms linear`}},s)))})};var Fe=s(46950),Ue=s(47381);const qe=e=>{const{className:t,style:s,onClick:l}=e;return(0,M.jsx)("div",{className:t,style:{...s,zIndex:"3000",display:"block",position:"absolute",top:"50%",right:"0",transform:"translateY(-50%) translateX(-100%)",backgroundColor:"transparent",opacity:.8},onClick:l,children:(0,M.jsx)(h.Ay,{style:{borderRadius:100,right:10},size:"large",icon:(0,M.jsx)(Oe.A,{})})})},Ge=e=>{const{className:t,style:s,onClick:l}=e;return(0,M.jsx)("div",{className:t,style:{...s,display:"block",position:"absolute",zIndex:"1000",top:"50%",left:"0",transform:"translateY(-50%)",backgroundColor:"transparent",opacity:.8},onClick:l,children:(0,M.jsx)(h.Ay,{style:{borderRadius:100,left:10},size:"large",icon:(0,M.jsx)(De.A,{})})})},Ke=({setModalHeight:e,customRequest:t,aiImageRequest:s,setAiImageRequest:i,aiTabRef:a,imageAiList:o,setImageAiList:n,isLoadingAi:r,setIsLoadingAi:c,inputAiRef:d,isImageUploaded:m,setIsImageUploaded:p})=>{const{__:u}=(0,j.s9)(),x=(0,k.rD)(),v=(0,_.hN)(),y=(0,Ue.u)(),{emailId:A,blockId:w,projectId:L}=(0,f.g)(),S=(0,Ae.ml)(Le.A.ON_LIMIT_ID),[E,V]=(0,l.useState)(0),[H,N]=(0,l.useState)(null),[I,B]=(0,l.useState)(!1),[T,Z]=(0,l.useState)(u("Evaluating the task")),[R,D]=(0,l.useState)(!1),[z]=(0,ue.Mv)(),[P,{data:F=[]}]=(0,ue.gg)(),U=A||w,{limits:G}=null!==x&&void 0!==x&&x.limits?x:{limits:{ai_img_limit:0}},{ai_img_limit:K}=G,$=E>=K&&K>0,W=!(!x.limits||!x.counters)&&b.EW.isPlugin,X=(0,l.useCallback)((()=>{S.fire({name:"AiImgCount",count:E+1})}),[S,E]);(0,l.useEffect)((()=>{var e;W&&V((null===x||void 0===x||null===(e=x.counters)||void 0===e?void 0:e.ai_img_counter)||0)}),[x,W]);const Y=async()=>{Z(u("Evaluating the task")),""===s||r||(c(!0),D(!0),n([]),y({event:"submit_form",action:"ai_image_generation",entity_id:A,project_id:L}),z({body:{project_id:L,request:"create-image",connection:"midjourney",message:s}}).then((({data:e})=>{if(401===e.data.status)throw new Error(b.ff);200===(null===e||void 0===e?void 0:e.data.status)?(null!==e&&void 0!==e&&e.data.task.id&&(Z(e.data.task.message),N(e.data.task.id)),e.message&&v.success({id:"AI_IMAGE_SEND_SUCCESS",message:e.message,placement:"bottomRight",data:s}),P({task_id:null===e||void 0===e?void 0:e.data.task.id,entity_id:U})):(c(!1),D(!1),v.error({id:"AI_IMAGE_SEND_ERROR",message:(null===e||void 0===e?void 0:e.message)||u("Something went wrong, please try again"),placement:"bottomRight",data:s,innerException:e}))})).catch((e=>{c(!1),D(!1),e.error&&v.fromError("AI_IMAGE_SEND_ERROR",s,e.error)})))};(0,l.useEffect)((()=>{F.length>1&&("error"!==F[F.length-1].status||"Canceled"!==F[F.length-1].status?F[F.length-1].images?(Z(F[F.length-1].status),100===F[F.length-1].progress&&(n(F[F.length-1].images),Z(u("Evaluating the task")),N(null),D(!1))):(n([F[F.length-1].data]),c(!1)):(c(!1),D(!1),v.error({id:"AI_IMAGE_GET_ERROR",message:u("Something went wrong, please try again"),placement:"bottomRight",data:H})))}),[F,n,Z,u,c,e,H,v]),(0,l.useEffect)((()=>{(r||o.length>0)&&setTimeout((()=>{let t=550;a.current&&(t=a.current.offsetHeight+68),e(t)}),0)}),[a,F,o.length,r,e]);const[J,Q]=(0,l.useState)(!1);return(0,M.jsxs)("div",{className:"image-ai",children:[W&&(0,M.jsx)(Fe.A,{text:u("images"),counter:E,limits:K,wrapperStyles:{marginTop:-25}}),(0,M.jsx)(C.A,{gutter:24,style:{padding:"0 2px"},children:(0,M.jsx)(g.A,{span:24,children:(0,M.jsx)(q.A.Item,{style:{margin:0},children:(0,M.jsxs)("span",{className:"ant-input-affix-wrapper ant-input-affix-wrapper-lg "+(J?"ant-input-affix-wrapper-focused":""),style:{paddingLeft:0},children:[(0,M.jsx)(ne.A.TextArea,{ref:d,onKeyDown:e=>{"Shift"===e.key?B(!0):"Enter"!==e.key||I||(e.preventDefault(),$?W&&v.error({message:u("The usage limit has been exceeded"),description:u("The maximum number of requests for the current subscription period has been reached.\nSelect the appropriate plan to fulfil more requests"),placement:"bottomRight"}):W?(V((e=>e+1)),X(),Y()):Y())},onKeyUp:e=>{"Shift"===e.key&&B(!1)},onFocus:()=>{Q(!0)},onBlur:()=>{Q(!1)},autoSize:!0,allowClear:!0,className:"text-area-input-hybrid",placeholder:u("Generate image"),value:s,onChange:t=>{i(t.target.value),setTimeout((()=>{let t=0;a.current&&(t=a.current.offsetHeight+68,r||0!==o.length||(t=a.current.offsetHeight+68)),setTimeout((()=>{e(t)}),0)}),10)},style:{fontSize:16},spellCheck:"false"}),(0,M.jsx)("span",{className:"ant-input-suffix",children:r||R?(0,M.jsx)(de.A,{style:{fontSize:18},className:"input-icon",spin:!0}):(0,M.jsx)(O.A,{icon:"AI",style:{fontSize:16,top:0,right:0},className:"input-icon",onClick:()=>{W?$||(V((e=>e+1)),X(),Y()):Y()}})})]})})})}),(r||o.length>0)&&(0,M.jsxs)(Re.A,{dotPosition:"top",arrows:!0,nextArrow:(0,M.jsx)(qe,{}),prevArrow:(0,M.jsx)(Ge,{}),style:{marginTop:24},children:[r&&(0,M.jsx)("div",{className:"image-ai__loading",children:(0,M.jsxs)("div",{className:"spin",children:[(0,M.jsx)(de.A,{style:{fontSize:48},spin:!0}),(0,M.jsx)("p",{className:"status",children:T})]})}),o.length>0&&o.map(((e,s)=>(0,M.jsxs)("div",{className:"image-ai__image-item",children:[(0,M.jsx)(Pe,{images:o}),(0,M.jsx)("div",{className:"buttons",children:"Ready"===F[F.length-1].status&&(0,M.jsx)(h.Ay,{onClick:()=>(e=>{if(!m){p(!0);const s=e.match(/^data:image\/([A-Za-z-+/]+);base64,(.+)$/),l=s[1],i=s[2],a=atob(i),o=new Array(a.length);for(let e=0;e<a.length;e++)o[e]=a.charCodeAt(e);const n=new Uint8Array(o),r=new Blob([n],{type:`image/${l}`}),c=new File([r],"image.jpeg",{type:r.type});t({file:c})}})(`data:image/jpeg;base64, ${e}`),icon:(0,M.jsx)(ze.A,{}),children:u("Use this variant")})})]},s)))]})]})};var $e=s(42811);const We=({setNewLink:e,setCurrentImageLink:t,setModalHeight:s,setModalWidth:i,setImageGifList:a,imageGifList:o,currentReqGif:n,setCurrentReqGif:r,inputRef:c,setStockLink:m,customRequest:p})=>{const{__:u}=(0,j.s9)(),[h,x]=(0,l.useState)(null),[v,f]=(0,l.useState)(!1),[_,y]=(0,l.useState)(25),[A]=(0,ue.eo)(),w=async()=>{var e,t;const l=await A({query:n,page:0});(null===l||void 0===l||null===(e=l.data)||void 0===e||null===(t=e.data)||void 0===t?void 0:t.length)>0&&(a(l.data.data),setTimeout((()=>{s("84vh"),i(1060)}),0))},L=(0,M.jsx)(de.A,{style:{fontSize:20},spin:!0});return(0,M.jsxs)("div",{className:"stock-tab",children:[(0,M.jsxs)(q.A,{onValuesChange:w,className:o.length>0?"serach-results":"",children:[(0,M.jsx)(C.A,{gutter:24,children:(0,M.jsx)(g.A,{span:o.length>0?"":24,children:(0,M.jsx)(q.A.Item,{className:"stock-search-input",children:(0,M.jsx)(ne.A,{onKeyDown:e=>"Space"===e.code&&w(),onPressEnter:e=>w(),allowClear:!0,size:o.length>0?"medium":"large",placeholder:u("Search GIFs"),value:n.keywords,onChange:e=>r((t=>({...t,keywords:e.target.value}))),ref:c,spellCheck:"false",suffix:(0,M.jsx)(Be.A,{onClick:w,className:"cards-search__search-icon, input-icon",style:{fontSize:"16px",cursor:"pointer"}})})})})}),o.length>0&&(0,M.jsx)("div",{className:"blocks-search__divider-wrapper",children:(0,M.jsx)("div",{className:"ant-divider ant-divider-horizontal blocks-search__divider",role:"separator"})})]}),(0,M.jsx)("div",{className:"serach-output-wrapper",style:{marginRight:-10},children:o.length>0&&(0,M.jsx)("div",{id:"scrollableDiv",style:{width:"100%",height:"calc(84vh - 148px)",overflow:"auto",paddingTop:24,paddingRight:14,paddingLeft:24,marginLeft:-24,lineHeight:"0",boxSizing:"unset"},children:(0,M.jsx)(Ne.A,{dataLength:o&&o.length,next:async()=>{v||(f(!0),A({query:n,page:_}).then((e=>{a((t=>[...t,...e.data.data])),f(!1),y((e=>e+25))})).catch((()=>{f(!1)})))},hasMore:o,endMessage:(0,M.jsxs)(d.A,{plain:!0,children:[u("That`s all we could find.")," \ud83e\udd10"]}),scrollableTarget:"scrollableDiv",style:{overflow:"visible"},loader:(0,M.jsx)(re.A,{indicator:L}),children:(0,M.jsx)(Ie.A,{breakpointCols:{default:3},className:"my-masonry-grid",columnClassName:"my-masonry-grid_column",children:o.map(((e,s)=>(0,M.jsxs)("div",{className:"list-item",onClick:()=>{return s=e.images.downsized.url,l=e.id,x(l),setTimeout((()=>{x(null)}),2e3),m(`${s}`),t(`${s}`),void p(`${s}`);var s,l},children:[(0,M.jsx)("img",{className:h===e.id?"loaded-image":"",width:"322px",src:`${e.images.downsized.url}`,alt:e.title,onLoad:e=>e.target.parentNode.classList.add("loaded")}),(0,M.jsx)("a",{rel:"noreferrer",href:"https://giphy.com/",target:"_blank",onClick:e=>e.stopPropagation(),children:(0,M.jsx)("div",{className:"overlay-image",style:{backgroundImage:`url(${$e})`}})}),h===e.id&&(0,M.jsx)(re.A,{className:"ant-spin",indicator:(0,M.jsx)(de.A,{spin:!0})})]},e.id+s)))})})})})]})};var Xe=s(92779),Ye=s(32269);const Je="IMG",Qe="BACKGROUND",et="EDITOR",tt="UPLOAD",st="STOCK",lt="GIF",it="AI",{Dragger:at}=oe.A,ot=()=>{var e,t;const s=(0,k.rD)(),{__:i}=(0,j.s9)(),a=(0,v.wA)(),{projectId:n}=(0,f.g)(),[r,c]=(0,pe.dS)(),[d]=(0,ue.FQ)(),{modal:p}=o.A.useApp(),u=(0,_.hN)(),h=(0,v.d4)(he.B$),C=(0,v.d4)(he.C1),g=(0,v.d4)(Ce.cL),y=(0,v.d4)(ge.js),A=(0,v.d4)(ge.Ac),[w,L]=(0,l.useState)(""),[S,E]=(0,l.useState)(""),[V,H]=(0,l.useState)(""),[N,I]=(0,l.useState)(""),[B,T]=(0,l.useState)(tt),[Z,R]=(0,l.useState)({width:"",height:"",size:"",format:""}),[O,D]=(0,l.useState)("success"),[z,P]=(0,l.useState)(!1),F=l.useRef(null),U=l.useRef(null),G=l.useRef(null),K=l.useRef(null),$=l.useRef(null),W=l.useRef(null),X=l.useRef(null),Y=l.useRef(null),J=l.useRef(null),[Q,ee]=(0,l.useState)("auto"),[te,se]=(0,l.useState)(572),[le,ie]=(0,l.useState)(null),[ae,oe]=(0,l.useState)(!1),[ve,fe]=(0,l.useState)({keywords:"",color:"",orientation:""}),[je,_e]=(0,l.useState)({keywords:""}),[ye,we]=(0,l.useState)([]),[be,ke]=(0,l.useState)([]),[Me,Se]=(0,l.useState)([]),[Ee,He]=(0,l.useState)(!1),[Ne,Ie]=(0,l.useState)(""),[Be,Te]=(0,l.useState)(!1),[Re,Oe]=(0,l.useState)(0),De=(0,v.d4)(xe.yN),ze=(0,Ae.ml)(Le.A.FILE_PROXY_EVENT_ID);let Pe=!(h||(null===(e=C.id)||void 0===e?void 0:e.toString())!==(null===De||void 0===De||null===(t=De.members)||void 0===t?void 0:t.owner.ID))&&!0;const Fe=async e=>{if(e)try{const t=await Ue(e);Ge({url:e}),t&&$e(t)&&ot({file:t})}catch(t){console.error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 URL:",t)}},Ue=async e=>{try{const t=(await ze.fire({url:e,project:De})).filter((e=>e instanceof Blob))[0];if(t)return t;const s=`https://api.emailmaker.ru/tools/file-proxy.php?url=${encodeURIComponent(e)}`,l=await fetch(s);if(!l.ok)throw new Error(`Server returned ${l.status}`);const i=await l.blob();return new File([i],e.split("/").pop(),{type:i.type})}catch(t){console.error("\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u0430:",t)}};document.onpaste=function(e){const t=e.clipboardData.items[0];if(B===tt&&N){if(0===t.type.indexOf("image")){const e=t.getAsFile();$e(e);const s={file:e};E(""),ot(s)}0===t.type.indexOf("text")&&t.getAsString((e=>{"http"===e.slice(0,4)?(E(""),L(e),Ge({url:e})):"meta"===e.toString().slice(1,5)&&(E(""),L(e.toString().split('"')[1]),Ge({url:e.toString().split('"')[1]}))}))}};const qe=(0,l.useMemo)((()=>({IMG:y,BACKGROUND:A})),[y,A]);(0,l.useEffect)((()=>{const e=e=>{let t=null;g.includes("UPLOAD_BACKGROUND_MODAL")?(t=Qe,I(Qe)):g.includes("UPLOAD_IMAGE_MODAL")&&(I(Je),t=Je),qe[t]&&(L(qe[t]),T(e))};g===b.lx.UPLOAD_IMAGE_MODAL||g===b.lx.UPLOAD_BACKGROUND_MODAL?e(et):g===b.lx.UPLOAD_IMAGE_MODAL_AI||g===b.lx.UPLOAD_BACKGROUND_MODAL_AI?(Pe?(Te(!0),Oe(2)):e(it),setTimeout((()=>{var e;return null===(e=J.current)||void 0===e?void 0:e.focus({cursor:"start"})}),100)):g===b.lx.UPLOAD_IMAGE_MODAL_UPLOAD||g===b.lx.UPLOAD_BACKGROUND_MODAL_UPLOAD?(e(tt),setTimeout((()=>{var e;return null===(e=W.current)||void 0===e?void 0:e.focus({cursor:"start"})}),100)):g===b.lx.UPLOAD_IMAGE_MODAL_STOCK||g===b.lx.UPLOAD_BACKGROUND_MODAL_STOCK?(Pe?(Te(!0),Oe(3)):e(st),setTimeout((()=>{var e;return null===(e=Y.current)||void 0===e?void 0:e.focus({cursor:"start"})}),100)):g===b.lx.UPLOAD_IMAGE_MODAL_GIF||g===b.lx.UPLOAD_BACKGROUND_MODAL_GIF?(Pe?(Te(!0),Oe(3)):e(lt),setTimeout((()=>{var e;return null===(e=X.current)||void 0===e?void 0:e.focus({cursor:"start"})}),100)):g===b.lx.UPLOAD_IMAGE_MODAL_EDIT||g===b.lx.UPLOAD_BACKGROUND_MODAL_EDIT?(Pe?(Te(!0),Oe(5)):e(et),a((0,Ce.Wz)(b.lx.IMAGE_EDITOR_MODAL))):I("")}),[g,a,Pe,qe]);const Ge=(0,l.useCallback)((({url:e=w||""})=>{L(e),N===Je&&a((0,ge.tm)(e)),N===Qe&&a((0,ge.e_)(e)),setTimeout((()=>{fe({keywords:"",color:"",orientation:""}),_e({keywords:""}),ke([]),we([]),I(""),Ie(""),He(!1),H(""),E(""),T(tt)}),200),a((0,Ce.Oo)()),a((0,Ce.Os)())}),[w,a,N]);(0,l.useEffect)((()=>{const e=S||V;e?(0,Ye.DI)(e).then((t=>{D(t),se(572),setTimeout((()=>{let e=0;U.current&&(e=U.current.offsetHeight+62),ee(e)}),0),Ge(e)})).catch((e=>{D(e)})):D("")}),[S,V,Ge]),(0,l.useEffect)((()=>{w&&d(w).then((({data:e})=>{R({width:null===e||void 0===e?void 0:e.width,height:null===e||void 0===e?void 0:e.height,size:((null===e||void 0===e?void 0:e.fileSize)/1024).toFixed(2),format:null===e||void 0===e?void 0:e.format})}))}),[w,d]);(0,l.useEffect)((()=>{var e;""===ve.keywords&&(null===W||void 0===W||null===(e=W.current)||void 0===e||e.focus({cursor:"start"}),ke([]),setTimeout((()=>{ee("auto"),se(572)}),0))}),[ve,ke,ee,se]);const $e=e=>{const t="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/webp"===e.type||"image/gif"===e.type||"image/svg+xml"===e.type;return t||u.error({id:"IMAGE_UPLOAD_WRONG_FORMAT",data:e,message:"Upload",description:"You can only upload JPG/JPEG/PNG/WEBP/GIF/SVG file!",placement:"bottomRight"}),t},ot=({file:e})=>{const t="image/svg+xml"===e.type,l="image/webp"===e.type,a=e=>{const t=new Image;t.src=URL.createObjectURL(e),t.onload=()=>{(async e=>{oe(!0);const t=e.file;try{"image/gif"!==t.type&&(e.file=await(0,me.A)(t,{maxSizeMB:s.compressMaxSize||.45,maxWidthOrHeight:s.compressMaxWidthOrHeight||2e3})),r(e).then((({error:e,data:s})=>{var l;if(e)u.fromError("IMAGE_UPLOAD_ERROR",t,e);else if(400===(null===s||void 0===s||null===(l=s.data)||void 0===l?void 0:l.status))u.error({id:"IMAGE_UPLOAD_ERROR",data:t,innerException:null===s||void 0===s?void 0:s.data,message:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:s.code}}),description:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:s.message}}),placement:"bottomRight"});else{var a;const e=null===s||void 0===s||null===(a=s[0])||void 0===a?void 0:a.file_url;e&&(ee("auto"),P(!1),Ge({url:e})),u.success({id:"IMAGE_UPLOAD_SUCCESS",data:t,message:i("The image was successfully uploaded.")})}})).catch((e=>{console.warn("e",e)})).finally((()=>{oe(!1)}))}catch(l){console.error(l),oe(!1)}})({user_id:C.id,folder:n,file:e})}};t?((e,t)=>{const s=new FileReader;s.onload=function(s){const l=s.target.result,i=new Blob([l],{type:"image/svg+xml;charset=utf-8"}),a=URL.createObjectURL(i),o=new Image;o.onload=function(){const s=document.createElement("canvas");s.width=2*o.width,s.height=2*o.height,s.getContext("2d").drawImage(o,0,0,s.width,s.height),s.toBlob((s=>{const l=new File([s],e.name.replace(".svg",".png"),{type:"image/png"});t(l),URL.revokeObjectURL(a)}),"image/png")},o.src=a},s.readAsText(e)})(e,(e=>a(e))):l?((e,t,s=90)=>{const l=new Image;l.src=URL.createObjectURL(e),l.onload=()=>{const e=document.createElement("canvas");e.width=l.width,e.height=l.height;const i=e.getContext("2d");i.imageSmoothingEnabled=!0,i.imageSmoothingQuality="high",i.drawImage(l,0,0,e.width,e.height),e.toBlob((e=>{const s=new File([e],"converted.jpg",{type:"image/jpeg"});t(s)}),"image/jpeg",s/100)},l.onerror=e=>{console.error("Error loading image:",e),t(null)}})(e,(e=>a(e))):a(e)},nt=e=>ot({file:e});let rt=[{label:i("Upload"),key:tt,children:(0,M.jsxs)("div",{ref:F,style:{paddingBottom:24},children:[(0,M.jsxs)(at,{showUploadList:!1,name:"Image",beforeUpload:$e,customRequest:ot,style:{marginBottom:10},multiple:!1,accept:"image/png, image/jpeg, image/jpg, image/webp, image/gif, image/svg+xml",children:[(0,M.jsx)("p",{className:"ant-upload-drag-icon",children:(0,M.jsx)(ce.A,{})}),(0,M.jsx)("p",{className:"ant-upload-text",children:i("Click to select, paste from the clipboard, or drag and drop")}),(0,M.jsx)("p",{className:"ant-upload-hint",children:i("Accepted formats: PNG, JPG, WEBP, SVG or GIF.")})]}),(0,M.jsx)(q.A,{style:{padding:"0 2px 0 2px"},children:(0,M.jsx)(q.A.Item,{validateStatus:O,children:(0,M.jsx)(ne.A,{ref:W,allowClear:!0,size:"large",placeholder:i("Paste image URL here"),value:S,onChange:e=>{const t=e.target.value;E(t),le&&clearTimeout(le);const s=setTimeout((()=>Fe(t)),1e3);ie(s)},spellCheck:"false"})})})]})}];s.imageCenterStockEnabled&&!Pe&&rt.push({label:i("Stock"),key:st,children:(0,M.jsx)("div",{ref:G,style:{paddingBottom:24},children:(0,M.jsx)(Ze,{currentReq:ve,setCurrentReq:fe,imageStockList:be,setImageStockList:ke,setModalWidth:se,setModalHeight:ee,setStockLink:H,setCurrentImageLink:L,inputRef:Y,customRequest:Fe})})}),s.imageCenterGifEnabled&&!Pe&&rt.push({label:i("GIF"),key:lt,children:(0,M.jsx)("div",{ref:K,style:{paddingBottom:24},children:(0,M.jsx)(We,{currentReqGif:je,setCurrentReqGif:_e,imageGifList:ye,setImageGifList:we,setModalWidth:se,setModalHeight:ee,setStockLink:H,setCurrentImageLink:L,inputRef:X,customRequest:Fe})})}),s.elementAIimageEnabled&&!Pe&&rt.push({label:i("AI"),key:it,children:(0,M.jsx)("div",{ref:$,style:{paddingBottom:24},children:(0,M.jsx)(Ke,{setModalHeight:ee,customRequest:ot,aiImageRequest:Ne,setAiImageRequest:Ie,imageAiList:Me,setImageAiList:Se,isLoadingAi:Ee,setIsLoadingAi:He,aiTabRef:$,inputAiRef:J,isImageUploaded:z,setIsImageUploaded:P})})}),s.imageCenterEditorEnabled&&rt.push({label:"",key:et,children:(0,M.jsx)("div",{ref:U,children:(0,M.jsx)(Ve,{currentImageLink:w,newLink:S,imageSize:Z,onSave:nt,uploadImageResultIsLoading:c.isLoading||!1})})});const ct=(0,M.jsx)(de.A,{style:{fontSize:32,margin:-16},spin:!0});return(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(x.A,{width:te,className:"image-center blocks-modal",title:i("Image Center"),centered:!0,style:{minHeight:390},open:!!N,onOk:Ge,onCancel:()=>{a((0,Ce.Oo)()),setTimeout((()=>{L(""),E(""),ke([]),ke([]),fe({keywords:"",color:"",orientation:""}),_e({keywords:""}),ee("auto"),!Ee&&Ie(""),se(572),T(tt)}),200)},footer:B===et?(0,M.jsx)(M.Fragment,{}):null,children:(0,M.jsx)(re.A,{spinning:ae,indicator:ct,children:(0,M.jsx)(m.A,{activeKey:B,onChange:e=>{"GALLERY"===e?p.success({maskClosable:!0,centered:!0,title:i("Coming soon"),content:i("The feature is under development."),okText:i("Ok. I'll be waiting"),onOk:()=>{}}):e===et&&""===w?p.warning({maskClosable:!0,centered:!0,title:i(""),content:i("To preview and edit the uploaded image"),okText:i("Upload Image"),onOk:()=>{T(tt)}}):(setTimeout((()=>{let t=0,s=0;var l;if(e===tt&&F.current)""===ve.keywords&&(null===(l=W.current)||void 0===l||l.focus({cursor:"start"})),t=300,s=572;else if(e===et&&U.current)t=U.current.offsetHeight+62,s=572;else if(e===st&&G.current){var i;""===ve.keywords&&(null===(i=Y.current)||void 0===i||i.focus({cursor:"start"})),t=130,s=572,be.length>0&&(s=1060,t="84vh")}else if(e===lt&&K.current){var a;""===ve.keywords&&(null===(a=X.current)||void 0===a||a.focus({cursor:"start"})),t=130,s=572,ye.length>0&&(s=1060,t="84vh")}else if(e===it&&$.current){var o;if(""===Ne&&0===Me.length)null===(o=J.current)||void 0===o||o.focus({cursor:"start"}),t=130;else t=$.current.offsetHeight+82;s=572}ee(t),se(s)}),0),T(e))},items:rt,style:{height:Q,minHeight:130}})})}),(0,M.jsx)(Xe.A,{open:Be,onCancel:()=>Te(!1),initialSlide:Re})]})};var nt=s(57806),rt=s(49246),ct=s(86739),dt=s(84568),mt=s(39738),pt=s(32411);const ut=({emailElement:e})=>{const{__:t}=(0,j.s9)(),s=(0,J.XW)(),i=(0,v.wA)(),{projectId:a}=(0,f.g)(),o=(0,pt.fn)(),n=(0,v.d4)(mt.p1),r=(0,v.d4)(mt.RL),c=(0,v.d4)(te.Wm),[d,p]=(0,l.useState)(!0),[u,C]=(0,l.useState)(!1),[g,x]=(0,l.useState)([]),[_,y]=(0,l.useState)([]),w=e=>i((0,te.mi)(e)),L=(0,l.useCallback)((e=>{i((0,X.no)(e)),o.setValue(null===e||void 0===e?void 0:e.html.replaceAll("\r\n","\n"))}),[o,i]),{data:k}=dt.Nq.useGetProjectQuery(Number(a),{skip:!a}),[S,E]=(0,l.useState)([]);(0,l.useEffect)((()=>{if(k){const{owner:e,admins:t,users:s}=null===k||void 0===k?void 0:k.members;E([e&&{...e},t&&Array.isArray(t)&&t.map((e=>({...e}))),s&&Array.isArray(s)&&s.map((e=>({...e})))].filter((e=>e)).flat(1).map((e=>({id:e.ID,display_name:e.display_name}))))}}),[k,null===k||void 0===k?void 0:k.members,t]);const[V,H]=(0,l.useState)(1),[N,I]=(0,l.useState)(!1);(0,l.useEffect)((()=>{const e=Array.isArray(n)&&n.length&&(null===n||void 0===n?void 0:n.map((e=>{var s;return{key:e.id,author:e.author,date:(0,Ye.Yq)((0,Ye.Cl)(e.date||e.modified),t),title:e.title,html:e.html,common_styles:e.common_styles,loading:!1,isAutosave:null===(s=e.slug)||void 0===s?void 0:s.includes("autosave")}})));y(e||[]),x(e),p(!1),r<2&&I(!0)}),[n,r,t]);const B=d||u||N?null:(0,M.jsx)("div",{style:{textAlign:"center",marginTop:24,marginBottom:24,height:32,lineHeight:"32px"},children:(0,M.jsx)(h.Ay,{onClick:()=>{C(!0),y(g.concat([...new Array(3)].map((()=>({loading:!0}))))),i(ct.GY.endpoints.getEmailHistory.initiate({emailId:e.id,page:V+1})).then((e=>{const{data:s,totalPages:l}=e.data,i=Array.isArray(s)&&(null===s||void 0===s?void 0:s.map((e=>({key:e.id,author:e.author,date:(0,Ye.Yq)((0,Ye.Cl)(e.date||e.modified),t),title:e.title,html:e.html,loading:!1})))),a=g.concat(i);y(a),x(a),C(!1),window.dispatchEvent(new Event("resize")),V+1>=l&&I(!0),H(V+1)}))},children:t("loading more")})}),[T,Z]=(0,l.useState)(),[R,D]=(0,l.useState)(null),z=(0,l.useRef)();return z.current=e,(0,l.useEffect)((()=>{if(!c&&!R){const e=z.current;e&&D({html:o.getValue(),preheader:e.preheader,common_styles:e.common_styles,subject:e.subject})}}),[c,D,o,R]),(0,l.useEffect)((()=>{c&&R&&(L(R),D(null))}),[c,R,L]),(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(m.A,{className:"secondary-tabs email-settings__collapse secondary-tabs_unset_scroll",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:b.Vv,items:[{label:(0,M.jsx)(M.Fragment,{children:t("Version history")}),key:b.Vv,forceRender:!0,className:"email-settings__collapse-panel",style:{height:"100%"},children:(0,M.jsx)(nt.A,{className:"history-panel__list",loading:d,itemLayout:"horizontal",loadMore:B,dataSource:_,header:(0,M.jsxs)("div",{className:"history-panel__list-header",children:[(0,M.jsx)("div",{className:"history-panel__list-date",children:t("Time")}),(0,M.jsx)("div",{className:"history-panel__list-author",children:t("Author")}),(0,M.jsx)("div",{className:"history-panel__restore",children:"Set"})]}),renderItem:(e,l)=>{var a;return(0,M.jsx)(nt.A.Item,{onClick:()=>{l!==T&&(Z(l),L(g[l])),i((0,Y.rc)(!0))},className:A()("history-panel__item",{"history-panel__item_active":l===T}),children:(0,M.jsxs)(rt.A,{title:!1,loading:e.loading||!1,active:!0,children:[(0,M.jsx)("div",{className:"history-panel__list-date",children:e.date}),(0,M.jsx)("div",{className:"history-panel__list-author",children:(null===(a=S.find((t=>{var s,l;return(null===(s=t.id)||void 0===s?void 0:s.toString())===(null===(l=e.author)||void 0===l?void 0:l.toString())})))||void 0===a?void 0:a.display_name)||"\u2013"}),e.isAutosave&&T!==l&&(0,M.jsx)("div",{style:{opacity:.45},className:"history-panel__list-autosave",children:t("Auto")}),!e.isAutosave&&(0,M.jsx)(h.Ay,{size:"small",className:"history-panel__restore",type:"link",onClick:e=>{T===l&&e.stopPropagation(),L(g[l]),Z(null),D(null),s({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1}),i((0,te.Fk)())},children:t("Set")}),e.isAutosave&&T===l&&(0,M.jsx)(h.Ay,{size:"small",className:"history-panel__restore",type:"link",onClick:e=>{T===l&&e.stopPropagation(),L(g[l]),w(!0),Z(null),D(null),s({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1})},children:t("Set")})]})})}})}]}),(0,M.jsx)(h.Ay,{type:"text",className:"ant-modal-close","aria-label":"Close",onClick:()=>{i((0,te.Fk)()),L(R),D(null),w(!0),s({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1})},children:(0,M.jsx)(O.A,{icon:"Close"})})]})};var ht=s(3185),Ct=s(86529),gt=s(7228);const xt=({elementPath:e})=>{const{_x:t}=(0,j.s9)(),s=(0,v.wA)(),i=(0,J.QC)(),a=(0,l.useCallback)((e=>{i.send({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_SET,index:e})}),[i]),o=(0,l.useCallback)((()=>{s((0,te.PM)(b.rY)),i.send({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1}),i.send({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_RESET})}),[i,s]),n={title:(0,M.jsxs)("span",{onClick:o,children:[(0,M.jsx)(O.A,{icon:"Email"})," ",t("Email","letter")]})},[r,c]=(0,l.useState)([n]),d=(0,l.useCallback)((e=>{i.send({operation:b.Ru.SANDBOX_ELEMENT_HOVER_SET,index:e})}),[i]),m=(0,l.useCallback)(((e,t)=>{return(0,M.jsxs)("span",{className:e.className,onClick:()=>{a(t)},onMouseOver:()=>{d(t)},children:[(s=e.className,s.includes("em-element-path-item-text")?(0,M.jsx)(O.A,{icon:"ElementText"}):s.includes("em-element-path-item-image")?(0,M.jsx)(O.A,{icon:"ElementImage"}):s.includes("em-element-path-item-link")?(0,M.jsx)(gt.A,{}):s.includes("em-element-path-item-atom")?(0,M.jsx)(O.A,{icon:"Atom"}):s.includes("em-element-path-item-column")?(0,M.jsx)(O.A,{icon:"Column"}):s.includes("em-element-path-item-block")?(0,M.jsx)(O.A,{icon:"Block"}):s.includes("em-element-path-item-group")?(0,M.jsx)(O.A,{icon:"Group"}):s.includes("em-element-path-item-button")?(0,M.jsx)(O.A,{icon:"Button"}):s.includes("em-element-path-item-table")?(0,M.jsx)(O.A,{icon:"Table"}):s.includes("em-element-path-item-amp")?(0,M.jsx)(O.A,{icon:"AMP"}):void 0)," ",e.title]});var s}),[a,d]);return(0,l.useEffect)((()=>{if(e){const s=e.map(((e,t)=>({title:m(e,t)})));c([{title:(0,M.jsxs)("span",{onClick:o,children:[(0,M.jsx)(O.A,{icon:"Email"})," ",t("Email","letter")]})},...s])}}),[e,m,o,t]),(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(Ct.A,{items:r,type:"separator",separator:""})})};var vt=s(26201),ft=s(84612),jt=s(58819),_t=s(18777),yt=s(18398),At=s(53204),wt=s(34524),Lt=s(39990),bt=s(64037),kt=s(92756);const Mt=(e,t)=>(0,M.jsx)(t,{className:"email-pane__tab-bar",...e}),{Content:St}=i.A,{useToken:Et}=a.A,Vt=(0,l.memo)((e=>(0,M.jsx)(le.A,{...e}))),Ht=(0,l.memo)((e=>(0,M.jsx)(N,{...e}))),Nt=(0,l.memo)((e=>(0,M.jsx)(I.A,{...e}))),It=(0,l.memo)((e=>(0,M.jsx)(ae.A,{...e}))),Bt=(0,l.memo)((0,l.forwardRef)(((e,t)=>(0,M.jsx)(ie.A,{...e,ref:t})))),Tt=(0,l.memo)((e=>(0,M.jsx)(Z.A,{...e}))),Zt=(0,l.memo)((e=>(0,M.jsx)(S,{...e}))),Rt=(0,l.memo)((e=>(0,M.jsx)(ut,{...e}))),Ot=({emailElement:e,isSuccess:t,setIsCollaborationEditor:s})=>{var a,y,w,L,S,E,V;const{__:H,_x:N}=(0,j.s9)(),I=(0,J.QC)(),{emailId:Z,blockId:D,projectId:z}=(0,f.g)(),P=(0,v.wA)(),{modal:F}=o.A.useApp(),U=(0,k.rD)(),{token:q}=Et(),G=(0,_.hN)(),K=(0,ye.p6)(),$=(0,v.d4)(te.B),W=(0,v.d4)(he.C1),Q=(0,v.d4)(he.B$),ee=(0,v.d4)(Ce.cL),le=(0,v.d4)(te.NQ),ie=(0,v.d4)(X.qX),ae=(0,v.d4)(Y.qX),oe=(0,v.d4)(te.Fv),ne=(0,v.d4)(te.yy),re=(0,v.d4)(wt.D2),ce=(0,v.d4)(wt.jr),de=(0,v.d4)(wt.hc),me=(0,v.d4)(te.Tn),[pe]=(0,jt.Ll)(),[ue,ge]=(0,l.useState)(!1),[ve,fe]=(0,l.useState)(),[je,_e]=(0,l.useState)(U.defaultBuildPanel||"empty"),[Ae,we]=(0,l.useState)("empty"),[Le,be]=(0,l.useState)(!1),[ke,Me]=(0,l.useState)([]),[Se,Ee]=(0,l.useState)(!1),[Ve,He]=(0,l.useState)([]),Ne=(0,v.d4)(xe.yN);let Ie=!Q&&(null===(a=W.id)||void 0===a?void 0:a.toString())===(null===Ne||void 0===Ne||null===(y=Ne.members)||void 0===y?void 0:y.owner.ID)&&!0;const Be=!b.EW.isPlugin||((null===U||void 0===U?void 0:U.configSwither)||!1);(0,l.useEffect)((()=>{P((0,te.sy)())}),[P]),(0,l.useEffect)((()=>{const e=window.localStorage.getItem(b.V0.em_active_tab);e&&P((0,te.PM)(e))}),[K,P]);const Te=Z||D,Ze=e.hasOwnProperty("type")?b.IE:b.Tm,Re=Ze===b.Tm?ie:ae,[Oe,De]=(0,l.useState)({}),ze=(0,l.useRef)(null),Pe=(0,l.useRef)(),Fe=(0,l.useRef)(),Ue=(0,l.useRef)(),qe=(0,l.useRef)(),Ge=(0,l.useRef)(),Ke=(0,l.useRef)(null),$e=(0,l.useRef)(!1),[We,Je]=(0,l.useState)(!1),[Qe,et]=(0,l.useState)(!1),[tt]=(0,Lt.b9)(),[st,lt]=(0,l.useState)(!1),[it,at]=(0,l.useState)(0),[nt,rt]=(0,l.useState)(b.EW.isPlugin?"pro"===localStorage.getItem("configSwither"):"pro"===W.email_builder_config||Q||(null===(w=W.id)||void 0===w?void 0:w.toString())!==(null===Ne||void 0===Ne||null===(L=Ne.members)||void 0===L?void 0:L.owner.ID)),[ct,dt]=(0,l.useState)("FreeMode"),mt=b.EW.isPlugin?U.configSwither&&"pro"===U.mode?"DesignerMode":"EditorMode":nt?"DesignerMode":"EditorMode",pt=(0,l.useCallback)((()=>{clearTimeout(Ke.current);const e=".blocks-search__result-holder";document.querySelector(e)&&(re||ce||de)&&(document.querySelector(e).style.removeProperty("transition"),document.querySelector(e).style.opacity=0,document.querySelectorAll(".blocks-search__result-body").forEach((e=>e.style.removeProperty("height"))),Ke.current=setTimeout((()=>{document.querySelectorAll(".blocks-search__result-body").forEach((e=>{e.style.height=207*e.getBoundingClientRect().height/660+"px"})),document.querySelector(e)&&(document.querySelector(e).style.transition="opacity 0.2s",document.querySelectorAll(e).forEach((e=>e.style.opacity=1)))}),200))}),[ce,re,de]);function ut(e){setTimeout((()=>{Je(e.target.closest(".desktop_view")),et(e.target.closest(".mobile_view"))}),100)}(0,l.useEffect)((()=>(document.addEventListener("mouseover",ut),()=>{document.removeEventListener("mouseover",ut)})),[]),(0,l.useEffect)((()=>{P((0,te.wr)(ue?b.ND:b.Vp))}),[ue,P]),(0,l.useEffect)((()=>{"function"===typeof s&&(Ve.length>0?s(!0):s(!1))}),[Ve]);const[Ct]=(0,ft.EQ)(),{data:gt={},refetch:Ot,status:Dt}=(0,ft.gb)({entity_id:Te},{skip:!Te}),[zt,Pt]=(0,l.useState)([]),[Ft,Ut]=(0,l.useState)(""!==U.defaultBuildPanel?b.nA:b.Jy),[qt,Gt]=(0,l.useState)(null),Kt=(0,l.useCallback)((()=>{var e;const t=null===(e=Fe.current)||void 0===e?void 0:e.getBoundingClientRect(),s=null===ve||void 0===ve?void 0:ve.getBoundingClientRect();I.send({operation:b.Ru.SANDBOX_WINDOW_CHARACTERISTIC,settings:{iframeOffsetTop:oe&&"bottom"!==ne?0:30,scrollTop:-(null===t||void 0===t?void 0:t.top)+(null===s||void 0===s?void 0:s.top)+30,innerHeight:window.innerHeight,previewHeight:null===s||void 0===s?void 0:s.height,mode:oe&&"bottom"!==ne?"code":"default"}})}),[ne,oe,ve,I]),$t=t&&e,Wt=(0,l.useCallback)((e=>{const t=window.navigator.platform.match("Mac");U.codeEnabled&&U.codeSideEnabled&&e.altKey&&88===e.keyCode&&(P((0,te.vs)()),Ie&&(lt(!0),at(1))),((t?e.metaKey:e.ctrlKey)&&e.shiftKey&&76===e.keyCode||(t?e.metaKey:e.ctrlKey)&&e.shiftKey&&69===e.keyCode||(t?e.metaKey:e.ctrlKey)&&e.shiftKey&&82===e.keyCode)&&e.preventDefault()}),[P,U.codeEnabled,Ie,U.codeSideEnabled]),Xt=(0,l.useCallback)((t=>{document.querySelector(".easylogic-colorpicker")||t.target.closest(".email-pane__collapse-wrapper")||t.target.closest(".selected-element-panel__columns-settings__controls__column__remove")||t.target.closest(".email-preview__content-col_main")||t.target.closest(".email-preview-menu")||t.target.closest(".monaco-editor")||t.target.closest(".main__pane-close-btn")||t.target.closest(".main__pane-trigger")||t.target.closest(".ant-modal-wrap")||t.target.closest(".email-pane__sizes")||t.target.closest(".ant-input-clear-icon")||qt||t.target.closest(".email-preview-menu__history")||t.target.closest(".selected-element-panel-content")||t.target.closest(".toggle_view")||t.target.closest(".upload-bg-image__menu")||t.target.closest(".email-pane__paths")||t.target.closest(".ant-tabs-extra-content")||t.target.closest(".anticon-delete")||ee===b.lx.UPLOAD_IMAGE_MODAL||ee===b.lx.UPLOAD_IMAGE_MODAL_AI||ee===b.lx.UPLOAD_IMAGE_MODAL_UPLOAD||ee===b.lx.UPLOAD_IMAGE_MODAL_EDIT||ee===b.lx.IMAGE_EDITOR_MODAL||ee===b.lx.UPLOAD_BACKGROUND_MODAL||($===b.yI&&(P((0,te.Fk)()),I.send({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_RESET}),Me([])),P((0,te.mi)(!0)),I.send({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1}),setTimeout((()=>{e.type?P((0,Y.A9)({type:null})):P((0,X.A9)({type:null}))}),300)),Gt(null)}),[P,e.type,ee,qt,$,I]),[Yt,Jt]=(0,l.useState)(!0),{data:Qt=[],refetch:es}=(0,_t.Cf)(Te,{skip:!Te}),[ts,ss]=(0,l.useState)(""),[ls,is]=(0,l.useState)("");(0,l.useEffect)((()=>{Te&&es()}),[$,Te,es]),(0,l.useEffect)((()=>{Te&&!Object.keys(gt).length&&"fulfilled"===Dt&&Ot()}),[$,Te,Ot,gt,Dt]),(0,l.useEffect)((()=>{var e;const t=new Ye.jG,s=window.localStorage.getItem(b.V0.em_active_tab);if(0===(null===gt||void 0===gt?void 0:gt.totalCount)&&"pending"!==Dt){const e={project_id:z,connection:"chat",entity_id:Te,context:"default",locale:W.locale.slice(0,2)};s||Ct({body:e}).then((()=>{t.isDisposed()||"fulfilled"===Dt&&Ot()}))}const l={data:{role:"assistant",message:"\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u0442",isLoading:!0}};var i,a;(null===gt||void 0===gt||null===(e=gt.documents)||void 0===e?void 0:e.length)>0?(window.localStorage.removeItem(b.V0.em_active_tab),Pt(null===gt||void 0===gt?void 0:gt.documents),null!==gt&&void 0!==gt&&null!==(i=gt.documents[(null===gt||void 0===gt||null===(a=gt.documents)||void 0===a?void 0:a.length)-1].data)&&void 0!==i&&i.userInfo&&Pt([...null===gt||void 0===gt?void 0:gt.documents,l])):s||Pt([l]);return()=>t.dispose()}),[Te,W.locale,null===gt||void 0===gt?void 0:gt.totalCount,null===gt||void 0===gt?void 0:gt.documents,z,Ot,Ct,Dt]),(0,l.useEffect)((()=>{De({}),P(Ze===b.Tm?(0,X.A9)({}):(0,Y.A9)({}))}),[P,Ze]);const as=(0,l.useCallback)((e=>{P((0,X.G_)(e))}),[P]),os=(0,l.useCallback)((e=>{P((0,Y.Dz)(e))}),[P]),ns=(0,l.useCallback)((e=>{P(Ze===b.Tm?(0,X.A9)(e):(0,Y.A9)(e))}),[P,Ze]);(0,l.useEffect)((()=>{const e=qe.current,t=Ue.current;fe(oe?t:e)}),[oe,ne]);const rs=(0,l.useCallback)((e=>{_e(e),"search"===e?be(!0):(be(!1),we(e)),setTimeout(pt,50)}),[pt]),cs=(0,l.useCallback)((e=>{const t=e.data.operation,s=e.data,l=e.data.action;if(t===b.Ru.APPLICATION_SCROLL_TO&&setTimeout((()=>{var t;null===(t=Ue.current)||void 0===t||t.scrollTo({top:e.data.settings.value,behavior:"smooth"})}),100),t===b.Ru.APPLICATION_ACTION&&"toggle_editor"===l&&P((0,te.vs)()),t===b.Ru.APPLICATION_IFRAME_SET_HEIGHT&&(document.querySelector(".email-pane__iframe").style.height=s.settings.height+"px"),t===b.Ru.APPLICATION_EMAIL_SETTINGS_SET){let e=Object.assign({},s.settings);delete e.preheader;Object.values(e).every((e=>!e))?(P((0,X.M7)(!0)),P((0,te.Fk)())):as(s.settings),s.settings.noBlocks&&console.log("No blocks detected."),P((0,te.wW)(s.settings.responsive)),Jt(e.structuresMedia)}if(t===b.Ru.APPLICATION_BLOCK_SETTINGS_SET){Object.values(s.settings).every((e=>!e))?(P((0,Y.rc)(!0)),P((0,te.Fk)())):(os(s.settings),Jt(s.settings.structuresMedia))}if(t===b.Ru.APPLICATION_ELEMENT_SETTINGS_SET){var i,a;const e=Object.values(b.bV),t=!!s.tab||!e.includes(s.type);var o;if(t&&$===b.yI&&P((0,te.Fk)()),s.type===b.bV.EMPTY_TABLE||s.type===b.bV.EMPTY_TD?(P((0,te.PM)(b.Bv)),s.type===b.bV.EMPTY_TABLE?(Ut(b.nA),s.tab?rs(s.tab):rs("common")):s.type===b.bV.EMPTY_TD&&Ut(b.Jy)):s.type&&$!==b.yI&&P((0,te.PM)(b.yI)),s.type===b.bV.CAROUSEL||s.type===b.bV.ACCORDION?(De({settings:{...s.settings,type:t?null:s.type,caption:s.caption,parent:t?null:s.settings.parent},type:t?null:s.type,parent:t?null:s.settings.parent,caption:s.caption}),ns({})):(ns({...s.settings,type:t?null:s.type,parent:t?null:s.settings.parent,caption:s.caption}),De({})),(null===(i=s.settings)||void 0===i||null===(a=i.path)||void 0===a?void 0:a.length)>0)Me(null===(o=s.settings)||void 0===o?void 0:o.path)}t===b.Ru.APPLICATION_ELEMENT_SETTINGS_CLOSE&&P((0,te.Fk)())}),[P,as,os,ns,$,rs]);(0,l.useEffect)((()=>{var e,t;W.email_builder_config&&(rt(b.EW.isPlugin?"pro"===localStorage.getItem("configSwither"):"pro"===W.email_builder_config||Q||(null===(e=W.id)||void 0===e?void 0:e.toString())!==(null===Ne||void 0===Ne||null===(t=Ne.members)||void 0===t?void 0:t.owner.ID)),P((0,yt.EV)(W.email_builder_config)))}),[W.email_builder_config,P]),(0,l.useEffect)((()=>{var e,t;oe&&Ie&&P((0,te.vs)()),Q||(null===(e=W.id)||void 0===e?void 0:e.toString())!==(null===Ne||void 0===Ne||null===(t=Ne.members)||void 0===t?void 0:t.owner.ID)?"simple"===U.mode&&(tt({email_builder_config:"pro"}),localStorage.setItem("configSwither","pro"),P((0,yt.EV)("pro"))):(tt({email_builder_config:"simple"}),localStorage.setItem("configSwither","simple"),P((0,yt.EV)("simple")))}),[]);const ds=e=>{var t,s;(Q||(null===(t=W.id)||void 0===t?void 0:t.toString())!==(null===Ne||void 0===Ne||null===(s=Ne.members)||void 0===s?void 0:s.owner.ID))&&rt((e=>!e)),setTimeout((()=>{var t,s;if(Q||(null===(t=W.id)||void 0===t?void 0:t.toString())!==(null===Ne||void 0===Ne||null===(s=Ne.members)||void 0===s?void 0:s.owner.ID)){let t="DesignerMode"===e?"pro":"editor";tt({email_builder_config:t}),localStorage.setItem("configSwither",t),P((0,yt.EV)(t))}else P((0,yt.EV)("pro")),dt("DesignerMode"),lt(!0)}),200)};(0,bt.A)(cs);const ms=(0,l.useRef)(),[ps,us]=(0,l.useState)("unset"),hs=(0,l.useCallback)((()=>{var e,t;let s;const l=null===(e=Ue.current)||void 0===e?void 0:e.getBoundingClientRect();if((null===ms||void 0===ms||null===(t=ms.current)||void 0===t?void 0:t.getBoundingClientRect().top)>=0){const e=l&&Math.round(l&&(null===l||void 0===l?void 0:l.height)-30);ms.current.style.height=`${e}px`,us(e-30)}s&&window.clearTimeout(s),s=window.setTimeout((function(){I.isInited()&&Kt()}),100)}),[Kt,I]);(0,l.useEffect)((()=>($===b.z$?ze.current=setInterval((()=>{Ot({entity_id:Te})}),5e3):clearInterval(ze.current),clearInterval(ze.current))),[Te,Ot,$]);const Cs=window.localStorage.getItem(b.V0.em_code_mode_pane_sizes),[gs,xs]=(0,l.useState)(+Cs||50),vs=()=>{let e=document.querySelector(".block-search__preview");e&&(e.style.opacity="0",e.style.transform="translateX(-99%)",setTimeout((function(){e.remove()}),300))};let fs=[];U.blocksEmptyEnabled&&fs.push({label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:H("Empty blocks"),children:(0,M.jsx)("div",{style:{paddingTop:4},children:(0,M.jsx)(O.A,{icon:"BorderOuterOutlined",style:{fontSize:18}})})}),value:"empty"}),U.blocksSavedEnabled&&fs.push({label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:H("Saved blocks"),children:(0,M.jsx)("div",{style:{paddingTop:4},children:(0,M.jsx)(O.A,{icon:"AppstoreAddOutlined",style:{fontSize:18}})})}),value:"project"}),U.blocksCommonEnabled&&fs.push({label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:H("Common blocks"),children:(0,M.jsx)("div",{style:{paddingTop:4},children:(0,M.jsx)(O.A,{icon:"AppstoreOutlined",style:{fontSize:18}})})}),value:"common"}),U.blocksTemplateEnabled&&fs.push({label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:H("Template blocks"),children:(0,M.jsx)("div",{style:{paddingTop:4},children:(0,M.jsx)(O.A,{icon:"BuildOutlined",style:{fontSize:18}})})}),value:"template"}),U.blocksSearchEnabled&&fs.push({label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:H("Blocks search"),children:(0,M.jsx)("div",{style:{paddingTop:4},children:(0,M.jsx)(O.A,{icon:"SearchOutlined",style:{fontSize:18}})})}),value:"search"});let js=[{label:(0,M.jsx)("div",{className:"email-pane__tab",children:H("Elements")}),key:b.Jy,forceRender:!0,className:"email-pane__collapse-panel email-pane__atoms",children:(0,M.jsx)(Tt,{})},{label:(0,M.jsx)("div",{className:"email-pane__tab",children:H("Blocks")}),key:b.nA,forceRender:!0,className:"email-pane__collapse-panel email-pane__blocks-search",style:{height:U.blocksSectionsShow?"calc(100% - 44px)":"100%"},children:(0,M.jsxs)(M.Fragment,{children:[U.blocksSectionsShow&&(0,M.jsxs)(M.Fragment,{children:[(0,M.jsxs)(r.A.Compact,{block:!0,children:[!Le&&(0,M.jsx)(c.A,{block:!0,style:{width:"100%",marginTop:24},onChange:rs,value:je,options:fs}),Le&&(0,M.jsx)("div",{style:{width:"100%",height:36}}),Le&&(0,M.jsx)("div",{style:{width:36,textAlign:"right",marginTop:22},children:(0,M.jsx)(O.A,{icon:"CloseOutlined",style:{padding:"0 2px 0",cursor:"pointer"},onClick:()=>{be(!1),_e(Ae)}})})]}),(0,M.jsx)("div",{className:"blocks-search__divider-wrapper",style:{marginTop:Le?28:12},children:(0,M.jsx)(d.A,{className:"blocks-search__divider"})})]}),(0,M.jsxs)("div",{style:{height:"100%"},children:[(0,M.jsx)("div",{className:"blocks-search__empty-shadow",style:{display:"empty"!==je||Le?"none":"block"},children:Yt?(0,M.jsx)(T.A,{}):(0,M.jsx)(B.A,{})}),(0,M.jsx)("div",{style:{height:U.blocksSectionsShow?"calc(100% - 24px)":"100%",display:"empty"!==je||Le?"block":"none"},children:(0,M.jsx)(Nt,{parentEmailId:null===e||void 0===e?void 0:e.parent_email,blocksTab:je,search:Le,reloadBlockScreens:pt,email:e})})]})]})}],_s=[{disabled:st,key:b.yI,style:{height:U.sidePanelFloating?oe&&"bottom"===ne?ps:"calc(100% - 30px)":"100%"},className:"em-analytics__email-tab-properties",children:(0,M.jsx)(M.Fragment,{children:(!(null===Re||void 0===Re||!Re.type)||!(null===Oe||void 0===Oe||!Oe.type))&&(0,M.jsx)("div",{className:A()("email-pane__collapse-wrapper",{"mobile-view":ue,"mobile-properties":ue&&me!==b.mX}),onMouseLeave:vs,children:(0,M.jsx)(se,{email:e,formSettings:Oe})})})},{disabled:st,key:b.Vv,style:{height:U.sidePanelFloating?oe&&"bottom"===ne?ps:"calc(100% - 30px)":"100%"},className:"em-analytics__email-tab-history",children:$t&&(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",onMouseLeave:vs,children:(0,M.jsx)(Rt,{setCollapsedHistory:()=>P((0,te.mi)(!0)),emailElement:$t})})},{key:b.rb,className:"em-analytics__email-tab-properties"},{disabled:st,label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"left",title:N("Build","tab"),children:(0,M.jsx)(O.A,{icon:"PlusCircleOutlined"})}),key:b.Bv,className:"em-analytics__email-tab-build",style:{height:U.sidePanelFloating?oe&&"bottom"===ne?ps:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)("div",{className:A()("email-pane__collapse-wrapper",{"email-pane__collapse-wrapper_no-topleft-radius":$===b.Bv||!$}),onMouseLeave:vs,children:(0,M.jsx)(m.A,{className:A()("secondary-tabs email-pane__collapse",{"secondary-tabs_unset_scroll":Ft===b.nA}),size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:Ft,onChange:e=>Ut(e||""),items:js})})},{disabled:st,label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",overlayInnerStyle:{border:"2px dot-dash red"},overlayStyle:{border:"2px dot-dash red"},placement:"left",title:N("Styles","tab"),children:(0,M.jsx)(M.Fragment,{children:(0,M.jsx)(O.A,{icon:"Styles"})})}),key:b.rY,className:"em-analytics__email-tab-styles",style:{height:U.sidePanelFloating?oe&&"bottom"===ne?ps:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",children:(0,M.jsx)(Ht,{email:e})})}];U.commentsEnabled&&_s.push({disabled:st,label:(0,M.jsxs)(n.A,{overlayClassName:"email-pane__tooltip",placement:"left",title:N("Discuss","tab"),children:[(0,M.jsx)(O.A,{icon:"CommentOutlined"}),Ie&&(0,M.jsx)(O.A,{icon:"Lock",className:"free-mode-firewall-icon free-mode-firewall-icon_emailpane"}),!!Qt.length&&(0,M.jsx)("span",{className:"email-pane__comment-counter",children:Qt.filter((e=>"deleted"!==e.comment_status)).length})]}),key:b.hc,className:"email-pane__tab-discuss em-analytics__email-tab-discuss",style:{height:U.sidePanelFloating?oe&&"bottom"===ne?ps:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",children:(0,M.jsx)(m.A,{className:"secondary-tabs email-settings__collapse",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:b.hc,items:[{label:(0,M.jsx)(M.Fragment,{children:H("Discuss")}),key:b.hc,forceRender:!0,className:"email-settings__collapse-panel",children:Te?(0,M.jsx)(R.A,{email:e,comments:Qt,subjectId:Te,isLoggedIn:!0,emailElementType:Ze}):(0,M.jsx)("div",{className:"aside-content-wrapper",children:e.hasOwnProperty("type")?(0,M.jsx)(p.A,{description:H("Save the block before commenting."),type:"info",showIcon:!0,style:{marginBottom:20}}):(0,M.jsx)(p.A,{description:H("Save the email before commenting."),type:"info",showIcon:!0,style:{marginBottom:20}})})}]})})});const ys=()=>{pe({entity_id:Te}).then((e=>{e.error?G.error({message:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:e.error.data.code}}),description:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:e.error.data.message}}),placement:"bottomRight"}):e.data.success&&G.success({message:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:H("Success")}}),description:(0,M.jsx)("div",{dangerouslySetInnerHTML:{__html:e.data.success}}),placement:"bottomRight"}),Ot(),Ee(!1)}))};U.aiAssistentEnabled&&_s.push({disabled:st,label:(0,M.jsxs)(n.A,{overlayClassName:"email-pane__tooltip",placement:"left",title:N("AI assistant","tab"),children:[(0,M.jsx)(O.A,{icon:"AI"}),Ie&&(0,M.jsx)(O.A,{icon:"Lock",className:"free-mode-firewall-icon free-mode-firewall-icon_emailpane"}),(null===gt||void 0===gt?void 0:gt.totalCount)>0&&Te&&(0,M.jsx)("span",{className:"email-pane__comment-counter",children:null===gt||void 0===gt?void 0:gt.totalCount})]}),key:b.z$,className:"email-pane__tab-discuss em-analytics__email-tab-discuss",style:{height:U.sidePanelFloating?oe&&"bottom"===ne?ps:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)(M.Fragment,{children:(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",children:(0,M.jsx)(m.A,{className:"secondary-tabs email-settings__collapse",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:b.z$,tabBarExtraContent:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"top",title:H("Clear chat"),children:(0,M.jsx)(u.A,{description:"Clear chat history?",onConfirm:ys,okText:"Yes",cancelText:"No",icon:"",placement:"leftTop",title:!1,children:(0,M.jsx)(h.Ay,{type:"text",icon:(0,M.jsx)(O.A,{icon:"ClearChat",style:{fontSize:16}}),style:{marginRight:16}})})}),items:[{label:(0,M.jsx)(M.Fragment,{children:H("AI assistant")}),key:b.z$,forceRender:!0,className:"email-settings__collapse-panel",children:Te||window.localStorage.getItem(b.V0.em_active_tab)?(0,M.jsx)(Vt,{messages:zt.length>0?zt:[{data:{role:"assistant",message:"\u043f\u0435\u0447\u0430\u0442\u0430\u0435\u0442",isLoading:!0}}],newEmailAiGeneratorRef:$e}):(0,M.jsx)("div",{className:"aside-content-wrapper",children:e.hasOwnProperty("type")?(0,M.jsx)(p.A,{description:H("Save the block before commenting."),type:"info",showIcon:!0,style:{marginBottom:20}}):(0,M.jsx)(p.A,{description:H("Save the email before commenting."),type:"info",showIcon:!0,style:{marginBottom:20}})})}]})})})}),U.optimizeEnabled&&_s.push({disabled:st,label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",overlayInnerStyle:{border:"2px dot-dash red"},overlayStyle:{border:"2px dot-dash red"},placement:"left",title:N("Optimize","tab"),children:(0,M.jsxs)(M.Fragment,{children:[(0,M.jsx)(O.A,{icon:"Speed"}),Ie&&(0,M.jsx)(O.A,{icon:"Lock",className:"free-mode-firewall-icon free-mode-firewall-icon_emailpane"})]})}),key:b.N7,className:"em-analytics__email-tab-optimise",style:{height:U.sidePanelFloating?oe&&"bottom"===ne?ps:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",children:(0,M.jsx)(m.A,{className:"secondary-tabs secondary-tabs_optimise email-settings__collapse",size:"large",animated:{inkBar:!1,tabPane:!1},activeKey:b.N7,items:[{label:(0,M.jsx)(M.Fragment,{children:H("Optimize")}),key:b.N7,forceRender:!0,className:"email-settings__collapse-panel",children:(0,M.jsx)(vt.A,{})}]})})}),U.settingsEnabled&&_s.push({disabled:st,label:(0,M.jsx)(n.A,{overlayClassName:"email-pane__tooltip",placement:"left",title:N("Settings","tab"),children:(0,M.jsx)(O.A,{icon:"SettingOutlined"})}),key:b.zx,className:"em-analytics__email-tab-edit",style:{height:U.sidePanelFloating?oe&&"bottom"===ne?ps:"calc(100% - 30px)":"100%",overflow:"hidden"},children:(0,M.jsx)("div",{className:"email-pane__collapse-wrapper",children:(0,M.jsx)(Zt,{email:e})})});const[As,ws]=(0,l.useState)([]),[Ls,bs]=(0,l.useState)(!1),[ks,Ms]=(0,l.useState)(0),[Ss,Es]=(0,l.useState)(0),Vs=(null===(S=document.querySelector(".email-pane__col_preview"))||void 0===S?void 0:S.getBoundingClientRect().width)-(U.sidePanelFloating?0:38),[Hs,Ns]=(0,l.useState)(null);(0,l.useEffect)((()=>{Te&&es(Te)}),[Te,es]),(0,l.useEffect)((()=>{const e=I.onInit((()=>{I.send({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1}),I.send({operation:b.Ru.SANDBOX_LOCK_DISCUSS,value:Ls})}));return()=>e.dispose()}),[Ls,I]),(0,l.useEffect)((()=>{if(As.length<2){const e=null===ve||void 0===ve?void 0:ve.getBoundingClientRect(),t=setInterval(s,50);function s(){I.isInited()&&e&&(Kt(),clearInterval(t))}ws((e=>[...e,t]))}return clearInterval(As[As.length-1])}),[As,ve,Kt,I]);const Is=(0,l.useCallback)(((e=le)=>{var t;I.send({operation:b.Ru.SANDBOX_IFRAME_SETSIZE,settings:{iframeWidth:e+2}}),null===(t=Pe.current)||void 0===t||t.resize()}),[le,I]);(0,l.useEffect)((()=>{if(bs($===b.hc),$!==b.rb){var e;const t=document.querySelector(".email-pane__row"),s=null===t||void 0===t?void 0:t.getBoundingClientRect().width;(null===Fe||void 0===Fe||null===(e=Fe.current)||void 0===e?void 0:e.getBoundingClientRect().width)+540>s&&P((0,te.vc)("100%"))}}),[P,$]);const Bs=(0,l.useCallback)((()=>{const e=Fe.current;e&&(e.style.borderWidth="1px",U.sidePanelFloating||(e.style.marginLeft="-1px",e.style.marginRight="-1px"),e.style.borderLeftColor=null,e.style.borderRightColor=null)}),[U.sidePanelFloating]),Ts=(0,l.useCallback)((e=>{Ds(!1),Hs&&(setTimeout((()=>Is()),50),Ns(null)),e.target.classList.contains("email-pane__handle")||Bs(),window.localStorage.setItem(b.V0.em_code_mode_pane_sizes,JSON.stringify(gs))}),[Is,Hs,gs,Bs]),Zs=e=>t=>{t.target.classList.contains("email-pane__handle")&&(t.preventDefault(),Ms(t.target.parentNode.offsetWidth),Es(t.pageX),Ns(e),Gt(e))},Rs=e=>{const t=Fe.current;"string"!==typeof e||Hs&&Hs!==e?Hs||(Bs(),document.querySelector(".email-pane__iframe").style.width="1px",document.querySelector(".email-pane__iframe").style.removeProperty("margin-left")):(document.querySelector(".email-pane__iframe").style.width="calc(100% + 1px)","right"===e?(t.style.borderRightColor=q.colorPrimary,t.style.borderRightWidth="2px"):(t.style.borderLeftColor=q.colorPrimary,t.style.borderLeftWidth="2px",document.querySelector(".email-pane__iframe").style.marginLeft="-1px"))},[Os,Ds]=(0,l.useState)(!1),zs=(0,l.useCallback)((e=>{if(!Hs)return;let t=2*(e.pageX-Ss),s=ks+("left"===Hs?-t:t);var l;s>318&&s<Vs&&(P((0,te.vc)(s)),"number"===typeof s&&s<=425?ue||ge(!0):ue&&ge(!1),null===(l=Pe.current)||void 0===l||l.resize())}),[P,ks,Ss,Hs,Vs,ue,ge]),Ps=(0,l.useCallback)((e=>{if(Os)if("bottom"===ne){const t=Ge.current.getBoundingClientRect().height,s=Ge.current.getBoundingClientRect().top,l=(e.clientY-s)/t*100;if(l<20||l>80)return;xs(l),hs()}else{const t=Ge.current.getBoundingClientRect().width,s=Ge.current.getBoundingClientRect().left,l=(e.clientX-s)/t*100,i=Fe.current.getBoundingClientRect().width;if(U.desktopMobileSwitchPanel&&"number"===typeof i&&i<=425&&(P((0,te.vc)(425)),ue||ge(!0)),l<20||l>80)return;xs(l)}}),[Os,ne,hs,ue,P,U.desktopMobileSwitchPanel,ge]);(0,l.useEffect)((()=>{hs()}),[oe,hs]);const Fs=e=>{P((0,te.vc)(e)),setTimeout((()=>Is(e)),700),"number"===typeof e&&e<=425?ue||ge(!0):ue&&ge(!1)};(0,l.useEffect)((()=>(window.addEventListener("scroll",hs,!0),window.addEventListener("mousemove",zs,!0),window.addEventListener("mousemove",Ps),window.addEventListener("mouseup",Ts,!0),window.addEventListener("click",Xt),window.addEventListener("keydown",Wt),()=>{window.removeEventListener("mousemove",zs,!0),window.removeEventListener("mousemove",Ps),window.removeEventListener("mouseup",Ts,!0),window.removeEventListener("scroll",hs,!0),window.removeEventListener("keydown",Wt),window.removeEventListener("click",Xt)})));const[Us,qs]=(0,l.useState)(U.emailPaneDesktopSize||le);return(0,l.useEffect)((()=>{U.emailPaneDesktopSize&&P((0,te.vc)(U.emailPaneDesktopSize))}),[P,U.emailPaneDesktopSize]),(0,l.useEffect)((()=>{qs(oe&&"bottom"!==ne&&!ue&&U.desktopMobileSwitchPanel?"100%":le)}),[P,U.emailPaneDesktopSize,oe,ne,ue,U.desktopMobileSwitchPanel,le]),(0,M.jsxs)(i.A,{className:A()("email-pane",{"email-pane_code-mode":oe,"email-pane_only_code_mode_mobile":U.onlyCodeModeInMobile,"email-pane_code-mode-bottom":oe&&"bottom"===ne,"email-pane_no-element-navigation":!U.switchDesktopMobilePropsEnabled&&!U.stepToOtherElementEnabled&&!U.deleteButtonEnabled,"email-pane_is-mobile":ue,"email-pane_path-enabled":U.pathEnabled}),children:[(0,M.jsxs)(St,{className:"email-pane__container",ref:qe,children:[((null===Re||void 0===Re?void 0:Re.type)===b.bV.TEXT||(null===Re||void 0===Re?void 0:Re.type)===b.bV.LINK||Re.type===b.bV.IMG||Re.type===b.bV.BUTTON)&&oe&&"bottom"!==ne&&(0,M.jsx)(ht.A,{className:A()("selected-element-panel__content selected-element-panel__content_abs",{"selected-element-panel__hidden":Re.type===b.bV.IMG}),emailElementType:Ze,formSettings:Oe}),(0,M.jsxs)(C.A,{ref:Ge,className:A()("email-pane__row",{"email-pane__left":oe&&"right"===ne,"email-pane__right":oe&&"left"===ne,"email-pane__bottom":oe&&"bottom"===ne,"email-pane__sizeSwitcher":U.desktopMobileSwitchPanel,"email-pane__reverse":"left"===U.menuDirection,"email-pane__pinch":!U.sidePanelFloating}),children:[(0,M.jsxs)(g.A,{style:{flexGrow:1,overflowY:U.sidePanelFloating?"scroll":"hidden",overflowX:"hidden",height:oe&&"bottom"===ne?`calc(${gs}%)`:"100%",width:`${"left"===ne?100-gs:"bottom"===ne?100:gs}%`},id:"pane-content-wrapper",ref:Ue,children:[(0,M.jsx)("div",{className:"email-pane__iframe-scroll-top",id:"iframe-scroll-top"}),U.desktopMobileSwitchPanel&&(0,M.jsxs)(r.A,{className:"email-pane__sizes-panel-wrapper",direction:"vertical",size:10,children:[(0,M.jsxs)(r.A,{className:"email-pane__sizes-panel",direction:"vertical",size:0,children:[(0,M.jsx)(n.A,{title:H("Desktop view"),placement:"right",open:We,children:(0,M.jsx)(h.Ay,{type:ue?"text":"primary",icon:(0,M.jsx)(O.A,{icon:"DesktopOutlined"}),shape:"circle",onClick:()=>Fs(U.emailPaneDesktopSize||1e3),className:"toggle_view desktop_view"})}),(0,M.jsx)(n.A,{title:H("Mobile view"),placement:"right",open:Qe,children:(0,M.jsx)(h.Ay,{type:ue?"primary":"text",icon:(0,M.jsx)(O.A,{icon:"MobileOutlined"}),shape:"circle",onClick:()=>Fs(425),className:"toggle_view mobile_view"})})]}),U.codeSideEnabled&&(0,M.jsx)(n.A,{title:H("Code mode"),placement:"right",children:(0,M.jsx)(h.Ay,{type:oe?"primary":"default",icon:(0,M.jsx)(O.A,{icon:"Code"}),shape:"circle",onClick:()=>{return e="right",oe?P((0,te.vs)()):"string"===typeof e?(P((0,te.Uf)(e)),!oe&&P((0,te.vs)())):P((0,te.vs)()),P((0,te.Fk)()),setTimeout((()=>{Ze===b.IE?P((0,Y.A9)({type:null})):P((0,X.A9)({type:null}))}),300),I.send({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_RESET}),void P((0,At.rI)());var e}})})]}),(0,M.jsxs)(C.A,{className:A()("email-pane__col-wrapper",{container:oe&&"bottom"===ne||!oe,"email-pane__col-wrapper_reverse":"left"===U.menuDirection,"email-pane__col-wrapper_pinch":!U.sidePanelFloating}),style:{flexGrow:1,maxWidth:"unset",paddingTop:U.desktopMobileSwitchPanel&&oe&&"bottom"!==ne?"60px":""},children:[(0,M.jsxs)(g.A,{className:"email-pane__col email-pane__col_preview",style:{flexGrow:1,maxWidth:"unset"},children:[U.desktopMobileSwitchRule&&(0,M.jsx)("div",{className:`email-pane__sizes ${ts}`,children:(0,M.jsxs)("div",{className:"email-pane__width-selectors-wrapper",children:[(0,M.jsx)("div",{className:"device-width__full",style:{flexGrow:1},onMouseEnter:()=>{ss("device-width__full-hovered"),is(H("Desktop"))},onMouseLeave:()=>{ss(""),is("")},onClick:()=>Fs("100%")}),(0,M.jsx)("div",{className:"device-width__768",style:{width:171},onMouseEnter:()=>{ss("device-width__768-hovered"),is(H("Small desktop \u2013 768px"))},onMouseLeave:()=>{ss(""),is("")},onClick:()=>Fs(768)}),(0,M.jsx)("div",{className:"device-width__425",style:{width:25},onMouseEnter:()=>{ss("device-width__425-hovered"),is(H("Mobile L \u2013 425px"))},onMouseLeave:()=>{ss(""),is("")},onClick:()=>Fs(425)}),(0,M.jsx)("div",{className:"device-width__375",style:{width:28},onMouseEnter:()=>{ss("device-width__375-hovered"),is(H("Mobile M \u2013 375px"))},onMouseLeave:()=>{ss(""),is("")},onClick:()=>Fs(375)}),(0,M.jsx)("div",{className:"device-width__320",style:{width:320},onMouseEnter:()=>{ss("device-width__320-hovered"),is(H("Mobile S \u2013 320px"))},onMouseLeave:()=>{ss(""),is("")},onClick:()=>Fs(320),children:ls}),(0,M.jsx)("div",{className:"device-width__375",style:{width:28},onMouseEnter:()=>{ss("device-width__375-hovered"),is(H("Mobile M \u2013 375px"))},onMouseLeave:()=>{ss(""),is("")},onClick:()=>Fs(375)}),(0,M.jsx)("div",{className:"device-width__425",style:{width:25},onMouseEnter:()=>{ss("device-width__425-hovered"),is(H("Mobile L \u2013 425px"))},onMouseLeave:()=>{ss(""),is("")},onClick:()=>Fs(425),children:(0,M.jsx)(n.A,{title:H("Mobile view"),placement:"bottom",children:(0,M.jsx)(h.Ay,{type:"default",icon:(0,M.jsx)(O.A,{icon:"MobileOutlined"}),size:"small",shape:"circle",style:{right:-12,top:4,zIndex:999,padding:0,position:"absolute",onClick:()=>Fs(425)}})})}),(0,M.jsx)("div",{className:"device-width__768",style:{width:171},onMouseEnter:()=>{ss("device-width__768-hovered"),is(H("Small desktop \u2013 768px"))},onMouseLeave:()=>{ss(""),is("")},onClick:()=>Fs(768),children:(0,M.jsx)(n.A,{title:H("Desktop view"),placement:"bottom",children:(0,M.jsx)(h.Ay,{type:"default",icon:(0,M.jsx)(O.A,{icon:"DesktopOutlined"}),size:"small",shape:"circle",style:{right:-12,top:4,zIndex:999,padding:0,position:"absolute",onClick:()=>Fs(768)}})})}),(0,M.jsx)("div",{className:"device-width__full",style:{flexGrow:1},onMouseEnter:()=>{ss("device-width__full-hovered"),is(H("Desktop"))},onMouseLeave:()=>{ss(""),is("")},onClick:()=>Fs("100%")})]})}),(0,M.jsxs)("div",{className:A()("email-pane__resizable",{"email-pane__resizable_drag":Hs||Os}),style:{maxWidth:Us},children:[(0,M.jsx)("div",{className:"email-pane__handle left",onMouseDown:Zs("left"),onMouseEnter:()=>Rs("left"),onMouseLeave:Rs}),(0,M.jsx)("div",{className:"email-pane__handle right",onMouseDown:Zs("right"),onMouseEnter:()=>Rs("right"),onMouseLeave:Rs}),(0,M.jsx)("div",{className:A()("email-pane__content-col email-pane__content-col_main",{"email-pane__content-col_disable":Hs||Os}),ref:Fe,id:"pane-content-iframe",children:(0,M.jsx)(Bt,{ref:Pe,className:"email-pane__iframe",email:e,handlerSendPosition:hs})})]})]}),(0,M.jsx)(g.A,{style:{display:oe&&"bottom"!==ne?"none":"initial"},ref:ms,className:A()("email-pane__content-col email-pane__content-col_menu email-pane__content-col_tabs email-pane__col email-pane__col_settings",{"email-pane__col_disabled":$===b.rb}),children:(!oe||"bottom"===ne)&&(0,M.jsx)(m.A,{className:A()("email-pane__col_settings-inner",{"email-pane__col_settings-inner_reverse":"left"===U.menuDirection}),size:"middle",animated:{inkBar:!1,tabPane:!1},activeKey:$,onTabClick:e=>{let t=document.querySelector(".atoms__list");if(e===b.Bv&&"Disabled_tab"===$&&t&&setTimeout((()=>{t.style.opacity=1}),300),U.toggleSidePanel&&e===$?(P((0,te.PM)(b.rb)),t&&(t.style.opacity=0)):"Optimize"===e?(0,Ye.Z1)(H,F):e!==b.yI&&e!==b.Vv&&(P((0,te.PM)(e)),I.send({operation:b.Ru.SANDBOX_LOCK_EDIT,data:!1}),I.send({operation:b.Ru.SANDBOX_ELEMENT_ACTIVE_RESET}),Me([])),Ie&&("Discuss"===e||"Optimise"===e||"AiChat"===e))switch(lt(!0),e){case"Discuss":at(7);break;case"Optimise":at(6);break;case"AiChat":at(9);break;default:at(0)}},renderTabBar:Mt,tabPosition:"right",items:_s,tabBarExtraContent:Be&&(0,M.jsx)(M.Fragment,{children:Q||(null===(E=W.id)||void 0===E?void 0:E.toString())!==(null===Ne||void 0===Ne||null===(V=Ne.members)||void 0===V?void 0:V.owner.ID)?(0,M.jsx)(c.A,{options:[{value:"DesignerMode",icon:(0,M.jsx)(n.A,{placement:"left",title:H("Designer mode"),children:(0,M.jsx)(O.A,{icon:"DesignerMode",style:{fontSize:18,top:2}})})},{value:"EditorMode",icon:(0,M.jsx)(n.A,{placement:"left",title:H("Editor mode"),children:(0,M.jsx)(O.A,{icon:"EditorMode",style:{fontSize:18,top:4,left:2}})})}],className:"ant-segmented_editor-mode",onChange:ds,defaultValue:mt}):(0,M.jsx)(c.A,{options:[{value:"FreeMode",icon:(0,M.jsx)(n.A,{placement:"left",title:H("Simple mode"),children:(0,M.jsx)("span",{style:{fontSize:14,fontWeight:600,position:"relative",top:-1},children:"Free"})})},{value:"DesignerMode",icon:(0,M.jsx)(n.A,{placement:"left",title:H("Pro mode"),children:(0,M.jsx)(O.A,{icon:"DesignerMode",style:{fontSize:20,top:2}})})}],className:"ant-segmented_editor-mode",onChange:ds,value:ct})})})})]}),(0,M.jsx)("div",{className:"email-pane__iframe-scroll-bottom",id:"iframe-scroll-bottom"})]}),(0,M.jsxs)(g.A,{style:{width:`${"right"===ne?100-gs:"bottom"===ne?100:gs}%`,position:"relative",height:"bottom"===ne?`calc(${100-gs}%)`:"unset",display:oe?"initial":"none"},children:[(0,M.jsx)("div",{className:"email-pane__code-divider",onMouseDown:()=>Ds(!0)}),(0,M.jsx)("div",{className:"code-mode__pane code-mode__pane_editor email-pane__pane email-pane__pane_editor",children:(0,M.jsx)("div",{className:"code-mode__pane-content email-pane__pane-content",children:(0,M.jsx)(It,{email:e,setOtherUsers:He,newEmailAiGeneratorRef:$e})})})]})]}),U.pathEnabled&&(0,M.jsx)("div",{className:"email-pane__paths",children:(0,M.jsx)(xt,{elementPath:ke})}),(0,M.jsx)("div",{className:"collaborator-list",children:(0,M.jsx)(kt.CollaboratorList,{users:Ve,isEditor:b._P.isEditor,isPlugin:b.EW.isPlugin,token:q})})]}),"img"===(null===Oe||void 0===Oe?void 0:Oe.type)&&oe&&"bottom"!==ne&&(0,M.jsx)("div",{className:"email-pane__collapse-wrapper email-pane__collapse-wrapper_disabled",children:(0,M.jsx)(se,{email:e,formSettings:Oe})}),(0,M.jsx)(ot,{}),(0,M.jsx)(Xe.A,{open:st,onCancel:()=>{oe&&P((0,te.vs)()),P((0,te.Fk)()),P((0,yt.EV)("simple")),dt("FreeMode"),lt(!1)},initialSlide:it}),(0,M.jsx)(x.A,{title:H("Warning"),centered:!0,open:Se,onOk:ys,onCancel:()=>{Ee(!1)},children:(0,M.jsx)("p",{children:H("Clear chat history?")})})]})}},2491:(e,t,s)=>{s.d(t,{A:()=>F});var l=s(92810),i=s(95838),a=s(33206),o=s(81e3),n=s(66726),r=s(43005),c=s(24293),d=s(4800),m=s(71157),p=s(79716),u=s(82447),h=s(45934),C=s(64617),g=s(48409),x=s.n(g),v=s(23287),f=s(77019),j=s(62303),_=s(92779),y=s(64936),A=s(86286),w=s(47358),L=s(65983),b=s(7760),k=s(36404),M=s(86739),S=s(55701),E=s(63531),V=s(85163),H=s(92756),N=s(31844),I=s(32269),B=s(45695),T=s(32411),Z=s(56991),R=s(93982),O=s(13522),D=s(70082);const z=(0,D.jsx)(p.A,{style:{fontSize:20},spin:!0}),{useToken:P}=i.A,F=({emailElement:e,isCollaborationEditor:t})=>{var s,i,g,F;const{__:U}=(0,v.s9)(),q=(0,h.wA)(),G=(0,B.XW)(),{emailId:K,blockId:$}=(0,C.g)(),W=(0,h.d4)(y.cL),[X,Y]=(0,l.useState)(!1),[J,Q]=(0,E.Zf)(),ee=(0,C.Zp)(),te=(0,h.d4)(A.C1),[se]=(0,M.YE)(K),[le]=(0,S.lx)($),{owner:ie}=(0,N.A)(),ae=(0,T.fn)(),oe=(0,T.aD)(ae),ne=(0,T.TW)(ae),re=(0,h.d4)(w.Wm),ce=(0,h.d4)(w.Fv),de=(0,h.d4)(w.yy),{token:me}=P(),{modal:pe}=a.A.useApp(),ue=(0,m.hN)(),{confirm:he}=pe,Ce=(0,Z.rD)(),ge=e.hasOwnProperty("type")?V.IE:V.Tm,xe=(0,R.ml)(O.A.ON_SHARE_ID),ve=(0,R.ml)(O.A.ON_SHOW_PREVIEW_ID),[fe,je]=(0,l.useState)(!1),[_e,ye]=(0,l.useState)(0),Ae=(0,h.d4)(k.yN);let we=!(0,h.d4)(A.B$)&&(null===(s=te.id)||void 0===s?void 0:s.toString())===(null===Ae||void 0===Ae||null===(i=Ae.members)||void 0===i?void 0:i.owner.ID)&&!0;const Le=K?"emailId":"blockId",be=null===e||void 0===e?void 0:e.project,ke=e=>{"string"===typeof e?(q((0,w.Uf)(e)),!ce&&q((0,w.vs)())):q((0,w.vs)()),setTimeout((()=>{ge===V.IE?q((0,b.A9)({type:null})):q((0,L.A9)({type:null}))}),300),G({operation:V.Ru.SANDBOX_ELEMENT_ACTIVE_RESET}),we&&(je(!0),ye(1))},Me=(0,l.useCallback)((()=>{he({title:U("Available on the Personal plan and higher."),icon:(0,D.jsx)(u.A,{}),content:(0,D.jsx)("div",{style:{maxWidth:"330px"},children:U("Upgrade your plan to use this feature")}),centered:!0,okText:U("Choose your plan"),cancelText:U("Close & continue"),width:"unset",onOk(){ee("/billing")},onCancel(){}})}),[ee,U,he]);(0,l.useEffect)((()=>{Q.isError&&((0,I.p6)(Q,ue),Y(!1))}),[Q,ue]),(0,l.useEffect)((()=>{if(Q.isSuccess&&X){var e;if(401===(null===(e=Q.data)||void 0===e?void 0:e.status))ue.error({message:(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:Q.data.code}}),description:(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:Q.data.message}}),placement:"bottomRight"});else if(Q.data){let e=document.createElement("A");e.setAttribute("target","_blank"),e.setAttribute("href",Q.data.message),e.click()}Y(!1)}}),[Q,X,ue]);const[Se,Ee]=(0,l.useState)(!1),Ve=()=>{G({operation:V.Ru.SANDBOX_LOCK_EDIT,data:re}),q((0,w.mi)(!re))},He=K?se:le;let Ne=[];const Ie=(0,l.useCallback)((async()=>{const e=await ve.fire({project:be,id:K});!1!==e.find((e=>!1===e||"string"===typeof e))&&window.open(e.find((e=>e))||`/email/${K}/raw?key=${x()(`${be}${K}${V.KI}`)}`)}),[ve,be,K]),Be=(0,l.useCallback)((async()=>{window.open(`/getemail/${K}?secret_hash=${x()(`${be}${K}${V.KI}`)}&raw=true`)}),[be,K]);Ce.previewModeEnabled&&Ne.push({key:"Preview_mode",icon:(0,D.jsx)(j.A,{icon:"EyeOutlined",style:{fontSize:16}}),label:U("Preview mode"),onClick:Ie}),Ce.livePreviewEnabled&&Ne.push({key:"Live_preview",icon:X?(0,D.jsx)(p.A,{style:{fontSize:16}}):(0,D.jsx)(j.A,{icon:"CheckCircleOutlined",style:{fontSize:16}}),label:U("Live preview"),onClick:(null===(g=te.id)||void 0===g?void 0:g.toString())===(null===(F=e.project_author)||void 0===F?void 0:F.toString())&&"community"===te.subscription.post_name&&ie?Me:()=>{if(!X){const t={email:K,subject:encodeURIComponent("#"+e.project+" "+e.title).replaceAll(/%20/gi,"+").replaceAll(/%0A/gi,"%0D%0A"),content:encodeURIComponent((null===ae||void 0===ae?void 0:ae.getValue())||"").replaceAll(/%20/gi,"+").replaceAll(/%0A/gi,"%0D%0A")};J(t),Y(!0)}}}),Ce.webversionEnabled&&Ne.push({key:"Web version",icon:(0,D.jsx)(j.A,{icon:"Web",style:{fontSize:16}}),label:U("Web version"),onClick:Be}),Ce.sharePreviewEnabled&&Ne.push({key:"Share",icon:(0,D.jsx)(j.A,{icon:"ShareAltOutlined",style:{fontSize:16}}),label:U("Share"),onClick:async()=>{const e=(await xe.fire({project:be,id:K})).find((e=>!1===e||"string"===typeof e));!1!==e&&navigator.clipboard.writeText(e||`https://app.emailmaker.ru/email/${K}/raw?key=${x()(`${be}${K}${V.KI}`)}`).then((()=>{(0,I.wB)(U("A shareable link to this page has been copied to the clipboard."),ue)}))},className:"em-analytics__email-share"});const Te=[{key:"Left_mode",icon:(0,D.jsx)(j.A,{icon:"PanelLeft",style:{fontSize:"20px",color:"left"===de&&ce?me.colorPrimary:"inherit"}}),label:U("Left Code panel"),onClick:()=>ke("left")},{key:"Right_mode",icon:(0,D.jsx)(j.A,{icon:"PanelLeft",style:{fontSize:"20px",transform:"rotate(180deg)",color:"right"===de&&ce?me.colorPrimary:"inherit"}}),label:U("Right Code panel"),onClick:()=>ke("right")},{key:"Bottom_mode",icon:(0,D.jsx)(j.A,{icon:"PanelLeft",style:{fontSize:"20px",transform:"rotate(-90deg)",color:"bottom"===de&&ce?me.colorPrimary:"inherit"}}),label:U("Bottom Code panel"),onClick:()=>ke("bottom")}];return(0,D.jsxs)("div",{className:"email-preview-menu email-preview-menu_new",children:[(0,D.jsxs)(o.A,{size:32,children:[(0,D.jsxs)(o.A,{size:8,style:{borderRadius:"calc(var(--borderRadius) * 1px"},children:[(0,D.jsx)(n.A,{title:U(t?H.COLLABORATION_EDITOR_WARNING_TEXT:"Undo (Ctrl+Z)"),placement:"bottom",children:(0,D.jsx)(r.Ay,{type:"text",icon:(0,D.jsx)(j.A,{icon:"UndoOutlined",style:{fontSize:20}}),onClick:()=>{oe.undo()},disabled:!ne.canUndo})}),(0,D.jsx)(n.A,{title:U(t?H.COLLABORATION_EDITOR_WARNING_TEXT:"Redo (Ctrl+Shift+Z)"),placement:"bottom",children:(0,D.jsx)(r.Ay,{type:"text",icon:(0,D.jsx)(j.A,{icon:"RedoOutlined",style:{fontSize:20}}),onClick:()=>{oe.redo()},disabled:!ne.canRedo})}),Ce.historyEnabled&&(0,D.jsx)(n.A,{title:U("Version history"),placement:"bottom",children:(0,D.jsx)(r.Ay,{type:re?"text":"primary",ghost:!re,onClick:()=>{re?(Ee(!0),He({[Le]:null===e||void 0===e?void 0:e.id}).then((e=>{e.isSuccess?0===e.data.data.length&&ue.error({message:(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:U("There`s no record of history.")}}),placement:"bottomRight"}):e.isError&&(0,I.p6)(e,ue),Ve(),q((0,w.PM)(V.Vv)),Ee(!1),we&&(je(!0),ye(4))}))):(q((0,w.Fk)()),Ve())},disabled:e.isNew||Se,className:"email-preview-menu__history",icon:Se?(0,D.jsx)(c.A,{indicator:z}):(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(j.A,{icon:"HistoryOutlined",style:{fontSize:20},className:"email-preview-menu__list-item-icon email-preview-menu__list-item-icon_revert"}),we&&(0,D.jsx)(j.A,{icon:"Lock",className:"free-mode-firewall-icon"})]})})})]}),(0,D.jsxs)(o.A,{size:8,style:{borderRadius:"calc(var(--borderRadius) * 1px"},children:[Ce.codeEnabled&&(0,D.jsx)(d.A,{arrow:!0,placement:"bottom",menu:{items:Te},trigger:"hover",mouseEnterDelay:0,children:(0,D.jsx)(r.Ay,{type:ce?"primary":"text",ghost:ce,icon:(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(j.A,{icon:"Code",style:{fontSize:20}}),we&&(0,D.jsx)(j.A,{icon:"Lock",className:"free-mode-firewall-icon"})]}),onClick:ke})},"Code mode"),Ce.previewIconEnabled&&(0,D.jsx)(d.A,{arrow:!0,placement:"bottom",menu:{items:Ne},children:(0,D.jsx)(r.Ay,{type:"text",target:"_blank",rel:"noreferrer",icon:Ce.previewModeEnabled?(0,D.jsx)("span",{onClick:Ie,style:{fontSize:"18px",color:me.colorText},children:(0,D.jsx)(j.A,{icon:"EyeOutlined",style:{fontSize:20},className:"email-preview-menu__list-item-icon"})}):(0,D.jsx)(j.A,{icon:"EyeOutlined",style:{fontSize:20},className:"email-preview-menu__list-item-icon"}),disabled:!ne.canUndo})},"Preview"),Ce.sendTestEnabled&&(0,D.jsx)(n.A,{title:U("Send a test email"),placement:"bottom",children:(0,D.jsx)(r.Ay,{className:"em-analytics__email-open-test",type:"text",icon:(0,D.jsx)(j.A,{icon:"SendOutlined",style:{fontSize:20}}),onClick:()=>{q((0,y.qf)(V.lx.SEND_TEST_EMAIL))}})})]})]}),(0,D.jsx)(f.A,{isModalVisible:W===V.lx.SEND_TEST_EMAIL,email:e}),(0,D.jsx)(_.A,{open:fe,onCancel:()=>{re||(Ve(),q((0,w.Fk)())),ce&&q((0,w.vs)()),je(!1)},initialSlide:_e})]})}},17445:(e,t,s)=>{s.d(t,{A:()=>v});var l=s(92810),i=s(64617),a=s(94822),o=s(95838),n=s(47036),r=s(83351),c=s(39990),d=s(72981),m=s(53765),p=s(32411),u=s(69156),h=s(85163),C=s(90070),g=s(70082);const{useToken:x}=o.A,v=()=>{const{emailId:e}=(0,i.g)();let[t]=(0,a.ok)();const[s]=(0,r.UH)(),[o,v]=(0,l.useState)(!1),{token:f}=x(),j=(0,C.p6)();(0,l.useEffect)((()=>{(0,u.FN)(f)}),[f]);const{isLoading:_}=(0,c.CR)("",{skip:!j.get(h.A9.em_token)}),{isLoading:y,isSuccess:A,data:w}=(0,n.c)({emailId:+e,secret_hash:t.get("key")},{skip:!e||!t.get("key")});(0,l.useEffect)((()=>{document.body.classList.add("editor")}),[]);const L=(0,l.useRef)(),b=L.current||(L.current=(0,p.$Z)());return(0,l.useEffect)((()=>{j.get(h.A9.em_token)?s().then((e=>{if(e.error)return j.remove(h.A9.em_token),void v(!1);v(!0)})):v(!1)}),[s,j]),y||_?(0,g.jsx)(d.A,{}):A&&(0,g.jsx)(p.kx.Provider,{value:b,children:(0,g.jsx)(m.A,{email:w,viewMode:"view",isLoggedIn:o})})}},29718:(e,t,s)=>{s.d(t,{A:()=>ne});var l=s(92810),i=s(95838),a=s(33206),o=s(81e3),n=s(66522),r=s(4800),c=s(69417),d=s(19493),m=s(49246),p=s(29234),u=s(21349),h=s(33151),C=s(9452),g=s(82013),x=s(9588),v=s(79612),f=s(10900),j=s(85677),_=s(20350),y=s(64586),A=s(8114),w=s(74267),L=s(94822),b=s(64617),k=s(45934),M=(s(7205),s(44335)),S=s(38883),E=s.n(S),V=s(57903),H=s(43063),N=s(43005),I=s(48409),B=s.n(I),T=s(32269),Z=s(90070),R=s(47381),O=s(23287),D=s(85163),z=s(70082);const{useToken:P}=i.A,F=({element:e,setSearchFilters:t=(e,t)=>{}})=>{var s;const{projectId:i}=(0,b.g)(),a=(0,b.Zp)(),r=(0,Z.p6)(),{token:d}=P(),{__:m}=(0,O.s9)(),p=e.type?D.IE:D.Tm,u=`/projects/${i}/emails/new`,h=(0,R.u)(),C=(0,l.useRef)(null);return(0,z.jsx)(c.A,{className:`element-card element-card_${p} element-card_template`,hoverable:!0,id:e.id,style:{cursor:"pointer"},cover:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("div",{ref:C,className:"element-card__img-wrapper",children:(0,z.jsx)("img",{className:"element-card__img",alt:e.title,src:((e,t=i,s)=>`https://scr.emcdn.ru/screenshot?delay=1000&width=800&fullPage=true&deviceScaleFactor=0.8&format=jpg&force=false${s?`&cacheControl=true&cache-hash=${B()(s)}`:""}&url=${encodeURIComponent(`https://app.emailmaker.ru/get${p}/${e}?secret_hash=${B()(`${t}${e}${D.KI}`)}&raw=true`)}`)(e.id,e.project,e.modified),onMouseMove:e=>(0,T.Hy)(e,C.current),onMouseLeave:T.Tr})}),e.is_template&&e.project===+i&&(0,z.jsx)("div",{className:"element-card__is-template-wrapper",children:m("Template")}),(0,T._q)(e,D.zh).length&&(0,z.jsx)("div",{className:"element-card__tags-wrapper",children:(0,z.jsx)(o.A,{wrap:!0,size:8,children:null===(s=(0,T._q)(e,D.zh))||void 0===s?void 0:s.map((e=>(0,z.jsx)(n.A,{bordered:!1,color:d.colorPrimary,style:{borderRadius:6},onClick:()=>t(null,e.id),children:e.name},e.id)))})})]}),onClick:()=>{return t=e.id,h({event:"select",action:"create_new_email",template_id:t,description:"Create new email from template"}),r.set(D.A9.em_new_email,t),void(0,T.XZ)(a,u);var t},children:(0,z.jsx)("div",{children:(0,z.jsx)(N.Ay,{type:"link",className:"element-card__title",children:(0,T.ln)(e.title)})})})};var U=s(72981),q=s(62303),G=s(35055),K=s(86739),$=s(46312),W=s(63531),X=s(94925),Y=s(65983),J=s(36404),Q=s(86286),ee=s(64936),te=s(31844),se=s(14598),le=s(58689),ie=s(71157);const{useToken:ae}=i.A,oe=(e,t)=>`${e.pathname}/${t.id}`,ne=({projectId:e,emailsView:t,createPage:s=!1,currentFolderId:i,foldersList:S,refetchProjectFolders:N,projectTags:I=[],activeTagId:B,setActiveTagHandler:P,projectEmailsCounter:ne=0,registerFunction:re=()=>{},groupType:ce=null})=>{var de,me,pe,ue,he,Ce,ge,xe;const{__:ve,_x:fe}=(0,O.s9)(),je=(0,k.wA)(),_e=(0,k.d4)(X.MY),ye=(0,k.d4)(X.aO),Ae=(0,k.d4)(J.RP),we=(0,k.d4)(J.AQ),Le=(0,k.d4)(J.qV),be=(0,k.d4)(Q.C1),ke=(0,k.d4)(X.NP),Me=(0,k.d4)(X.qM),Se=(0,k.d4)(X.ux),Ee=(0,k.d4)(Y.CT),Ve=(0,k.d4)(J.GD),He=(0,k.d4)(J.Rw),[Ne,Ie]=(0,L.ok)(),Be=(0,Z.p6)(),Te=(0,ie.hN)(),{owner:Ze,admin:Re}=(0,te.A)();let Oe=(0,b.zy)();const De=(0,b.Zp)(),{token:ze}=ae(),{modal:Pe}=a.A.useApp(),Fe=(0,k.Pj)(),{confirm:Ue}=Pe,qe=(0,R.u)(),Ge=[...Ve,...He],[Ke,$e]=(0,l.useState)(null);(0,l.useEffect)((()=>{ce===D.ti.ALL?$e(Ae+we):ce===D.ti.PROJECT?$e(we):ce===D.ti.STANDARD&&$e(Ae)}),[ce,Ae,we]);const We=+Ne.get("page"),Xe=Ne.get("folder"),Ye=+Ne.get("tag"),[Je,Qe]=(0,K.Kh)(),[et]=(0,K._3)(),[tt]=(0,K.dN)(),{refetch:st}=(0,b.KC)(),[lt,it]=(0,l.useState)(!1),at=`/projects/${e}/emails/new`,ot=i&&i===D.UW,nt=i===D.y2&&!Ye;(0,l.useEffect)((()=>{je((0,X.FC)())}),[je]);const[rt,ct]=(0,l.useState)({projectId:e,page:nt?We:1,pageSize:D.mU,notEmbed:!0,tags:null,folderTag:null}),{isLoading:dt,isSuccess:mt,isError:pt,isFetching:ut,refetch:ht,error:Ct}=(0,K.Xw)({...rt,folderTag:null,tags:null,status:"main"},{skip:s||!(null===(de=rt.name)||void 0===de||!de.length)&&i!==D.y2}),[gt,xt]=(0,l.useState)({page:We||1,pageSize:D.mU,folderTag:null,tags:[],groupType:ce}),{isLoading:vt,isSuccess:ft,isError:jt,isFetching:_t,data:yt=[],refetch:At,error:wt}=(0,K.PX)({...gt,groupType:ce},{skip:!s||(Math.ceil(Ae+we/D.mU)||1)<gt.page||ce===D.ti.PROJECT}),{isLoading:Lt,isSuccess:bt,isError:kt,isFetching:Mt,data:St=[],refetch:Et,error:Vt}=(0,K.PX)({...gt,projectId:e,groupType:ce},{skip:!s||(Math.ceil(we/D.mU)||1)<gt.page||ce===D.ti.STANDARD}),Ht=(e,t)=>ce===D.ti.ALL?e||t:ce===D.ti.PROJECT?t:e,Nt=Ht(vt,Lt),It=Ht(ft,bt),Bt=Ht(jt,kt),Tt=Ht(_t,Mt),Zt=Ht(At,Et),Rt=Ht(wt,Vt),[Ot,Dt]=(0,l.useState)({projectId:e,page:1,pageSize:D.mU,notEmbed:!0,tags:Ye&&[Ye],folderTag:i}),{isLoading:zt,isSuccess:Pt,isError:Ft,isFetching:Ut,error:qt,refetch:Gt}=(0,K.Xw)({...Ot,tags:i&&Ot.folderTag?null:Ot.tags,status:"custom"},{skip:s||ot||i===D.y2||Ot.folderTag!==i||!(null===(me=Ot.name)||void 0===me||!me.length)&&(ot||i===D.y2)}),[Kt,$t]=(0,l.useState)({projectId:e,page:ot?We:1,pageSize:D.mU,notEmbed:!0,tags:Ye&&[Ye],folderTag:null,status:"trash"}),[Wt,Xt]=(0,l.useState)(!1),{isLoading:Yt,isSuccess:Jt,isError:Qt,isFetching:es,data:ts,refetch:ss,error:ls}=(0,K.Xw)({...Kt,status:"trash",folderTag:null,page:Wt?Kt.page:1},{skip:s||(Math.ceil(ye/D.mU)||1)<Kt.page||!(null===(pe=Kt.name)||void 0===pe||!pe.length)&&!ot||!(null===(ue=Kt.tags)||void 0===ue||!ue[0])&&Se>0});(0,l.useEffect)((()=>{Xt(!!ts||Math.ceil(ye/D.mU)>=Kt.page)}),[ts,Kt.page,ye]);let is=[];ce!==D.ti.STANDARD&&St&&Le>=gt.page&&is.unshift(...St),ce!==D.ti.PROJECT&&yt&&(is.push(...yt),is=is.slice(0,D.mU));const as=s?gt:ot?Kt:nt?rt:Ot,os=s?It:ot?Jt:nt?mt:Pt,ns=s?Nt:ot?Yt:nt?dt:zt,rs=s?Bt:ot?Qt:nt?pt:Ft,cs=s?Tt:ot?es:nt?ut:Ut,ds=s?Zt:ot?ss:nt?ht:Gt,ms=s?Rt:ot?ls:nt?Ct:qt,ps=(s?Ke:ot?ye:nt?_e:null===ke||void 0===ke||null===(he=ke[i||(null===(Ce=Ot.tags)||void 0===Ce?void 0:Ce[0])])||void 0===he?void 0:he.total)||0,us=s?is:ot?Se:nt?Me:null===ke||void 0===ke||null===(ge=ke[i||(null===(xe=Ot.tags)||void 0===xe?void 0:xe[0])])||void 0===ge?void 0:ge.list;(0,l.useEffect)((()=>{os&&ds&&re(ds)}),[re,ds,os]);const hs=(0,l.useCallback)((e=>{s?xt((t=>({...t,...e}))):ot?$t((t=>({...t,...e}))):nt?ct((t=>({...t,...e}))):Dt((t=>({...t,...e})))}),[s,ot,nt]);(0,l.useEffect)((()=>{var e;"rest_post_invalid_page_number"===(null===ms||void 0===ms||null===(e=ms.data)||void 0===e?void 0:e.code)&&hs({page:1})}),[ms,hs]),(0,l.useEffect)((()=>{if(!s){(Xe&&Xe!==i||B&&Ye!==B)&&hs({folderTag:i,page:1});let e={page:Xe===i&&as.page?as.page:1};i&&!Ye&&(e.folder=i),B&&(e.tag=B),Ie(e,{replace:!0})}}),[as.page,De,s,Xe,i,B,Ye,hs,Ie]);const Cs=e=>{Ue({maskClosable:!0,centered:!0,title:fe(ot?"Are you sure to irrevocably delete \u201c":"Are you sure to delete \u201c","email")+e.title+ve("\u201d email?"),icon:(0,z.jsx)(C.A,{style:{color:"#ff4d4f"}}),okText:ve("Yes"),cancelText:ve("No"),onOk:()=>(e=>Fe.dispatch(K.GY.endpoints.deleteEmail.initiate({id:e.id,force:ot})).then((e=>{e.error?(0,T.p6)(e,Te):e.data&&((0,T.wB)(ve("The email \u201c")+e.data.title+fe("\u201d was successfully removed.","email"),Te),ds(),N(),ss(),ot&&st())})))(e)})},gs=e=>{it(!0),tt({emailId:null===e||void 0===e?void 0:e.id,status:"publish"}).then((t=>{t.error?Te.error({message:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:t.error.data.code}}),description:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:t.error.data.message}}),placement:"bottomRight"}):(e.folder[0]?ds():ht(),N(),ss(),Te.success({message:ve("The email \u201c")+e.title+fe("\u201d was successfully recovered.","recovery"),placement:"bottomRight"})),it(!1)}))},xs=e=>{it(!0),et(null===e||void 0===e?void 0:e.id).then((t=>{var s,l,i,a,o;const n=t.data;Je({title:(0,T.fq)(n.title),project:n.project,subject:n.subject,description:n.description,html:(0,T.el)(n.html||"",n.title),parent_email:n.parent_email||D.iU,common_styles:n.common_styles||"",utm_parameters:{utm_source:null===(s=n.utm_parameters)||void 0===s?void 0:s.utm_source,utm_medium:null===(l=n.utm_parameters)||void 0===l?void 0:l.utm_medium,utm_campaign:null===(i=n.utm_parameters)||void 0===i?void 0:i.utm_campaign,utm_term:null===(a=n.utm_parameters)||void 0===a?void 0:a.utm_term,utm_content:null===(o=n.utm_parameters)||void 0===o?void 0:o.utm_content},emailtags:e.emailtags,folder:n.folder}).then((t=>{var s;t.error?Te.error({message:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:t.error.data.code}}),description:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:t.error.data.message}}),placement:"bottomRight"}):(null!==(s=n.folder)&&void 0!==s&&s[0]?Gt():ht(),N(),Te.success({message:ve("The copy of email \u201c")+e.title+fe("\u201d was successfully created.","copy"),placement:"bottomRight"}));it(!1)}))}))},vs=(e,t)=>{tt({emailId:t.id,folder:e.key===D.y2?[]:[e.key]}).then((e=>{var s,l;(null===e||void 0===e||null===(s=e.data)||void 0===s?void 0:s.folder[0])&&je(K.GY.endpoints.getEmails.initiate({...as,folderTag:(null===e||void 0===e||null===(l=e.data)||void 0===l?void 0:l.folder[0])||null})),i!==D.y2&&(je((0,X.X)({folder:i,emailId:t.id})),je(K.GY.endpoints.getEmails.initiate({...as,folderTag:i||null}))),ht(),N()})).catch((e=>console.warn("err",e)))},fs=[{width:"40%",title:fe("Email","letter"),dataIndex:["title"],render:(e,t,s)=>(0,z.jsx)(L.N_,{to:ot?"":oe(Oe,t),style:{cursor:ot?"default":"pointer"},children:e})},{width:"20%",title:ve("Tags"),dataIndex:["emailtags"],render:(e,t,s)=>(0,z.jsx)(o.A,{wrap:!0,size:8,children:e&&e.map((e=>{const t=null===I||void 0===I?void 0:I.find((t=>{var s;return(null===(s=t.id)||void 0===s?void 0:s.toString())===(null===e||void 0===e?void 0:e.toString())}));return t&&(0,z.jsx)(n.A,{color:ze.colorPrimary,style:{cursor:"pointer",borderRadius:6,marginRight:0},onClick:()=>P(null,t.id),children:t.name},t.id)||null}))})},{width:"3%",title:"",dataIndex:"lock",render:(e,t,s)=>{var l,i;return e&&(0,z.jsx)(g.A,{className:E()("lock-icon",{"lock-icon__disabled":!(Ze||Re||(null===(l=be.id)||void 0===l?void 0:l.toString())===(null===(i=t.author)||void 0===i?void 0:i.toString()))})})}},{width:"16%",title:ve("Creator"),dataIndex:["_embedded","author"],render:(e,t,s)=>{var l;return(null===e||void 0===e||null===(l=e[0])||void 0===l?void 0:l.name)||""}},{width:"9%",title:ve("Created"),className:"nobr",dataIndex:"date",render:(e,t,s)=>(0,T.Yq)((0,w.A)(e),ve),sorter:!0,sortOrder:(0,T.Np)(as.order)},{width:"3%",title:"",dataIndex:"",key:"x",onCell:()=>({style:{padding:0}}),render:(e,t)=>{var s,l,i,a,o,n,c,d;const m=t.folder[0]||null,p={icon:(0,z.jsx)(x.A,{style:{fontSize:18}}),label:ve("New emails"),key:D.y2,onClick:e=>vs(e,t)},u=null===S||void 0===S?void 0:S.map((e=>({icon:(0,z.jsx)(v.A,{style:{fontSize:18}}),label:e.name,key:e.id,className:e.id,onClick:e=>vs(e,t)}))),h=(null===u||void 0===u?void 0:u.filter((e=>!m||e.key!==m)))||[];m&&(null===h||void 0===h||h.unshift(p));let w=[];return(Ze||Re||(null===(s=be.id)||void 0===s?void 0:s.toString())===(null===(l=t.author)||void 0===l?void 0:l.toString()))&&!ot&&w.push({label:(0,z.jsx)(V.A,{element:t},"Lock"),icon:t.lock?(0,z.jsx)(f.A,{style:{fontSize:"16px"}}):(0,z.jsx)(g.A,{style:{fontSize:"16px"}})}),(Ze||Re||(null===(i=be.id)||void 0===i?void 0:i.toString())===(null===(a=t.author)||void 0===a?void 0:a.toString()))&&!ot&&h.length>0&&w.push({label:ve("Transfer to folder"),icon:(0,z.jsx)(v.A,{style:{fontSize:"16px"}}),children:h}),!ot&&w.push({label:(0,z.jsx)(L.N_,{to:oe(Oe,t),children:ve("Edit")}),icon:(0,z.jsx)(j.A,{style:{fontSize:"16px"}}),key:"Enter",className:"em-analytics__email-enter"},{label:ve("Clone"),key:"Clone",icon:(0,z.jsx)(_.A,{style:{fontSize:"16px"}}),className:"em-analytics__email-clone",disabled:Qe.isLoading,onClick:()=>xs(t)}),(Ze||Re||(null===(o=be.id)||void 0===o?void 0:o.toString())===(null===(n=t.author)||void 0===n?void 0:n.toString()))&&ot&&w.push({label:ve("Recover"),icon:(0,z.jsx)(y.A,{style:{fontSize:"16px"}}),key:"Recover",onClick:()=>gs(t)}),(Ze||Re||(null===(c=be.id)||void 0===c?void 0:c.toString())===(null===(d=t.author)||void 0===d?void 0:d.toString()))&&w.push({label:ve("Remove"),icon:(0,z.jsx)(C.A,{style:{fontSize:"16px"}}),key:"Remove",className:"em-analytics__email-remove",style:{color:"#ff4d4f"},onClick:()=>Cs(t)}),(0,z.jsx)(r.A,{arrow:"true",placement:"bottom",menu:{items:w},trigger:["hover"],children:(0,z.jsx)("span",{className:"projects-table__actions",children:(0,z.jsx)(A.A,{})})})}}],[js,_s]=(0,l.useState)(!1);(0,l.useEffect)((()=>{var e,t;for(let s in Ee)if(s||""===s||0===s.length){_s(!0),hs({...Ee,folderTag:i,page:1});break}(null!==(e=Ee.tags)&&void 0!==e&&e.length||Ee.name)&&hs({...Ee,folderTag:i,page:1}),null!==(t=Ee.group)&&void 0!==t&&t.length&&xt({...Ee,group:Ee.group,page:1,pageSize:D.mU})}),[Ee,je,i,ot,hs,s]);const[ys,As]=(0,l.useState)(!1),[ws]=(0,$.mI)(),[Ls]=(0,W.dS)(),{data:bs}=(0,b.KC)(),ks=async e=>{const t=e[0];try{As(!0);const e=await(0,se.q2)(t,(async(e,t)=>{try{const s=await(0,se.zn)(e,ws);if(!s)return console.warn(`No file data retrieved for url: ${e}`),"string"===typeof e?e:"";const l=(0,se.Qm)(t,s.type,M),i=new File([s],l.toLowerCase()),a=await Ls({user_id:be.id,folder:bs.id,file:i});return(0,se.$K)(a,e)}catch(Ct){return console.error(`Error processing file upload for url: ${e}`,Ct),"string"===typeof e?e:""}}),(e=>{e.title=e.title||(0,le.Ay)(t.name)[0]})),[s]=(0,le.Ay)(t.name),l=(0,T.ez)(e)||s||"";return Je({title:l,project:bs.id,subject:l,description:"",html:e,parent_email:D.iU,folder:[]}).then((e=>{e&&(e.error?Te.error({message:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:e.error.data.code}}),description:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:e.error.data.message}}),placement:"bottomRight"}):(De(`/projects/${bs.id}/emails/${e.data.id}`),qe({event:"upload_file",action:"import_email"})))})).finally((()=>As(!1)))}catch(s){As(!1);const e=s instanceof Error?s.message:s;Te.error({message:(0,z.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}),placement:"bottomRight"})}};return(0,z.jsxs)("div",{className:"project-page__list",children:[s&&(0,z.jsxs)("div",{className:"project-page__cards-grid create-buttons",children:[(0,z.jsx)(c.A,{className:"element-card element-card_email element-card_template element-card_template-empty",hoverable:!0,style:{cursor:"pointer"},cover:(0,z.jsxs)("div",{className:"element-card__empty-template",children:[(0,z.jsx)(q.A,{icon:"NewEmail"}),(0,z.jsxs)("div",{className:"element-card__empty-template__text",children:[(0,z.jsx)("div",{className:"element-card__empty-template__title",children:ve("Blank template")}),(0,z.jsx)("div",{className:"element-card__empty-template__description",children:ve("Start from scratch")})]})]}),onClick:()=>{return e=278056,qe({event:"select",action:"create_new_email",template_id:"0",description:"Create new email from scratch (template = 0)"}),Be.set(D.A9.em_new_email,e),t&&(window.localStorage.setItem(D.V0.em_active_tab,t),window.localStorage.setItem(D.V0.em_ai_settings,t)),void(0,T.XZ)(De,at);var e,t}}),(0,z.jsx)(c.A,{className:"element-card element-card_email element-card_template element-card_template-empty",hoverable:!0,style:{cursor:"pointer"},loading:ys,cover:(0,z.jsxs)("div",{className:"element-card__empty-template",children:[(0,z.jsx)(q.A,{icon:"Import"}),(0,z.jsxs)("div",{className:"element-card__empty-template__text",children:[(0,z.jsx)("div",{className:"element-card__empty-template__title",children:ve("Import email")}),(0,z.jsx)("div",{className:"element-card__empty-template__description",children:ve("Work with your markup")})," "]})]}),onClick:()=>{qe({event:"click",action:"import_email"}),(0,se.QM)("application/zip, message/rfc822, text/html",ks)}}),(0,z.jsx)(c.A,{className:"element-card element-card_email element-card_template element-card_template-empty",hoverable:!0,style:{cursor:"pointer"},cover:(0,z.jsxs)("div",{className:"element-card__empty-template",children:[(0,z.jsx)(q.A,{icon:"generationAI"}),(0,z.jsxs)("div",{className:"element-card__empty-template__text",children:[(0,z.jsx)("div",{className:"element-card__empty-template__title",children:ve("AI email generation")}),(0,z.jsxs)("div",{className:"element-card__empty-template__description",children:[ve("Creating an email on request")," "]})]})]}),onClick:()=>je((0,ee.qf)(D.lx.ADD_NEW_AI_EMAIL))})]}),s&&(!!Ke||!!Ge.length)&&(0,z.jsx)("div",{className:"element-card__group-tag-wrapper",children:(0,z.jsxs)(d.A,{gap:"10px",style:{marginBottom:15,marginLeft:4},wrap:!0,children:[Ge.map((e=>(0,z.jsxs)(n.A,{className:"blue-color element-card__group-tag",color:"#1677ff",children:[e.name," ",(0,z.jsx)(q.A,{onClick:()=>{const t=Ge.filter((t=>t.key!==e.key));je(Ve.length?(0,J.es)(t):(0,J.BN)(t)),je((0,Y.ry)({[Ve.length?"group":"projectGroup"]:t,[Ve.length?"projectGroup":"group"]:[]}))},icon:"CloseTag"})]},e.key))),Ge.length>1&&(0,z.jsxs)(n.A,{className:"blue-color element-card__group-tag element-card__group-tag_close",children:[ve("Clear all")," ",(0,z.jsx)(q.A,{onClick:()=>{je((0,J.mb)()),je((0,Y.ry)({group:[],projectGroup:[]}))},icon:"CloseAll"})]})]})}),ns&&!(null!==us&&void 0!==us&&us.length)&&(0,z.jsx)(m.A,{active:!0}),rs&&(0,z.jsx)(p.A,{message:ve("Error"),description:ve("Error when receiving data. Try again (reload page) or contact support."),type:"error",showIcon:!0}),!ns&&!cs&&0===(null===us||void 0===us?void 0:us.length)&&(js||ne>0?(0,z.jsx)(p.A,{message:ve("Emails not found"),description:"",type:"info",showIcon:!0}):i!==D.y2?(0,z.jsx)(p.A,{message:ve("You don't have any emails in this folder."),description:ve("Add your first email to the folder..."),type:"info",showIcon:!0}):(0,z.jsx)(p.A,{message:ve("You don't have any emails yet."),description:ve("Add your first email by clicking the Create a new email button."),type:"info",showIcon:!0})),(null===us||void 0===us?void 0:us.length)>0&&t===D.rl&&(0,z.jsx)(u.A,{rowKey:e=>e.id,bordered:!0,dataSource:us,columns:fs,loading:cs||lt,onChange:(e,t,{order:s,field:l},{action:i})=>{"sort"===i&&hs(s?{page:as.page||1,order:(0,T.gq)(s),orderby:l,pageSize:D.mU}:{page:as.page||1,pageSize:D.mU})},showSizeChanger:!1,pageSize:D.mU,pagination:{current:as.page||1,total:ps,hideOnSinglePage:!0,showSizeChanger:!1,pageSize:D.mU,position:["bottomLeft"],onChange:(t,s)=>hs({projectId:e,page:t,pageSize:s})}}),((null===us||void 0===us?void 0:us.length)>0||os)&&t===D.Y$&&(0,z.jsxs)(z.Fragment,{children:[(cs||lt||ys)&&(0,z.jsx)("div",{className:"project-page__loader",children:(0,z.jsx)(U.A,{small:!0})}),(0,z.jsx)("div",{className:"project-page__cards-grid",children:us&&us.map((e=>s?(0,z.jsx)(F,{element:e,setSearchFilters:P},e.id):(0,z.jsx)(H.A,{element:e,setSearchFilters:P,isTrash:ot,foldersList:S,refetch:ht,projectTags:I,foldersHandlers:{handleRemove:Cs,handleRecover:gs,handleClone:xs,handlerChangeFolder:vs}},e.id)))}),(0,z.jsx)(h.A,{current:as.page||1,total:ps,hideOnSinglePage:!0,showSizeChanger:!1,pageSize:D.mU,onChange:(e,t)=>hs({page:e,pageSize:t})})]}),(0,z.jsx)(G.A,{})]})}},32398:(e,t,s)=>{s.d(t,{A:()=>B});var l=s(92810),i=s(95838),a=s(33206),o=s(43005),n=s(4800),r=s(24696),c=s(81e3),d=s(66522),m=s(71157),p=s(9588),u=s(9452),h=s(20350),C=s(8114),g=s(48329),x=s(79612),v=s(54316),f=s(94822),j=s(64617),_=s(45934),y=s(23287),A=s(38883),w=s.n(A),L=s(92851),b=s(70431),k=s(94925),M=s(34524),S=s(64936),E=s(93563),V=s(85163),H=s(70082);const{useToken:N}=i.A;function I(e,t,s,l,i,a,o){return{key:t,icon:s,children:l,label:e,className:i,type:a,onTitleClick:o}}const B=({currentFolderId:e,setCurrentFolderId:t,setActiveTagHandler:s,activeTagId:i,projectTags:A,folderTaxonomy:B})=>{var T,Z,R,O,D;const{__:z,_x:P}=(0,y.s9)(),F=(0,_.Pj)(),U=(0,_.wA)(),q=(0,m.hN)(),{modal:G}=a.A.useApp(),{confirm:K}=G,{token:$}=N(),W=(0,_.d4)("folder"===B?k.MY:M.D2),X=(0,_.d4)("folder"===B?k.aO:M.dV),Y=(0,_.d4)(S.o8),[J]=(0,f.ok)(),Q=J.get("folder"),{data:ee}=(0,j.KC)(),te=z("folder"===B?"New emails":"New blocks");let se;null!==window.localStorage.getItem(V.V0.em_folder_is_open)&&(se=window.localStorage.getItem(V.V0.em_folder_is_open));const[le,ie]=(0,l.useState)({folderId:null,folderName:""}),{data:ae,refetch:oe}=(0,E.Jz)({parent:null===(T=ee[B])||void 0===T?void 0:T[0]},{skip:!(null!==(Z=ee[B])&&void 0!==Z&&Z[0])});(0,l.useEffect)((()=>{U((0,S.sB)(ae||[]))}),[U,ae,B]);const ne=(s=null)=>{const l=null===pe||void 0===pe?void 0:pe.filter((e=>!s||e.key!==s));null===l||void 0===l||l.unshift((e=>({icon:(0,H.jsx)(p.A,{style:{fontSize:18}}),label:e("New emails"),key:V.y2}))(z));const i=(s,l)=>{K({maskClosable:!0,centered:!0,title:P("Are you sure to delete \u201c","folder")+l+z("\u201d folder?"),icon:(0,H.jsx)(u.A,{style:{color:"#ff4d4f"}}),okText:z("Yes"),cancelText:z("No"),onOk:()=>(s=>{F.dispatch(E.kE.endpoints.deleteFolder.initiate(s)).then((({data:l,error:i})=>{i?q.error({message:(0,H.jsx)("div",{dangerouslySetInnerHTML:{__html:i.data.code}}),description:(0,H.jsx)("div",{dangerouslySetInnerHTML:{__html:i.data.message}}),placement:"bottomRight"}):null!==l&&void 0!==l&&l.deleted&&(q.success({message:z("The folder \u201c")+l.previous.name+P("\u201d was successfully deleted.","recovery"),placement:"bottomRight"}),s===+e&&t(V.y2),oe())}))})(s)})};let a=[{label:z("Rename"),key:"Rename",icon:(0,H.jsx)(h.A,{style:{fontSize:"16px"}}),onClick:()=>((e,t)=>{U((0,S.qf)(V.lx.EDIT_FOLDER_NAME_MODAL)),ie({folderId:e,folderName:t})})(s,Y.find((e=>e.id===s)).name)},{label:z("Remove"),icon:(0,H.jsx)(u.A,{style:{fontSize:"16px"}}),key:"Remove",style:{color:"#ff4d4f"},onClick:()=>i(s,Y.find((e=>e.id===s)).name)}];return(0,H.jsx)(o.Ay,{type:"text",className:"project-page__folder_menu","data-folder-id":s||"",size:"large",children:(0,H.jsx)(n.A,{disabled:!re,className:"project-page__folder_menu-inner",placement:"right",menu:{items:a},trigger:["hover"],children:(0,H.jsx)("span",{className:"projects-table__actions",children:(0,H.jsx)(C.A,{})})})},s)},[re,ce]=(0,l.useState)("true"===se),[de,me]=(0,l.useState)(!0);(0,l.useEffect)((()=>{ce(!(null===Y||void 0===Y||!Y.length)&&"true"===se)}),[null===Y||void 0===Y?void 0:Y.length,se]);const pe=null===Y||void 0===Y?void 0:Y.map((t=>({icon:+e===t.id?(0,H.jsx)(g.A,{style:{fontSize:18}}):(0,H.jsx)(x.A,{style:{fontSize:18}}),label:(0,H.jsxs)("div",{className:"project-page__folder-title",children:[(0,H.jsx)("span",{children:t.name}),!!t.count&&(0,H.jsx)("span",{className:"project-page__folder-count project-page__folder-count_menu ",children:t.count})]}),key:t.id,className:`folder_${t.id}`})));let ue=[I((0,H.jsxs)("div",{className:"project-page__folder-title",children:[(0,H.jsx)("span",{children:te}),W>0&&(0,H.jsx)("span",{className:"project-page__folder-count ",children:W})]}),V.y2,(0,H.jsx)(p.A,{style:{fontSize:18}})),I((0,H.jsxs)("div",{className:"project-page__folder-title",children:[(0,H.jsx)("span",{children:z("Folders")}),(null===Y||void 0===Y?void 0:Y.length)>0&&!!Y.reduce(((e,t)=>e+t.count),0)&&de&&!re&&(0,H.jsx)("span",{className:"project-page__folder-count ",children:Y.reduce(((e,t)=>e+t.count),0)})]}),V.Ug,re?(0,H.jsx)(g.A,{style:{fontSize:18}}):(0,H.jsx)(x.A,{style:{fontSize:18}}),null!==Y&&void 0!==Y&&Y.length?pe:null,"project-page__all-folders","inline",(({domEvent:e})=>{Y.length||e.preventDefault()}))];ue.push(I((0,H.jsxs)("div",{className:"project-page__folder-title",children:[(0,H.jsx)("span",{children:z("Deleted")}),X>0&&(0,H.jsx)("span",{className:"project-page__folder-count ",children:X})]}),"deleted",(0,H.jsx)(u.A,{style:{fontSize:18}})));(0,l.useEffect)((()=>{ie((e=>{if(e.folderId){const t=Y.find((t=>t.id===e.folderId));return{folderId:null===t||void 0===t?void 0:t.id,folderName:null===t||void 0===t?void 0:t.name}}return e})),ce(!(null===Y||void 0===Y||!Y.length)&&"true"===se)}),[Y,se]);const he=e=>{const t=e.target.closest(".project-page__all-folders .ant-menu-item"),s=e.target.closest(".project-page__all-folders"),l=e.target.closest(".project-page__add-folder"),i=t?t.querySelector(".project-page__folder-count"):null,a=e.target.closest("[data-folder-id]"),o=e.target.closest(".ant-dropdown-menu"),n=null===t||void 0===t?void 0:t.getAttribute("class").split(" "),r=null===n||void 0===n?void 0:n[n.length-1].slice(7),c=()=>document.querySelectorAll("[data-folder-id]").forEach((e=>e.style.opacity=0)),d=()=>document.querySelectorAll(".project-page__folder-count").forEach((e=>e.style.opacity=1)),m=document.querySelector(`[data-folder-id="${r}"]`);me(!(s||l)),t&&m||a||o?(a||o||(c(),d()),m&&(m.style.opacity=1,i&&(i.style.opacity=0))):(c(),d())};return(0,l.useEffect)((()=>{document.querySelectorAll(".project-page__folder_menu").forEach(((e,t)=>{e.style.transform=`translateY(${40*(t+1)}px)`}))}),[Y]),(0,l.useEffect)((()=>(document.addEventListener("mouseover",he),()=>{document.removeEventListener("mouseover",he)})),[]),(0,H.jsxs)("div",{style:{position:"sticky",top:0},children:[(0,H.jsx)(r.A,{items:ue,className:"project-page__folders",mode:"inline",defaultSelectedKeys:[Q||V.y2],defaultOpenKeys:["true"===se&&V.Ug],openKeys:re&&[V.Ug],onOpenChange:e=>{ce(e.includes(V.Ug)),window.localStorage.setItem(V.V0.em_folder_is_open,e.includes(V.Ug))},forceSubMenuRender:!0,onSelect:e=>{e.key!==V.Ug&&s(e.key)},selectedKeys:[i?null:e]}),(0,H.jsx)(o.Ay,{className:w()("project-page__add-folder",{"project-page__add-folder_hidden":!re&&(null===Y||void 0===Y?void 0:Y.length)>0&&de}),type:"text",shape:"default",icon:(0,H.jsx)(v.A,{style:{fontSize:16}}),onClick:()=>U((0,S.qf)(V.lx.ADD_NEW_FOLDER_MODAL))}),null===Y||void 0===Y?void 0:Y.map((e=>ne(e.id))),(0,H.jsx)("div",{style:{maxWidth:"300px",padding:"20px 10px"},children:(0,H.jsx)(c.A,{wrap:!0,size:10,children:null===A||void 0===A||null===(R=A.filter((e=>e.count)))||void 0===R||null===(O=R.sort(((e,t)=>e.count<t.count?1:-1)))||void 0===O?void 0:O.map((e=>(0,H.jsxs)(d.A,{color:i===e.id?$.blue8:$.colorPrimary,style:{cursor:"pointer",borderRadius:6,marginRight:0},checked:i===e.id,onClick:()=>s(null,e.id),children:[(0,H.jsx)("span",{children:e.name}),(0,H.jsx)("span",{className:"tag__counter",children:e.count})]},e.id)))})}),(0,H.jsx)(L.A,{project:ee,parentFolderId:(null===(D=ee[B])||void 0===D?void 0:D[0])||null,folderTaxonomy:B}),(0,H.jsx)(b.A,{folder:le,refetch:oe})]})}},49343:(e,t,s)=>{s.d(t,{A:()=>p});var l=s(92810),i=s(95838),a=s(12280),o=s(5559),n=s(32269),r=s(85163),c=s(70082);const{useToken:d}=i.A,m=({form:e,label:t,name:s,disabled:i,elementSettings:m})=>{var p,u;const h=(null===m||void 0===m?void 0:m.type)===r.bV.CAROUSEL?null===(p=e.getFieldValue("images"))||void 0===p?void 0:p[s]:e.getFieldValue(s),[C,g]=(0,l.useState)("success"),{token:x}=d();return(0,l.useEffect)((()=>{h?(0,n.DI)(h).then((e=>{g(e)})).catch((e=>{g(e)})):g("")}),[e,h]),(0,c.jsx)(a.A.Item,{name:s,validateStatus:C,style:{marginBottom:x.formItemMarginBottomXS},children:(0,c.jsx)(o.A,{validateStatus:C,placeholder:t,name:s,disabled:i,elementSettings:m,imageInfo:(null===m||void 0===m?void 0:m.type)===r.bV.CAROUSEL?null===m||void 0===m||null===(u=m.carouselImages)||void 0===u?void 0:u[s.split("_")[1]]:m})})};m.defaulProps={disabled:!1};const p=m},9439:(e,t,s)=>{var l=s(92810),i=s(66726),a=s(12280),o=s(81e3),n=s(8701),r=s(23287),c=s(5559),d=s(32269),m=s(45695),p=s(85163),u=s(70082);const h=({form:e,placeholder:t,name:s,tooltipTitle:h,disabled:C,elementSettings:g})=>{var x;const{__:v}=(0,r.s9)(),f=(0,m.XW)(),j=e.getFieldValue(s),[_,y]=(0,l.useState)("success"),A=(0,l.useRef)(),[w,L]=(0,l.useState)(!(!g.mobileBackgroundImage||"none"!==g.mobileBackgroundImage[0].value));(0,l.useEffect)((()=>{j?(0,d.DI)(j).then((e=>{y(e)})).catch((e=>{y(e)})):y("")}),[e,j]);return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(i.A,{trigger:["hover"],title:h,placement:"left",children:[(0,u.jsx)(a.A.Item,{name:s,validateStatus:_,style:{marginBottom:-7},children:(0,u.jsx)(c.A,{validateStatus:_,placeholder:t,name:s,disabled:C,elementSettings:g,imageInfo:g.type===p.bV.CAROUSEL?null===(x=g.carouselImages)||void 0===x?void 0:x[s.split("_")[1]]:g})}),(0,u.jsxs)(o.A,{size:8,align:"end",style:{marginTop:-3,display:"flex"},children:[(0,u.jsx)(n.A,{ref:A,size:"small",checked:w,onChange:t=>{e.setFieldsValue({mobileBackgroundImage:""}),L((e=>!e)),f({operation:p.Ru.SANDBOX_ELEMENT_SETTINGS_SET,type:g.type,settings:{mobileBackgroundImage:[{classNamePrefix:"em-mob-background_image-",value:w?"":"none",type:"url"}]}})},id:"without-background-image"}),(0,u.jsx)("div",{className:"ant-form-item-switch-label-small",style:{position:"relative",top:2},children:(0,u.jsx)("label",{htmlFor:"without-background-image",children:v("Without background image")})})]})]})})};h.defaulProps={disabled:!1}},50197:(e,t,s)=>{s.d(t,{A:()=>d});var l=s(92810),i=s(24696),a=s(45934),o=s(36404),n=s(65983),r=s(62303),c=s(70082);const d=({className:e="",groups:t,isProjectGroups:s})=>{const d=(0,a.wA)(),m=(0,a.d4)(s?o.Rw:o.GD),p=s?"count_template":"count",[u,h]=(0,l.useState)([]),[C,g]=(0,l.useState)([]);(0,l.useEffect)((()=>{let e=[];u.length&&u.forEach((t=>{e.push(...null===t||void 0===t?void 0:t.children.map((e=>({...e,parentId:t.key}))))})),g(e)}),[d,u]);const x=(0,l.useCallback)((e=>null===e||void 0===e?void 0:e.children.reduce(((e,t)=>e+t[p]),0)),[p]);(0,l.useEffect)((()=>{null!==t&&void 0!==t&&t.length&&h(t.filter((e=>x(e)>0)).map((e=>({key:e.id,label:(0,c.jsxs)("div",{className:"project-page__folder-title",children:[(0,c.jsx)("span",{children:e.name}),(0,c.jsx)("span",{className:"project-page__folder-count ",children:x(e)})]}),icon:(0,c.jsx)(r.A,{className:"groups__group-count",icon:"GroupArrow"}),count:x(e),children:null===e||void 0===e?void 0:e.children.filter((e=>e[p])).map((e=>({key:e.id,label:(0,c.jsxs)("div",{className:"project-page__folder-title",children:[(0,c.jsx)("span",{children:e.name}),(0,c.jsx)("span",{className:"project-page__folder-count ",children:e[p]})]}),name:e.name,count:e[p],className:"groups__menu-item"}))),className:"groups__menu-item"}))))}),[t,p,x]);const v=({selectedKeys:e})=>{const t=C.filter((t=>t.count&&e.includes(String(t.key))));d(s?(0,o.BN)(t):(0,o.es)(t)),d((0,n.ry)({[s?"projectGroup":"group"]:t,[s?"group":"projectGroup"]:[]}))};return!!u.length&&(0,c.jsx)("div",{className:`${e} groups`,children:(0,c.jsx)(i.A,{style:{width:310},defaultOpenKeys:[],selectedKeys:null===m||void 0===m?void 0:m.map((e=>String(e.key))),mode:"inline",items:u,multiple:!0,onSelect:v,onDeselect:v})})}},69292:(e,t,s)=>{s.d(t,{A:()=>V});var l=s(92810),i=s(95838),a=s(33206),o=s(49246),n=s(2018),r=s(7744),c=s(12280),d=s(43005),m=s(4800),p=s(81662),u=s(66522),h=s(9452),C=s(20350),g=s(8114),x=s(45934),v=s(23287),f=s(38883),j=s.n(f),_=s(58353),y=s(35825),A=s(62303),w=s(93563),L=s(64936),b=s(65983),k=s(85163),M=s(71157),S=s(70082);const{useToken:E}=i.A,V=({className:e,refetchProjectGroups:t,isLoading:s})=>{const{__:i,_x:f}=(0,v.s9)(),V=(0,x.wA)(),H=(0,M.hN)(),{modal:N}=a.A.useApp(),{confirm:I}=N,{token:B}=E(),T=(0,x.d4)(b.UI),[Z]=(0,w.Lh)(),R=(e,s)=>{I({maskClosable:!0,centered:!0,title:f("Are you sure to delete \u201c","group")+s+i("\u201d group and all nested groups?"),icon:(0,S.jsx)(h.A,{style:{color:"#ff4d4f"},rev:void 0}),okText:i("Yes"),cancelText:i("No"),onOk:()=>(e=>{Z(e).unwrap().then((e=>{null!==e&&void 0!==e&&e.deleted&&(H.success({message:i("The group \u201c")+e.previous.name+f("\u201d was successfully deleted.","recovery"),placement:"bottomRight"}),t())})).catch((e=>{H.error({message:(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:e.data.code}}),description:(0,S.jsx)("div",{dangerouslySetInnerHTML:{__html:e.data.message}}),placement:"bottomRight"})}))})(String(e))})};let O=e=>[{label:i("Rename"),key:"Rename",icon:(0,S.jsx)(C.A,{style:{fontSize:"16px"},rev:void 0}),onClick:()=>{return t=e.id,s=e.name,V((0,L.qf)(k.lx.EDIT_GROUP_NAME_MODAL)),void z({id:t,name:s});var t,s}},{label:i("Remove"),icon:(0,S.jsx)(h.A,{style:{fontSize:"16px"},rev:void 0}),key:"Remove",style:{color:"#ff4d4f"},onClick:()=>R(e.id,e.name)}];const[D,z]=(0,l.useState)({id:null,name:""});return(0,S.jsxs)("div",{className:j()("groups-management",{[e]:e}),children:[s?(0,S.jsx)(o.A,{active:!0}):(0,S.jsxs)(n.A,{children:[!(null===T||void 0===T||!T.length)&&(null===T||void 0===T?void 0:T.map(((e,t)=>{var s;return(0,S.jsx)(r.A,{span:24,children:(0,S.jsx)(c.A.Item,{name:`group_${e.id}`,style:{marginBottom:B.formItemMarginBottomMD},label:(0,S.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",width:"100%",alignItems:"center"},children:[(0,S.jsx)("span",{children:e.name}),(0,S.jsx)(d.Ay,{type:"text",className:"groups-management__group_menu","data-group-id":e.id,size:"large",children:(0,S.jsx)(m.A,{className:"groups-management__group_menu-inner",placement:"bottomLeft",menu:{items:O(e)},trigger:["hover"],children:(0,S.jsx)("span",{className:"groups-management__actions",children:(0,S.jsx)(g.A,{rev:void 0})})})})]}),className:"groups-management__group-select",rules:[{message:"Please input category name!",type:"array"}],children:(0,S.jsx)(p.A,{mode:"tags",style:{width:"100%"},placeholder:i("Type category here"),options:null===(s=e.children)||void 0===s?void 0:s.map((e=>({label:e.name,value:String(e.id)}))),tagRender:e=>{const{label:t,closable:s,onClose:l}=e;return(0,S.jsx)(u.A,{color:B.colorPrimary,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},closable:s,onClose:l,style:{borderRadius:6},children:t})},getPopupContainer:()=>document.querySelector(".email-settings__collapse")})})},e.id)}))),(0,S.jsx)(r.A,{span:24,children:(0,S.jsx)(c.A.Item,{style:{marginBottom:B.formItemMarginBottomMD},children:(0,S.jsx)(d.Ay,{id:"add_group_button",icon:(0,S.jsx)(A.A,{icon:"AddSlide"}),style:{width:"100%"},onClick:()=>V((0,L.qf)(k.lx.ADD_NEW_GROUP_MODAL)),children:i("Add group")})})})]}),(0,S.jsx)(_.A,{taxonomy:k.bV.GROUP}),(0,S.jsx)(y.A,{group:D,refetch:t})]})}},20757:(e,t,s)=>{s.d(t,{A:()=>u});var l=s(92810),i=s(99215),a=s(38883),o=s.n(a),n=s(95838),r=s(81e3),c=s(33284),d=s(56991),m=s(70082);const{useToken:p}=n.A,u=({className:e,leftBlock:t,rightBlock:s,isHeaderCodeMenuOpen:a=!1})=>{const{token:n}=p(),u=(0,l.useRef)(),h=(0,d.rD)();return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(c.A,{}),h.headerShow&&(0,m.jsx)("header",{className:o()("header",{[e]:e}),style:{borderColor:n.colorBorder},children:!a&&(0,m.jsx)(i.A,{nodeRef:u,in:!a,timeout:300,classNames:"transition",children:(0,m.jsxs)("div",{className:"header__container container",children:[(0,m.jsx)("div",{className:"header__left",style:{flexGrow:1},children:t}),(0,m.jsx)("div",{className:"header__right",children:(0,m.jsx)(r.A,{size:10,children:s})})]})})})]})}}}]);
|