@mirantes-micro/foundation-design-system 1.2.302 → 1.2.303

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3252,7 +3252,7 @@ mutation CreateParticipant($input: CreateParticipantInput!) {
3252
3252
  }
3253
3253
  }
3254
3254
  `;async function NO(e,t,o){try{return (await lg__default.default(e??"",SO,{id:o.id},{"x-access-token":t})).deletePost}catch{return null}}function IO(){let{successToast:e,errorToast:t}=Xe(),{feedApi:o,user:r,queryClient:n,locale:a}=w(),{mutate:s,isPending:i}=re({mutationFn:({id:l})=>NO(o??"",r?.accessToken??"",{id:l}),onMutate:async({id:l})=>{await n?.cancelQueries({queryKey:["scheduled-posts-by-entity",r?.id]}),n?.setQueryData(["scheduled-posts-by-entity",r?.id],d=>d&&{...d,pages:d?.pages?.flatMap(c=>({...c,scheduledPosts:{...c.scheduledPosts,data:c?.scheduledPosts?.data?.filter(p=>p.id!==l)}}))});},onSuccess:()=>{e({title:le(a,"delete-post-toast-title"),message:le(a,"delete-post-toast-message")});},onError:()=>{t({title:le(a,"delete-post-toast-error-title"),message:le(a,"delete-post-toast-error-message")});}});return {deleteAPost:s,isDeletingAPost:i}}function AO({onPublishNow:e,onChangeSchedule:t,onEdit:o,onDelete:r,isLoading:n=false}){let{isMobile:a}=Ir(),{locale:s}=w(),[i,l]=W.useState(false),d=[{label:le(s,"publish-now"),icon:W__namespace.default.createElement(lucideReact.Send,{size:18}),onClick:()=>{e(),l(false);},variant:"default"},{label:le(s,"change-schedule"),icon:W__namespace.default.createElement(lucideReact.CalendarClock,{size:18}),onClick:()=>{t(),l(false);},variant:"default"},{label:le(s,"edit-post"),icon:W__namespace.default.createElement(Qc,null),onClick:()=>{o(),l(false);},variant:"default"},{label:le(s,"delete-post"),icon:W__namespace.default.createElement(I3,null),onClick:()=>{r(),l(false);},variant:"danger"}],c=()=>W__namespace.default.createElement("div",{className:"flex flex-col w-full bg-white"},d.map((m,f)=>W__namespace.default.createElement("button",{key:f,onClick:m.onClick,disabled:n,className:E("flex items-center justify-start gap-3 px-4 py-4 md:py-3 text-body-sm font-medium transition-colors w-full outline-none text-left",m.variant==="danger"?"text-red-500 hover:bg-red-50 active:bg-red-100":"text-gray-700 hover:bg-gray-50 active:bg-gray-100",f!==d.length-1&&"border-b border-gray-100")},n?W__namespace.default.createElement("span",{className:"flex items-center justify-center min-w-[20px]"},W__namespace.default.createElement("svg",{className:"animate-spin h-4 w-4 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},W__namespace.default.createElement("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),W__namespace.default.createElement("path",{className:"opacity-75",fill:"currentColor",d:`M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014
3255
- 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z`}))):W__namespace.default.createElement(W__namespace.default.Fragment,null,W__namespace.default.createElement("span",{className:E("flex items-center justify-center min-w-[20px]",m.variant==="danger"?"text-red-500":"text-gray-400")},m.icon),W__namespace.default.createElement("span",{className:"truncate"},m.label))))),p=W__namespace.default.createElement("button",{onClick:()=>a&&l(true),className:"text-gray-400 hover:bg-gray-100 p-1.5 rounded-full transition-colors outline-none focus:ring-2 focus:ring-primary/20"},W__namespace.default.createElement(lucideReact.MoreHorizontal,{size:20}));return a?W__namespace.default.createElement(W__namespace.default.Fragment,null,p,W__namespace.default.createElement(yo,{isOpen:i,onClose:()=>l(false),className:"h-72",side:"bottom"},W__namespace.default.createElement("div",{className:"pb-8 pt-2"},W__namespace.default.createElement(c,null)))):W__namespace.default.createElement(d1__namespace.Root,{open:i,onOpenChange:l},W__namespace.default.createElement(d1__namespace.Trigger,{asChild:true},p),W__namespace.default.createElement(d1__namespace.Portal,null,W__namespace.default.createElement(d1__namespace.Content,{align:"end",sideOffset:8,className:"z-[9999] w-60 bg-white rounded-xl shadow-2xl border border-gray-100 overflow-hidden animate-in fade-in zoom-in-95 duration-200"},W__namespace.default.createElement(c,null))))}var Ade=()=>W__namespace.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"},W__namespace.createElement("g",{id:"freepik--Floor--inject-62"},W__namespace.createElement("ellipse",{id:"freepik--floor--inject-62",cx:"251.12",cy:"333.69",fill:"#f5f5f5",rx:"238.53",ry:"140.13"})),W__namespace.createElement("g",{id:"freepik--Shadows--inject-62",fill:"#e0e0e0"},W__namespace.createElement("path",{id:"freepik--Shadow--inject-62",d:"m35.08 343.63 112.6 65a10.25 10.25 0 0 0 9.28 0L369 286.22c2.56-1.48 2.56-3.88 0-5.36l-112.6-65a10.25 10.25 0 0 0-9.28 0l-212 122.42c-2.6 1.47-2.6 3.87-.04 5.35"}),W__namespace.createElement("ellipse",{id:"freepik--shadow--inject-62",cx:"423.78",cy:"358.9",rx:"37.52",ry:"21.66"}),W__namespace.createElement("ellipse",{id:"freepik--shadow--inject-62",cx:"319.05",cy:"373.47",rx:"55.81",ry:"32.22"})),W__namespace.createElement("g",{id:"freepik--Device--inject-62"},W__namespace.createElement("g",{id:"freepik--Mobile--inject-62"},W__namespace.createElement("g",{id:"freepik--device--inject-62"},W__namespace.createElement("path",{fill:"#263238",d:"M42.6 321.2c-1.57 1.22-1.4 3 .51 4.06L148 385.8a8.5 8.5 0 0 0 7.63 0l200.31-115.69c1.94-1.12 2.1-2.88.45-4.1a8.5 8.5 0 0 1 3.36 6.31v5A8.41 8.41 0 0 1 356 284L155.59 399.64a8.41 8.41 0 0 1-7.63 0L43.12 339.12a8.38 8.38 0 0 1-3.81-6.61v-5.05a8.53 8.53 0 0 1 3.29-6.26"}),W__namespace.createElement("path",{fill:"#455a64",d:"M43.11 325.26 148 385.8a8.5 8.5 0 0 0 7.63 0l200.31-115.69c2.1-1.21 2.11-3.19 0-4.4L251.1 205.18a8.47 8.47 0 0 0-7.63 0L43.11 320.86c-2.11 1.22-2.11 3.19 0 4.4m184.24-104.43c1.8-1 3.68-.44 5.48.61l95.33 55c1.8 1 1.81 2.73 0 3.77l-156 90.07a7.28 7.28 0 0 1-6.54 0L70.3 315.27c-1.81-1-1.81-2.73 0-3.77Z"}),W__namespace.createElement("path",{fill:"#37474f",d:"M356.39 266a8.5 8.5 0 0 1 3.36 6.31v5A8.43 8.43 0 0 1 356 284L155.59 399.64a7.9 7.9 0 0 1-3.82.92V386.7a7.9 7.9 0 0 0 3.82-.91l200.35-115.68c1.94-1.11 2.06-2.88.45-4.11"}),W__namespace.createElement("path",{d:"M293.46 241.39c-1.41-.82-1.41-2.14 0-2.95a5.64 5.64 0 0 1 5.12 0c1.41.81 1.41 2.13 0 2.95a5.7 5.7 0 0 1-5.12 0"}),W__namespace.createElement("path",{fill:"#e6e6e6",d:"M105.44 354a12.8 12.8 0 0 1-6.27-1.5c-1.77-1-2.74-2.41-2.74-3.9s1-2.89 2.74-3.91a13.85 13.85 0 0 1 12.54 0c1.77 1 2.74 2.41 2.74 3.91s-1 2.88-2.74 3.9a12.8 12.8 0 0 1-6.27 1.5m0-9.82a11.9 11.9 0 0 0-5.77 1.37c-1.45.84-2.24 1.92-2.24 3.05s.79 2.2 2.24 3a12.78 12.78 0 0 0 11.54 0c1.44-.84 2.24-1.92 2.24-3s-.8-2.21-2.24-3.05a11.9 11.9 0 0 0-5.77-1.35Z"}),W__namespace.createElement("path",{d:"m296 251.18-19.74-11.39c-1.17-.68-1.23-1.75-.13-2.39a4.56 4.56 0 0 1 4.13.08L300 248.87c1.18.68 1.23 1.75.13 2.39a4.56 4.56 0 0 1-4.13-.08"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M227.35 220.83c1.8-1 3.68-.44 5.48.61l95.33 55c1.8 1 1.81 2.73 0 3.77l-156 90.07a7.28 7.28 0 0 1-6.54 0L70.3 315.27c-1.81-1-1.81-2.73 0-3.77Z"}),W__namespace.createElement("path",{fill:"#fff",d:"M227.35 220.83c1.8-1 3.68-.44 5.48.61l95.33 55c1.8 1 1.81 2.73 0 3.77l-156 90.07a7.28 7.28 0 0 1-6.54 0L70.3 315.27c-1.81-1-1.81-2.73 0-3.77Z",opacity:"0.8"})))),W__namespace.createElement("g",{id:"freepik--Plants--inject-62"},W__namespace.createElement("g",{id:"freepik--plants--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"m97.73 303.26 6.63-3.79s3.18-17.52.8-32.58c-3.34-21.17-17.76-28.47-23-26.37s-6.46 8.38 3 20.61c5.57 7.22 12.75 22.48 12.57 42.13"}),W__namespace.createElement("path",{d:"m97.73 303.26 6.63-3.79s3.18-17.52.8-32.58c-3.34-21.17-17.76-28.47-23-26.37s-6.46 8.38 3 20.61c5.57 7.22 12.75 22.48 12.57 42.13",opacity:"0.3"}),W__namespace.createElement("path",{fill:"#fff",d:"M100.13 294.85h-.06a.49.49 0 0 1-.41-.54c2.74-19.82-5.23-41.54-14.19-50.29a.47.47 0 0 1 .66-.68c9.12 8.92 17.25 31 14.47 51.1a.47.47 0 0 1-.47.41"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M79.34 313.88c-1 .6-3.21-.71-4-1.26A10 10 0 0 1 72 308.8a9.33 9.33 0 0 1-.83-5.63 22 22 0 0 1 .71-3l.84-2.9a7.4 7.4 0 0 0 .42-2.93c-.25-2-2-3.38-3.62-4.58-1.77-1.32-3.62-3.07-3.61-5.46a8.46 8.46 0 0 1 2.11-5c1.14-1.45 2.5-2.73 3.53-4.25a5.88 5.88 0 0 0 1.21-3.72 6.2 6.2 0 0 0-.81-2.32 32 32 0 0 1-2.54-4.66c-.58-1.67-.5-3.75.8-4.94a5.5 5.5 0 0 1 4.12-1 9.5 9.5 0 0 1 3.82 1.35c3.8 2.11 6 6.6 10 8.23a40 40 0 0 0 4.85 1.16 6 6 0 0 1 4 2.75c1.47 3-1.27 6.59-.23 9.73.92 2.77 3.62 3.83 5.13 6.33a6 6 0 0 1 .71 3.64 17.5 17.5 0 0 1-1.53 6.13 44.4 44.4 0 0 1-3.37 5.53c-.04.06-18.21 10.53-18.37 10.62"}),W__namespace.createElement("path",{d:"M79.34 313.88c-1 .6-3.21-.71-4-1.26A10 10 0 0 1 72 308.8a9.33 9.33 0 0 1-.83-5.63 22 22 0 0 1 .71-3l.84-2.9a7.4 7.4 0 0 0 .42-2.93c-.25-2-2-3.38-3.62-4.58-1.77-1.32-3.62-3.07-3.61-5.46a8.46 8.46 0 0 1 2.11-5c1.14-1.45 2.5-2.73 3.53-4.25a5.88 5.88 0 0 0 1.21-3.72 6.2 6.2 0 0 0-.81-2.32 32 32 0 0 1-2.54-4.66c-.58-1.67-.5-3.75.8-4.94a5.5 5.5 0 0 1 4.12-1 9.5 9.5 0 0 1 3.82 1.35c3.8 2.11 6 6.6 10 8.23a40 40 0 0 0 4.85 1.16 6 6 0 0 1 4 2.75c1.47 3-1.27 6.59-.23 9.73.92 2.77 3.62 3.83 5.13 6.33a6 6 0 0 1 .71 3.64 17.5 17.5 0 0 1-1.53 6.13 44.4 44.4 0 0 1-3.37 5.53c-.04.06-18.21 10.53-18.37 10.62",opacity:"0.15"}),W__namespace.createElement("path",{fill:"#fff",d:"M90.1 308.15a.47.47 0 0 1-.46-.49c.78-18.76-8.06-39.48-14.49-45.5a.46.46 0 0 1 0-.66.47.47 0 0 1 .66 0c6.56 6.14 15.58 27.2 14.79 46.23a.47.47 0 0 1-.5.42"}),W__namespace.createElement("path",{fill:"#fff",d:"M87.29 286a.3.3 0 0 1-.14 0 63.3 63.3 0 0 0-13.62-2.19.48.48 0 0 1 0-.95 65 65 0 0 1 13.86 2.24.47.47 0 0 1-.14.92Z"}))),W__namespace.createElement("g",{id:"freepik--Mailbox--inject-62"},W__namespace.createElement("g",{id:"freepik--mailbox--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"m160.58 132.9-12.23-7.06c-.55-.31-.94-.39-1.16-.27l-1.49.87c-.26.14-.25.59.08 1.27l3 6.16-2.22 2a1.73 1.73 0 0 0 .33 2.94l12.22 7.06 1.5-.86Z"}),W__namespace.createElement("path",{fill:"#fff",d:"m160.58 132.9-12.23-7.06c-.55-.31-.94-.39-1.16-.27l-1.49.87c-.26.14-.25.59.08 1.27l3 6.16-2.22 2a1.73 1.73 0 0 0 .33 2.94l12.22 7.06 1.5-.86Z",opacity:"0.5"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M146.86 126.71c-1.2-.7-1.68-.25-1.08 1l3 6.16-2.22 2a1.73 1.73 0 0 0 .33 2.94l12.22 7.06v-12.11Z"}),W__namespace.createElement("path",{fill:"#e0e0e0",d:"M160.52 171.81a1.45 1.45 0 0 1-1.44-1.44v-40.62a1.44 1.44 0 0 1 2.88 0v40.62a1.45 1.45 0 0 1-1.44 1.44"}),W__namespace.createElement("path",{fill:"#263238",d:"M102.65 314.67v-2.54h.62a10 10 0 0 1 4.11-4c6.32-3.65 16.56-3.65 22.88 0a10 10 0 0 1 4.11 4h.63v2.46c0 2.43-1.52 4.86-4.73 6.72-6.32 3.64-16.56 3.64-22.88 0-3.18-1.83-4.76-4.24-4.74-6.64"}),W__namespace.createElement("ellipse",{cx:"118.82",cy:"312.13",fill:"#455a64",rx:"16.18",ry:"9.34"}),W__namespace.createElement("path",{fill:"#37474f",d:"M123 186.44V311a2.07 2.07 0 0 1-1.22 1.7 6.5 6.5 0 0 1-5.89 0 2.07 2.07 0 0 1-1.22-1.7V186.44Z"}),W__namespace.createElement("path",{fill:"#263238",d:"M114.66 196.95v8.17l8.33 4.8v-8.15z"}),W__namespace.createElement("path",{fill:"#37474f",d:"m150.11 181.7 15.4 8.9a1.1 1.1 0 0 1-.3.31l-26.94 15.55c-.23.13-.41 0-.41-.24v-19.41a30.3 30.3 0 0 1 2.25-10.88Z"}),W__namespace.createElement("path",{fill:"#263238",d:"M165.63 169v21.72l-25.51-14.73a2 2 0 0 1 .08-.22c2.74-6.83 7.35-12.63 12.35-15.5a11.65 11.65 0 0 1 5.77-1.79c4.51-.05 7.31 3.98 7.31 10.52M193.34 214.92V213h-.18v.27a8.7 8.7 0 0 0-.51-1.57 14.65 14.65 0 0 0-6.44-6.54L168 194.61a3 3 0 0 0-2.75 0l-27.89 16.09a3.9 3.9 0 0 1-.89-1v2a1 1 0 0 0 .57.8l18.23 10.5a34.86 34.86 0 0 0 17.44 4.12 30.3 30.3 0 0 0 14.51-3.53c4.1-2.36 6.12-5.48 6.12-8.67"}),W__namespace.createElement("path",{fill:"#455a64",d:"M192.65 211.68a14.65 14.65 0 0 0-6.44-6.54L168 194.61a3 3 0 0 0-2.75 0l-27.89 16.09 17.91 10.35a34.86 34.86 0 0 0 17.44 4.12 30.3 30.3 0 0 0 14.51-3.53c3.68-2.12 5.69-4.85 6.06-7.7a8.3 8.3 0 0 0-.63-2.26"}),W__namespace.createElement("path",{fill:"#37474f",d:"M193.28 213.94a8.3 8.3 0 0 0-.63-2.26 14.65 14.65 0 0 0-6.44-6.54L168 194.61a3 3 0 0 0-2.75 0l-27.89 16.09-.32-.18a.83.83 0 0 1 0-1.58l28.19-16.28a3 3 0 0 1 2.75 0l18.23 10.52c3.28 1.9 5.42 4.18 6.44 6.55a8.5 8.5 0 0 1 .65 2.4 7.8 7.8 0 0 1-.02 1.81"}),W__namespace.createElement("path",{fill:"#455a64",d:"m137.65 208.66 28.19-16.28-.62-1.47-26.94 15.56z"}),W__namespace.createElement("g",{id:"freepik--Letter--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"M163.15 167.66a1.5 1.5 0 0 0-.67-1.17l-34.33-19.81a1.44 1.44 0 0 0-1.34 0l-.76.43a1.5 1.5 0 0 0-.67 1.16v26.32a1.5 1.5 0 0 0 .67 1.16l34.33 19.81a1.44 1.44 0 0 0 1.34 0l.76-.43a1.51 1.51 0 0 0 .67-1.16Z"}),W__namespace.createElement("path",{d:"m163 167-1.9 1.1-35.47-20.48a1.4 1.4 0 0 1 .47-.5l.76-.43a1.44 1.44 0 0 1 1.34 0l34.32 19.81a1.44 1.44 0 0 1 .48.5",opacity:"0.35"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M160.89 195.71"}),W__namespace.createElement("path",{d:"m161.05 168.09-.35.21a.58.58 0 0 1 .35.57v26.31a.46.46 0 0 1-.21.44.44.44 0 0 1-.32 0l-.14-.06-34.33-19.82a1.5 1.5 0 0 1-.67-1.16v-26.3a1.4 1.4 0 0 1 .2-.67Z",opacity:"0.2"}),W__namespace.createElement("path",{d:"m161.05 168.09-15.9 5.91a2.6 2.6 0 0 1-3.07-1l-2.55-3.91-14.08-21.57L139 169.26l-13.64 5.34a1.5 1.5 0 0 0 .21.67l13.47-6 3 4.75a2.58 2.58 0 0 0 3.23 1l2.11-.93 13.47 21.49a.46.46 0 0 0 .21-.44v-.44l-13.62-20.6Z",opacity:"0.2"})),W__namespace.createElement("g",{id:"freepik--letter--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"M155 172.31a1.47 1.47 0 0 0-.67-1.16L120 151.33a1.53 1.53 0 0 0-1.35 0l-.75.44a1.47 1.47 0 0 0-.67 1.16v26.31a1.47 1.47 0 0 0 .67 1.16l34.32 19.82a1.5 1.5 0 0 0 1.34 0l.76-.44a1.47 1.47 0 0 0 .67-1.16Z"}),W__namespace.createElement("path",{d:"m154.83 171.65-1.91 1.1-35.47-20.48a1.44 1.44 0 0 1 .48-.5l.76-.44a1.5 1.5 0 0 1 1.34 0l34.32 19.82a1.36 1.36 0 0 1 .48.5",opacity:"0.35"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M152.77 200.37"}),W__namespace.createElement("path",{d:"m152.93 172.75-.35.21a.58.58 0 0 1 .35.57v26.31a.46.46 0 0 1-.21.44.44.44 0 0 1-.32 0l-.14-.06-34.33-19.82a1.5 1.5 0 0 1-.67-1.16v-26.3a1.4 1.4 0 0 1 .2-.67Z",opacity:"0.2"}),W__namespace.createElement("path",{d:"M152.92 172.75 137 178.69a2.59 2.59 0 0 1-3.07-1l-2.55-3.91-14.05-21.58 13.57 21.71-13.64 5.34a1.3 1.3 0 0 0 .21.67l13.47-5.92 3 4.74a2.59 2.59 0 0 0 3.24 1l2.11-.94 13.47 21.5a.49.49 0 0 0 .2-.45v-.43l-13.6-20.64Z",opacity:"0.2"})),W__namespace.createElement("g",{id:"freepik--letter--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"M146.9 177a1.47 1.47 0 0 0-.67-1.16L111.9 156a1.47 1.47 0 0 0-1.34 0l-.76.44a1.47 1.47 0 0 0-.67 1.16v26.3a1.49 1.49 0 0 0 .67 1.16l34.33 19.82a1.5 1.5 0 0 0 1.34 0l.76-.44a1.49 1.49 0 0 0 .67-1.16Z"}),W__namespace.createElement("path",{d:"m146.7 176.31-1.9 1.1-35.47-20.48a1.34 1.34 0 0 1 .47-.5l.76-.44a1.44 1.44 0 0 1 1.34 0l34.33 19.82a1.34 1.34 0 0 1 .47.5",opacity:"0.35"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M144.64 205"}),W__namespace.createElement("path",{d:"m144.8 177.4-.35.21a.58.58 0 0 1 .35.57v26.31a.46.46 0 0 1-.21.44.44.44 0 0 1-.32 0l-.14-.06-34.33-19.81a1.5 1.5 0 0 1-.67-1.16v-26.31a1.4 1.4 0 0 1 .2-.67Z",opacity:"0.2"}),W__namespace.createElement("path",{d:"m144.8 177.41-15.9 5.93a2.56 2.56 0 0 1-3.06-1l-2.56-3.92-14.08-21.57 13.57 21.72-13.64 5.34a1.54 1.54 0 0 0 .21.67l13.47-6 3 4.75a2.58 2.58 0 0 0 3.23 1l2.11-.93 13.47 21.49a.46.46 0 0 0 .21-.44v-.44l-13.61-20.64Z",opacity:"0.2"})),W__namespace.createElement("path",{fill:"#455a64",d:"M162.06 157.73c-2.73-1.43-6.35-1.18-10.31 1.11-4.45 2.56-8.46 7.19-11.27 12.51a39 39 0 0 0-1.76 3.78 31.9 31.9 0 0 0-2.45 11.68V209a2.9 2.9 0 0 1-1.37-.33l-48.83-28.25A3.07 3.07 0 0 1 84.7 178v-21c0-10.52 6.93-23 15.47-28 4-2.34 7.73-2.53 10.49-1Z"}),W__namespace.createElement("path",{fill:"#37474f",d:"M138.72 175.13a31.9 31.9 0 0 0-2.45 11.68V209a2.7 2.7 0 0 1-.5-.05v-22.13c0-16.32 12.55-26.69 16-28-4.45 2.56-8.46 7.19-11.27 12.51a39 39 0 0 0-1.78 3.8"}),W__namespace.createElement("path",{fill:"#455a64",d:"M138.28 206.46c-.23.14-.42 0-.42-.23v-19.42a30.3 30.3 0 0 1 2.26-10.87 2 2 0 0 1 .08-.22 36 36 0 0 1 1.88-4c2.74-5.06 6.48-9.22 10.47-11.51a11.65 11.65 0 0 1 5.77-1.79 6.4 6.4 0 0 1 3 .73c2.69 1.44 4.27 4.92 4.27 9.79v21.24a.9.9 0 0 1-.41.72l.62 1.47.14-.09a2.5 2.5 0 0 0 .57-.55 3 3 0 0 0 .66-1.74V169c0-5.63-2-9.55-5.15-11.21-2.74-1.44-6.35-1.19-10.32 1.1-4.44 2.56-8.45 7.19-11.27 12.51a39 39 0 0 0-1.75 3.78 31.9 31.9 0 0 0-2.45 11.68V209h.24a2.75 2.75 0 0 0 1.13-.32Z"}))),W__namespace.createElement("g",{id:"freepik--trash-can--inject-62"},W__namespace.createElement("g",{id:"freepik--trash-can--inject-62"},W__namespace.createElement("path",{fill:"#37474f",d:"M458.17 294.35h-68.83l6 60.78c.37 3.89 3.13 7.72 8.28 10.69 11.11 6.42 29.11 6.42 40.22 0 5.15-3 7.9-6.8 8.28-10.69Z"}),W__namespace.createElement("ellipse",{cx:"423.76",cy:"293.24",fill:"#455a64",rx:"34.47",ry:"19.9"}),W__namespace.createElement("path",{fill:"#37474f",d:"M423.76 310.3c-8.72 0-16.87-1.93-23-5.44-5.59-3.23-8.67-7.36-8.67-11.62s3.08-8.39 8.67-11.62c6.09-3.51 14.24-5.45 23-5.45s16.87 1.94 22.95 5.45c5.6 3.23 8.68 7.36 8.68 11.62s-3.08 8.39-8.68 11.62c-6.08 3.51-14.23 5.44-22.95 5.44"}),W__namespace.createElement("path",{d:"M447.42 297.27c-1.72-1.29-4.78-.12-6-1.92-.38-.57-.45-1.34-1-1.78-1.6-1.32-4 2.26-5.7 1-.62-.45-.78-1.41-1.47-1.72-.51-.22-1.09 0-1.64 0a3.3 3.3 0 0 1-2.58-2.22 11.6 11.6 0 0 0-1.59-3.21 3.54 3.54 0 0 0-2.29-1.13c-2.16-.19-3.93 1.57-5.38 3.18-.23.26-.47.52-.7.79a5.2 5.2 0 0 1-1.49 1.28 1.33 1.33 0 0 1-1 .14 1.43 1.43 0 0 1-.79-.81c-.61-1.32-.47-3.35-1.88-3.72-.38-.1-.83-.05-1.13-.31s-.29-.65-.5-.94a1.55 1.55 0 0 0-1.19-.5c-2.9-.22-5.46 1.73-7.71 3.57-1.21-.8-1.34-2.57-.88-4 1.16-3.46 4.81-5.37 8.23-6.65 1.6-.6 3.23-1.13 4.87-1.61a42 42 0 0 0-14.89 4.85c-5.59 3.23-8.67 7.36-8.67 11.62s3.08 8.39 8.67 11.62c6.09 3.51 14.24 5.44 23 5.44s16.87-1.93 22.95-5.44l.36-.22c.34-.71.65-1.43.92-2.17.69-1.7.97-4.01-.52-5.14",opacity:"0.1"}),W__namespace.createElement("path",{fill:"#263238",d:"M407.56 361.4a31 31 0 0 1-4.38-2.08c-.52-.3-1-.6-1.48-.92a5.2 5.2 0 0 1-1.61-3.51L396.68 314c-.12-1.37.5-1.91 1.44-1.28q.83.56 1.74 1.08a36 36 0 0 0 5.44 2.55 4.07 4.07 0 0 1 2.49 3.31l2 40.05a1.56 1.56 0 0 1-2.23 1.69M429.06 321.77l-.68 39.76a2.74 2.74 0 0 1-2.54 2.67c-1.38.06-2.78.06-4.17 0a2.74 2.74 0 0 1-2.53-2.67l-.65-39.76a2.26 2.26 0 0 1 2.45-2.32 54 54 0 0 0 5.67 0 2.26 2.26 0 0 1 2.45 2.32M450.89 314l-3.45 40.92a5.3 5.3 0 0 1-1.62 3.52c-.47.31-1 .62-1.48.91a32 32 0 0 1-4.34 2.05 1.56 1.56 0 0 1-2.24-1.68l2-40.06a4.07 4.07 0 0 1 2.49-3.31 37 37 0 0 0 5.42-2.54c.61-.35 1.2-.72 1.76-1.1.94-.64 1.57-.11 1.46 1.29"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M394.11 299.06a20.5 20.5 0 0 0 6.69 5.8c6.09 3.51 14.24 5.44 23 5.44s16.87-1.93 22.95-5.44a23.8 23.8 0 0 0 4.88-3.65 6.1 6.1 0 0 0-.61-1.71 4 4 0 0 0-3.1-2.12c-.75 0-1.49.17-2.23.13a1.74 1.74 0 0 1-1.72-1.15c-.07-.33 0-.68-.05-1-.17-.87-1.27-1.24-2.15-1.08s-1.65.67-2.51.89a1.94 1.94 0 0 1-2.31-.8c-.17-.42-.11-.92-.35-1.31-.48-.81-1.9-.63-2.37-1.45-.37-.65.09-1.43.2-2.16a3.11 3.11 0 0 0-1.77-3 9 9 0 0 0-3.58-.8 5.9 5.9 0 0 0-3.9.55c-1.16.8-1.59 2.27-2.14 3.56s-1.57 2.64-3 2.63a3.22 3.22 0 0 0-1.89-2.73 13 13 0 0 0-2-.5c-2.05-.56-4-2.27-6-1.72a5.8 5.8 0 0 0-2.24 1.43l-3.34 2.93a5.4 5.4 0 0 0-1.82 2.34 5 5 0 0 1-.36 1.2c-.63 1-1.94.6-2.91.62a5.43 5.43 0 0 0-3.7 1.12 6.15 6.15 0 0 0-1.67 1.98"}),W__namespace.createElement("path",{d:"M446.71 304.86a23.8 23.8 0 0 0 4.88-3.65 6 6 0 0 0-.17-.61 9.89 9.89 0 0 1-8.5 2 10.4 10.4 0 0 0-3-.6 2.15 2.15 0 0 0-2.17 1.81.8.8 0 0 1 0 .41.6.6 0 0 1-.43.24c-2.62.57-5.6-1-7.92.37a14.3 14.3 0 0 1-2.4 1.59 4.8 4.8 0 0 1-3.07-.42 1.9 1.9 0 0 1-.77-.42c-.4-.41-.39-1.06-.7-1.53a2.7 2.7 0 0 0-1.05-.77 8.2 8.2 0 0 0-4.49-1.24 5.5 5.5 0 0 0-4.17 3.55c-3.69-1.29-6.36-5.6-10.25-5.19-.34-1.2 1.09-2.11 2.29-2.47s2.69-.92 2.74-2.17c0-.52-.24-1-.18-1.54.09-.72.81-1.36.59-2.06a3.1 3.1 0 0 0-.59-.82 2.14 2.14 0 0 1-.38-1.59l-2.29 2a5.4 5.4 0 0 0-1.82 2.34 5 5 0 0 1-.36 1.2c-.63 1-1.94.6-2.91.62a5.43 5.43 0 0 0-3.7 1.12 6.15 6.15 0 0 0-1.69 2 20.5 20.5 0 0 0 6.69 5.8c6.09 3.51 14.24 5.44 23 5.44s16.74-1.9 22.82-5.41",opacity:"0.1"}))),W__namespace.createElement("g",{id:"freepik--Character--inject-62"},W__namespace.createElement("g",{id:"freepik--character--inject-62"},W__namespace.createElement("g",{id:"freepik--letter--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"M396.74 226.81a1.39 1.39 0 0 0-.63-1.1L363.69 207a1.42 1.42 0 0 0-1.27 0l-.71.42a1.4 1.4 0 0 0-.64 1.09v24.85a1.4 1.4 0 0 0 .64 1.1l32.42 18.72a1.4 1.4 0 0 0 1.26 0l.72-.42a1.39 1.39 0 0 0 .63-1.09Z"}),W__namespace.createElement("path",{fill:"#fff",d:"m396.56 226.18-1.8 1-33.5-19.34a1.3 1.3 0 0 1 .45-.48l.71-.41a1.42 1.42 0 0 1 1.27 0l32.42 18.72a1.45 1.45 0 0 1 .45.51",opacity:"0.4"}),W__namespace.createElement("path",{d:"M396.74 226.81v24.85a1.39 1.39 0 0 1-.63 1.09l-.72.42-.17.08-.26.06a1.7 1.7 0 0 1-.5 0h-.12a.13.13 0 0 1-.08 0 .35.35 0 0 0 .3 0 .44.44 0 0 0 .2-.42V228a.55.55 0 0 0-.33-.54l.33-.19 1.8-1a1.4 1.4 0 0 1 .18.54",opacity:"0.2"}),W__namespace.createElement("path",{d:"m394.76 227.22-15 5.61a2.45 2.45 0 0 1-2.9-1l-2.41-3.7-13.3-20.37L374 228.32l-12.89 5a1.4 1.4 0 0 0 .2.64l12.69-5.58 2.81 4.48a2.43 2.43 0 0 0 3.05.94l2-.88 12.71 20.3a.44.44 0 0 0 .2-.42v-.41l-12.85-19.5Z",opacity:"0.2"})),W__namespace.createElement("path",{fill:"#ffa8a7",d:"m367.09 179.57-14.87-26.84s-16.53-20.64-10.06-29.2c8.82-.81 16.62.73 24 15 8.29 15.91 12.23 27.43 16.54 37.8 1.19 2.87 1.07 17 .79 27.69-.18 7 .24 14.59.24 14.59l-5.6-3.23a8.65 8.65 0 0 0-4.21-1.16h-1.4a12.84 12.84 0 0 0-3 5.13c-.89 4-3.08 5.24-4.26 4.3-.57-.46-1-2.82.33-8.42 1.08-4.6 5.27-9.1 4.72-12.62Z"}),W__namespace.createElement("path",{fill:"#37474f",d:"M342.16 123.53s5.62-1.26 9.84.16 7.18 3.07 11.69 9.79 14.51 30.18 14.51 30.18-1.21 6.46-16 8.78l-14.74-23.73Z"}),W__namespace.createElement("path",{fill:"#ffa8a7",d:"m319.11 116.05 2.97 18.73 18.58-.99-2.66-21.78z"}),W__namespace.createElement("path",{fill:"#f28f8f",d:"M306.62 93.05s-4.43 6.72-3.92 7.38 3.76 1.26 3.76 1.26Z"}),W__namespace.createElement("path",{fill:"#ffa8a7",d:"M318.92 74.47c-9 1.89-11.55 5.83-12.4 20.06-.88 14.87.64 19.55 2.59 21.55 1.32 1.35 8.65 1.6 12.35.58 4.63-1.28 15.09-5 20-12.47 5.76-8.8 7.27-20.73 1.1-25.62-8.69-6.89-20-4.87-23.64-4.1"}),W__namespace.createElement("path",{fill:"#f28f8f",d:"M319.28 117.07a37 37 0 0 0 4.72-1.19 8.37 8.37 0 0 1-4.5 2.6Z"}),W__namespace.createElement("path",{fill:"#263238",d:"M304.71 80a12.6 12.6 0 0 0 2.29 1.78 32 32 0 0 0 3.74 2.07 21.6 21.6 0 0 1 3.64 1.71c1.63 1.16 1.84 2.69 1.88 4.56v4.39c0 2.47 1.6 4.34 2.37 1 0 0 1.42-5.49 6.05-4.8s5 5.91 2.84 10c-1.35 2.49-4.95 1.84-4.95 1.84a16.2 16.2 0 0 0 4.84 12.47s3.57 1.08 10.86-.47c4.48-1 8.78-5.89 11.44-11.82 5.63-12.54 6-23.83-2-27.21-.87-5.78-5.42-8.37-10.6-9.56-7.76-1.78-15 2.82-22.69 1.11a37 37 0 0 1-3.74-1 2.1 2.1 0 0 0-1.51-.1 1.71 1.71 0 0 0-.73 1.71 4.64 4.64 0 0 0 2.26 3.64c-.16-.09-.91.11-1.11.12-.43 0-.86 0-1.29.05a24 24 0 0 1-2.52-.18 4.6 4.6 0 0 0-1.74.06 3.14 3.14 0 0 0-2 3.16 7.75 7.75 0 0 0 1.38 3.72 11 11 0 0 0 .93 1.33c.16.17.26.28.36.42"}),W__namespace.createElement("path",{fill:"#263238",d:"m347.91 77.5 5.36-3.16a3.11 3.11 0 0 0-5.36 3.16M352.91 355.79 353 357a22 22 0 0 1 .12 4.78c-.13 1.1-.45 2.59-1.47 3.19a12.9 12.9 0 0 1-3.5 1.37 12.25 12.25 0 0 1-8.11-.8c-2.1-1-3.75-2.62-6-3.26a45.3 45.3 0 0 0-7.16-1.18 16 16 0 0 1-3.16-.58 15 15 0 0 1-2.28-1 22.5 22.5 0 0 1-6.77-4.94 10.7 10.7 0 0 1-2.41-4.83c-.21-1.05-.64-4.09 1.12-4 8.62.39 17.15 2.24 25.78 2.14a9.5 9.5 0 0 1 1.68.07 7 7 0 0 1 2.89 1.35 3 3 0 0 0 2.65.65 13.2 13.2 0 0 1 4.47.06 2.11 2.11 0 0 1 1.54 1 2.4 2.4 0 0 1 .13.65c.12 1.33.26 2.74.39 4.12"}),W__namespace.createElement("path",{fill:"#ffa8a7",d:"m352 345.46-.44 6.5c-.42 2.47-8.85 4-10.59-.39l-.83-7.37Z"}),W__namespace.createElement("path",{fill:"#263238",d:"M320 371.16s1 3.38 1.56 6.33c.42 2.34 1 6.25.16 8s-4.07 2.8-9 2.65c-3.2-.1-8.23 2-11.69 3.79s-10.92 2.51-14.64 2c-4.39-.62-8.88-3.27-9.55-5.11s.32-3.7 10.77-7.88c.1 0 14.51-4.37 19.65-9.79Z"}),W__namespace.createElement("path",{fill:"#ffa8a7",d:"M320.05 367s-.08 2.86-.11 4.5-2 4-7 3.74c-3.51-.21-5.94-1.21-5.73-4.1l.09-4.17Z"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M355.43 295.56c-1.48-12.65-2.59-19.89-2.59-19.89s.25-17.61 1.29-34c1.11-17.74.86-40.08 1.3-44.5 0 0-57-12.17-57.46 8.38-.54 23.88 1 73.29 1.39 79.72.48 9 .5 18.43 2 33.08 1.51 14.47 5.9 48.65 5.9 48.65 6.47 3.69 12.76 0 12.76 0s4.95-41 4.76-51.37a143 143 0 0 0-2.16-22.52l4.49-46.35s1.76 14.33 2.24 23.36 1.71 14.55 3.94 31.35c1.94 14.59 6.85 45.36 6.85 45.36a11.52 11.52 0 0 0 12.12-.48s4.65-38.14 3.17-50.79"}),W__namespace.createElement("path",{d:"M348.82 225.19s-3.95 6.51-15.93 11.29l-3.34 11.19-.36 19.67c-.46-6.34-1.16-13.26-2.05-20.59l1.35-11.53s13.23-4.01 20.33-10.03",opacity:"0.15"}),W__namespace.createElement("path",{fill:"#455a64",d:"M357.62 135.52c-2.29-8.14-7.66-11.74-13.63-12.12-1.52-.1-4.6 0-4.6 0 .42 3.45-10.21 5.89-18.48 3.94-2.49.66-6.62 1.59-8.7 2.28-5.94 2-13.07 9.41-14 28.8 0 0-.94 41.67-.65 53.77 14.68 6.2 28.85 7 37.4 5.3 17.81-3.47 20.74-11.1 20.74-11.1s-.17-10.59-.83-27.48c3.02-23.98 3.74-39.85 2.75-43.39"}),W__namespace.createElement("g",{id:"freepik--letter--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"M233.07 124.26a.77.77 0 0 1 .45-1l36.34-14.62a2.7 2.7 0 0 1 1.68.12l1.1.46a2.43 2.43 0 0 1 1.23 1.09l8.93 23.42a.76.76 0 0 1-.45 1L246 149.35a2.7 2.7 0 0 1-1.68-.12l-1.1-.46a2.46 2.46 0 0 1-1.24-1.09Z"}),W__namespace.createElement("path",{fill:"#fff",d:"m233.09 123.69 2.77 1.15 37.54-15.11a3 3 0 0 0-.76-.48l-1.1-.46a2.62 2.62 0 0 0-1.68-.12l-36.34 14.62a.8.8 0 0 0-.43.4",opacity:"0.4"}),W__namespace.createElement("path",{d:"m233.07 124.26 8.93 23.42a2.46 2.46 0 0 0 1.24 1.09l1.1.46.26.09.36.08a4 4 0 0 0 .66 0h.24a.7.7 0 0 1-.4 0 .69.69 0 0 1-.41-.41l-8.93-23.41a.33.33 0 0 1 .24-.48l-.5-.21-2.77-1.15a.75.75 0 0 0-.02.52",opacity:"0.2"}),W__namespace.createElement("path",{d:"m235.86 124.84 21.95 6.68c1.57.48 3 .22 3.51-.63l1.87-3.25 10.34-18-9.65 18.13 18.93 6a.75.75 0 0 1 0 .57l-18.92-6.48-2.11 4c-.48.91-2.07 1.16-3.72.6l-3-1-9.6 17.94a.69.69 0 0 1-.41-.41l-.15-.39 10.1-17.22Z",opacity:"0.2"})),W__namespace.createElement("path",{fill:"#ffa8a7",d:"M294.9 143.25c-6.75 8.66-16.2 20.84-21.54 28.06-3.84-3.69-17.83-16.91-19.27-19-1.61-2.32-1.54-5.5-2.87-8.9-1.08-2.78-3.52-6.21-4.15-7.63-1.15-2.6-3.68-3.89-3.72-.09 0 3.16 1.5 6.92 1.33 7.64-.08.31-1.33-.32-2.69-1.6a12.7 12.7 0 0 1-1.62-1.88l-2.84-3.85-2-5.15s-.79.11-1.79 2.49c-2.88 6.86-2.5 14.37 3.05 20.42 3.29 3.59 8.83 8.5 14.58 15.4S267.9 188 272.5 190.65c4.14 2.38 9.19-1.38 15-7.26 8.15-8.21 20.75-22 20.75-22s9.4-15.94 3.92-31.77c-6.87.26-8.65 2.58-17.27 13.63"}),W__namespace.createElement("path",{fill:"#37474f",d:"M314.42 129s-6.63.43-10.85 2.58c-1.13.58-4.37 4.1-7.45 8.22-6 8.09-16.59 22.11-16.59 22.11s.2 13.29 13.23 17c0 0 13.05-13.39 16.56-17.53 4.57-5.38 9.03-21.38 5.1-32.38"})))),EO=Ade;function kO({isOpen:e,onClose:t,onConfirm:o,isLoading:r=false}){let{locale:n}=w();return W__namespace.default.createElement(Bi,{isOpen:e,onClose:t,showCloseButton:!r,disableFullScreen:true,closeOnClickOutside:false,asStacked:true,className:"w-[28.125rem] mx-auto p-4"},W__namespace.default.createElement("div",{className:"flex flex-col items-center justify-center gap-6 w-full"},W__namespace.default.createElement("div",{className:"w-44 h-44 mx-auto"},W__namespace.default.createElement(EO,null)),W__namespace.default.createElement("h2",{className:"text-body-md md:text-body-lg font-bold text-dark-1 text-center"},le(n,"delete-scheduled-post-title")),W__namespace.default.createElement("p",{className:"text-body-sm md:text-body-md text-center"},le(n,"delete-scheduled-post-content")),W__namespace.default.createElement("div",{className:"flex w-full items-center justify-between gap-4"},W__namespace.default.createElement($,{label:le(n,"button-cancel-delete"),disabled:r,onClick:t,className:"flex-1 w-fit p-3 border border-primary bg-white font-bold text-primary text-body-sm md:text-body-md"}),W__namespace.default.createElement($,{label:le(n,"button-confirm-delete"),disabled:r,isLoading:r,onClick:o,className:"bg-primary flex-1 w-full p-3 font-bold text-white text-body-sm md:text-body-md"}))))}var Ede=()=>W__namespace.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"},W__namespace.createElement("g",{id:"freepik--background-complete--inject-77"},W__namespace.createElement("path",{fill:"#ebebeb",d:"M0 382.4h500v.25H0zM359 391.92h90.9v.25H359zM306.33 389.21h24.89v.25h-24.89zM349.52 401.21h38.59v.25h-38.59zM52.46 399.53H75.1v.25H52.46zM84 399.53h26.89v.25H84zM178.31 395.31h46.84v.25h-46.84zM237 337.8H43.91a5.71 5.71 0 0 1-5.7-5.71V60.66a5.71 5.71 0 0 1 5.7-5.66H237a5.71 5.71 0 0 1 5.71 5.71v271.38a5.71 5.71 0 0 1-5.71 5.71M43.91 55.2a5.46 5.46 0 0 0-5.45 5.46v271.43a5.46 5.46 0 0 0 5.45 5.46H237a5.47 5.47 0 0 0 5.46-5.46V60.66A5.47 5.47 0 0 0 237 55.2ZM453.31 337.8h-193.1a5.72 5.72 0 0 1-5.71-5.71V60.66a5.72 5.72 0 0 1 5.71-5.66h193.1a5.71 5.71 0 0 1 5.69 5.66v271.43a5.71 5.71 0 0 1-5.69 5.71M260.21 55.2a5.47 5.47 0 0 0-5.46 5.46v271.43a5.47 5.47 0 0 0 5.46 5.46h193.1a5.47 5.47 0 0 0 5.46-5.46V60.66a5.47 5.47 0 0 0-5.46-5.46Z"}),W__namespace.createElement("path",{fill:"#e6e6e6",d:"M421.42 196.37H316.49V79.79h104.93z"}),W__namespace.createElement("path",{fill:"#f5f5f5",d:"M416.58 196.37H294.04V79.79h122.54z"}),W__namespace.createElement("path",{fill:"#fff",d:"M404.54 87.29v101.6h-98.46V87.29z"}),W__namespace.createElement("path",{fill:"#f5f5f5",d:"M355.95 85.99v104.2h-1.28V85.99z"}),W__namespace.createElement("path",{fill:"#e6e6e6",d:"M215.16 356.79H81.12V86.39h134.04z"}),W__namespace.createElement("path",{fill:"#f0f0f0",d:"M212.68 356.79H71.8V86.39h140.88z"}),W__namespace.createElement("path",{fill:"#fff",d:"M200.87 98.18v246.8H83.6V98.18z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"m127.84 344.98 23.13-246.79h-26.7l-23.14 246.79zM148.53 344.98l23.14-246.79h-13.36l-23.13 246.79z"}),W__namespace.createElement("path",{fill:"#e6e6e6",d:"M290.9 382.4h-25.05V276.51h25.05z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M280.43 382.4h-14.57v-14.62h29.85z"}),W__namespace.createElement("path",{fill:"#e6e6e6",d:"M439.71 382.4h-25.05V276.51h25.05z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M427.38 377.36H265.85V276.5h161.53z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M412.81 382.4h14.58v-14.62h-29.86z"}),W__namespace.createElement("path",{fill:"#f0f0f0",d:"M416.08 339.33H277.16v-25.24h138.92zM416.08 369.96H277.16v-25.24h138.92z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M389.67 316.79h-86.11a4.58 4.58 0 0 1-4.58-4.58v-.31h95.26v.31a4.58 4.58 0 0 1-4.58 4.58Z"}),W__namespace.createElement("path",{fill:"#f0f0f0",d:"M416.08 308.69H277.16v-25.24h138.92z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M389.67 286.15h-86.11a4.58 4.58 0 0 1-4.58-4.58v-.31h95.26v.31a4.58 4.58 0 0 1-4.57 4.58M389.67 347.43h-86.11a4.58 4.58 0 0 1-4.58-4.58v-.31h95.26v.31a4.58 4.58 0 0 1-4.57 4.58"}),W__namespace.createElement("path",{fill:"#f5f5f5",d:"M297.27 274.74h-4.94v-45.82h4.94z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M294.36 274.71h-1.39v-45.82h1.39z"}),W__namespace.createElement("path",{fill:"#f0f0f0",d:"M283.91 276.51h21.77a2.74 2.74 0 0 0-2.74-2.75h-16.28a2.75 2.75 0 0 0-2.75 2.75M285.34 261.44a1.43 1.43 0 0 0 1.42-1.42v-25.28a1.43 1.43 0 0 0-1.42-1.42 1.43 1.43 0 0 0-1.43 1.42V260a1.43 1.43 0 0 0 1.43 1.44"}),W__namespace.createElement("path",{fill:"#e0e0e0",d:"M272.7 241.05h44.2l-1.57-4.36a14.71 14.71 0 0 0-13.82-9.69h-13.42a14.71 14.71 0 0 0-13.82 9.69Z"}),W__namespace.createElement("path",{fill:"#f5f5f5",d:"M410.33 274.74h-4.94v-45.82h4.94z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M407.43 274.71h-1.39v-45.82h1.39z"}),W__namespace.createElement("path",{fill:"#f0f0f0",d:"M397 276.51h21.77a2.75 2.75 0 0 0-2.74-2.75h-16.31a2.75 2.75 0 0 0-2.74 2.75ZM398.4 261.44a1.43 1.43 0 0 0 1.42-1.42v-25.28a1.43 1.43 0 0 0-1.42-1.42 1.43 1.43 0 0 0-1.42 1.42V260a1.43 1.43 0 0 0 1.42 1.44"}),W__namespace.createElement("path",{fill:"#e0e0e0",d:"M385.76 241.05H430l-1.58-4.36a14.7 14.7 0 0 0-13.85-9.69h-13.41a14.71 14.71 0 0 0-13.82 9.69Z"})),W__namespace.createElement("g",{id:"freepik--Shadow--inject-77"},W__namespace.createElement("ellipse",{id:"freepik--path--inject-77",cx:"250",cy:"416.24",fill:"#f5f5f5",rx:"193.89",ry:"11.32"})),W__namespace.createElement("g",{id:"freepik--Speedometer--inject-77"},W__namespace.createElement("path",{fill:"#263238",d:"m166.53 113.94-.63-.78a166 166 0 0 1 13.7-10l.55.84a164 164 0 0 0-13.62 9.94M159.15 120.25l-.68-.74c1.34-1.21 2.72-2.42 4.09-3.59l.65.77a172 172 0 0 0-4.06 3.56"}),W__namespace.createElement("ellipse",{cx:"216.41",cy:"181.2",fill:"#263238",rx:"115.24",ry:"81.19",transform:"rotate(-41.22 216.436 181.221)"}),W__namespace.createElement("ellipse",{cx:"216.41",cy:"181.2",fill:"#fff",rx:"99.97",ry:"70.43",transform:"rotate(-41.22 216.436 181.221)"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M237.15 103.89c-43.29 3.51-87.67 41-99.13 83.66l156.77-12.69c11.46-42.7-14.35-74.47-57.64-70.97"}),W__namespace.createElement("path",{fill:"#fff",d:"m138 187.55 78.39-6.35-40.74-50.2c-17.94 15.16-31.9 35.2-37.65 56.55",opacity:"0.7"}),W__namespace.createElement("path",{fill:"#fff",d:"M237.15 103.89c-21.64 1.76-43.56 12-61.5 27.13l40.76 50.18z",opacity:"0.4"}),W__namespace.createElement("path",{fill:"#fff",d:"m237.15 103.89-20.74 77.31 70.09-59.15c-10.43-12.84-27.7-19.91-49.35-18.16",opacity:"0.1"}),W__namespace.createElement("ellipse",{cx:"216.41",cy:"181.2",fill:"#fff",rx:"40.79",ry:"28.73",transform:"rotate(-41.22 216.436 181.221)"}),W__namespace.createElement("ellipse",{cx:"216.41",cy:"181.2",fill:"#263238",rx:"23.8",ry:"16.77",transform:"rotate(-41.22 216.436 181.221)"}),W__namespace.createElement("path",{fill:"#263238",d:"M275.08 139.85a236.3 236.3 0 0 0-52.63 27.9l7.37 13.2a257.7 257.7 0 0 0 45.26-41.1"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M147 217.06a1.51 1.51 0 0 1-1.55-1.84 2.73 2.73 0 0 1 2.36-2.16l86.19-6.83a1.51 1.51 0 0 1 1.7 1.83 2.7 2.7 0 0 1-2.35 2.15l-86.12 6.84ZM221.55 225.26a1.5 1.5 0 0 1-1.55-1.84 2.7 2.7 0 0 1 2.36-2.15l28-2.23a1.51 1.51 0 0 1 1.71 1.83 2.72 2.72 0 0 1-2.36 2.16l-28 2.22ZM79.15 261.08a1.51 1.51 0 0 1-1.55-1.84 2.72 2.72 0 0 1 2.4-2.15l28-2.23a1.52 1.52 0 0 1 1.71 1.83 2.72 2.72 0 0 1-2.35 2.16l-28 2.22ZM104.09 244.71a1.5 1.5 0 0 1-1.54-1.84 2.71 2.71 0 0 1 2.35-2.15l84-6.67a1.52 1.52 0 0 1 1.71 1.83 2.73 2.73 0 0 1-2.36 2.16l-84 6.66Z"})),W__namespace.createElement("g",{id:"freepik--Character--inject-77"},W__namespace.createElement("path",{fill:"#ff8b7b",d:"m284.39 334.51 3.56 7.19 17.61-6.33-3.56-7.19zM198.77 393.64l5.35 5.99 13.6-15.45-6.59-4.58z"}),W__namespace.createElement("path",{fill:"#263238",d:"m205.34 399-3.64-9.09a.67.67 0 0 0-.75-.41l-7.11 1.5a1.22 1.22 0 0 0-.86 1.67c1.22 2.9 2.24 5 3.71 8.64.91 2.27 3.41 9.2 4.67 12.33s4.45 2.17 4.22.76c-1.07-6.29-1.1-11.38-.21-13.95a2 2 0 0 0-.03-1.45M288.76 341.24l-3.89-7.86a.71.71 0 0 0-.79-.37l-7.1 1.75a1.16 1.16 0 0 0-.77 1.67c1.45 2.81 3.64 6.82 5.41 10.38 2.06 4.17 2.34 4.3 4.76 9.18 1.46 2.95 4.85 2.3 4.51.93-1.56-6.24-2.43-7.32-1.83-13.67a3.73 3.73 0 0 0-.3-2.01"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"M358 205.24c-.37 2.6-.77 5.4-1.08 8.11s-.62 5.47-.85 8.2a116 116 0 0 0-.48 16.06c0 .65.06 1.3.14 1.91l.18 1.78a2.51 2.51 0 0 0 1.71 2.39 11 11 0 0 0 2.85.86 34 34 0 0 0 7.44.28c1.31-.09 2.65-.19 4-.35s2.72-.37 4-.56l1.94 5.71a44 44 0 0 1-4.24 1.73 43 43 0 0 1-4.35 1.36 40 40 0 0 1-4.59.93 28.4 28.4 0 0 1-4.94.32 20.1 20.1 0 0 1-5.48-.83 13.7 13.7 0 0 1-5.74-3.45 13.05 13.05 0 0 1-3.32-6.27c-.07-.31-.1-.48-.13-.68l-.1-.58-.21-1.18c-.15-.78-.25-1.55-.34-2.32a103.3 103.3 0 0 1-.38-18c.19-2.94.4-5.86.76-8.76s.71-5.75 1.27-8.76Z"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M345.19 198c-5.26 5.59-3.14 19.7-3.14 19.7l14.78 2.3s3.43-8 2.14-16.25c-1.58-10.02-8.03-11.9-13.78-5.75"}),W__namespace.createElement("path",{d:"M350 204.19c-2.44-3.14-5-4.26-6.36-4-3.27 6.41-1.61 17.47-1.61 17.47l10.47 1.7c1.2-3.25 1.35-10.26-2.5-15.17",opacity:"0.2"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"m373.94 244.79 8.57-5.62 1.9 8.7s-5.33 5.4-9.77 1.59Z"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"m387.78 237.29.99 7.52-4.36 3.06-1.91-8.7z"}),W__namespace.createElement("path",{d:"m305.55 335.38-9.07 3.26-3.56-7.2 9.07-3.26zM211.13 379.6l6.59 4.58-6.38 7.24-6.59-4.59z",opacity:"0.2"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M314.74 178.71c-6.08 31.11-22.27 59.18-24.53 65.38 5.8 2.43 27.69 11.55 39.62 16.52 22.25-33.11 25.66-57.07 26.17-62.87a2.38 2.38 0 0 0-1-2.15c-.95-.69-2.47-1.77-4.32-3-1-.64-2.07-1.31-3.22-2-.63-.37-1.28-.73-1.94-1.08a159 159 0 0 0-16.85-7c-1.08-.39-2.19-.77-3.28-1.11s-2-.61-2.95-.87c-4.26-1.14-7.7-1.82-7.7-1.82"}),W__namespace.createElement("path",{fill:"#fff",d:"m338.56 223.07 2.19.56a12.5 12.5 0 0 1-5.13 3 12.4 12.4 0 0 1-6.76.1 10 10 0 0 1-5.16-2.82 6.52 6.52 0 0 1-1.62-4.9 14.8 14.8 0 0 1 1.74-6 20.9 20.9 0 0 1 4.62-6 15 15 0 0 1 6-3.44 11.9 11.9 0 0 1 6.18-.1 7.43 7.43 0 0 1 4 2.34A6.06 6.06 0 0 1 346 210a11.5 11.5 0 0 1-1.39 5 14.46 14.46 0 0 1-4.47 5.16c-2.43 1.75-4.7 2.35-6.8 1.82a1.66 1.66 0 0 1-1.11-.67 1.54 1.54 0 0 1 0-1.17 4.8 4.8 0 0 1-3.5.67 2.71 2.71 0 0 1-2.12-2.1 5.67 5.67 0 0 1 .77-3.95 14.4 14.4 0 0 1 4-4.83q3.1-2.43 5.67-1.79a2.23 2.23 0 0 1 1.86 2.32l.94-1.27 2.71.69-6 8.25a10 10 0 0 0-.69 1 .9.9 0 0 0-.12.49.28.28 0 0 0 .21.22 2.9 2.9 0 0 0 1.63-.38 9.9 9.9 0 0 0 3-2 11.4 11.4 0 0 0 2.3-3 7 7 0 0 0 .73-5.43q-.81-2.46-4.08-3.28a9.6 9.6 0 0 0-5.4.14 12.36 12.36 0 0 0-4.85 3 18.6 18.6 0 0 0-3.58 4.79 10.6 10.6 0 0 0-1.29 4.91 5.2 5.2 0 0 0 1.5 3.82 8.65 8.65 0 0 0 4 2.1 11.4 11.4 0 0 0 4.64.26 9.84 9.84 0 0 0 4-1.7m-8.56-7.75a4.13 4.13 0 0 0-.63 2.38 1.21 1.21 0 0 0 .94 1.06 2.3 2.3 0 0 0 1.27-.06 4.6 4.6 0 0 0 1.16-.57 9.9 9.9 0 0 0 2.05-1.91 13.4 13.4 0 0 0 1.75-2.53 3.65 3.65 0 0 0 .53-2.22 1.25 1.25 0 0 0-1-1.08 2.9 2.9 0 0 0-2.05.39 7.9 7.9 0 0 0-2.3 2 14.7 14.7 0 0 0-1.72 2.54"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"M338.29 164.45c-1.19 5.86-4.27 16.24-9.57 18.27 1.72 4.16 4.16 9.15 10.51 12.06s7.06-2 6.33-5c-5.44-4-3.41-8.38-.61-12.15Z"}),W__namespace.createElement("path",{d:"m341 169.81 3.94 7.77a18.3 18.3 0 0 0-1.76 2.78c-2.17-1.3-4.29-5.16-3.53-7.68a8.8 8.8 0 0 1 1.35-2.87",opacity:"0.2"}),W__namespace.createElement("path",{fill:"#263238",d:"M354.28 164.67c6.27.46 11.82-15.18 2.67-17-6.17-1.23-6.11 2.46-6.76 6.5s.12 10.21 4.09 10.5"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"M339 156.75c-1.61 7.8-2.95 12.28-.15 17.28 4.22 7.51 14.64 6.57 18.56-.59 3.52-6.45 5.57-18.12-1.11-23.22a10.87 10.87 0 0 0-17.3 6.53"}),W__namespace.createElement("path",{fill:"#263238",d:"M337.67 162.33c6.27.46 10.47-13.84 1.32-15.67-6.17-1.23-6.69 2.38-6.59 6.24.1 4.1 1.29 9.1 5.27 9.43"}),W__namespace.createElement("path",{fill:"#263238",d:"M342.73 151.39c4.23 2.05 24.62 6.44 23.45-2.33s-12.06-12.84-12.06-12.84 6.34 6.95 1.11 5.28-6.73-2.89-13-4c0 0 6.16 5.11-1 3.67a17 17 0 0 0-12.16 1.94 12.09 12.09 0 0 1 5.28 11.27c-.49 7.71 8.38-2.99 8.38-2.99"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"M334 162.7a7 7 0 0 0 2.72 4.55c1.92 1.41 3.67-.21 3.8-2.55.11-2.11-.75-5.39-3-5.86s-3.82 1.6-3.52 3.86"}),W__namespace.createElement("path",{fill:"#263238",d:"m303.92 249.81-8.34 26.86 42.93 27c-7.41 12.36-45.06 24.66-45.06 24.66l6 12.18s52.43-4 63.06-27.18c10.23-22.26-32.7-52.72-32.7-52.72Z"}),W__namespace.createElement("path",{d:"m309.49 285.42-7.49-4.69 9.22-13.4s.26 10.74-1.73 18.09",opacity:"0.2"}),W__namespace.createElement("path",{d:"m309.49 285.42-7.49-4.69 9.22-13.4s.26 10.74-1.73 18.09",opacity:"0.2"}),W__namespace.createElement("path",{fill:"#263238",d:"M320.53 256.74s-34.62 57.58-48.91 76.26c-15.65 20.46-56.17 59-56.17 59l-12.07-8.4s35-38.58 48.19-59.93c15.05-24.32 38.64-79.6 38.64-79.6Z"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"m216.71 393.28-14.21-9.88 2.95-4.25 16.08 10.77zM299.95 342.18l-7.19-14.51 4.69-2.32 8.28 16.1z"}),W__namespace.createElement("path",{fill:"#263238",d:"M350.07 162.06c-.17.62 0 1.22.43 1.33s.88-.3 1.05-.93 0-1.22-.44-1.33-.87.31-1.04.93M357.13 164c-.17.63 0 1.22.43 1.33s.88-.3 1.05-.93 0-1.22-.43-1.33-.88.29-1.05.93"}),W__namespace.createElement("path",{fill:"#ff5652",d:"M354.8 163.68a23.3 23.3 0 0 0 1.53 6.16 3.74 3.74 0 0 1-3.14-.26Z"}),W__namespace.createElement("path",{fill:"#263238",d:"M350.11 170.54a5.38 5.38 0 0 1-3-3 .2.2 0 0 1 .13-.24.2.2 0 0 1 .24.12 5.1 5.1 0 0 0 3.5 3 .18.18 0 0 1 .14.23.19.19 0 0 1-.24.13 6 6 0 0 1-.77-.24M348.51 159.19a.44.44 0 0 1-.15-.12.37.37 0 0 1 .07-.53 3.79 3.79 0 0 1 3.4-.71.39.39 0 0 1 .23.49.38.38 0 0 1-.48.23 3 3 0 0 0-2.69.59.4.4 0 0 1-.38.05M360.83 162.38a.37.37 0 0 1-.22-.28 3 3 0 0 0-1.62-2.22.38.38 0 1 1 .29-.7 3.76 3.76 0 0 1 2.07 2.78.37.37 0 0 1-.3.44.33.33 0 0 1-.22-.02"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M205.05 402.07a9.2 9.2 0 0 1-.52-2.07.2.2 0 0 1 .09-.2.17.17 0 0 1 .2 0c.28.19 2.69 1.94 2.61 2.95a.66.66 0 0 1-.37.53 1.11 1.11 0 0 1-1.07 0 2.33 2.33 0 0 1-.94-1.21m-.05-1.67c.25 1.38.69 2.33 1.19 2.59a.72.72 0 0 0 .72-.05c.14-.06.16-.14.16-.2.03-.52-1.15-1.61-2.07-2.34"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M204.54 400a.2.2 0 0 1 .12-.26c.09 0 2.27-.8 3.32-.25a1 1 0 0 1 .52.65.65.65 0 0 1-.23.77c-.75.52-3-.25-3.68-.83a.2.2 0 0 1-.05-.08m3.57.17a.66.66 0 0 0-.31-.33 4.37 4.37 0 0 0-2.65.15c.88.51 2.47.91 2.92.6 0 0 .13-.09.07-.33ZM288.12 342.44a.18.18 0 0 1 .08-.18.2.2 0 0 1 .22 0c.33.25 3.22 2.41 3.17 3.53a.6.6 0 0 1-.31.5 1 1 0 0 1-1 .09c-1.09-.44-1.83-2.64-2.17-3.91Zm3.09 3.25c-.08-.63-1.46-1.9-2.57-2.78.53 1.72 1.18 2.87 1.79 3.12a.69.69 0 0 0 .65-.06.21.21 0 0 0 .13-.2Z"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M288.12 342.44v-.05a.17.17 0 0 1 .12-.15c.08 0 2.12-.8 3.32-.25a1.36 1.36 0 0 1 .76.8c.18.49 0 .74-.16.87-.75.53-3.16-.42-4-1.1a.17.17 0 0 1-.04-.12m3.89.67a.6.6 0 0 0-.05-.19 1 1 0 0 0-.56-.59 4.4 4.4 0 0 0-2.68.15c1 .62 2.77 1.19 3.22.87a.22.22 0 0 0 .06-.24Zm.13-.26"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"m315.05 192.32-3.16-2.11c-1.09-.71-2.2-1.4-3.31-2.09-2.23-1.37-4.49-2.67-6.77-3.92s-4.59-2.39-6.92-3.41c-1.16-.53-2.33-1-3.5-1.45l-1.75-.62-.44-.15-.22-.08s-.07 0-.16-.07a8.7 8.7 0 0 0-2.51.15 28 28 0 0 0-3.4.85 75 75 0 0 0-7.23 2.72c-4.85 2.09-9.79 4.47-14.59 6.9l-3.39-5a108 108 0 0 1 13.83-10 70 70 0 0 1 7.83-4.11 38 38 0 0 1 4.49-1.62 18 18 0 0 1 5.68-.79 13.5 13.5 0 0 1 1.88.23l.47.11.28.07.55.14 2.2.57c1.44.43 2.89.86 4.27 1.39a77 77 0 0 1 8.13 3.44c2.63 1.26 5.18 2.66 7.67 4.14 1.23.76 2.46 1.53 3.67 2.33s2.37 1.6 3.67 2.57Z"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M327 183.83c-1.77-4.38-18.5-10.37-18.5-10.37l-5.41 14.12s5.85 3.87 10.7 6.77c9.21 5.55 16.67-1.9 13.21-10.52"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"m262.7 186.93-3.39 7.35-5.17-6.7s3.9-6.56 6.68-4ZM252.16 196.59l-2.62-5.88 4.6-3.13 5.17 6.7z"}))),TO=Ede;function DO({isOpen:e,onClose:t,post:o}){let{errorToast:r,successToast:n}=Xe(),{locale:a}=w(),{isUpdating:s,updatePost:i}=r4(),l=()=>{i({updatePostInput:{id:o?.id??"",scheduledAt:null}},{onSuccess:()=>{n({title:le(a,"publish-now-toast-title"),message:le(a,"publish-now-toast-message")}),t();},onError:()=>{r({title:le(a,"publish-now-toast-error-title"),message:le(a,"publish-now-toast-error-message")});}});};return W__namespace.default.createElement(Bi,{isOpen:e,onClose:t,disableFullScreen:true,showCloseButton:!s,closeOnClickOutside:false,asStacked:true,className:"w-[28.125rem] mx-auto p-4"},W__namespace.default.createElement("div",{className:"flex flex-col items-center justify-center gap-6 w-full"},W__namespace.default.createElement("div",{className:"w-44 h-44 mx-auto"},W__namespace.default.createElement(TO,null)),W__namespace.default.createElement("h2",{className:"text-body-md md:text-body-lg font-bold text-dark-1 text-center"},le(a,"publish-now-scheduled-post-title")),W__namespace.default.createElement("p",{className:"text-body-sm md:text-body-md text-center"},le(a,"publish-now-scheduled-post-content")),W__namespace.default.createElement("div",{className:"flex w-full items-center justify-between gap-4"},W__namespace.default.createElement($,{disabled:s,label:le(a,"button-cancel-publish-now"),onClick:t,className:"flex-1 w-fit p-3 border border-primary bg-white font-bold text-primary text-body-sm md:text-body-md"}),W__namespace.default.createElement($,{label:le(a,"button-confirm-publish-now"),disabled:s,onClick:l,isLoading:s,className:"bg-primary flex-1 w-full p-3 font-bold text-white text-body-sm md:text-body-md"}))))}var FO="UTC",Jb=W__namespace.default.memo(({post:e,onScheduleAgain:t})=>{let{locale:o}=w(),{deleteAPost:r,isDeletingAPost:n}=IO(),[a,s]=W.useState(false),[i,l]=W.useState(false),{formattedDate:d,formattedTime:c}=W.useMemo(()=>{let v=new Date(e?.scheduledAt??"");if(!!Number.isNaN(v.getTime()))return {formattedDate:"",formattedTime:""};let y=new Intl.DateTimeFormat(o??"pt-BR",{weekday:"short",day:"2-digit",month:"short",timeZone:FO}).format(v),x=new Intl.DateTimeFormat(o??"pt-BR",{hour:"2-digit",minute:"2-digit",hour12:false,timeZone:FO}).format(v);return {formattedDate:y,formattedTime:x}},[e?.scheduledAt,o]),p=W.useMemo(()=>({hasImages:(e?.images?.length??0)>0,hasVideos:(e?.videos?.length??0)>0,hasAttachment:!!e?.attachment?.url,imagesCount:e?.images?.length??0}),[e?.images,e?.videos,e?.attachment]),m=W.useCallback(()=>{let v=new CustomEvent("edit-post-on-schedule",{detail:{...e,mentions:e?.content?K7(e.content):[]}});window.dispatchEvent(v);},[e]),f=W.useCallback(()=>{r({id:e?.id},{onSuccess:()=>s(false)});},[e?.id,r]),u=W.useCallback(()=>s(v=>!v),[]),g=W.useCallback(()=>l(v=>!v),[]),h=W.useMemo(()=>e?.content?cO(e.content):null,[e?.content]);return W__namespace.default.createElement(W__namespace.default.Fragment,null,W__namespace.default.createElement("div",{className:"flex flex-col gap-4 p-4 border rounded-md bg-white"},W__namespace.default.createElement("div",{className:"flex items-center justify-between"},W__namespace.default.createElement("div",{className:"flex items-center gap-2 text-gray-500 text-sm"},W__namespace.default.createElement("span",{className:"text-body-sm md:text-body-md text-text-secondary"},le(o,"scheduled-date",{formattedDate:d,formattedTime:c}))),W__namespace.default.createElement(AO,{isLoading:n,onChangeSchedule:()=>t(e?.scheduledAt??"",e?.id),onPublishNow:g,onDelete:u,onEdit:m})),W__namespace.default.createElement("div",{className:"flex gap-4 items-start"},p.hasImages?W__namespace.default.createElement("div",{className:"relative w-20 h-20 flex-shrink-0"},W__namespace.default.createElement("img",{src:e.images?.[0]?.url??"",alt:"Post preview",className:"w-full h-full object-cover rounded-md border border-gray-200",loading:"lazy"}),p.imagesCount>1&&W__namespace.default.createElement("span",{className:"absolute bottom-1 right-1 bg-black/60 text-white text-[10px] px-1 rounded"},"+",p.imagesCount-1)):p.hasVideos?W__namespace.default.createElement("div",{className:"relative w-20 h-20 flex-shrink-0 bg-gray-900 rounded-md overflow-hidden border border-gray-200"},W__namespace.default.createElement("div",{className:"absolute inset-0 flex items-center justify-center bg-black/20"},W__namespace.default.createElement(lucideReact.Play,{size:24,className:"text-white fill-white"}))):p.hasAttachment?W__namespace.default.createElement("div",{className:"w-20 h-20 flex-shrink-0 flex flex-col items-center justify-center bg-gray-50 border border-gray-200 rounded-md"},W__namespace.default.createElement(lucideReact.FileText,{className:"text-gray-400",size:24}),W__namespace.default.createElement("span",{className:"text-[10px] text-gray-500 mt-1 uppercase font-bold truncate px-1 w-full text-center"},e.attachment?.type||"DOC")):null,W__namespace.default.createElement("div",{className:"flex flex-col flex-1 min-w-0"},W__namespace.default.createElement("p",{className:"text-[#1A1A1A] text-sm md:text-base font-normal line-clamp-3 leading-relaxed"},h??W__namespace.default.createElement("span",{className:"text-body-sm md:text-body-md text-gray-400"},le(o,"no-caption-label"))),p.hasAttachment&&W__namespace.default.createElement("div",{className:"flex items-center gap-1 mt-2 text-xs text-gray-400"},W__namespace.default.createElement(lucideReact.Paperclip,{size:12}),W__namespace.default.createElement("span",null,le(o,"total-pages-label",{totalPages:1})," \u2022 ",e.attachment?.type??le(o,"file-label")))))),W__namespace.default.createElement(DO,{onClose:()=>l(false),post:e,isOpen:i}),W__namespace.default.createElement(kO,{isOpen:a,isLoading:n,onClose:()=>s(false),onConfirm:f}))});Jb.displayName="ScheduledPostItem";function Xb(){return W__namespace.default.createElement("div",{className:"flex flex-col gap-4 py-6 max-h-full border-b border-gray-100 last:border-0 animate-pulse"},W__namespace.default.createElement("div",{className:"flex items-center justify-between"},W__namespace.default.createElement("div",{className:"flex items-center gap-2"},W__namespace.default.createElement("div",{className:"w-4 h-4 bg-gray-200 rounded-full"}),W__namespace.default.createElement("div",{className:"w-48 h-3 bg-gray-100 rounded"})),W__namespace.default.createElement("div",{className:"w-5 h-5 bg-gray-100 rounded-full"})),W__namespace.default.createElement("div",{className:"flex gap-4 items-start"},W__namespace.default.createElement("div",{className:"w-20 h-20 bg-gray-200 rounded-md flex-shrink-0"}),W__namespace.default.createElement("div",{className:"flex flex-col flex-1 gap-2 min-w-0"},W__namespace.default.createElement("div",{className:"w-full h-4 bg-gray-100 rounded"}),W__namespace.default.createElement("div",{className:"w-5/6 h-4 bg-gray-100 rounded"}),W__namespace.default.createElement("div",{className:"w-2/3 h-4 bg-gray-100 rounded"}),W__namespace.default.createElement("div",{className:"w-24 h-3 bg-gray-50 rounded mt-1"}))))}function zO({onScheduleAgain:e,entityId:t}){let{locale:o}=w(),r=W.useRef(null),[n,a]=W.useState(null),{fetchNextPage:s,hasNextPage:i,isFetchingNextPageOfScheduledPosts:l,isGettingScheduledPosts:d,scheduledPosts:c}=CO({enabled:true,entityId:t});W.useEffect(()=>{r.current&&a(r.current);},[]);let[p]=TB__default.default({loading:l,hasNextPage:!!i,onLoadMore:s,disabled:d||!i,rootMargin:"0px 0px 400px 0px",...n&&{scrollContainer:n}}),m=W.useMemo(()=>c?.map(g=>W__namespace.default.createElement(Jb,{onScheduleAgain:(h,v)=>e(h,v),key:g?.id,post:g})),[c]),f=d&&(!c||c?.length===0),u=!d&&(!c||c?.length===0);return W__namespace.default.createElement("div",{className:"w-full h-full flex flex-col gap-6"},W__namespace.default.createElement("div",{className:"flex flex-col gap-4"},W__namespace.default.createElement("button",{onClick:()=>e(""),className:"flex items-center gap-2 text-text-secondary hover:text-dark transition-colors w-fit group"},W__namespace.default.createElement(yO,null)),W__namespace.default.createElement("div",{className:"flex gap-x-3 items-center"},W__namespace.default.createElement(J7,null),W__namespace.default.createElement("div",{className:"flex flex-col"},W__namespace.default.createElement("p",{className:"text-body-md font-bold text-dark md:text-body-lg"},le(o,"scheduled-posts-title")),W__namespace.default.createElement("p",{className:"text-body-sm font-medium text-text-secondary md:text-body-md"},le(o,"scheduled-posts-description"))))),W__namespace.default.createElement("div",{ref:r,className:"w-full h-full max-h-[40rem] overflow-y-auto overscroll-contain px-2 custom-scrollbar"},f?W__namespace.default.createElement("div",{className:"flex flex-col"},Array.from({length:4}).map((g,h)=>W__namespace.default.createElement(Xb,{key:h}))):u?W__namespace.default.createElement(PO,{onSchedule:()=>e("")}):W__namespace.default.createElement(W__namespace.default.Fragment,null,W__namespace.default.createElement("div",{className:"flex flex-col gap-3"},m),(i||l)&&W__namespace.default.createElement("div",{ref:p,className:"w-full"},l&&W__namespace.default.createElement(Xb,null)))))}function OO({onBack:e,onSchedule:t,scheduledAt:o="",entityId:r}){let[n,a]=W.useState("define"),[s,i]=W.useState(""),[l,d]=W.useState(o),{isUpdating:c,updatePost:p}=r4(),m="UTC";return W__namespace.default.createElement("div",{className:"w-full flex flex-col mt-4"},n==="define"?W__namespace.default.createElement(bO,{onSchedule:u=>{if(!u)return;let g=dateFnsTz.formatInTimeZone(new Date(u),m,"yyyy-MM-dd'T'HH:mm:ssXXX");if(s?.length){p({updatePostInput:{id:s,scheduledAt:g}},{onSuccess:()=>{a("list"),d(""),i("");}});return}t(g);},onListScheduledPosts:()=>a("list"),onBack:e,isUpdatingScheduledDate:c,externalScheduledAt:l,scheduledAt:o}):W__namespace.default.createElement(zO,{entityId:r,onScheduleAgain:(u,g)=>{d(u),i(g??""),a("define");}}))}function BO(e){let{isMobile:t}=Ir(),{locale:o}=w(),r=W.useRef(null),[n,a]=W.useState(""),s=usehooks.useDebounce(n,300),i=e.isPostTriggerModalOpened,{state:l,actions:d,isCreatingThePost:c}=uO({initialFiles:e.initialFiles,fileInputRef:r,onClose:e.onClose,isOpened:e.isPostTriggerModalOpened,entity:e?.entity,optimisticUpdateType:e?.optimisticUpdateType,editingPost:e?.editingPost,resetPostTrigger:e?.resetPostTrigger,activeAction:e?.activeAction}),{getRootProps:p,getInputProps:m,isDragActive:f}=reactDropzone.useDropzone({onDrop:N=>{if(N.length>0)if(l.contentView==="reels-trigger"){let A=N.filter(M=>M.type.startsWith("video/"));A.length>0&&(d.addFiles(A),d.setContentView("normal"),e.onClearActiveAction?.());}else d.addFiles(N);},noClick:true,noKeyboard:true,disabled:l.contentView==="schedule-a-post"||c,accept:{"image/*":[],"video/*":[],"application/pdf":[".pdf"]}}),{mentionList:u,isGettingMentionList:g}=i8({filter:s?{name:s}:void 0}),h=W.useMemo(()=>(u??[]).map(N=>({id:N.uid??N.id,name:N.name,type:N.type?.toUpperCase()??"USER",avatar:N.avatar??N.profileImage})),[u]);Uz({onFiles:d.addFiles,enabled:e.isPostTriggerModalOpened}),W.useEffect(()=>{e?.activeAction==="clips"&&d.setContentView("reels-trigger");},[e?.activeAction]);let v=W.useMemo(()=>{if(!l.scheduledAt)return "";let N=dateFns.parseISO(l.scheduledAt);return dateFnsTz.formatInTimeZone(N,"UTC","dd/MM/yy, HH:mm")},[l.scheduledAt]),b=N=>{if(N==="articles"||N==="create-a-job")return d.handleRequestClose(),e.onClickAction(N);d.handleClickActions(N);},y=W.useMemo(()=>(l.isEditingMode||l.hasChanges)&&!c,[l.isEditingMode,l.hasChanges,c]);if(!e.isPostTriggerModalOpened)return null;let x=["schedule-a-post","edit-media","view-gallery"].includes(l.contentView),C=()=>W__namespace.default.createElement(aO,{selectedProfile:e.selectedProfile,currentType:e.currentType,onProfileChange:e.onProfileChange,onToggleSwitcher:e.onToggleSwitcher,renderMobileHeader:W__namespace.default.createElement("div",{className:"w-full flex items-center bg-white gap-x-4 justify-between"},W__namespace.default.createElement("button",{type:"button",onClick:d.handleRequestClose,"aria-label":"Close"},W__namespace.default.createElement(lucideReact.XIcon,null)),W__namespace.default.createElement("p",{className:"font-bold text-body-md text-[#111827]"},le(o,l.isEditingMode?"edit-post":"create-post-label")),W__namespace.default.createElement(B3,{type:"schedule",disabled:c,onSubmit:()=>d.setContentView("schedule-a-post")})),renderScheduleInfo:l.scheduledAt?W__namespace.default.createElement("button",{onClick:()=>d.setContentView("schedule-a-post"),className:"text-primary text-body-sm font-medium"},W__namespace.default.createElement("span",{className:"text-text-secondary"},le(o,"scheduled-title-content",{date:v})," "),le(o,"edit-label")):null}),P=()=>l.contentView==="schedule-a-post"?W__namespace.default.createElement(OO,{entityId:e.entity?.id??"",onSchedule:N=>{d.setScheduledAt(N),d.setContentView("normal");},scheduledAt:l.scheduledAt,onBack:()=>{d.setScheduledAt(""),d.setContentView("normal");}}):l.contentView==="reels-trigger"?W__namespace.default.createElement(Oz,{onVideoSelect:N=>{N?.type?.startsWith("video/")&&(d.addFiles([N]),d.setContentView("normal")),e.onClearActiveAction?.();}}):W__namespace.default.createElement(eO,{...l,...d,contentView:l.contentView,onUpdateFile:d.updateMediaFile,onDeleteFile:d.removeFile,activeAction:e?.activeAction,onAcceptMention:d.acceptMention,onRemoveMention:d.removeMention,mentionCandidates:h,isLoadingMentions:g,onMentionQueryChange:a}),I=t||l.contentView==="reels-trigger"?null:W__namespace.default.createElement(Wb,{handleCloseMainModal:d.handleRequestClose,canSubmit:y,onSubmit:d.handleSubmit,onSchedule:()=>d.setContentView("schedule-a-post"),onActionClick:b,isEditingMode:l.isEditingMode});return W__namespace.default.createElement(W__namespace.default.Fragment,null,W__namespace.default.createElement(Bi,{isOpen:i,onClose:d.handleRequestClose,className:E("p-[1.5rem] flex flex-col gap-2 transition-all relative",{"!w-full md:!w-[48.5rem] md:max-h-[48.5rem]":l.contentView!=="schedule-a-post","!w-[36rem] max-h-full":l.contentView==="schedule-a-post","bg-white":!t}),header:x?void 0:C(),showCloseButton:!t,closeOnClickOutside:false,footer:!t||l.contentView==="schedule-a-post"?null:W__namespace.default.createElement(Wb,{handleCloseMainModal:d.handleRequestClose,canSubmit:y,onSubmit:d.handleSubmit,hideScheduleOption:true,onSchedule:()=>d.setContentView("schedule-a-post"),onActionClick:b,isEditingMode:l.isEditingMode})},W__namespace.default.createElement("div",{...p(),className:"flex-1 flex flex-col outline-none relative"},f&&W__namespace.default.createElement("div",{className:"absolute inset-0 z-50 bg-primary/10 border-2 border-dashed border-primary rounded-xl flex flex-col items-center justify-center backdrop-blur-sm transition-all"}),W__namespace.default.createElement("input",{...m()}),W__namespace.default.createElement("div",{className:"flex-1 min-h-0 overflow-y-auto w-full flex flex-col"}," ",P()),!x&&W__namespace.default.createElement("div",{className:"mt-auto pt-4"},I))),W__namespace.default.createElement(Bz,{isOpen:l.showDiscardConfirm,onClose:()=>d.setShowDiscardConfirm(false),onDiscard:d.handleConfirmDiscard,onSave:d.handleSaveDraft}),W__namespace.default.createElement("input",{type:"file",multiple:true,ref:r,className:"hidden",accept:l.mediaFiles.length?l.mediaType==="image"?"image/*":l.mediaType==="video"?"video/*":".pdf":"image/*,video/*,application/pdf",onChange:N=>{N.target.files&&(d.addFiles(Array.from(N.target.files)),N.target.value="");}}))}function GO({onRetry:e,onCancel:t}){let{locale:o}=w(),r=(P,I={})=>le(o,P,I),{status:n,progress:a,filesCount:s,isOpen:i,reset:l,errorType:d,error:c,isUpdating:p}=xn(),[m,f]=W.useState(false),[u,g]=W.useState(false);if(W.useEffect(()=>{if(n==="success"){g(true);let P=setTimeout(()=>{l(),g(false);},3e3);return ()=>clearTimeout(P)}},[n,l]),W.useEffect(()=>{if(n==="cancelled"){let P=setTimeout(()=>{l();},3e3);return ()=>clearTimeout(P)}},[n,l]),!i)return null;let h=()=>{["uploading","publishing","updating"].includes(n)?f(true):l();},v=n==="error"&&d!=="cancelled",b=n==="error",y=()=>n==="uploading"?r(p?"progress-uploading-update":"progress-uploading",{count:s,s:s>1?"s":""}):r(n==="publishing"?"progress-publishing":n==="updating"?"progress-updating":n==="success"?p?"progress-update-success":"progress-create-success":n==="cancelled"||n==="error"&&d==="cancelled"?"progress-cancelled":"progress-error"),x=()=>n==="success"?W__namespace.default.createElement("div",{className:"bg-green-100 p-2 rounded-full animate-in fade-in zoom-in duration-300"},W__namespace.default.createElement(lucideReact.CheckCircle2,{className:"text-green-500 w-5 h-5"})):n==="cancelled"?W__namespace.default.createElement("div",{className:"bg-yellow-100 p-2 rounded-full"},W__namespace.default.createElement(lucideReact.AlertCircle,{className:"text-yellow-500 w-5 h-5"})):n==="error"?W__namespace.default.createElement("div",{className:"bg-red-100 p-2 rounded-full"},W__namespace.default.createElement(lucideReact.AlertCircle,{className:"text-red-500 w-5 h-5"})):W__namespace.default.createElement("div",{className:"bg-blue-50 p-2 rounded-full"},W__namespace.default.createElement(lucideReact.Loader2,{className:"animate-spin text-primary w-5 h-5"})),C=()=>n==="error"?"bg-red-500":n==="success"?"bg-green-500":"bg-primary";return W__namespace.default.createElement(W__namespace.default.Fragment,null,W__namespace.default.createElement("div",{className:E("w-full flex flex-col gap-3 p-4 bg-white border border-[#E4EBF1] rounded-xl mb-4 transition-all duration-300","md:min-w-[42rem] md:p-6 md:rounded-2xl md:gap-4",n==="success"&&"border-green-200 bg-green-50/30",n==="cancelled"&&"border-yellow-200 bg-yellow-50/30",n==="error"&&"border-red-200 bg-red-50/30",u&&"animate-in fade-in slide-in-from-top-2")},W__namespace.default.createElement("div",{className:"flex items-start justify-between gap-3 md:items-center"},W__namespace.default.createElement("div",{className:"flex items-start gap-3 flex-1 min-w-0 md:items-center md:gap-4"},W__namespace.default.createElement("div",{className:"flex-shrink-0 mt-0.5 md:mt-0"},x()),W__namespace.default.createElement("div",{className:"flex flex-col flex-1 min-w-0"},W__namespace.default.createElement("span",{className:"text-sm font-semibold text-[#1A1C1E] leading-tight md:text-base"},y()),["uploading","publishing","updating"].includes(n)&&W__namespace.default.createElement("div",{className:"w-full bg-[#E4EBF1] h-1.5 rounded-full mt-2 overflow-hidden"},W__namespace.default.createElement("div",{className:E("h-full transition-all duration-500 ease-out",C()),style:{width:`${a}%`}})),n==="error"&&c&&W__namespace.default.createElement("p",{className:"text-xs text-red-500 mt-2"},c))),n!=="success"&&W__namespace.default.createElement("button",{onClick:h,className:"p-1.5 hover:bg-gray-100 rounded-full transition-colors -mr-1","aria-label":"Close"},W__namespace.default.createElement(lucideReact.X,{className:"w-5 h-5 text-[#687588]"}))),(n==="error"||n==="cancelled")&&W__namespace.default.createElement("div",{className:"flex flex-col gap-2 pt-3 border-t border-[#E4EBF1] sm:flex-row"},v&&W__namespace.default.createElement($,{label:r("progress-retry"),onClick:e,className:"h-9 w-full bg-primary text-white text-xs px-6 sm:w-auto",leftElement:W__namespace.default.createElement(lucideReact.RefreshCw,{className:"w-3 h-3"})}),b&&W__namespace.default.createElement($,{label:r("progress-cancel"),onClick:()=>{f(true);},className:"h-9 w-full border border-[#E4EBF1] text-[#687588] text-xs px-6 sm:w-auto"}))),W__namespace.default.createElement(Bi,{isOpen:m,onClose:()=>f(false),asStacked:true,className:" md:p-5 text-center w-[22rem] p-6"},W__namespace.default.createElement("div",{className:"flex flex-col items-center"},W__namespace.default.createElement("div",{className:"bg-red-50 p-3 rounded-full mb-4"},W__namespace.default.createElement(lucideReact.AlertCircle,{className:"w-6 h-6 text-red-500"})),W__namespace.default.createElement("p",{className:"font-bold text-lg text-[#1A1C1E]"},r("progress-discard-title")),W__namespace.default.createElement("p",{className:"text-sm text-[#687588] mt-2 mb-6"},r("progress-discard-content")),W__namespace.default.createElement("div",{className:"flex flex-col gap-2 w-full sm:flex-row"},W__namespace.default.createElement($,{label:r("progress-keep-uploading"),onClick:()=>f(false),className:"flex-1 border w-full p-3 text-body-sm md:text-body-md border-[#E4EBF1] order-2 sm:order-1"}),W__namespace.default.createElement($,{label:r("progress-confirm-cancel"),onClick:()=>{t(),f(false);},className:"flex-1 bg-red-500 w-full text-body-sm md:text-body-md p-3 text-white border-none order-1 sm:order-2"})))))}var _O=lg.gql`
3255
+ 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z`}))):W__namespace.default.createElement(W__namespace.default.Fragment,null,W__namespace.default.createElement("span",{className:E("flex items-center justify-center min-w-[20px]",m.variant==="danger"?"text-red-500":"text-gray-400")},m.icon),W__namespace.default.createElement("span",{className:"truncate"},m.label))))),p=W__namespace.default.createElement("button",{onClick:()=>a&&l(true),className:"text-gray-400 hover:bg-gray-100 p-1.5 rounded-full transition-colors outline-none focus:ring-2 focus:ring-primary/20"},W__namespace.default.createElement(lucideReact.MoreHorizontal,{size:20}));return a?W__namespace.default.createElement(W__namespace.default.Fragment,null,p,W__namespace.default.createElement(yo,{isOpen:i,onClose:()=>l(false),className:"h-72",side:"bottom"},W__namespace.default.createElement("div",{className:"pb-8 pt-2"},W__namespace.default.createElement(c,null)))):W__namespace.default.createElement(d1__namespace.Root,{open:i,onOpenChange:l},W__namespace.default.createElement(d1__namespace.Trigger,{asChild:true},p),W__namespace.default.createElement(d1__namespace.Portal,null,W__namespace.default.createElement(d1__namespace.Content,{align:"end",sideOffset:8,className:"z-[9999] w-60 bg-white rounded-xl shadow-2xl border border-gray-100 overflow-hidden animate-in fade-in zoom-in-95 duration-200"},W__namespace.default.createElement(c,null))))}var Ade=()=>W__namespace.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"},W__namespace.createElement("g",{id:"freepik--Floor--inject-62"},W__namespace.createElement("ellipse",{id:"freepik--floor--inject-62",cx:"251.12",cy:"333.69",fill:"#f5f5f5",rx:"238.53",ry:"140.13"})),W__namespace.createElement("g",{id:"freepik--Shadows--inject-62",fill:"#e0e0e0"},W__namespace.createElement("path",{id:"freepik--Shadow--inject-62",d:"m35.08 343.63 112.6 65a10.25 10.25 0 0 0 9.28 0L369 286.22c2.56-1.48 2.56-3.88 0-5.36l-112.6-65a10.25 10.25 0 0 0-9.28 0l-212 122.42c-2.6 1.47-2.6 3.87-.04 5.35"}),W__namespace.createElement("ellipse",{id:"freepik--shadow--inject-62",cx:"423.78",cy:"358.9",rx:"37.52",ry:"21.66"}),W__namespace.createElement("ellipse",{id:"freepik--shadow--inject-62",cx:"319.05",cy:"373.47",rx:"55.81",ry:"32.22"})),W__namespace.createElement("g",{id:"freepik--Device--inject-62"},W__namespace.createElement("g",{id:"freepik--Mobile--inject-62"},W__namespace.createElement("g",{id:"freepik--device--inject-62"},W__namespace.createElement("path",{fill:"#263238",d:"M42.6 321.2c-1.57 1.22-1.4 3 .51 4.06L148 385.8a8.5 8.5 0 0 0 7.63 0l200.31-115.69c1.94-1.12 2.1-2.88.45-4.1a8.5 8.5 0 0 1 3.36 6.31v5A8.41 8.41 0 0 1 356 284L155.59 399.64a8.41 8.41 0 0 1-7.63 0L43.12 339.12a8.38 8.38 0 0 1-3.81-6.61v-5.05a8.53 8.53 0 0 1 3.29-6.26"}),W__namespace.createElement("path",{fill:"#455a64",d:"M43.11 325.26 148 385.8a8.5 8.5 0 0 0 7.63 0l200.31-115.69c2.1-1.21 2.11-3.19 0-4.4L251.1 205.18a8.47 8.47 0 0 0-7.63 0L43.11 320.86c-2.11 1.22-2.11 3.19 0 4.4m184.24-104.43c1.8-1 3.68-.44 5.48.61l95.33 55c1.8 1 1.81 2.73 0 3.77l-156 90.07a7.28 7.28 0 0 1-6.54 0L70.3 315.27c-1.81-1-1.81-2.73 0-3.77Z"}),W__namespace.createElement("path",{fill:"#37474f",d:"M356.39 266a8.5 8.5 0 0 1 3.36 6.31v5A8.43 8.43 0 0 1 356 284L155.59 399.64a7.9 7.9 0 0 1-3.82.92V386.7a7.9 7.9 0 0 0 3.82-.91l200.35-115.68c1.94-1.11 2.06-2.88.45-4.11"}),W__namespace.createElement("path",{d:"M293.46 241.39c-1.41-.82-1.41-2.14 0-2.95a5.64 5.64 0 0 1 5.12 0c1.41.81 1.41 2.13 0 2.95a5.7 5.7 0 0 1-5.12 0"}),W__namespace.createElement("path",{fill:"#e6e6e6",d:"M105.44 354a12.8 12.8 0 0 1-6.27-1.5c-1.77-1-2.74-2.41-2.74-3.9s1-2.89 2.74-3.91a13.85 13.85 0 0 1 12.54 0c1.77 1 2.74 2.41 2.74 3.91s-1 2.88-2.74 3.9a12.8 12.8 0 0 1-6.27 1.5m0-9.82a11.9 11.9 0 0 0-5.77 1.37c-1.45.84-2.24 1.92-2.24 3.05s.79 2.2 2.24 3a12.78 12.78 0 0 0 11.54 0c1.44-.84 2.24-1.92 2.24-3s-.8-2.21-2.24-3.05a11.9 11.9 0 0 0-5.77-1.35Z"}),W__namespace.createElement("path",{d:"m296 251.18-19.74-11.39c-1.17-.68-1.23-1.75-.13-2.39a4.56 4.56 0 0 1 4.13.08L300 248.87c1.18.68 1.23 1.75.13 2.39a4.56 4.56 0 0 1-4.13-.08"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M227.35 220.83c1.8-1 3.68-.44 5.48.61l95.33 55c1.8 1 1.81 2.73 0 3.77l-156 90.07a7.28 7.28 0 0 1-6.54 0L70.3 315.27c-1.81-1-1.81-2.73 0-3.77Z"}),W__namespace.createElement("path",{fill:"#fff",d:"M227.35 220.83c1.8-1 3.68-.44 5.48.61l95.33 55c1.8 1 1.81 2.73 0 3.77l-156 90.07a7.28 7.28 0 0 1-6.54 0L70.3 315.27c-1.81-1-1.81-2.73 0-3.77Z",opacity:"0.8"})))),W__namespace.createElement("g",{id:"freepik--Plants--inject-62"},W__namespace.createElement("g",{id:"freepik--plants--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"m97.73 303.26 6.63-3.79s3.18-17.52.8-32.58c-3.34-21.17-17.76-28.47-23-26.37s-6.46 8.38 3 20.61c5.57 7.22 12.75 22.48 12.57 42.13"}),W__namespace.createElement("path",{d:"m97.73 303.26 6.63-3.79s3.18-17.52.8-32.58c-3.34-21.17-17.76-28.47-23-26.37s-6.46 8.38 3 20.61c5.57 7.22 12.75 22.48 12.57 42.13",opacity:"0.3"}),W__namespace.createElement("path",{fill:"#fff",d:"M100.13 294.85h-.06a.49.49 0 0 1-.41-.54c2.74-19.82-5.23-41.54-14.19-50.29a.47.47 0 0 1 .66-.68c9.12 8.92 17.25 31 14.47 51.1a.47.47 0 0 1-.47.41"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M79.34 313.88c-1 .6-3.21-.71-4-1.26A10 10 0 0 1 72 308.8a9.33 9.33 0 0 1-.83-5.63 22 22 0 0 1 .71-3l.84-2.9a7.4 7.4 0 0 0 .42-2.93c-.25-2-2-3.38-3.62-4.58-1.77-1.32-3.62-3.07-3.61-5.46a8.46 8.46 0 0 1 2.11-5c1.14-1.45 2.5-2.73 3.53-4.25a5.88 5.88 0 0 0 1.21-3.72 6.2 6.2 0 0 0-.81-2.32 32 32 0 0 1-2.54-4.66c-.58-1.67-.5-3.75.8-4.94a5.5 5.5 0 0 1 4.12-1 9.5 9.5 0 0 1 3.82 1.35c3.8 2.11 6 6.6 10 8.23a40 40 0 0 0 4.85 1.16 6 6 0 0 1 4 2.75c1.47 3-1.27 6.59-.23 9.73.92 2.77 3.62 3.83 5.13 6.33a6 6 0 0 1 .71 3.64 17.5 17.5 0 0 1-1.53 6.13 44.4 44.4 0 0 1-3.37 5.53c-.04.06-18.21 10.53-18.37 10.62"}),W__namespace.createElement("path",{d:"M79.34 313.88c-1 .6-3.21-.71-4-1.26A10 10 0 0 1 72 308.8a9.33 9.33 0 0 1-.83-5.63 22 22 0 0 1 .71-3l.84-2.9a7.4 7.4 0 0 0 .42-2.93c-.25-2-2-3.38-3.62-4.58-1.77-1.32-3.62-3.07-3.61-5.46a8.46 8.46 0 0 1 2.11-5c1.14-1.45 2.5-2.73 3.53-4.25a5.88 5.88 0 0 0 1.21-3.72 6.2 6.2 0 0 0-.81-2.32 32 32 0 0 1-2.54-4.66c-.58-1.67-.5-3.75.8-4.94a5.5 5.5 0 0 1 4.12-1 9.5 9.5 0 0 1 3.82 1.35c3.8 2.11 6 6.6 10 8.23a40 40 0 0 0 4.85 1.16 6 6 0 0 1 4 2.75c1.47 3-1.27 6.59-.23 9.73.92 2.77 3.62 3.83 5.13 6.33a6 6 0 0 1 .71 3.64 17.5 17.5 0 0 1-1.53 6.13 44.4 44.4 0 0 1-3.37 5.53c-.04.06-18.21 10.53-18.37 10.62",opacity:"0.15"}),W__namespace.createElement("path",{fill:"#fff",d:"M90.1 308.15a.47.47 0 0 1-.46-.49c.78-18.76-8.06-39.48-14.49-45.5a.46.46 0 0 1 0-.66.47.47 0 0 1 .66 0c6.56 6.14 15.58 27.2 14.79 46.23a.47.47 0 0 1-.5.42"}),W__namespace.createElement("path",{fill:"#fff",d:"M87.29 286a.3.3 0 0 1-.14 0 63.3 63.3 0 0 0-13.62-2.19.48.48 0 0 1 0-.95 65 65 0 0 1 13.86 2.24.47.47 0 0 1-.14.92Z"}))),W__namespace.createElement("g",{id:"freepik--Mailbox--inject-62"},W__namespace.createElement("g",{id:"freepik--mailbox--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"m160.58 132.9-12.23-7.06c-.55-.31-.94-.39-1.16-.27l-1.49.87c-.26.14-.25.59.08 1.27l3 6.16-2.22 2a1.73 1.73 0 0 0 .33 2.94l12.22 7.06 1.5-.86Z"}),W__namespace.createElement("path",{fill:"#fff",d:"m160.58 132.9-12.23-7.06c-.55-.31-.94-.39-1.16-.27l-1.49.87c-.26.14-.25.59.08 1.27l3 6.16-2.22 2a1.73 1.73 0 0 0 .33 2.94l12.22 7.06 1.5-.86Z",opacity:"0.5"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M146.86 126.71c-1.2-.7-1.68-.25-1.08 1l3 6.16-2.22 2a1.73 1.73 0 0 0 .33 2.94l12.22 7.06v-12.11Z"}),W__namespace.createElement("path",{fill:"#e0e0e0",d:"M160.52 171.81a1.45 1.45 0 0 1-1.44-1.44v-40.62a1.44 1.44 0 0 1 2.88 0v40.62a1.45 1.45 0 0 1-1.44 1.44"}),W__namespace.createElement("path",{fill:"#263238",d:"M102.65 314.67v-2.54h.62a10 10 0 0 1 4.11-4c6.32-3.65 16.56-3.65 22.88 0a10 10 0 0 1 4.11 4h.63v2.46c0 2.43-1.52 4.86-4.73 6.72-6.32 3.64-16.56 3.64-22.88 0-3.18-1.83-4.76-4.24-4.74-6.64"}),W__namespace.createElement("ellipse",{cx:"118.82",cy:"312.13",fill:"#455a64",rx:"16.18",ry:"9.34"}),W__namespace.createElement("path",{fill:"#37474f",d:"M123 186.44V311a2.07 2.07 0 0 1-1.22 1.7 6.5 6.5 0 0 1-5.89 0 2.07 2.07 0 0 1-1.22-1.7V186.44Z"}),W__namespace.createElement("path",{fill:"#263238",d:"M114.66 196.95v8.17l8.33 4.8v-8.15z"}),W__namespace.createElement("path",{fill:"#37474f",d:"m150.11 181.7 15.4 8.9a1.1 1.1 0 0 1-.3.31l-26.94 15.55c-.23.13-.41 0-.41-.24v-19.41a30.3 30.3 0 0 1 2.25-10.88Z"}),W__namespace.createElement("path",{fill:"#263238",d:"M165.63 169v21.72l-25.51-14.73a2 2 0 0 1 .08-.22c2.74-6.83 7.35-12.63 12.35-15.5a11.65 11.65 0 0 1 5.77-1.79c4.51-.05 7.31 3.98 7.31 10.52M193.34 214.92V213h-.18v.27a8.7 8.7 0 0 0-.51-1.57 14.65 14.65 0 0 0-6.44-6.54L168 194.61a3 3 0 0 0-2.75 0l-27.89 16.09a3.9 3.9 0 0 1-.89-1v2a1 1 0 0 0 .57.8l18.23 10.5a34.86 34.86 0 0 0 17.44 4.12 30.3 30.3 0 0 0 14.51-3.53c4.1-2.36 6.12-5.48 6.12-8.67"}),W__namespace.createElement("path",{fill:"#455a64",d:"M192.65 211.68a14.65 14.65 0 0 0-6.44-6.54L168 194.61a3 3 0 0 0-2.75 0l-27.89 16.09 17.91 10.35a34.86 34.86 0 0 0 17.44 4.12 30.3 30.3 0 0 0 14.51-3.53c3.68-2.12 5.69-4.85 6.06-7.7a8.3 8.3 0 0 0-.63-2.26"}),W__namespace.createElement("path",{fill:"#37474f",d:"M193.28 213.94a8.3 8.3 0 0 0-.63-2.26 14.65 14.65 0 0 0-6.44-6.54L168 194.61a3 3 0 0 0-2.75 0l-27.89 16.09-.32-.18a.83.83 0 0 1 0-1.58l28.19-16.28a3 3 0 0 1 2.75 0l18.23 10.52c3.28 1.9 5.42 4.18 6.44 6.55a8.5 8.5 0 0 1 .65 2.4 7.8 7.8 0 0 1-.02 1.81"}),W__namespace.createElement("path",{fill:"#455a64",d:"m137.65 208.66 28.19-16.28-.62-1.47-26.94 15.56z"}),W__namespace.createElement("g",{id:"freepik--Letter--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"M163.15 167.66a1.5 1.5 0 0 0-.67-1.17l-34.33-19.81a1.44 1.44 0 0 0-1.34 0l-.76.43a1.5 1.5 0 0 0-.67 1.16v26.32a1.5 1.5 0 0 0 .67 1.16l34.33 19.81a1.44 1.44 0 0 0 1.34 0l.76-.43a1.51 1.51 0 0 0 .67-1.16Z"}),W__namespace.createElement("path",{d:"m163 167-1.9 1.1-35.47-20.48a1.4 1.4 0 0 1 .47-.5l.76-.43a1.44 1.44 0 0 1 1.34 0l34.32 19.81a1.44 1.44 0 0 1 .48.5",opacity:"0.35"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M160.89 195.71"}),W__namespace.createElement("path",{d:"m161.05 168.09-.35.21a.58.58 0 0 1 .35.57v26.31a.46.46 0 0 1-.21.44.44.44 0 0 1-.32 0l-.14-.06-34.33-19.82a1.5 1.5 0 0 1-.67-1.16v-26.3a1.4 1.4 0 0 1 .2-.67Z",opacity:"0.2"}),W__namespace.createElement("path",{d:"m161.05 168.09-15.9 5.91a2.6 2.6 0 0 1-3.07-1l-2.55-3.91-14.08-21.57L139 169.26l-13.64 5.34a1.5 1.5 0 0 0 .21.67l13.47-6 3 4.75a2.58 2.58 0 0 0 3.23 1l2.11-.93 13.47 21.49a.46.46 0 0 0 .21-.44v-.44l-13.62-20.6Z",opacity:"0.2"})),W__namespace.createElement("g",{id:"freepik--letter--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"M155 172.31a1.47 1.47 0 0 0-.67-1.16L120 151.33a1.53 1.53 0 0 0-1.35 0l-.75.44a1.47 1.47 0 0 0-.67 1.16v26.31a1.47 1.47 0 0 0 .67 1.16l34.32 19.82a1.5 1.5 0 0 0 1.34 0l.76-.44a1.47 1.47 0 0 0 .67-1.16Z"}),W__namespace.createElement("path",{d:"m154.83 171.65-1.91 1.1-35.47-20.48a1.44 1.44 0 0 1 .48-.5l.76-.44a1.5 1.5 0 0 1 1.34 0l34.32 19.82a1.36 1.36 0 0 1 .48.5",opacity:"0.35"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M152.77 200.37"}),W__namespace.createElement("path",{d:"m152.93 172.75-.35.21a.58.58 0 0 1 .35.57v26.31a.46.46 0 0 1-.21.44.44.44 0 0 1-.32 0l-.14-.06-34.33-19.82a1.5 1.5 0 0 1-.67-1.16v-26.3a1.4 1.4 0 0 1 .2-.67Z",opacity:"0.2"}),W__namespace.createElement("path",{d:"M152.92 172.75 137 178.69a2.59 2.59 0 0 1-3.07-1l-2.55-3.91-14.05-21.58 13.57 21.71-13.64 5.34a1.3 1.3 0 0 0 .21.67l13.47-5.92 3 4.74a2.59 2.59 0 0 0 3.24 1l2.11-.94 13.47 21.5a.49.49 0 0 0 .2-.45v-.43l-13.6-20.64Z",opacity:"0.2"})),W__namespace.createElement("g",{id:"freepik--letter--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"M146.9 177a1.47 1.47 0 0 0-.67-1.16L111.9 156a1.47 1.47 0 0 0-1.34 0l-.76.44a1.47 1.47 0 0 0-.67 1.16v26.3a1.49 1.49 0 0 0 .67 1.16l34.33 19.82a1.5 1.5 0 0 0 1.34 0l.76-.44a1.49 1.49 0 0 0 .67-1.16Z"}),W__namespace.createElement("path",{d:"m146.7 176.31-1.9 1.1-35.47-20.48a1.34 1.34 0 0 1 .47-.5l.76-.44a1.44 1.44 0 0 1 1.34 0l34.33 19.82a1.34 1.34 0 0 1 .47.5",opacity:"0.35"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M144.64 205"}),W__namespace.createElement("path",{d:"m144.8 177.4-.35.21a.58.58 0 0 1 .35.57v26.31a.46.46 0 0 1-.21.44.44.44 0 0 1-.32 0l-.14-.06-34.33-19.81a1.5 1.5 0 0 1-.67-1.16v-26.31a1.4 1.4 0 0 1 .2-.67Z",opacity:"0.2"}),W__namespace.createElement("path",{d:"m144.8 177.41-15.9 5.93a2.56 2.56 0 0 1-3.06-1l-2.56-3.92-14.08-21.57 13.57 21.72-13.64 5.34a1.54 1.54 0 0 0 .21.67l13.47-6 3 4.75a2.58 2.58 0 0 0 3.23 1l2.11-.93 13.47 21.49a.46.46 0 0 0 .21-.44v-.44l-13.61-20.64Z",opacity:"0.2"})),W__namespace.createElement("path",{fill:"#455a64",d:"M162.06 157.73c-2.73-1.43-6.35-1.18-10.31 1.11-4.45 2.56-8.46 7.19-11.27 12.51a39 39 0 0 0-1.76 3.78 31.9 31.9 0 0 0-2.45 11.68V209a2.9 2.9 0 0 1-1.37-.33l-48.83-28.25A3.07 3.07 0 0 1 84.7 178v-21c0-10.52 6.93-23 15.47-28 4-2.34 7.73-2.53 10.49-1Z"}),W__namespace.createElement("path",{fill:"#37474f",d:"M138.72 175.13a31.9 31.9 0 0 0-2.45 11.68V209a2.7 2.7 0 0 1-.5-.05v-22.13c0-16.32 12.55-26.69 16-28-4.45 2.56-8.46 7.19-11.27 12.51a39 39 0 0 0-1.78 3.8"}),W__namespace.createElement("path",{fill:"#455a64",d:"M138.28 206.46c-.23.14-.42 0-.42-.23v-19.42a30.3 30.3 0 0 1 2.26-10.87 2 2 0 0 1 .08-.22 36 36 0 0 1 1.88-4c2.74-5.06 6.48-9.22 10.47-11.51a11.65 11.65 0 0 1 5.77-1.79 6.4 6.4 0 0 1 3 .73c2.69 1.44 4.27 4.92 4.27 9.79v21.24a.9.9 0 0 1-.41.72l.62 1.47.14-.09a2.5 2.5 0 0 0 .57-.55 3 3 0 0 0 .66-1.74V169c0-5.63-2-9.55-5.15-11.21-2.74-1.44-6.35-1.19-10.32 1.1-4.44 2.56-8.45 7.19-11.27 12.51a39 39 0 0 0-1.75 3.78 31.9 31.9 0 0 0-2.45 11.68V209h.24a2.75 2.75 0 0 0 1.13-.32Z"}))),W__namespace.createElement("g",{id:"freepik--trash-can--inject-62"},W__namespace.createElement("g",{id:"freepik--trash-can--inject-62"},W__namespace.createElement("path",{fill:"#37474f",d:"M458.17 294.35h-68.83l6 60.78c.37 3.89 3.13 7.72 8.28 10.69 11.11 6.42 29.11 6.42 40.22 0 5.15-3 7.9-6.8 8.28-10.69Z"}),W__namespace.createElement("ellipse",{cx:"423.76",cy:"293.24",fill:"#455a64",rx:"34.47",ry:"19.9"}),W__namespace.createElement("path",{fill:"#37474f",d:"M423.76 310.3c-8.72 0-16.87-1.93-23-5.44-5.59-3.23-8.67-7.36-8.67-11.62s3.08-8.39 8.67-11.62c6.09-3.51 14.24-5.45 23-5.45s16.87 1.94 22.95 5.45c5.6 3.23 8.68 7.36 8.68 11.62s-3.08 8.39-8.68 11.62c-6.08 3.51-14.23 5.44-22.95 5.44"}),W__namespace.createElement("path",{d:"M447.42 297.27c-1.72-1.29-4.78-.12-6-1.92-.38-.57-.45-1.34-1-1.78-1.6-1.32-4 2.26-5.7 1-.62-.45-.78-1.41-1.47-1.72-.51-.22-1.09 0-1.64 0a3.3 3.3 0 0 1-2.58-2.22 11.6 11.6 0 0 0-1.59-3.21 3.54 3.54 0 0 0-2.29-1.13c-2.16-.19-3.93 1.57-5.38 3.18-.23.26-.47.52-.7.79a5.2 5.2 0 0 1-1.49 1.28 1.33 1.33 0 0 1-1 .14 1.43 1.43 0 0 1-.79-.81c-.61-1.32-.47-3.35-1.88-3.72-.38-.1-.83-.05-1.13-.31s-.29-.65-.5-.94a1.55 1.55 0 0 0-1.19-.5c-2.9-.22-5.46 1.73-7.71 3.57-1.21-.8-1.34-2.57-.88-4 1.16-3.46 4.81-5.37 8.23-6.65 1.6-.6 3.23-1.13 4.87-1.61a42 42 0 0 0-14.89 4.85c-5.59 3.23-8.67 7.36-8.67 11.62s3.08 8.39 8.67 11.62c6.09 3.51 14.24 5.44 23 5.44s16.87-1.93 22.95-5.44l.36-.22c.34-.71.65-1.43.92-2.17.69-1.7.97-4.01-.52-5.14",opacity:"0.1"}),W__namespace.createElement("path",{fill:"#263238",d:"M407.56 361.4a31 31 0 0 1-4.38-2.08c-.52-.3-1-.6-1.48-.92a5.2 5.2 0 0 1-1.61-3.51L396.68 314c-.12-1.37.5-1.91 1.44-1.28q.83.56 1.74 1.08a36 36 0 0 0 5.44 2.55 4.07 4.07 0 0 1 2.49 3.31l2 40.05a1.56 1.56 0 0 1-2.23 1.69M429.06 321.77l-.68 39.76a2.74 2.74 0 0 1-2.54 2.67c-1.38.06-2.78.06-4.17 0a2.74 2.74 0 0 1-2.53-2.67l-.65-39.76a2.26 2.26 0 0 1 2.45-2.32 54 54 0 0 0 5.67 0 2.26 2.26 0 0 1 2.45 2.32M450.89 314l-3.45 40.92a5.3 5.3 0 0 1-1.62 3.52c-.47.31-1 .62-1.48.91a32 32 0 0 1-4.34 2.05 1.56 1.56 0 0 1-2.24-1.68l2-40.06a4.07 4.07 0 0 1 2.49-3.31 37 37 0 0 0 5.42-2.54c.61-.35 1.2-.72 1.76-1.1.94-.64 1.57-.11 1.46 1.29"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M394.11 299.06a20.5 20.5 0 0 0 6.69 5.8c6.09 3.51 14.24 5.44 23 5.44s16.87-1.93 22.95-5.44a23.8 23.8 0 0 0 4.88-3.65 6.1 6.1 0 0 0-.61-1.71 4 4 0 0 0-3.1-2.12c-.75 0-1.49.17-2.23.13a1.74 1.74 0 0 1-1.72-1.15c-.07-.33 0-.68-.05-1-.17-.87-1.27-1.24-2.15-1.08s-1.65.67-2.51.89a1.94 1.94 0 0 1-2.31-.8c-.17-.42-.11-.92-.35-1.31-.48-.81-1.9-.63-2.37-1.45-.37-.65.09-1.43.2-2.16a3.11 3.11 0 0 0-1.77-3 9 9 0 0 0-3.58-.8 5.9 5.9 0 0 0-3.9.55c-1.16.8-1.59 2.27-2.14 3.56s-1.57 2.64-3 2.63a3.22 3.22 0 0 0-1.89-2.73 13 13 0 0 0-2-.5c-2.05-.56-4-2.27-6-1.72a5.8 5.8 0 0 0-2.24 1.43l-3.34 2.93a5.4 5.4 0 0 0-1.82 2.34 5 5 0 0 1-.36 1.2c-.63 1-1.94.6-2.91.62a5.43 5.43 0 0 0-3.7 1.12 6.15 6.15 0 0 0-1.67 1.98"}),W__namespace.createElement("path",{d:"M446.71 304.86a23.8 23.8 0 0 0 4.88-3.65 6 6 0 0 0-.17-.61 9.89 9.89 0 0 1-8.5 2 10.4 10.4 0 0 0-3-.6 2.15 2.15 0 0 0-2.17 1.81.8.8 0 0 1 0 .41.6.6 0 0 1-.43.24c-2.62.57-5.6-1-7.92.37a14.3 14.3 0 0 1-2.4 1.59 4.8 4.8 0 0 1-3.07-.42 1.9 1.9 0 0 1-.77-.42c-.4-.41-.39-1.06-.7-1.53a2.7 2.7 0 0 0-1.05-.77 8.2 8.2 0 0 0-4.49-1.24 5.5 5.5 0 0 0-4.17 3.55c-3.69-1.29-6.36-5.6-10.25-5.19-.34-1.2 1.09-2.11 2.29-2.47s2.69-.92 2.74-2.17c0-.52-.24-1-.18-1.54.09-.72.81-1.36.59-2.06a3.1 3.1 0 0 0-.59-.82 2.14 2.14 0 0 1-.38-1.59l-2.29 2a5.4 5.4 0 0 0-1.82 2.34 5 5 0 0 1-.36 1.2c-.63 1-1.94.6-2.91.62a5.43 5.43 0 0 0-3.7 1.12 6.15 6.15 0 0 0-1.69 2 20.5 20.5 0 0 0 6.69 5.8c6.09 3.51 14.24 5.44 23 5.44s16.74-1.9 22.82-5.41",opacity:"0.1"}))),W__namespace.createElement("g",{id:"freepik--Character--inject-62"},W__namespace.createElement("g",{id:"freepik--character--inject-62"},W__namespace.createElement("g",{id:"freepik--letter--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"M396.74 226.81a1.39 1.39 0 0 0-.63-1.1L363.69 207a1.42 1.42 0 0 0-1.27 0l-.71.42a1.4 1.4 0 0 0-.64 1.09v24.85a1.4 1.4 0 0 0 .64 1.1l32.42 18.72a1.4 1.4 0 0 0 1.26 0l.72-.42a1.39 1.39 0 0 0 .63-1.09Z"}),W__namespace.createElement("path",{fill:"#fff",d:"m396.56 226.18-1.8 1-33.5-19.34a1.3 1.3 0 0 1 .45-.48l.71-.41a1.42 1.42 0 0 1 1.27 0l32.42 18.72a1.45 1.45 0 0 1 .45.51",opacity:"0.4"}),W__namespace.createElement("path",{d:"M396.74 226.81v24.85a1.39 1.39 0 0 1-.63 1.09l-.72.42-.17.08-.26.06a1.7 1.7 0 0 1-.5 0h-.12a.13.13 0 0 1-.08 0 .35.35 0 0 0 .3 0 .44.44 0 0 0 .2-.42V228a.55.55 0 0 0-.33-.54l.33-.19 1.8-1a1.4 1.4 0 0 1 .18.54",opacity:"0.2"}),W__namespace.createElement("path",{d:"m394.76 227.22-15 5.61a2.45 2.45 0 0 1-2.9-1l-2.41-3.7-13.3-20.37L374 228.32l-12.89 5a1.4 1.4 0 0 0 .2.64l12.69-5.58 2.81 4.48a2.43 2.43 0 0 0 3.05.94l2-.88 12.71 20.3a.44.44 0 0 0 .2-.42v-.41l-12.85-19.5Z",opacity:"0.2"})),W__namespace.createElement("path",{fill:"#ffa8a7",d:"m367.09 179.57-14.87-26.84s-16.53-20.64-10.06-29.2c8.82-.81 16.62.73 24 15 8.29 15.91 12.23 27.43 16.54 37.8 1.19 2.87 1.07 17 .79 27.69-.18 7 .24 14.59.24 14.59l-5.6-3.23a8.65 8.65 0 0 0-4.21-1.16h-1.4a12.84 12.84 0 0 0-3 5.13c-.89 4-3.08 5.24-4.26 4.3-.57-.46-1-2.82.33-8.42 1.08-4.6 5.27-9.1 4.72-12.62Z"}),W__namespace.createElement("path",{fill:"#37474f",d:"M342.16 123.53s5.62-1.26 9.84.16 7.18 3.07 11.69 9.79 14.51 30.18 14.51 30.18-1.21 6.46-16 8.78l-14.74-23.73Z"}),W__namespace.createElement("path",{fill:"#ffa8a7",d:"m319.11 116.05 2.97 18.73 18.58-.99-2.66-21.78z"}),W__namespace.createElement("path",{fill:"#f28f8f",d:"M306.62 93.05s-4.43 6.72-3.92 7.38 3.76 1.26 3.76 1.26Z"}),W__namespace.createElement("path",{fill:"#ffa8a7",d:"M318.92 74.47c-9 1.89-11.55 5.83-12.4 20.06-.88 14.87.64 19.55 2.59 21.55 1.32 1.35 8.65 1.6 12.35.58 4.63-1.28 15.09-5 20-12.47 5.76-8.8 7.27-20.73 1.1-25.62-8.69-6.89-20-4.87-23.64-4.1"}),W__namespace.createElement("path",{fill:"#f28f8f",d:"M319.28 117.07a37 37 0 0 0 4.72-1.19 8.37 8.37 0 0 1-4.5 2.6Z"}),W__namespace.createElement("path",{fill:"#263238",d:"M304.71 80a12.6 12.6 0 0 0 2.29 1.78 32 32 0 0 0 3.74 2.07 21.6 21.6 0 0 1 3.64 1.71c1.63 1.16 1.84 2.69 1.88 4.56v4.39c0 2.47 1.6 4.34 2.37 1 0 0 1.42-5.49 6.05-4.8s5 5.91 2.84 10c-1.35 2.49-4.95 1.84-4.95 1.84a16.2 16.2 0 0 0 4.84 12.47s3.57 1.08 10.86-.47c4.48-1 8.78-5.89 11.44-11.82 5.63-12.54 6-23.83-2-27.21-.87-5.78-5.42-8.37-10.6-9.56-7.76-1.78-15 2.82-22.69 1.11a37 37 0 0 1-3.74-1 2.1 2.1 0 0 0-1.51-.1 1.71 1.71 0 0 0-.73 1.71 4.64 4.64 0 0 0 2.26 3.64c-.16-.09-.91.11-1.11.12-.43 0-.86 0-1.29.05a24 24 0 0 1-2.52-.18 4.6 4.6 0 0 0-1.74.06 3.14 3.14 0 0 0-2 3.16 7.75 7.75 0 0 0 1.38 3.72 11 11 0 0 0 .93 1.33c.16.17.26.28.36.42"}),W__namespace.createElement("path",{fill:"#263238",d:"m347.91 77.5 5.36-3.16a3.11 3.11 0 0 0-5.36 3.16M352.91 355.79 353 357a22 22 0 0 1 .12 4.78c-.13 1.1-.45 2.59-1.47 3.19a12.9 12.9 0 0 1-3.5 1.37 12.25 12.25 0 0 1-8.11-.8c-2.1-1-3.75-2.62-6-3.26a45.3 45.3 0 0 0-7.16-1.18 16 16 0 0 1-3.16-.58 15 15 0 0 1-2.28-1 22.5 22.5 0 0 1-6.77-4.94 10.7 10.7 0 0 1-2.41-4.83c-.21-1.05-.64-4.09 1.12-4 8.62.39 17.15 2.24 25.78 2.14a9.5 9.5 0 0 1 1.68.07 7 7 0 0 1 2.89 1.35 3 3 0 0 0 2.65.65 13.2 13.2 0 0 1 4.47.06 2.11 2.11 0 0 1 1.54 1 2.4 2.4 0 0 1 .13.65c.12 1.33.26 2.74.39 4.12"}),W__namespace.createElement("path",{fill:"#ffa8a7",d:"m352 345.46-.44 6.5c-.42 2.47-8.85 4-10.59-.39l-.83-7.37Z"}),W__namespace.createElement("path",{fill:"#263238",d:"M320 371.16s1 3.38 1.56 6.33c.42 2.34 1 6.25.16 8s-4.07 2.8-9 2.65c-3.2-.1-8.23 2-11.69 3.79s-10.92 2.51-14.64 2c-4.39-.62-8.88-3.27-9.55-5.11s.32-3.7 10.77-7.88c.1 0 14.51-4.37 19.65-9.79Z"}),W__namespace.createElement("path",{fill:"#ffa8a7",d:"M320.05 367s-.08 2.86-.11 4.5-2 4-7 3.74c-3.51-.21-5.94-1.21-5.73-4.1l.09-4.17Z"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M355.43 295.56c-1.48-12.65-2.59-19.89-2.59-19.89s.25-17.61 1.29-34c1.11-17.74.86-40.08 1.3-44.5 0 0-57-12.17-57.46 8.38-.54 23.88 1 73.29 1.39 79.72.48 9 .5 18.43 2 33.08 1.51 14.47 5.9 48.65 5.9 48.65 6.47 3.69 12.76 0 12.76 0s4.95-41 4.76-51.37a143 143 0 0 0-2.16-22.52l4.49-46.35s1.76 14.33 2.24 23.36 1.71 14.55 3.94 31.35c1.94 14.59 6.85 45.36 6.85 45.36a11.52 11.52 0 0 0 12.12-.48s4.65-38.14 3.17-50.79"}),W__namespace.createElement("path",{d:"M348.82 225.19s-3.95 6.51-15.93 11.29l-3.34 11.19-.36 19.67c-.46-6.34-1.16-13.26-2.05-20.59l1.35-11.53s13.23-4.01 20.33-10.03",opacity:"0.15"}),W__namespace.createElement("path",{fill:"#455a64",d:"M357.62 135.52c-2.29-8.14-7.66-11.74-13.63-12.12-1.52-.1-4.6 0-4.6 0 .42 3.45-10.21 5.89-18.48 3.94-2.49.66-6.62 1.59-8.7 2.28-5.94 2-13.07 9.41-14 28.8 0 0-.94 41.67-.65 53.77 14.68 6.2 28.85 7 37.4 5.3 17.81-3.47 20.74-11.1 20.74-11.1s-.17-10.59-.83-27.48c3.02-23.98 3.74-39.85 2.75-43.39"}),W__namespace.createElement("g",{id:"freepik--letter--inject-62"},W__namespace.createElement("path",{fill:"#0E9EDD",d:"M233.07 124.26a.77.77 0 0 1 .45-1l36.34-14.62a2.7 2.7 0 0 1 1.68.12l1.1.46a2.43 2.43 0 0 1 1.23 1.09l8.93 23.42a.76.76 0 0 1-.45 1L246 149.35a2.7 2.7 0 0 1-1.68-.12l-1.1-.46a2.46 2.46 0 0 1-1.24-1.09Z"}),W__namespace.createElement("path",{fill:"#fff",d:"m233.09 123.69 2.77 1.15 37.54-15.11a3 3 0 0 0-.76-.48l-1.1-.46a2.62 2.62 0 0 0-1.68-.12l-36.34 14.62a.8.8 0 0 0-.43.4",opacity:"0.4"}),W__namespace.createElement("path",{d:"m233.07 124.26 8.93 23.42a2.46 2.46 0 0 0 1.24 1.09l1.1.46.26.09.36.08a4 4 0 0 0 .66 0h.24a.7.7 0 0 1-.4 0 .69.69 0 0 1-.41-.41l-8.93-23.41a.33.33 0 0 1 .24-.48l-.5-.21-2.77-1.15a.75.75 0 0 0-.02.52",opacity:"0.2"}),W__namespace.createElement("path",{d:"m235.86 124.84 21.95 6.68c1.57.48 3 .22 3.51-.63l1.87-3.25 10.34-18-9.65 18.13 18.93 6a.75.75 0 0 1 0 .57l-18.92-6.48-2.11 4c-.48.91-2.07 1.16-3.72.6l-3-1-9.6 17.94a.69.69 0 0 1-.41-.41l-.15-.39 10.1-17.22Z",opacity:"0.2"})),W__namespace.createElement("path",{fill:"#ffa8a7",d:"M294.9 143.25c-6.75 8.66-16.2 20.84-21.54 28.06-3.84-3.69-17.83-16.91-19.27-19-1.61-2.32-1.54-5.5-2.87-8.9-1.08-2.78-3.52-6.21-4.15-7.63-1.15-2.6-3.68-3.89-3.72-.09 0 3.16 1.5 6.92 1.33 7.64-.08.31-1.33-.32-2.69-1.6a12.7 12.7 0 0 1-1.62-1.88l-2.84-3.85-2-5.15s-.79.11-1.79 2.49c-2.88 6.86-2.5 14.37 3.05 20.42 3.29 3.59 8.83 8.5 14.58 15.4S267.9 188 272.5 190.65c4.14 2.38 9.19-1.38 15-7.26 8.15-8.21 20.75-22 20.75-22s9.4-15.94 3.92-31.77c-6.87.26-8.65 2.58-17.27 13.63"}),W__namespace.createElement("path",{fill:"#37474f",d:"M314.42 129s-6.63.43-10.85 2.58c-1.13.58-4.37 4.1-7.45 8.22-6 8.09-16.59 22.11-16.59 22.11s.2 13.29 13.23 17c0 0 13.05-13.39 16.56-17.53 4.57-5.38 9.03-21.38 5.1-32.38"})))),EO=Ade;function kO({isOpen:e,onClose:t,onConfirm:o,isLoading:r=false}){let{locale:n}=w();return W__namespace.default.createElement(Bi,{isOpen:e,onClose:t,showCloseButton:!r,disableFullScreen:true,closeOnClickOutside:false,asStacked:true,className:"w-[28.125rem] mx-auto p-4"},W__namespace.default.createElement("div",{className:"flex flex-col items-center justify-center gap-6 w-full"},W__namespace.default.createElement("div",{className:"w-44 h-44 mx-auto"},W__namespace.default.createElement(EO,null)),W__namespace.default.createElement("h2",{className:"text-body-md md:text-body-lg font-bold text-dark-1 text-center"},le(n,"delete-scheduled-post-title")),W__namespace.default.createElement("p",{className:"text-body-sm md:text-body-md text-center"},le(n,"delete-scheduled-post-content")),W__namespace.default.createElement("div",{className:"flex w-full items-center justify-between gap-4"},W__namespace.default.createElement($,{label:le(n,"button-cancel-delete"),disabled:r,onClick:t,className:"flex-1 w-fit p-3 border border-primary bg-white font-bold text-primary text-body-sm md:text-body-md"}),W__namespace.default.createElement($,{label:le(n,"button-confirm-delete"),disabled:r,isLoading:r,onClick:o,className:"bg-primary flex-1 w-full p-3 font-bold text-white text-body-sm md:text-body-md"}))))}var Ede=()=>W__namespace.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 500"},W__namespace.createElement("g",{id:"freepik--background-complete--inject-77"},W__namespace.createElement("path",{fill:"#ebebeb",d:"M0 382.4h500v.25H0zM359 391.92h90.9v.25H359zM306.33 389.21h24.89v.25h-24.89zM349.52 401.21h38.59v.25h-38.59zM52.46 399.53H75.1v.25H52.46zM84 399.53h26.89v.25H84zM178.31 395.31h46.84v.25h-46.84zM237 337.8H43.91a5.71 5.71 0 0 1-5.7-5.71V60.66a5.71 5.71 0 0 1 5.7-5.66H237a5.71 5.71 0 0 1 5.71 5.71v271.38a5.71 5.71 0 0 1-5.71 5.71M43.91 55.2a5.46 5.46 0 0 0-5.45 5.46v271.43a5.46 5.46 0 0 0 5.45 5.46H237a5.47 5.47 0 0 0 5.46-5.46V60.66A5.47 5.47 0 0 0 237 55.2ZM453.31 337.8h-193.1a5.72 5.72 0 0 1-5.71-5.71V60.66a5.72 5.72 0 0 1 5.71-5.66h193.1a5.71 5.71 0 0 1 5.69 5.66v271.43a5.71 5.71 0 0 1-5.69 5.71M260.21 55.2a5.47 5.47 0 0 0-5.46 5.46v271.43a5.47 5.47 0 0 0 5.46 5.46h193.1a5.47 5.47 0 0 0 5.46-5.46V60.66a5.47 5.47 0 0 0-5.46-5.46Z"}),W__namespace.createElement("path",{fill:"#e6e6e6",d:"M421.42 196.37H316.49V79.79h104.93z"}),W__namespace.createElement("path",{fill:"#f5f5f5",d:"M416.58 196.37H294.04V79.79h122.54z"}),W__namespace.createElement("path",{fill:"#fff",d:"M404.54 87.29v101.6h-98.46V87.29z"}),W__namespace.createElement("path",{fill:"#f5f5f5",d:"M355.95 85.99v104.2h-1.28V85.99z"}),W__namespace.createElement("path",{fill:"#e6e6e6",d:"M215.16 356.79H81.12V86.39h134.04z"}),W__namespace.createElement("path",{fill:"#f0f0f0",d:"M212.68 356.79H71.8V86.39h140.88z"}),W__namespace.createElement("path",{fill:"#fff",d:"M200.87 98.18v246.8H83.6V98.18z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"m127.84 344.98 23.13-246.79h-26.7l-23.14 246.79zM148.53 344.98l23.14-246.79h-13.36l-23.13 246.79z"}),W__namespace.createElement("path",{fill:"#e6e6e6",d:"M290.9 382.4h-25.05V276.51h25.05z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M280.43 382.4h-14.57v-14.62h29.85z"}),W__namespace.createElement("path",{fill:"#e6e6e6",d:"M439.71 382.4h-25.05V276.51h25.05z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M427.38 377.36H265.85V276.5h161.53z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M412.81 382.4h14.58v-14.62h-29.86z"}),W__namespace.createElement("path",{fill:"#f0f0f0",d:"M416.08 339.33H277.16v-25.24h138.92zM416.08 369.96H277.16v-25.24h138.92z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M389.67 316.79h-86.11a4.58 4.58 0 0 1-4.58-4.58v-.31h95.26v.31a4.58 4.58 0 0 1-4.58 4.58Z"}),W__namespace.createElement("path",{fill:"#f0f0f0",d:"M416.08 308.69H277.16v-25.24h138.92z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M389.67 286.15h-86.11a4.58 4.58 0 0 1-4.58-4.58v-.31h95.26v.31a4.58 4.58 0 0 1-4.57 4.58M389.67 347.43h-86.11a4.58 4.58 0 0 1-4.58-4.58v-.31h95.26v.31a4.58 4.58 0 0 1-4.57 4.58"}),W__namespace.createElement("path",{fill:"#f5f5f5",d:"M297.27 274.74h-4.94v-45.82h4.94z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M294.36 274.71h-1.39v-45.82h1.39z"}),W__namespace.createElement("path",{fill:"#f0f0f0",d:"M283.91 276.51h21.77a2.74 2.74 0 0 0-2.74-2.75h-16.28a2.75 2.75 0 0 0-2.75 2.75M285.34 261.44a1.43 1.43 0 0 0 1.42-1.42v-25.28a1.43 1.43 0 0 0-1.42-1.42 1.43 1.43 0 0 0-1.43 1.42V260a1.43 1.43 0 0 0 1.43 1.44"}),W__namespace.createElement("path",{fill:"#e0e0e0",d:"M272.7 241.05h44.2l-1.57-4.36a14.71 14.71 0 0 0-13.82-9.69h-13.42a14.71 14.71 0 0 0-13.82 9.69Z"}),W__namespace.createElement("path",{fill:"#f5f5f5",d:"M410.33 274.74h-4.94v-45.82h4.94z"}),W__namespace.createElement("path",{fill:"#fafafa",d:"M407.43 274.71h-1.39v-45.82h1.39z"}),W__namespace.createElement("path",{fill:"#f0f0f0",d:"M397 276.51h21.77a2.75 2.75 0 0 0-2.74-2.75h-16.31a2.75 2.75 0 0 0-2.74 2.75ZM398.4 261.44a1.43 1.43 0 0 0 1.42-1.42v-25.28a1.43 1.43 0 0 0-1.42-1.42 1.43 1.43 0 0 0-1.42 1.42V260a1.43 1.43 0 0 0 1.42 1.44"}),W__namespace.createElement("path",{fill:"#e0e0e0",d:"M385.76 241.05H430l-1.58-4.36a14.7 14.7 0 0 0-13.85-9.69h-13.41a14.71 14.71 0 0 0-13.82 9.69Z"})),W__namespace.createElement("g",{id:"freepik--Shadow--inject-77"},W__namespace.createElement("ellipse",{id:"freepik--path--inject-77",cx:"250",cy:"416.24",fill:"#f5f5f5",rx:"193.89",ry:"11.32"})),W__namespace.createElement("g",{id:"freepik--Speedometer--inject-77"},W__namespace.createElement("path",{fill:"#263238",d:"m166.53 113.94-.63-.78a166 166 0 0 1 13.7-10l.55.84a164 164 0 0 0-13.62 9.94M159.15 120.25l-.68-.74c1.34-1.21 2.72-2.42 4.09-3.59l.65.77a172 172 0 0 0-4.06 3.56"}),W__namespace.createElement("ellipse",{cx:"216.41",cy:"181.2",fill:"#263238",rx:"115.24",ry:"81.19",transform:"rotate(-41.22 216.436 181.221)"}),W__namespace.createElement("ellipse",{cx:"216.41",cy:"181.2",fill:"#fff",rx:"99.97",ry:"70.43",transform:"rotate(-41.22 216.436 181.221)"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M237.15 103.89c-43.29 3.51-87.67 41-99.13 83.66l156.77-12.69c11.46-42.7-14.35-74.47-57.64-70.97"}),W__namespace.createElement("path",{fill:"#fff",d:"m138 187.55 78.39-6.35-40.74-50.2c-17.94 15.16-31.9 35.2-37.65 56.55",opacity:"0.7"}),W__namespace.createElement("path",{fill:"#fff",d:"M237.15 103.89c-21.64 1.76-43.56 12-61.5 27.13l40.76 50.18z",opacity:"0.4"}),W__namespace.createElement("path",{fill:"#fff",d:"m237.15 103.89-20.74 77.31 70.09-59.15c-10.43-12.84-27.7-19.91-49.35-18.16",opacity:"0.1"}),W__namespace.createElement("ellipse",{cx:"216.41",cy:"181.2",fill:"#fff",rx:"40.79",ry:"28.73",transform:"rotate(-41.22 216.436 181.221)"}),W__namespace.createElement("ellipse",{cx:"216.41",cy:"181.2",fill:"#263238",rx:"23.8",ry:"16.77",transform:"rotate(-41.22 216.436 181.221)"}),W__namespace.createElement("path",{fill:"#263238",d:"M275.08 139.85a236.3 236.3 0 0 0-52.63 27.9l7.37 13.2a257.7 257.7 0 0 0 45.26-41.1"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M147 217.06a1.51 1.51 0 0 1-1.55-1.84 2.73 2.73 0 0 1 2.36-2.16l86.19-6.83a1.51 1.51 0 0 1 1.7 1.83 2.7 2.7 0 0 1-2.35 2.15l-86.12 6.84ZM221.55 225.26a1.5 1.5 0 0 1-1.55-1.84 2.7 2.7 0 0 1 2.36-2.15l28-2.23a1.51 1.51 0 0 1 1.71 1.83 2.72 2.72 0 0 1-2.36 2.16l-28 2.22ZM79.15 261.08a1.51 1.51 0 0 1-1.55-1.84 2.72 2.72 0 0 1 2.4-2.15l28-2.23a1.52 1.52 0 0 1 1.71 1.83 2.72 2.72 0 0 1-2.35 2.16l-28 2.22ZM104.09 244.71a1.5 1.5 0 0 1-1.54-1.84 2.71 2.71 0 0 1 2.35-2.15l84-6.67a1.52 1.52 0 0 1 1.71 1.83 2.73 2.73 0 0 1-2.36 2.16l-84 6.66Z"})),W__namespace.createElement("g",{id:"freepik--Character--inject-77"},W__namespace.createElement("path",{fill:"#ff8b7b",d:"m284.39 334.51 3.56 7.19 17.61-6.33-3.56-7.19zM198.77 393.64l5.35 5.99 13.6-15.45-6.59-4.58z"}),W__namespace.createElement("path",{fill:"#263238",d:"m205.34 399-3.64-9.09a.67.67 0 0 0-.75-.41l-7.11 1.5a1.22 1.22 0 0 0-.86 1.67c1.22 2.9 2.24 5 3.71 8.64.91 2.27 3.41 9.2 4.67 12.33s4.45 2.17 4.22.76c-1.07-6.29-1.1-11.38-.21-13.95a2 2 0 0 0-.03-1.45M288.76 341.24l-3.89-7.86a.71.71 0 0 0-.79-.37l-7.1 1.75a1.16 1.16 0 0 0-.77 1.67c1.45 2.81 3.64 6.82 5.41 10.38 2.06 4.17 2.34 4.3 4.76 9.18 1.46 2.95 4.85 2.3 4.51.93-1.56-6.24-2.43-7.32-1.83-13.67a3.73 3.73 0 0 0-.3-2.01"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"M358 205.24c-.37 2.6-.77 5.4-1.08 8.11s-.62 5.47-.85 8.2a116 116 0 0 0-.48 16.06c0 .65.06 1.3.14 1.91l.18 1.78a2.51 2.51 0 0 0 1.71 2.39 11 11 0 0 0 2.85.86 34 34 0 0 0 7.44.28c1.31-.09 2.65-.19 4-.35s2.72-.37 4-.56l1.94 5.71a44 44 0 0 1-4.24 1.73 43 43 0 0 1-4.35 1.36 40 40 0 0 1-4.59.93 28.4 28.4 0 0 1-4.94.32 20.1 20.1 0 0 1-5.48-.83 13.7 13.7 0 0 1-5.74-3.45 13.05 13.05 0 0 1-3.32-6.27c-.07-.31-.1-.48-.13-.68l-.1-.58-.21-1.18c-.15-.78-.25-1.55-.34-2.32a103.3 103.3 0 0 1-.38-18c.19-2.94.4-5.86.76-8.76s.71-5.75 1.27-8.76Z"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M345.19 198c-5.26 5.59-3.14 19.7-3.14 19.7l14.78 2.3s3.43-8 2.14-16.25c-1.58-10.02-8.03-11.9-13.78-5.75"}),W__namespace.createElement("path",{d:"M350 204.19c-2.44-3.14-5-4.26-6.36-4-3.27 6.41-1.61 17.47-1.61 17.47l10.47 1.7c1.2-3.25 1.35-10.26-2.5-15.17",opacity:"0.2"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"m373.94 244.79 8.57-5.62 1.9 8.7s-5.33 5.4-9.77 1.59Z"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"m387.78 237.29.99 7.52-4.36 3.06-1.91-8.7z"}),W__namespace.createElement("path",{d:"m305.55 335.38-9.07 3.26-3.56-7.2 9.07-3.26zM211.13 379.6l6.59 4.58-6.38 7.24-6.59-4.59z",opacity:"0.2"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M314.74 178.71c-6.08 31.11-22.27 59.18-24.53 65.38 5.8 2.43 27.69 11.55 39.62 16.52 22.25-33.11 25.66-57.07 26.17-62.87a2.38 2.38 0 0 0-1-2.15c-.95-.69-2.47-1.77-4.32-3-1-.64-2.07-1.31-3.22-2-.63-.37-1.28-.73-1.94-1.08a159 159 0 0 0-16.85-7c-1.08-.39-2.19-.77-3.28-1.11s-2-.61-2.95-.87c-4.26-1.14-7.7-1.82-7.7-1.82"}),W__namespace.createElement("path",{fill:"#fff",d:"m338.56 223.07 2.19.56a12.5 12.5 0 0 1-5.13 3 12.4 12.4 0 0 1-6.76.1 10 10 0 0 1-5.16-2.82 6.52 6.52 0 0 1-1.62-4.9 14.8 14.8 0 0 1 1.74-6 20.9 20.9 0 0 1 4.62-6 15 15 0 0 1 6-3.44 11.9 11.9 0 0 1 6.18-.1 7.43 7.43 0 0 1 4 2.34A6.06 6.06 0 0 1 346 210a11.5 11.5 0 0 1-1.39 5 14.46 14.46 0 0 1-4.47 5.16c-2.43 1.75-4.7 2.35-6.8 1.82a1.66 1.66 0 0 1-1.11-.67 1.54 1.54 0 0 1 0-1.17 4.8 4.8 0 0 1-3.5.67 2.71 2.71 0 0 1-2.12-2.1 5.67 5.67 0 0 1 .77-3.95 14.4 14.4 0 0 1 4-4.83q3.1-2.43 5.67-1.79a2.23 2.23 0 0 1 1.86 2.32l.94-1.27 2.71.69-6 8.25a10 10 0 0 0-.69 1 .9.9 0 0 0-.12.49.28.28 0 0 0 .21.22 2.9 2.9 0 0 0 1.63-.38 9.9 9.9 0 0 0 3-2 11.4 11.4 0 0 0 2.3-3 7 7 0 0 0 .73-5.43q-.81-2.46-4.08-3.28a9.6 9.6 0 0 0-5.4.14 12.36 12.36 0 0 0-4.85 3 18.6 18.6 0 0 0-3.58 4.79 10.6 10.6 0 0 0-1.29 4.91 5.2 5.2 0 0 0 1.5 3.82 8.65 8.65 0 0 0 4 2.1 11.4 11.4 0 0 0 4.64.26 9.84 9.84 0 0 0 4-1.7m-8.56-7.75a4.13 4.13 0 0 0-.63 2.38 1.21 1.21 0 0 0 .94 1.06 2.3 2.3 0 0 0 1.27-.06 4.6 4.6 0 0 0 1.16-.57 9.9 9.9 0 0 0 2.05-1.91 13.4 13.4 0 0 0 1.75-2.53 3.65 3.65 0 0 0 .53-2.22 1.25 1.25 0 0 0-1-1.08 2.9 2.9 0 0 0-2.05.39 7.9 7.9 0 0 0-2.3 2 14.7 14.7 0 0 0-1.72 2.54"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"M338.29 164.45c-1.19 5.86-4.27 16.24-9.57 18.27 1.72 4.16 4.16 9.15 10.51 12.06s7.06-2 6.33-5c-5.44-4-3.41-8.38-.61-12.15Z"}),W__namespace.createElement("path",{d:"m341 169.81 3.94 7.77a18.3 18.3 0 0 0-1.76 2.78c-2.17-1.3-4.29-5.16-3.53-7.68a8.8 8.8 0 0 1 1.35-2.87",opacity:"0.2"}),W__namespace.createElement("path",{fill:"#263238",d:"M354.28 164.67c6.27.46 11.82-15.18 2.67-17-6.17-1.23-6.11 2.46-6.76 6.5s.12 10.21 4.09 10.5"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"M339 156.75c-1.61 7.8-2.95 12.28-.15 17.28 4.22 7.51 14.64 6.57 18.56-.59 3.52-6.45 5.57-18.12-1.11-23.22a10.87 10.87 0 0 0-17.3 6.53"}),W__namespace.createElement("path",{fill:"#263238",d:"M337.67 162.33c6.27.46 10.47-13.84 1.32-15.67-6.17-1.23-6.69 2.38-6.59 6.24.1 4.1 1.29 9.1 5.27 9.43"}),W__namespace.createElement("path",{fill:"#263238",d:"M342.73 151.39c4.23 2.05 24.62 6.44 23.45-2.33s-12.06-12.84-12.06-12.84 6.34 6.95 1.11 5.28-6.73-2.89-13-4c0 0 6.16 5.11-1 3.67a17 17 0 0 0-12.16 1.94 12.09 12.09 0 0 1 5.28 11.27c-.49 7.71 8.38-2.99 8.38-2.99"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"M334 162.7a7 7 0 0 0 2.72 4.55c1.92 1.41 3.67-.21 3.8-2.55.11-2.11-.75-5.39-3-5.86s-3.82 1.6-3.52 3.86"}),W__namespace.createElement("path",{fill:"#263238",d:"m303.92 249.81-8.34 26.86 42.93 27c-7.41 12.36-45.06 24.66-45.06 24.66l6 12.18s52.43-4 63.06-27.18c10.23-22.26-32.7-52.72-32.7-52.72Z"}),W__namespace.createElement("path",{d:"m309.49 285.42-7.49-4.69 9.22-13.4s.26 10.74-1.73 18.09",opacity:"0.2"}),W__namespace.createElement("path",{d:"m309.49 285.42-7.49-4.69 9.22-13.4s.26 10.74-1.73 18.09",opacity:"0.2"}),W__namespace.createElement("path",{fill:"#263238",d:"M320.53 256.74s-34.62 57.58-48.91 76.26c-15.65 20.46-56.17 59-56.17 59l-12.07-8.4s35-38.58 48.19-59.93c15.05-24.32 38.64-79.6 38.64-79.6Z"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"m216.71 393.28-14.21-9.88 2.95-4.25 16.08 10.77zM299.95 342.18l-7.19-14.51 4.69-2.32 8.28 16.1z"}),W__namespace.createElement("path",{fill:"#263238",d:"M350.07 162.06c-.17.62 0 1.22.43 1.33s.88-.3 1.05-.93 0-1.22-.44-1.33-.87.31-1.04.93M357.13 164c-.17.63 0 1.22.43 1.33s.88-.3 1.05-.93 0-1.22-.43-1.33-.88.29-1.05.93"}),W__namespace.createElement("path",{fill:"#ff5652",d:"M354.8 163.68a23.3 23.3 0 0 0 1.53 6.16 3.74 3.74 0 0 1-3.14-.26Z"}),W__namespace.createElement("path",{fill:"#263238",d:"M350.11 170.54a5.38 5.38 0 0 1-3-3 .2.2 0 0 1 .13-.24.2.2 0 0 1 .24.12 5.1 5.1 0 0 0 3.5 3 .18.18 0 0 1 .14.23.19.19 0 0 1-.24.13 6 6 0 0 1-.77-.24M348.51 159.19a.44.44 0 0 1-.15-.12.37.37 0 0 1 .07-.53 3.79 3.79 0 0 1 3.4-.71.39.39 0 0 1 .23.49.38.38 0 0 1-.48.23 3 3 0 0 0-2.69.59.4.4 0 0 1-.38.05M360.83 162.38a.37.37 0 0 1-.22-.28 3 3 0 0 0-1.62-2.22.38.38 0 1 1 .29-.7 3.76 3.76 0 0 1 2.07 2.78.37.37 0 0 1-.3.44.33.33 0 0 1-.22-.02"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M205.05 402.07a9.2 9.2 0 0 1-.52-2.07.2.2 0 0 1 .09-.2.17.17 0 0 1 .2 0c.28.19 2.69 1.94 2.61 2.95a.66.66 0 0 1-.37.53 1.11 1.11 0 0 1-1.07 0 2.33 2.33 0 0 1-.94-1.21m-.05-1.67c.25 1.38.69 2.33 1.19 2.59a.72.72 0 0 0 .72-.05c.14-.06.16-.14.16-.2.03-.52-1.15-1.61-2.07-2.34"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M204.54 400a.2.2 0 0 1 .12-.26c.09 0 2.27-.8 3.32-.25a1 1 0 0 1 .52.65.65.65 0 0 1-.23.77c-.75.52-3-.25-3.68-.83a.2.2 0 0 1-.05-.08m3.57.17a.66.66 0 0 0-.31-.33 4.37 4.37 0 0 0-2.65.15c.88.51 2.47.91 2.92.6 0 0 .13-.09.07-.33ZM288.12 342.44a.18.18 0 0 1 .08-.18.2.2 0 0 1 .22 0c.33.25 3.22 2.41 3.17 3.53a.6.6 0 0 1-.31.5 1 1 0 0 1-1 .09c-1.09-.44-1.83-2.64-2.17-3.91Zm3.09 3.25c-.08-.63-1.46-1.9-2.57-2.78.53 1.72 1.18 2.87 1.79 3.12a.69.69 0 0 0 .65-.06.21.21 0 0 0 .13-.2Z"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M288.12 342.44v-.05a.17.17 0 0 1 .12-.15c.08 0 2.12-.8 3.32-.25a1.36 1.36 0 0 1 .76.8c.18.49 0 .74-.16.87-.75.53-3.16-.42-4-1.1a.17.17 0 0 1-.04-.12m3.89.67a.6.6 0 0 0-.05-.19 1 1 0 0 0-.56-.59 4.4 4.4 0 0 0-2.68.15c1 .62 2.77 1.19 3.22.87a.22.22 0 0 0 .06-.24Zm.13-.26"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"m315.05 192.32-3.16-2.11c-1.09-.71-2.2-1.4-3.31-2.09-2.23-1.37-4.49-2.67-6.77-3.92s-4.59-2.39-6.92-3.41c-1.16-.53-2.33-1-3.5-1.45l-1.75-.62-.44-.15-.22-.08s-.07 0-.16-.07a8.7 8.7 0 0 0-2.51.15 28 28 0 0 0-3.4.85 75 75 0 0 0-7.23 2.72c-4.85 2.09-9.79 4.47-14.59 6.9l-3.39-5a108 108 0 0 1 13.83-10 70 70 0 0 1 7.83-4.11 38 38 0 0 1 4.49-1.62 18 18 0 0 1 5.68-.79 13.5 13.5 0 0 1 1.88.23l.47.11.28.07.55.14 2.2.57c1.44.43 2.89.86 4.27 1.39a77 77 0 0 1 8.13 3.44c2.63 1.26 5.18 2.66 7.67 4.14 1.23.76 2.46 1.53 3.67 2.33s2.37 1.6 3.67 2.57Z"}),W__namespace.createElement("path",{fill:"#0E9EDD",d:"M327 183.83c-1.77-4.38-18.5-10.37-18.5-10.37l-5.41 14.12s5.85 3.87 10.7 6.77c9.21 5.55 16.67-1.9 13.21-10.52"}),W__namespace.createElement("path",{fill:"#ff8b7b",d:"m262.7 186.93-3.39 7.35-5.17-6.7s3.9-6.56 6.68-4ZM252.16 196.59l-2.62-5.88 4.6-3.13 5.17 6.7z"}))),TO=Ede;function DO({isOpen:e,onClose:t,post:o}){let{errorToast:r,successToast:n}=Xe(),{locale:a}=w(),{isUpdating:s,updatePost:i}=r4(),l=()=>{i({updatePostInput:{id:o?.id??"",scheduledAt:null}},{onSuccess:()=>{n({title:le(a,"publish-now-toast-title"),message:le(a,"publish-now-toast-message")}),t();},onError:()=>{r({title:le(a,"publish-now-toast-error-title"),message:le(a,"publish-now-toast-error-message")});}});};return W__namespace.default.createElement(Bi,{isOpen:e,onClose:t,disableFullScreen:true,showCloseButton:!s,closeOnClickOutside:false,asStacked:true,className:"w-[28.125rem] mx-auto p-4"},W__namespace.default.createElement("div",{className:"flex flex-col items-center justify-center gap-6 w-full"},W__namespace.default.createElement("div",{className:"w-44 h-44 mx-auto"},W__namespace.default.createElement(TO,null)),W__namespace.default.createElement("h2",{className:"text-body-md md:text-body-lg font-bold text-dark-1 text-center"},le(a,"publish-now-scheduled-post-title")),W__namespace.default.createElement("p",{className:"text-body-sm md:text-body-md text-center"},le(a,"publish-now-scheduled-post-content")),W__namespace.default.createElement("div",{className:"flex w-full items-center justify-between gap-4"},W__namespace.default.createElement($,{disabled:s,label:le(a,"button-cancel-publish-now"),onClick:t,className:"flex-1 w-fit p-3 border border-primary bg-white font-bold text-primary text-body-sm md:text-body-md"}),W__namespace.default.createElement($,{label:le(a,"button-confirm-publish-now"),disabled:s,onClick:l,isLoading:s,className:"bg-primary flex-1 w-full p-3 font-bold text-white text-body-sm md:text-body-md"}))))}var FO="UTC",Jb=W__namespace.default.memo(({post:e,onScheduleAgain:t})=>{let{locale:o}=w(),{deleteAPost:r,isDeletingAPost:n}=IO(),[a,s]=W.useState(false),[i,l]=W.useState(false),{formattedDate:d,formattedTime:c}=W.useMemo(()=>{let v=new Date(e?.scheduledAt??"");if(!!Number.isNaN(v.getTime()))return {formattedDate:"",formattedTime:""};let y=new Intl.DateTimeFormat(o??"pt-BR",{weekday:"short",day:"2-digit",month:"short",timeZone:FO}).format(v),x=new Intl.DateTimeFormat(o??"pt-BR",{hour:"2-digit",minute:"2-digit",hour12:false,timeZone:FO}).format(v);return {formattedDate:y,formattedTime:x}},[e?.scheduledAt,o]),p=W.useMemo(()=>({hasImages:(e?.images?.length??0)>0,hasVideos:(e?.videos?.length??0)>0,hasAttachment:!!e?.attachment?.url,imagesCount:e?.images?.length??0}),[e?.images,e?.videos,e?.attachment]),m=W.useCallback(()=>{let v=new CustomEvent("edit-post-on-schedule",{detail:{...e,mentions:e?.content?K7(e.content):[]}});window.dispatchEvent(v);},[e]),f=W.useCallback(()=>{r({id:e?.id},{onSuccess:()=>s(false)});},[e?.id,r]),u=W.useCallback(()=>s(v=>!v),[]),g=W.useCallback(()=>l(v=>!v),[]),h=W.useMemo(()=>e?.content?cO(e.content):null,[e?.content]);return W__namespace.default.createElement(W__namespace.default.Fragment,null,W__namespace.default.createElement("div",{className:"flex flex-col gap-4 p-4 border rounded-md bg-white"},W__namespace.default.createElement("div",{className:"flex items-center justify-between"},W__namespace.default.createElement("div",{className:"flex items-center gap-2 text-gray-500 text-sm"},W__namespace.default.createElement("span",{className:"text-body-sm md:text-body-md text-text-secondary"},le(o,"scheduled-date",{formattedDate:d,formattedTime:c}))),W__namespace.default.createElement(AO,{isLoading:n,onChangeSchedule:()=>t(e?.scheduledAt??"",e?.id),onPublishNow:g,onDelete:u,onEdit:m})),W__namespace.default.createElement("div",{className:"flex gap-4 items-start"},p.hasImages?W__namespace.default.createElement("div",{className:"relative w-20 h-20 flex-shrink-0"},W__namespace.default.createElement("img",{src:e.images?.[0]?.url??"",alt:"Post preview",className:"w-full h-full object-cover rounded-md border border-gray-200",loading:"lazy"}),p.imagesCount>1&&W__namespace.default.createElement("span",{className:"absolute bottom-1 right-1 bg-black/60 text-white text-[10px] px-1 rounded"},"+",p.imagesCount-1)):p.hasVideos?W__namespace.default.createElement("div",{className:"relative w-20 h-20 flex-shrink-0 bg-gray-900 rounded-md overflow-hidden border border-gray-200"},W__namespace.default.createElement("div",{className:"absolute inset-0 flex items-center justify-center bg-black/20"},W__namespace.default.createElement(lucideReact.Play,{size:24,className:"text-white fill-white"}))):p.hasAttachment?W__namespace.default.createElement("div",{className:"w-20 h-20 flex-shrink-0 flex flex-col items-center justify-center bg-gray-50 border border-gray-200 rounded-md"},W__namespace.default.createElement(lucideReact.FileText,{className:"text-gray-400",size:24}),W__namespace.default.createElement("span",{className:"text-[10px] text-gray-500 mt-1 uppercase font-bold truncate px-1 w-full text-center"},e.attachment?.type||"DOC")):null,W__namespace.default.createElement("div",{className:"flex flex-col flex-1 min-w-0"},W__namespace.default.createElement("p",{className:"text-[#1A1A1A] text-sm md:text-base font-normal line-clamp-3 leading-relaxed"},h??W__namespace.default.createElement("span",{className:"text-body-sm md:text-body-md text-gray-400"},le(o,"no-caption-label"))),p.hasAttachment&&W__namespace.default.createElement("div",{className:"flex items-center gap-1 mt-2 text-xs text-gray-400"},W__namespace.default.createElement(lucideReact.Paperclip,{size:12}),W__namespace.default.createElement("span",null,le(o,"total-pages-label",{totalPages:1})," \u2022 ",e.attachment?.type??le(o,"file-label")))))),W__namespace.default.createElement(DO,{onClose:()=>l(false),post:e,isOpen:i}),W__namespace.default.createElement(kO,{isOpen:a,isLoading:n,onClose:()=>s(false),onConfirm:f}))});Jb.displayName="ScheduledPostItem";function Xb(){return W__namespace.default.createElement("div",{className:"flex flex-col gap-4 py-6 max-h-full border-b border-gray-100 last:border-0 animate-pulse"},W__namespace.default.createElement("div",{className:"flex items-center justify-between"},W__namespace.default.createElement("div",{className:"flex items-center gap-2"},W__namespace.default.createElement("div",{className:"w-4 h-4 bg-gray-200 rounded-full"}),W__namespace.default.createElement("div",{className:"w-48 h-3 bg-gray-100 rounded"})),W__namespace.default.createElement("div",{className:"w-5 h-5 bg-gray-100 rounded-full"})),W__namespace.default.createElement("div",{className:"flex gap-4 items-start"},W__namespace.default.createElement("div",{className:"w-20 h-20 bg-gray-200 rounded-md flex-shrink-0"}),W__namespace.default.createElement("div",{className:"flex flex-col flex-1 gap-2 min-w-0"},W__namespace.default.createElement("div",{className:"w-full h-4 bg-gray-100 rounded"}),W__namespace.default.createElement("div",{className:"w-5/6 h-4 bg-gray-100 rounded"}),W__namespace.default.createElement("div",{className:"w-2/3 h-4 bg-gray-100 rounded"}),W__namespace.default.createElement("div",{className:"w-24 h-3 bg-gray-50 rounded mt-1"}))))}function zO({onScheduleAgain:e,entityId:t}){let{locale:o}=w(),r=W.useRef(null),[n,a]=W.useState(null),{fetchNextPage:s,hasNextPage:i,isFetchingNextPageOfScheduledPosts:l,isGettingScheduledPosts:d,scheduledPosts:c}=CO({enabled:true,entityId:t});W.useEffect(()=>{r.current&&a(r.current);},[]);let[p]=TB__default.default({loading:l,hasNextPage:!!i,onLoadMore:s,disabled:d||!i,rootMargin:"0px 0px 400px 0px",...n&&{scrollContainer:n}}),m=W.useMemo(()=>c?.map(g=>W__namespace.default.createElement(Jb,{onScheduleAgain:(h,v)=>e(h,v),key:g?.id,post:g})),[c]),f=d&&(!c||c?.length===0),u=!d&&(!c||c?.length===0);return W__namespace.default.createElement("div",{className:"w-full h-full flex flex-col gap-6"},W__namespace.default.createElement("div",{className:"flex flex-col gap-4"},W__namespace.default.createElement("button",{onClick:()=>e(""),className:"flex items-center gap-2 text-text-secondary hover:text-dark transition-colors w-fit group"},W__namespace.default.createElement(yO,null)),W__namespace.default.createElement("div",{className:"flex gap-x-3 items-center"},W__namespace.default.createElement(J7,null),W__namespace.default.createElement("div",{className:"flex flex-col"},W__namespace.default.createElement("p",{className:"text-body-md font-bold text-dark md:text-body-lg"},le(o,"scheduled-posts-title")),W__namespace.default.createElement("p",{className:"text-body-sm font-medium text-text-secondary md:text-body-md"},le(o,"scheduled-posts-description"))))),W__namespace.default.createElement("div",{ref:r,className:"w-full h-full max-h-[40rem] overflow-y-auto overscroll-contain px-2 custom-scrollbar"},f?W__namespace.default.createElement("div",{className:"flex flex-col"},Array.from({length:4}).map((g,h)=>W__namespace.default.createElement(Xb,{key:h}))):u?W__namespace.default.createElement(PO,{onSchedule:()=>e("")}):W__namespace.default.createElement(W__namespace.default.Fragment,null,W__namespace.default.createElement("div",{className:"flex flex-col gap-3"},m),(i||l)&&W__namespace.default.createElement("div",{ref:p,className:"w-full"},l&&W__namespace.default.createElement(Xb,null)))))}function OO({onBack:e,onSchedule:t,scheduledAt:o="",entityId:r}){let[n,a]=W.useState("define"),[s,i]=W.useState(""),[l,d]=W.useState(o),{isUpdating:c,updatePost:p}=r4(),m="UTC";return W__namespace.default.createElement("div",{className:"w-full flex flex-col mt-4"},n==="define"?W__namespace.default.createElement(bO,{onSchedule:u=>{if(!u)return;let g=dateFnsTz.formatInTimeZone(new Date(u),m,"yyyy-MM-dd'T'HH:mm:ssXXX");if(s?.length){p({updatePostInput:{id:s,scheduledAt:g}},{onSuccess:()=>{a("list"),d(""),i("");}});return}t(g);},onListScheduledPosts:()=>a("list"),onBack:e,isUpdatingScheduledDate:c,externalScheduledAt:l,scheduledAt:o}):W__namespace.default.createElement(zO,{entityId:r,onScheduleAgain:(u,g)=>{d(u),i(g??""),a("define");}}))}function BO(e){let{isMobile:t}=Ir(),{locale:o}=w(),r=W.useRef(null),[n,a]=W.useState(""),s=usehooks.useDebounce(n,300),i=e.isPostTriggerModalOpened,{state:l,actions:d,isCreatingThePost:c}=uO({initialFiles:e.initialFiles,fileInputRef:r,onClose:e.onClose,isOpened:e.isPostTriggerModalOpened,entity:e?.entity,optimisticUpdateType:e?.optimisticUpdateType,editingPost:e?.editingPost,resetPostTrigger:e?.resetPostTrigger,activeAction:e?.activeAction}),{getRootProps:p,getInputProps:m,isDragActive:f}=reactDropzone.useDropzone({onDrop:N=>{if(N.length>0)if(l.contentView==="reels-trigger"){let A=N.filter(M=>M.type.startsWith("video/"));A.length>0&&(d.addFiles(A),d.setContentView("normal"),e.onClearActiveAction?.());}else d.addFiles(N);},noClick:true,noKeyboard:true,disabled:l.contentView==="schedule-a-post"||c,accept:{"image/*":[],"video/*":[],"application/pdf":[".pdf"]}}),{mentionList:u,isGettingMentionList:g}=i8({filter:s?{name:s}:void 0}),h=W.useMemo(()=>(u??[]).map(N=>({id:N.uid??N.id,name:N.name,type:N.type?.toUpperCase()??"USER",avatar:N.avatar??N.profileImage})),[u]);Uz({onFiles:d.addFiles,enabled:e.isPostTriggerModalOpened}),W.useEffect(()=>{e?.activeAction==="clips"&&d.setContentView("reels-trigger");},[e?.activeAction]);let v=W.useMemo(()=>{if(!l.scheduledAt)return "";let N=dateFns.parseISO(l.scheduledAt);return dateFnsTz.formatInTimeZone(N,"UTC","dd/MM/yy, HH:mm")},[l.scheduledAt]),b=N=>{if(N==="articles"||N==="create-a-job")return d.handleRequestClose(),e.onClickAction(N);d.handleClickActions(N);},y=W.useMemo(()=>(l.isEditingMode||l.hasChanges)&&!c,[l.isEditingMode,l.hasChanges,c]);if(!e.isPostTriggerModalOpened)return null;let x=["schedule-a-post","edit-media","view-gallery"].includes(l.contentView),C=()=>W__namespace.default.createElement(aO,{selectedProfile:e.selectedProfile,currentType:e.currentType,onProfileChange:e.onProfileChange,onToggleSwitcher:e.onToggleSwitcher,renderMobileHeader:W__namespace.default.createElement("div",{className:"w-full flex items-center bg-white gap-x-4 justify-between"},W__namespace.default.createElement("button",{type:"button",onClick:d.handleRequestClose,"aria-label":"Close"},W__namespace.default.createElement(lucideReact.XIcon,null)),W__namespace.default.createElement("p",{className:"font-bold text-body-md text-[#111827]"},le(o,l.isEditingMode?"edit-post":"create-post-label")),W__namespace.default.createElement(B3,{type:"schedule",disabled:c,onSubmit:()=>d.setContentView("schedule-a-post")})),renderScheduleInfo:l.scheduledAt?W__namespace.default.createElement("button",{onClick:()=>d.setContentView("schedule-a-post"),className:"text-primary text-body-sm font-medium"},W__namespace.default.createElement("span",{className:"text-text-secondary"},le(o,"scheduled-title-content",{date:v})," "),le(o,"edit-label")):null}),P=()=>l.contentView==="schedule-a-post"?W__namespace.default.createElement(OO,{entityId:e.entity?.id??"",onSchedule:N=>{d.setScheduledAt(N),d.setContentView("normal");},scheduledAt:l.scheduledAt,onBack:()=>{d.setScheduledAt(""),d.setContentView("normal");}}):l.contentView==="reels-trigger"?W__namespace.default.createElement(Oz,{onVideoSelect:N=>{N?.type?.startsWith("video/")&&(d.addFiles([N]),d.setContentView("normal")),e.onClearActiveAction?.();}}):W__namespace.default.createElement(eO,{...l,...d,contentView:l.contentView,onUpdateFile:d.updateMediaFile,onDeleteFile:d.removeFile,activeAction:e?.activeAction,onAcceptMention:d.acceptMention,onRemoveMention:d.removeMention,mentionCandidates:h,isLoadingMentions:g,onMentionQueryChange:a}),I=t||l.contentView==="reels-trigger"?null:W__namespace.default.createElement(Wb,{handleCloseMainModal:d.handleRequestClose,canSubmit:y,onSubmit:d.handleSubmit,onSchedule:()=>d.setContentView("schedule-a-post"),onActionClick:b,isEditingMode:l.isEditingMode});return W__namespace.default.createElement(W__namespace.default.Fragment,null,W__namespace.default.createElement(Bi,{isOpen:i,onClose:d.handleRequestClose,className:E("p-[1.5rem] flex flex-col gap-2 transition-all relative",{"!w-full md:!w-[48.5rem] md:max-h-[48.5rem] overscroll-y-none":l.contentView!=="schedule-a-post","!w-[36rem] max-h-full":l.contentView==="schedule-a-post","bg-white":!t}),header:x?void 0:C(),showCloseButton:!t,closeOnClickOutside:false,footer:!t||l.contentView==="schedule-a-post"?null:W__namespace.default.createElement(Wb,{handleCloseMainModal:d.handleRequestClose,canSubmit:y,onSubmit:d.handleSubmit,hideScheduleOption:true,onSchedule:()=>d.setContentView("schedule-a-post"),onActionClick:b,isEditingMode:l.isEditingMode})},W__namespace.default.createElement("div",{...p(),className:"flex-1 flex flex-col outline-none relative"},f&&W__namespace.default.createElement("div",{className:"absolute inset-0 z-50 bg-primary/10 border-2 border-dashed border-primary rounded-xl flex flex-col items-center justify-center backdrop-blur-sm transition-all"}),W__namespace.default.createElement("input",{...m()}),W__namespace.default.createElement("div",{className:"flex-1 min-h-0 overflow-y-auto w-full flex flex-col"}," ",P()),!x&&W__namespace.default.createElement("div",{className:"mt-auto pt-4"},I))),W__namespace.default.createElement(Bz,{isOpen:l.showDiscardConfirm,onClose:()=>d.setShowDiscardConfirm(false),onDiscard:d.handleConfirmDiscard,onSave:d.handleSaveDraft}),W__namespace.default.createElement("input",{type:"file",multiple:true,ref:r,className:"hidden",accept:l.mediaFiles.length?l.mediaType==="image"?"image/*":l.mediaType==="video"?"video/*":".pdf":"image/*,video/*,application/pdf",onChange:N=>{N.target.files&&(d.addFiles(Array.from(N.target.files)),N.target.value="");}}))}function GO({onRetry:e,onCancel:t}){let{locale:o}=w(),r=(P,I={})=>le(o,P,I),{status:n,progress:a,filesCount:s,isOpen:i,reset:l,errorType:d,error:c,isUpdating:p}=xn(),[m,f]=W.useState(false),[u,g]=W.useState(false);if(W.useEffect(()=>{if(n==="success"){g(true);let P=setTimeout(()=>{l(),g(false);},3e3);return ()=>clearTimeout(P)}},[n,l]),W.useEffect(()=>{if(n==="cancelled"){let P=setTimeout(()=>{l();},3e3);return ()=>clearTimeout(P)}},[n,l]),!i)return null;let h=()=>{["uploading","publishing","updating"].includes(n)?f(true):l();},v=n==="error"&&d!=="cancelled",b=n==="error",y=()=>n==="uploading"?r(p?"progress-uploading-update":"progress-uploading",{count:s,s:s>1?"s":""}):r(n==="publishing"?"progress-publishing":n==="updating"?"progress-updating":n==="success"?p?"progress-update-success":"progress-create-success":n==="cancelled"||n==="error"&&d==="cancelled"?"progress-cancelled":"progress-error"),x=()=>n==="success"?W__namespace.default.createElement("div",{className:"bg-green-100 p-2 rounded-full animate-in fade-in zoom-in duration-300"},W__namespace.default.createElement(lucideReact.CheckCircle2,{className:"text-green-500 w-5 h-5"})):n==="cancelled"?W__namespace.default.createElement("div",{className:"bg-yellow-100 p-2 rounded-full"},W__namespace.default.createElement(lucideReact.AlertCircle,{className:"text-yellow-500 w-5 h-5"})):n==="error"?W__namespace.default.createElement("div",{className:"bg-red-100 p-2 rounded-full"},W__namespace.default.createElement(lucideReact.AlertCircle,{className:"text-red-500 w-5 h-5"})):W__namespace.default.createElement("div",{className:"bg-blue-50 p-2 rounded-full"},W__namespace.default.createElement(lucideReact.Loader2,{className:"animate-spin text-primary w-5 h-5"})),C=()=>n==="error"?"bg-red-500":n==="success"?"bg-green-500":"bg-primary";return W__namespace.default.createElement(W__namespace.default.Fragment,null,W__namespace.default.createElement("div",{className:E("w-full flex flex-col gap-3 p-4 bg-white border border-[#E4EBF1] rounded-xl mb-4 transition-all duration-300","md:min-w-[42rem] md:p-6 md:rounded-2xl md:gap-4",n==="success"&&"border-green-200 bg-green-50/30",n==="cancelled"&&"border-yellow-200 bg-yellow-50/30",n==="error"&&"border-red-200 bg-red-50/30",u&&"animate-in fade-in slide-in-from-top-2")},W__namespace.default.createElement("div",{className:"flex items-start justify-between gap-3 md:items-center"},W__namespace.default.createElement("div",{className:"flex items-start gap-3 flex-1 min-w-0 md:items-center md:gap-4"},W__namespace.default.createElement("div",{className:"flex-shrink-0 mt-0.5 md:mt-0"},x()),W__namespace.default.createElement("div",{className:"flex flex-col flex-1 min-w-0"},W__namespace.default.createElement("span",{className:"text-sm font-semibold text-[#1A1C1E] leading-tight md:text-base"},y()),["uploading","publishing","updating"].includes(n)&&W__namespace.default.createElement("div",{className:"w-full bg-[#E4EBF1] h-1.5 rounded-full mt-2 overflow-hidden"},W__namespace.default.createElement("div",{className:E("h-full transition-all duration-500 ease-out",C()),style:{width:`${a}%`}})),n==="error"&&c&&W__namespace.default.createElement("p",{className:"text-xs text-red-500 mt-2"},c))),n!=="success"&&W__namespace.default.createElement("button",{onClick:h,className:"p-1.5 hover:bg-gray-100 rounded-full transition-colors -mr-1","aria-label":"Close"},W__namespace.default.createElement(lucideReact.X,{className:"w-5 h-5 text-[#687588]"}))),(n==="error"||n==="cancelled")&&W__namespace.default.createElement("div",{className:"flex flex-col gap-2 pt-3 border-t border-[#E4EBF1] sm:flex-row"},v&&W__namespace.default.createElement($,{label:r("progress-retry"),onClick:e,className:"h-9 w-full bg-primary text-white text-xs px-6 sm:w-auto",leftElement:W__namespace.default.createElement(lucideReact.RefreshCw,{className:"w-3 h-3"})}),b&&W__namespace.default.createElement($,{label:r("progress-cancel"),onClick:()=>{f(true);},className:"h-9 w-full border border-[#E4EBF1] text-[#687588] text-xs px-6 sm:w-auto"}))),W__namespace.default.createElement(Bi,{isOpen:m,onClose:()=>f(false),asStacked:true,className:" md:p-5 text-center w-[22rem] p-6"},W__namespace.default.createElement("div",{className:"flex flex-col items-center"},W__namespace.default.createElement("div",{className:"bg-red-50 p-3 rounded-full mb-4"},W__namespace.default.createElement(lucideReact.AlertCircle,{className:"w-6 h-6 text-red-500"})),W__namespace.default.createElement("p",{className:"font-bold text-lg text-[#1A1C1E]"},r("progress-discard-title")),W__namespace.default.createElement("p",{className:"text-sm text-[#687588] mt-2 mb-6"},r("progress-discard-content")),W__namespace.default.createElement("div",{className:"flex flex-col gap-2 w-full sm:flex-row"},W__namespace.default.createElement($,{label:r("progress-keep-uploading"),onClick:()=>f(false),className:"flex-1 border w-full p-3 text-body-sm md:text-body-md border-[#E4EBF1] order-2 sm:order-1"}),W__namespace.default.createElement($,{label:r("progress-confirm-cancel"),onClick:()=>{t(),f(false);},className:"flex-1 bg-red-500 w-full text-body-sm md:text-body-md p-3 text-white border-none order-1 sm:order-2"})))))}var _O=lg.gql`
3256
3256
  mutation CreateAPost($createPostInput: CreatePostInput!) {
3257
3257
  createPost(createPostInput: $createPostInput) {
3258
3258
  id
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mirantes-micro/foundation-design-system",
3
3
  "description": "A scalable and customizable design system package featuring a collection of reusable React components, utility functions, and context providers. Built to enforce visual and functional consistency across applications, this package offers accessible, themeable UI elements, shared logic through utility helpers, and context-based providers for managing global state such as themes, modals, and user sessions.",
4
- "version": "1.2.302",
4
+ "version": "1.2.303",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Mirantes Frontend team"