@chaibuilder/sdk 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CodeEditor-4DqYRbd_.js +75 -0
- package/dist/CodeEditor-De5iMQ29.cjs +1 -0
- package/dist/Topbar-CF2ruRG5.js +113 -0
- package/dist/Topbar-DAqH30Vp.cjs +1 -0
- package/dist/UnsplashImages-4CFuSaLJ.js +189 -0
- package/dist/UnsplashImages-8B8DhERl.cjs +1 -0
- package/dist/UploadImages-BxZW3OIT.cjs +1 -0
- package/dist/UploadImages-C6ta5Prd.js +101 -0
- package/dist/{context-menu-BbqLeYFX.js → context-menu-BtcwqA6V.js} +295 -298
- package/dist/context-menu-CYk-Ms8j.cjs +1 -0
- package/dist/core.cjs +1 -1
- package/dist/core.js +1 -1
- package/dist/{index-CcLk7_o6.js → index-Coh4Y4tF.js} +2861 -2915
- package/dist/index-MwShWj1c.cjs +63 -0
- package/dist/render.cjs +2 -2
- package/dist/render.js +70 -70
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +196 -196
- package/dist/web-blocks.cjs +3 -3
- package/dist/web-blocks.js +236 -238
- package/package.json +1 -1
- package/dist/CodeEditor-C94XQmvL.cjs +0 -1
- package/dist/CodeEditor-D5t7A9Po.js +0 -77
- package/dist/Topbar-Bnxt9C5B.js +0 -113
- package/dist/Topbar-DFm3YQZi.cjs +0 -1
- package/dist/UnsplashImages-BWT3eyq3.cjs +0 -1
- package/dist/UnsplashImages-D-9aNQGK.js +0 -189
- package/dist/UploadImages-CntfFAoV.cjs +0 -1
- package/dist/UploadImages-CrAaKlC1.js +0 -101
- package/dist/context-menu-DfAXjmc8.cjs +0 -1
- package/dist/index-C9LOYt3W.cjs +0 -63
- package/dist/jsx-runtime-BYECrxsp.cjs +0 -30
- package/dist/jsx-runtime-DGlMoOmv.js +0 -630
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),it=require("@radix-ui/react-switch"),lt=require("react"),ct=require("@radix-ui/react-accordion"),x=require("@radix-ui/react-icons"),T=require("class-variance-authority"),mt=require("@radix-ui/react-alert-dialog"),pt=require("@radix-ui/react-slot"),ut=require("@radix-ui/react-label"),ft=require("@radix-ui/react-scroll-area"),gt=require("@radix-ui/react-tabs"),xt=require("@radix-ui/react-tooltip"),bt=require("@radix-ui/react-popover"),yt=require("@radix-ui/react-hover-card"),ht=require("@radix-ui/react-select"),Nt=require("@radix-ui/react-dropdown-menu"),vt=require("@radix-ui/react-separator"),wt=require("@radix-ui/react-toast"),u=require("cmdk"),Ct=require("@radix-ui/react-dialog"),jt=require("@radix-ui/react-context-menu"),Tt=require("clsx"),St=require("tailwind-merge");function m(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const k=m(it),r=m(lt),y=m(ct),p=m(mt),L=m(ut),b=m(ft),h=m(gt),N=m(xt),w=m(bt),S=m(yt),c=m(ht),d=m(Nt),O=m(vt),g=m(wt),f=m(Ct),i=m(jt),s=(...e)=>St.twMerge(Tt.clsx(e)),q=r.forwardRef(({className:e,...t},a)=>o.jsx(k.Root,{className:s("peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-slate-900 data-[state=unchecked]:bg-slate-200 dark:focus-visible:ring-slate-800 dark:focus-visible:ring-offset-slate-950 dark:data-[state=checked]:bg-slate-50 dark:data-[state=unchecked]:bg-slate-800",e),...t,ref:a,children:o.jsx(k.Thumb,{className:s("pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:bg-slate-950")})}));q.displayName=k.Root.displayName;const R=T.cva("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),V=r.forwardRef(({className:e,variant:t,size:a,asChild:n=!1,...l},D)=>{const dt=n?pt.Slot:"button";return o.jsx(dt,{className:s(R({variant:t,size:a,className:e})),ref:D,...l})});V.displayName="Button";const Rt=y.Root,G=r.forwardRef(({className:e,...t},a)=>o.jsx(y.Item,{ref:a,className:s("border-b",e),...t}));G.displayName="AccordionItem";const H=r.forwardRef(({className:e,children:t,...a},n)=>o.jsx(y.Header,{className:"flex",children:o.jsxs(y.Trigger,{ref:n,className:s("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...a,children:[t,a.hideArrow?null:o.jsx(x.ChevronDownIcon,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));H.displayName=y.Trigger.displayName;const E=r.forwardRef(({className:e,children:t,...a},n)=>o.jsx(y.Content,{ref:n,className:s("text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",e),...a,children:o.jsx("div",{className:"pb-4 pt-0",children:t})}));E.displayName=y.Content.displayName;const F=T.cva("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),Dt=({className:e,variant:t,...a})=>o.jsx("div",{className:s(F({variant:t}),e),...a}),Mt=p.Root,It=p.Trigger,B=({className:e,...t})=>o.jsx(p.Portal,{className:s(e),...t});B.displayName=p.Portal.displayName;const U=r.forwardRef(({className:e,...t},a)=>o.jsx(p.Overlay,{className:s("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:a}));U.displayName=p.Overlay.displayName;const Q=r.forwardRef(({className:e,...t},a)=>o.jsxs(B,{children:[o.jsx(U,{}),o.jsx(p.Content,{ref:a,className:s("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...t})]}));Q.displayName=p.Content.displayName;const X=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",e),...t});X.displayName="AlertDialogHeader";const Y=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});Y.displayName="AlertDialogFooter";const J=r.forwardRef(({className:e,...t},a)=>o.jsx(p.Title,{ref:a,className:s("text-lg font-semibold",e),...t}));J.displayName=p.Title.displayName;const K=r.forwardRef(({className:e,...t},a)=>o.jsx(p.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));K.displayName=p.Description.displayName;const W=r.forwardRef(({className:e,...t},a)=>o.jsx(p.Action,{ref:a,className:s(R(),e),...t}));W.displayName=p.Action.displayName;const Z=r.forwardRef(({className:e,...t},a)=>o.jsx(p.Cancel,{ref:a,className:s(R({variant:"outline"}),"mt-2 sm:mt-0",e),...t}));Z.displayName=p.Cancel.displayName;const $=f.Root,kt=f.Trigger,ee=({className:e,...t})=>o.jsx(f.Portal,{className:s(e),...t});ee.displayName=f.Portal.displayName;const te=r.forwardRef(({className:e,...t},a)=>o.jsx(f.Overlay,{ref:a,className:s("fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));te.displayName=f.Overlay.displayName;const A=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(ee,{children:[o.jsx(te,{}),o.jsxs(f.Content,{ref:n,className:s("fixed left-[50%] top-[50%] z-[999] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",e),...a,children:[t,o.jsxs(f.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[o.jsx(x.Cross2Icon,{className:"h-4 w-4"}),o.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));A.displayName=f.Content.displayName;const ae=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});ae.displayName="DialogHeader";const oe=({className:e,...t})=>o.jsx("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});oe.displayName="DialogFooter";const se=r.forwardRef(({className:e,...t},a)=>o.jsx(f.Title,{ref:a,className:s("text-lg font-semibold leading-none tracking-tight",e),...t}));se.displayName=f.Title.displayName;const re=r.forwardRef(({className:e,...t},a)=>o.jsx(f.Description,{ref:a,className:s("text-sm text-muted-foreground",e),...t}));re.displayName=f.Description.displayName;const ne=r.forwardRef(({className:e,...t},a)=>o.jsx("div",{ref:a,className:s("rounded-xl border bg-card text-card-foreground shadow",e),...t}));ne.displayName="Card";const de=r.forwardRef(({className:e,...t},a)=>o.jsx("div",{ref:a,className:s("flex flex-col space-y-1.5 p-6",e),...t}));de.displayName="CardHeader";const ie=r.forwardRef(({className:e,...t},a)=>o.jsx("h3",{ref:a,className:s("font-semibold leading-none tracking-tight",e),...t}));ie.displayName="CardTitle";const le=r.forwardRef(({className:e,...t},a)=>o.jsx("p",{ref:a,className:s("text-sm text-muted-foreground",e),...t}));le.displayName="CardDescription";const ce=r.forwardRef(({className:e,...t},a)=>o.jsx("div",{ref:a,className:s("p-6 pt-0",e),...t}));ce.displayName="CardContent";const me=r.forwardRef(({className:e,...t},a)=>o.jsx("div",{ref:a,className:s(" flex items-center p-6 pt-0",e),...t}));me.displayName="CardFooter";const pe=r.forwardRef(({className:e,type:t,...a},n)=>o.jsx("input",{type:t,className:s("flex h-9 w-full rounded-md border border-border bg-background px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:n,...a,autoCapitalize:"off",autoCorrect:"off",spellCheck:"false"}));pe.displayName="Input";const At=T.cva("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),ue=r.forwardRef(({className:e,...t},a)=>o.jsx(L.Root,{ref:a,className:s(At(),e),...t}));ue.displayName=L.Root.displayName;const fe=r.forwardRef(({className:e,...t},a)=>o.jsx("textarea",{className:s("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),ref:a,...t,autoCapitalize:"off",autoCorrect:"off",spellCheck:"false"}));fe.displayName="Textarea";const ge=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(b.Root,{ref:n,className:s("relative overflow-hidden",e),...a,children:[o.jsx(b.Viewport,{className:"h-full w-full rounded-[inherit]",children:t}),o.jsx(_,{}),o.jsx(b.Corner,{})]}));ge.displayName=b.Root.displayName;const _=r.forwardRef(({className:e,orientation:t="vertical",...a},n)=>o.jsx(b.ScrollAreaScrollbar,{ref:n,orientation:t,className:s("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 border-t border-t-transparent p-[1px]",e),...a,children:o.jsx(b.ScrollAreaThumb,{className:"relative flex-1 rounded-full bg-border"})}));_.displayName=b.ScrollAreaScrollbar.displayName;const _t=h.Root,xe=r.forwardRef(({className:e,...t},a)=>o.jsx(h.List,{ref:a,className:s("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",e),...t}));xe.displayName=h.List.displayName;const be=r.forwardRef(({className:e,...t},a)=>o.jsx(h.Trigger,{ref:a,className:s("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",e),...t}));be.displayName=h.Trigger.displayName;const ye=r.forwardRef(({className:e,...t},a)=>o.jsx(h.Content,{ref:a,className:s("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));ye.displayName=h.Content.displayName;const Pt=N.Portal,zt=N.Provider,Lt=N.Root,Ot=N.Trigger,he=r.forwardRef(({className:e,sideOffset:t=4,...a},n)=>o.jsx(N.Content,{ref:n,sideOffset:t,className:s("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a}));he.displayName=N.Content.displayName;const qt=w.Root,Vt=w.Trigger,Ne=r.forwardRef(({className:e,align:t="center",sideOffset:a=4,...n},l)=>o.jsx(w.Portal,{children:o.jsx(w.Content,{ref:l,align:t,sideOffset:a,className:s("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n})}));Ne.displayName=w.Content.displayName;const Gt=S.Root,Ht=S.Trigger,ve=r.forwardRef(({className:e,align:t="center",sideOffset:a=4,...n},l)=>o.jsx(S.Content,{ref:l,align:t,sideOffset:a,className:s("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));ve.displayName=S.Content.displayName;const Et=c.Root,Ft=c.Group,Bt=c.Value,we=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(c.Trigger,{ref:n,className:s("flex h-9 w-full items-center justify-between rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50",e),...a,children:[t,o.jsx(c.Icon,{asChild:!0,children:o.jsx(x.CaretSortIcon,{className:"h-4 w-4 opacity-50"})})]}));we.displayName=c.Trigger.displayName;const Ce=r.forwardRef(({className:e,children:t,position:a="popper",...n},l)=>o.jsx(c.Portal,{children:o.jsx(c.Content,{ref:l,className:s("relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:a,...n,children:o.jsx(c.Viewport,{className:s("p-1",a==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t})})}));Ce.displayName=c.Content.displayName;const je=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Label,{ref:a,className:s("px-2 py-1.5 text-sm font-semibold",e),...t}));je.displayName=c.Label.displayName;const Te=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(c.Item,{ref:n,className:s("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[o.jsx("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(c.ItemIndicator,{children:o.jsx(x.CheckIcon,{className:"h-4 w-4"})})}),o.jsx(c.ItemText,{children:t})]}));Te.displayName=c.Item.displayName;const Se=r.forwardRef(({className:e,...t},a)=>o.jsx(c.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));Se.displayName=c.Separator.displayName;const Ut=d.Root,Qt=d.Trigger,Xt=d.Group,Yt=d.Portal,Jt=d.Sub,Kt=d.RadioGroup,Re=r.forwardRef(({className:e,inset:t,children:a,...n},l)=>o.jsxs(d.SubTrigger,{ref:l,className:s("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",t&&"pl-8",e),...n,children:[a,o.jsx(x.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]}));Re.displayName=d.SubTrigger.displayName;const De=r.forwardRef(({className:e,...t},a)=>o.jsx(d.SubContent,{ref:a,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));De.displayName=d.SubContent.displayName;const Me=r.forwardRef(({className:e,sideOffset:t=4,...a},n)=>o.jsx(d.Portal,{children:o.jsx(d.Content,{ref:n,sideOffset:t,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...a})}));Me.displayName=d.Content.displayName;const Ie=r.forwardRef(({className:e,inset:t,...a},n)=>o.jsx(d.Item,{ref:n,className:s("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...a}));Ie.displayName=d.Item.displayName;const ke=r.forwardRef(({className:e,children:t,checked:a,...n},l)=>o.jsxs(d.CheckboxItem,{ref:l,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(d.ItemIndicator,{children:o.jsx(x.CheckIcon,{className:"h-4 w-4"})})}),t]}));ke.displayName=d.CheckboxItem.displayName;const Ae=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(d.RadioItem,{ref:n,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(d.ItemIndicator,{children:o.jsx(x.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));Ae.displayName=d.RadioItem.displayName;const _e=r.forwardRef(({className:e,inset:t,...a},n)=>o.jsx(d.Label,{ref:n,className:s("px-2 py-1.5 text-sm font-semibold",t&&"pl-8",e),...a}));_e.displayName=d.Label.displayName;const Pe=r.forwardRef(({className:e,...t},a)=>o.jsx(d.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-muted",e),...t}));Pe.displayName=d.Separator.displayName;const ze=({className:e,...t})=>o.jsx("span",{className:s("ml-auto text-xs tracking-widest opacity-60",e),...t});ze.displayName="DropdownMenuShortcut";const Le=r.forwardRef(({className:e,orientation:t="horizontal",decorative:a=!0,...n},l)=>o.jsx(O.Root,{ref:l,decorative:a,orientation:t,className:s("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...n}));Le.displayName=O.Root.displayName;const Wt=1,Zt=1e6;let M=0;function $t(){return M=(M+1)%Number.MAX_VALUE,M.toString()}const I=new Map,z=e=>{if(I.has(e))return;const t=setTimeout(()=>{I.delete(e),v({type:"REMOVE_TOAST",toastId:e})},Zt);I.set(e,t)},Oe=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Wt)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{const{toastId:a}=t;return a?z(a):e.toasts.forEach(n=>{z(n.id)}),{...e,toasts:e.toasts.map(n=>n.id===a||a===void 0?{...n,open:!1}:n)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(a=>a.id!==t.toastId)}}},C=[];let j={toasts:[]};function v(e){j=Oe(j,e),C.forEach(t=>{t(j)})}function qe({...e}){const t=$t(),a=l=>v({type:"UPDATE_TOAST",toast:{...l,id:t}}),n=()=>v({type:"DISMISS_TOAST",toastId:t});return v({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:l=>{l||n()}}}),{id:t,dismiss:n,update:a}}function Ve(){const[e,t]=r.useState(j);return r.useEffect(()=>(C.push(t),()=>{const a=C.indexOf(t);a>-1&&C.splice(a,1)}),[e]),{...e,toast:qe,dismiss:a=>v({type:"DISMISS_TOAST",toastId:a})}}const ea=g.Provider,Ge=r.forwardRef(({className:e,...t},a)=>o.jsx(g.Viewport,{ref:a,className:s("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Ge.displayName=g.Viewport.displayName;const ta=T.cva("group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),He=r.forwardRef(({className:e,variant:t,...a},n)=>o.jsx(g.Root,{ref:n,className:s(ta({variant:t}),e),...a}));He.displayName=g.Root.displayName;const aa=r.forwardRef(({className:e,...t},a)=>o.jsx(g.Action,{ref:a,className:s("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium transition-colors hover:bg-secondary focus:outline-none focus:ring-1 focus:ring-ring disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-muted/40 group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground group-[.destructive]:focus:ring-destructive",e),...t}));aa.displayName=g.Action.displayName;const Ee=r.forwardRef(({className:e,...t},a)=>o.jsx(g.Close,{ref:a,className:s("absolute right-1 top-1 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-1 group-hover:opacity-100 group-[.destructive]:text-red-300 group-[.destructive]:hover:text-red-50 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:o.jsx(x.Cross2Icon,{className:"h-4 w-4"})}));Ee.displayName=g.Close.displayName;const Fe=r.forwardRef(({className:e,...t},a)=>o.jsx(g.Title,{ref:a,className:s("text-sm font-semibold [&+div]:text-xs",e),...t}));Fe.displayName=g.Title.displayName;const Be=r.forwardRef(({className:e,...t},a)=>o.jsx(g.Description,{ref:a,className:s("text-sm opacity-90",e),...t}));Be.displayName=g.Description.displayName;function oa(){const{toasts:e}=Ve();return o.jsxs(ea,{children:[e.map(({id:t,title:a,description:n,action:l,...D})=>o.jsxs(He,{...D,children:[o.jsxs("div",{className:"grid gap-1",children:[a&&o.jsx(Fe,{children:a}),n&&o.jsx(Be,{children:n})]}),l,o.jsx(Ee,{})]},t)),o.jsx(Ge,{})]})}const sa=({className:e,...t})=>o.jsx("div",{className:s("animate-pulse rounded-md bg-primary/10",e),...t}),P=r.forwardRef(({className:e,...t},a)=>o.jsx(u.Command,{ref:a,className:s("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",e),...t}));P.displayName=u.Command.displayName;const ra=({children:e,...t})=>o.jsx($,{...t,children:o.jsx(A,{className:"overflow-hidden p-0",children:o.jsx(P,{className:"[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:e})})}),Ue=r.forwardRef(({className:e,...t},a)=>o.jsxs("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[o.jsx(x.MagnifyingGlassIcon,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),o.jsx(u.Command.Input,{ref:a,className:s("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",e),...t})]}));Ue.displayName=u.Command.Input.displayName;const Qe=r.forwardRef(({className:e,...t},a)=>o.jsx(u.Command.List,{ref:a,className:s("max-h-[300px] overflow-y-auto overflow-x-hidden",e),...t}));Qe.displayName=u.Command.List.displayName;const Xe=r.forwardRef((e,t)=>o.jsx(u.Command.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));Xe.displayName=u.Command.Empty.displayName;const Ye=r.forwardRef(({className:e,...t},a)=>o.jsx(u.Command.Group,{ref:a,className:s("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",e),...t}));Ye.displayName=u.Command.Group.displayName;const Je=r.forwardRef(({className:e,...t},a)=>o.jsx(u.Command.Separator,{ref:a,className:s("-mx-1 h-px bg-border",e),...t}));Je.displayName=u.Command.Separator.displayName;const Ke=r.forwardRef(({className:e,...t},a)=>o.jsx(u.Command.Item,{ref:a,className:s("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...t}));Ke.displayName=u.Command.Item.displayName;const We=({className:e,...t})=>o.jsx("span",{className:s("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});We.displayName="CommandShortcut";const na=i.Root,da=i.Trigger,ia=i.Group,la=i.Portal,ca=i.Sub,ma=i.RadioGroup,Ze=r.forwardRef(({className:e,inset:t,children:a,...n},l)=>o.jsxs(i.SubTrigger,{ref:l,className:s("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",t&&"pl-8",e),...n,children:[a,o.jsx(x.ChevronRightIcon,{className:"ml-auto h-4 w-4"})]}));Ze.displayName=i.SubTrigger.displayName;const $e=r.forwardRef(({className:e,...t},a)=>o.jsx(i.SubContent,{ref:a,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t}));$e.displayName=i.SubContent.displayName;const et=r.forwardRef(({className:e,...t},a)=>o.jsx(i.Portal,{children:o.jsx(i.Content,{ref:a,className:s("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...t})}));et.displayName=i.Content.displayName;const tt=r.forwardRef(({className:e,inset:t,...a},n)=>o.jsx(i.Item,{ref:n,className:s("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t&&"pl-8",e),...a}));tt.displayName=i.Item.displayName;const at=r.forwardRef(({className:e,children:t,checked:a,...n},l)=>o.jsxs(i.CheckboxItem,{ref:l,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),checked:a,...n,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(i.ItemIndicator,{children:o.jsx(x.CheckIcon,{className:"h-4 w-4"})})}),t]}));at.displayName=i.CheckboxItem.displayName;const ot=r.forwardRef(({className:e,children:t,...a},n)=>o.jsxs(i.RadioItem,{ref:n,className:s("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...a,children:[o.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:o.jsx(i.ItemIndicator,{children:o.jsx(x.DotFilledIcon,{className:"h-4 w-4 fill-current"})})}),t]}));ot.displayName=i.RadioItem.displayName;const st=r.forwardRef(({className:e,inset:t,...a},n)=>o.jsx(i.Label,{ref:n,className:s("px-2 py-1.5 text-sm font-semibold text-foreground",t&&"pl-8",e),...a}));st.displayName=i.Label.displayName;const rt=r.forwardRef(({className:e,...t},a)=>o.jsx(i.Separator,{ref:a,className:s("-mx-1 my-1 h-px bg-border",e),...t}));rt.displayName=i.Separator.displayName;const nt=({className:e,...t})=>o.jsx("span",{className:s("ml-auto text-xs tracking-widest text-muted-foreground",e),...t});nt.displayName="ContextMenuShortcut";exports.Accordion=Rt;exports.AccordionContent=E;exports.AccordionItem=G;exports.AccordionTrigger=H;exports.AlertDialog=Mt;exports.AlertDialogAction=W;exports.AlertDialogCancel=Z;exports.AlertDialogContent=Q;exports.AlertDialogDescription=K;exports.AlertDialogFooter=Y;exports.AlertDialogHeader=X;exports.AlertDialogTitle=J;exports.AlertDialogTrigger=It;exports.Badge=Dt;exports.Button=V;exports.Card=ne;exports.CardContent=ce;exports.CardDescription=le;exports.CardFooter=me;exports.CardHeader=de;exports.CardTitle=ie;exports.Command=P;exports.CommandDialog=ra;exports.CommandEmpty=Xe;exports.CommandGroup=Ye;exports.CommandInput=Ue;exports.CommandItem=Ke;exports.CommandList=Qe;exports.CommandSeparator=Je;exports.CommandShortcut=We;exports.ContextMenu=na;exports.ContextMenuCheckboxItem=at;exports.ContextMenuContent=et;exports.ContextMenuGroup=ia;exports.ContextMenuItem=tt;exports.ContextMenuLabel=st;exports.ContextMenuPortal=la;exports.ContextMenuRadioGroup=ma;exports.ContextMenuRadioItem=ot;exports.ContextMenuSeparator=rt;exports.ContextMenuShortcut=nt;exports.ContextMenuSub=ca;exports.ContextMenuSubContent=$e;exports.ContextMenuSubTrigger=Ze;exports.ContextMenuTrigger=da;exports.Dialog=$;exports.DialogContent=A;exports.DialogDescription=re;exports.DialogFooter=oe;exports.DialogHeader=ae;exports.DialogTitle=se;exports.DialogTrigger=kt;exports.DropdownMenu=Ut;exports.DropdownMenuCheckboxItem=ke;exports.DropdownMenuContent=Me;exports.DropdownMenuGroup=Xt;exports.DropdownMenuItem=Ie;exports.DropdownMenuLabel=_e;exports.DropdownMenuPortal=Yt;exports.DropdownMenuRadioGroup=Kt;exports.DropdownMenuRadioItem=Ae;exports.DropdownMenuSeparator=Pe;exports.DropdownMenuShortcut=ze;exports.DropdownMenuSub=Jt;exports.DropdownMenuSubContent=De;exports.DropdownMenuSubTrigger=Re;exports.DropdownMenuTrigger=Qt;exports.HoverCard=Gt;exports.HoverCardContent=ve;exports.HoverCardTrigger=Ht;exports.Input=pe;exports.Label=ue;exports.Popover=qt;exports.PopoverContent=Ne;exports.PopoverTrigger=Vt;exports.ScrollArea=ge;exports.ScrollBar=_;exports.Select=Et;exports.SelectContent=Ce;exports.SelectGroup=Ft;exports.SelectItem=Te;exports.SelectLabel=je;exports.SelectSeparator=Se;exports.SelectTrigger=we;exports.SelectValue=Bt;exports.Separator=Le;exports.Skeleton=sa;exports.Switch=q;exports.Tabs=_t;exports.TabsContent=ye;exports.TabsList=xe;exports.TabsTrigger=be;exports.Textarea=fe;exports.Toaster=oa;exports.Tooltip=Lt;exports.TooltipContent=he;exports.TooltipPortal=Pt;exports.TooltipProvider=zt;exports.TooltipTrigger=Ot;exports.badgeVariants=F;exports.buttonVariants=R;exports.cn=s;exports.reducer=Oe;exports.toast=qe;exports.useToast=Ve;
|
package/dist/core.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-MwShWj1c.cjs"),s=require("./iconBase-Cn2BsTrq.cjs"),o=require("@chaibuilder/runtime"),l=require("react-i18next"),t=require("i18next");exports.AISetContext=e.AISetContext;exports.AIUserPrompt=e.AIUserPrompt;exports.AddBlocksDialog=e.AddBlocksDialog;exports.AddBlocksPanel=e.AddBlocksPanel;exports.BlockAttributesEditor=e.BlockAttributesEditor;exports.BlockPropsEditor=e.BlockSettings;exports.BlockStyleEditor=e.BlockStyling;exports.CHAI_BUILDER_EVENTS=e.CHAI_BUILDER_EVENTS;exports.ChaiBuilderCanvas=e.CanvasArea;exports.ChaiBuilderEditor=e.ChaiBuilderEditor;exports.ChaiDraggableBlock=e.ChaiDraggableBlock;exports.DarkModeSwitcher=e.DarkMode;exports.DefaultChaiBlocks=e.DefaultChaiBlocks;exports.ImportHTML=e.ImportHTML;exports.Outline=e.ListTree;exports.ScreenSizes=e.Breakpoints;exports.ThemeOptions=e.ThemeConfigPanel;exports.UILibraries=e.UILibrariesPanel;exports.UndoRedo=e.UndoRedo;exports.emitChaiBuilderMsg=e.emitChaiBuilderMsg;exports.getBlocksFromHTML=e.getBlocksFromHTML;exports.getClassValueAndUnit=e.getClassValueAndUnit;exports.useAddBlock=e.useAddBlock;exports.useAddClassesToBlocks=e.useAddClassesToBlocks;exports.useBlockHighlight=e.useBlockHighlight;exports.useBlocksStore=e.useBlocksStore;exports.useBlocksStoreUndoableActions=e.useBlocksStoreUndoableActions;exports.useBrandingOptions=e.useBrandingOptions;exports.useBuilderProp=e.useBuilderProp;exports.useBuilderReset=e.useBuilderReset;exports.useCanvasWidth=e.useCanvasWidth;exports.useCanvasZoom=e.useCanvasZoom;exports.useChaiBuilderMsgListener=e.useChaiBuilderMsgListener;exports.useCodeEditor=e.useCodeEditor;exports.useCopyBlockIds=e.useCopyBlockIds;exports.useCopyToClipboard=e.useCopyToClipboard;exports.useCurrentPage=e.useCurrentPage;exports.useCutBlockIds=e.useCutBlockIds;exports.useDarkMode=e.useDarkMode;exports.useDuplicateBlocks=e.useDuplicateBlocks;exports.useGlobalBlocksList=e.useGlobalBlocksList;exports.useGlobalBlocksStore=e.useGlobalBlocksStore;exports.useHiddenBlockIds=e.useHiddenBlockIds;exports.useHighlightBlockId=e.useHighlightBlockId;exports.useLanguages=e.useLanguages;exports.useLayoutVariant=e.useLayoutVariant;exports.usePasteBlocks=e.usePasteBlocks;exports.usePreviewMode=e.usePreviewMode;exports.useRemoveBlocks=e.useRemoveBlocks;exports.useRemoveClassesFromBlocks=e.useRemoveClassesFromBlocks;exports.useSavePage=e.useSavePage;exports.useSelectedBlock=e.useSelectedBlock;exports.useSelectedBlockAllClasses=e.useSelectedBlockAllClasses;exports.useSelectedBlockCurrentClasses=e.useSelectedBlockCurrentClasses;exports.useSelectedBlockIds=e.useSelectedBlockIds;exports.useSelectedBlocksDisplayChild=e.useSelectedBlocksDisplayChild;exports.useSelectedBreakpoints=e.useSelectedBreakpoints;exports.useSelectedStylingBlocks=e.useSelectedStylingBlocks;exports.useStylingBreakpoint=e.useStylingBreakpoint;exports.useStylingState=e.useStylingState;exports.useUILibraryBlocks=e.useUILibraryBlocks;exports.useUndoManager=e.useUndoManager;exports.useUpdateBlocksProps=e.useUpdateBlocksProps;exports.useUpdateBlocksPropsRealtime=e.useUpdateBlocksPropsRealtime;exports.generateBlockId=s.generateUUID;exports.mergeClasses=s.cn;Object.defineProperty(exports,"registerChaiBlock",{enumerable:!0,get:()=>o.registerChaiBlock});Object.defineProperty(exports,"useTranslation",{enumerable:!0,get:()=>l.useTranslation});exports.i18n=t;
|
package/dist/core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as a, s as o, n as l, A as t, t as r, B as u, l as i, q as d, j as c, v as B, m as k, w as n, D as C, I as g, k as p, x as S, T as m, U as h, y as I, o as A, E as P, z as U, N as b, O as y, $ as D, J as E, ae as L, a1 as M, d as f, M as v, P as T, Q as x, p as H, u as R, R as O, S as V, V as w, W as G, X as _, Y as z, G as F, H as N, Z as W, _ as Z, g as j, ad as q, a0 as J, f as K, a2 as Q, a3 as X, e as Y, a6 as $, a5 as ss, a4 as es, a as as, aa as os, ab as ls, ac as ts, a7 as rs, a9 as us, a8 as is, K as ds, b as cs, c as Bs } from "./index-
|
|
1
|
+
import { r as a, s as o, n as l, A as t, t as r, B as u, l as i, q as d, j as c, v as B, m as k, w as n, D as C, I as g, k as p, x as S, T as m, U as h, y as I, o as A, E as P, z as U, N as b, O as y, $ as D, J as E, ae as L, a1 as M, d as f, M as v, P as T, Q as x, p as H, u as R, R as O, S as V, V as w, W as G, X as _, Y as z, G as F, H as N, Z as W, _ as Z, g as j, ad as q, a0 as J, f as K, a2 as Q, a3 as X, e as Y, a6 as $, a5 as ss, a4 as es, a as as, aa as os, ab as ls, ac as ts, a7 as rs, a9 as us, a8 as is, K as ds, b as cs, c as Bs } from "./index-Coh4Y4tF.js";
|
|
2
2
|
import { g as ns, c as Cs } from "./iconBase-DHfFLkem.js";
|
|
3
3
|
import { registerChaiBlock as ps } from "@chaibuilder/runtime";
|
|
4
4
|
import { useTranslation as ms } from "react-i18next";
|