PageSourceSearch

https://askhippo.ai/_next/static/chunks/3133.e6aa1d56c8621f0b.js

js askhippo.ai collected 2026-10-05 13:29:10 UTC 19,269 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3133],{20381:function(e,l,s){var a,r=s(50959);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var s=arguments[l];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e}).apply(null,arguments)}l.Z=function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},e),a||(a=r.createElement("path",{fill:"currentColor",d:"M16.175 13H4v-2h12.175l-5.6-5.6L12 4l8 8-8 8-1.425-1.4z"})))}},32036:function(e,l,s){var a,r=s(50959);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var s=arguments[l];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e}).apply(null,arguments)}l.Z=function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20"},e),a||(a=r.createElement("path",{fill:"currentColor",d:"M4.995 18.336q-.687 0-1.177-.49a1.6 1.6 0 0 1-.49-1.177V8.336q0-.687.49-1.177.489-.49 1.177-.49h.833V5.003q0-1.73 1.219-2.948Q8.265.835 9.995.835t2.948 1.22q1.219 1.218 1.219 2.948v1.666h.833q.687 0 1.177.49t.49 1.177v8.333q0 .688-.49 1.177t-1.177.49zm0-1.667h10V8.336h-10zm5-2.5q.687 0 1.177-.49.49-.489.49-1.176 0-.688-.49-1.178a1.6 1.6 0 0 0-1.177-.49q-.687 0-1.177.49t-.49 1.178.49 1.177 1.177.49m-2.5-7.5h5V5.003q0-1.042-.73-1.771a2.4 2.4 0 0 0-1.77-.73 2.4 2.4 0 0 0-1.771.73 2.4 2.4 0 0 0-.73 1.77z"})))}},93133:function(e,l,s){s.r(l);var a=s(11527),r=s(50959),i=s(27930),t=s(63947),n=s(69569),o=s(97442),c=s(88197),d=s(27363),u=s(35577),p=s(58833),f=s(43352),x=s(7242),m=s(66072),v=s(20381),g=s(32036),h=s(57897),y=s(50863),j=s(20203),b=s(11260),N=s(29269),w=s(16906);l.default=e=>{var l,s,k,C,I,z,V;let{className:M}=e,{t:S}=(0,x.$G)("popup"),{studioUser:Z,usage:A,usesLeft:G,isGuest:L}=(0,n.t)(),{studio:P,portal:E,accessGroup:U,onUpdateCurrentPopup:D}=(0,t.D)(),{isCheckingOut:R,onCheckout:T,onCheckoutUses:q,onCheckoutOffer:K}=(0,i.t)(),[$,_]=(0,r.useState)(null),[B,O]=(0,r.useState)(0),[F,W]=(0,r.useState)(0),[Q,Y]=(0,r.useState)(),[H,J]=(0,r.useState)(!1),[X,ee]=(0,r.useState)(!1),el=!!(null==P?void 0:null===(l=P.usage)||void 0===l?void 0:l.isCredits),es=(null==U?void 0:U.upgrade.isLinkToCustomURL)&&"string"==typeof U.upgrade.limitLink&&U.upgrade.limitLink.trim().length>0?U.upgrade.limitLink.trim():null,ea=(null==U?void 0:null===(s=U.upgrade.limitCTA)||void 0===s?void 0:s.trim())||S("pricing.upgrade",{defaultValue:"Upgrade"}),er=(null==U?void 0:null===(k=U.upgrade.limitMessage)||void 0===k?void 0:k.trim())||S("pricing.upgradeRequired",{defaultValue:"Please upgrade to continue using this tool."}),ei=f.S.studio.get.upgradeAccessGroups.useQuery({accessGroupIds:Array.from([null!==(z=null==U?void 0:U.accessGroupId)&&void 0!==z?z:"",...(null==U?void 0:U.upgrade.accessGroupIds)||[]])},{enabled:!!(!es&&(null==U?void 0:U.upgrade.isUpgradeToAnotherGroup)&&U.upgrade.accessGroupIds.length>0)}),et=f.S.user.get.offerLinks.useQuery({portalId:(null==E?void 0:E.portalId)||""},{refetchOnWindowFocus:!0}),en=(0,r.useMemo)(()=>(null==U?void 0:U.displayName)||(null==U?void 0:U.name)||S("pricing.currentPlan",{defaultValue:"Current Plan"}),[U]),eo=(0,r.useMemo)(()=>{let e=S("pricing.credits",{defaultValue:"credits"}),l=S("pricing.uses",{defaultValue:"uses"});return el?e:l},[el]),ec=(0,r.useMemo)(()=>G===c.hf?S("pricing.unlimited",{defaultValue:"Unlimited"}):G.toLocaleString(),[G]),ed=null!==(V=null==A?void 0:A.extraUses)&&void 0!==V?V:0,eu=(null==U?void 0:U.limitInterval)!=="one_time"&&(ed===c.hf||ed>0),ep=(0,r.useMemo)(()=>ed===c.hf?S("pricing.unlimited",{defaultValue:"Unlimited"}):ed.toLocaleString(),[ed]),ef=(0,r.useMemo)(()=>U&&U.limitInterval?S("pricing.suffix.".concat(U.limitInterval,".long"),{defaultValue:""}):"",[U]),ex=(0,r.useMemo)(()=>{var e,l,s;return L?"":(0,c.ZP)({interval:null!==(s=null==U?void 0:U.limitInterval)&&void 0!==s?s:null,subscribedAt:null===(e=Z.data)||void 0===e?void 0:e.subscribedAt,subscribedAtDay:null===(l=Z.data)||void 0===l?void 0:l.subscribedAtDay})},[null==U?void 0:U.limitInterval,L,null===(C=Z.data)||void 0===C?void 0:C.subscribedAt,null===(I=Z.data)||void 0===I?void 0:I.subscribedAtDay]),em=(0,r.useMemo)(()=>!es&&(null==U?void 0:U.upgrade.accessGroupIds.length)&&ei.data?ei.data.filter(e=>{if("public"===e.type||(null==U?void 0:U.type)==="members"&&e.accessGroupId===U.accessGroupId)return!1;let l=(null==P?void 0:P.currency)||"usd",s=e.currency||"usd";return"free"===e.priceType||l===s}):[],[U,es,ei.data,P]),ev=(0,r.useMemo)(()=>{let e=Array.from(new Set(em.map(e=>{var l;return"free"===e.priceType?"free":null!==(l=e.priceInterval)&&void 0!==l?l:"one_time"}
1))).filter(Boolean);return(0,c.id)(e)},[em]),eg=(0,r.useMemo)(()=>!$||ev.length<=1?em:em.filter(e=>{var l;return"free"===e.priceType?"free"===$:(null!==(l=e.priceInterval)&&void 0!==l?l:"one_time")===$}),[em,$,ev]),eh=(0,r.useMemo)(()=>!es&&(null==U?void 0:U.upgrade.isBuyMoreUses)&&U&&"public"!==U.type&&P&&P.usage?(el?P.usage.availableCredits.map(e=>({price:e.price,amount:e.credits,estimatedRuns:B>0?Math.ceil(e.credits/B):0})):P.usage.availableUses.map(e=>({price:e.price,amount:e.uses,estimatedRuns:e.uses}))).map(e=>{var l,s;let a=(null===(l=P.usage)||void 0===l?void 0:l.currency)||P.currency,r=null!==(s=d.m.find(e=>e.id===a))&&void 0!==s?s:d.m[0],i="".concat(r.symbol).concat(e.price.toLocaleString());e.price||(i=S("pricing.free",{defaultValue:"Free"}));let t="/".concat((0,c.fY)(e.amount)," ").concat(eo);return{...e,priceDisplay:i,usesDisplay:t,currency:r.id}}):[],[P,U,es,el,B,eo]),ey=(0,r.useMemo)(()=>{var e;return eh.length&&null!==(e=null==eh?void 0:eh[F])&&void 0!==e?e:null},[eh,F]),ej=(0,r.useMemo)(()=>E&&Array.isArray(et.data)?E.items.filter(e=>{var l,s,a;return"offer"===e.lockType&&e.offer&&e.offer.stripePriceId&&(null!==(l=e.offer.currency)&&void 0!==l?l:"usd")===(null!==(s=null==P?void 0:P.currency)&&void 0!==s?s:"usd")&&!(0,u.aY)(e,null==U?void 0:U.accessGroupId)&&!(null!==(a=et.data)&&void 0!==a?a:[]).some(l=>l.id===e.id)}):[],[E,P,null==U?void 0:U.accessGroupId,et.data]),eb=(0,r.useCallback)(e=>"free"===e?S("pricing.free",{defaultValue:"Free"}):S("pricing.suffix.".concat(e,".title"),{defaultValue:e}),[S]);return(0,r.useEffect)(()=>{let e=!0;return(async()=>{if(null==P?void 0:P.workspaceId)try{let l=await p.c.get("/cost_per_run?workspaceId=".concat(P.workspaceId),{withCredentials:!1});if(e){let e=l.data.costPerRun*c.DT||0;O(e)}}catch(e){console.error("Failed to fetch cost per run:",e)}})(),()=>{e=!1}},[null==P?void 0:P.workspaceId]),(0,r.useEffect)(()=>{ev.length&&!$&&_(ev[0])},[ev,$]),(0,r.useEffect)(()=>{if(!Q)return;let e=()=>{J(Q.canScrollPrev()),ee(Q.canScrollNext())};return Q.on("select",e),Q.on("reInit",e),e(),()=>{Q.off("select",e),Q.off("reInit",e)}},[Q]),(0,a.jsxs)("div",{className:(0,o.Z)("flex flex-col gap-6 overflow-y-auto p-6 scrollbar sm:p-8",M),children:[(0,a.jsxs)("section",{id:"balance-remaining",className:"glass flex flex-col gap-4 bg-white/50 px-8 py-6 glass-dark:bg-black/50",children:[(0,a.jsxs)("div",{className:"flex w-full flex-wrap items-center justify-between gap-4",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:S("pricing.balance.title",{defaultValue:"Balance remaining"})}),(0,a.jsx)("span",{className:"inline-flex max-w-full items-center rounded-[var(--portal-roundness)] border px-3 py-1 text-xs opacity-80 sm:max-w-[16rem]",title:en,children:(0,a.jsx)("span",{className:"truncate whitespace-nowrap",children:en})})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)("p",{children:[(0,a.jsxs)("span",{className:"font-semibold",children:[ec," ",eo]}),ef&&(0,a.jsxs)("span",{className:"ml-1.5 text-xs opacity-60",children:["/",ef]})]}),(0,a.jsxs)("div",{className:"flex w-full flex-wrap items-center justify-between gap-4",children:[(0,a.jsx)("p",{className:"text-xs opacity-60",children:L?S("pricing.balance.note2",{defaultValue:"Remaining uses until you run out."}):ex}),(0,a.jsxs)(h.z,{variant:"glass",className:"h-10 justify-start rounded-[var(--portal-roundness)] bg-white/80 px-4 font-normal",onClick:()=>D(L?"sign-up":"manage-plan"),children:[L?S("pricing.signUpToGetUses",{defaultValue:"Sign up to get more uses"}):S("profile.managePlan",{defaultValue:"Manage plan"}),L&&(0,a.jsx)(v.Z,{})]})]})]})]}),!L&&eu&&(0,a.jsxs)("section",{id:"additional-usage",className:"glass flex flex-col gap-4 bg-white/50 px-8 py-6 glass-dark:bg-black/50",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:(0,a.jsx)(x.cC,{t:S,i18nKey:"pricing.additionalUses.title",defaults:"Additional {{type}}",values:{type:eo}})}),(0,a.jsxs)("div",{className:"flex items-baseline gap-4",children:[(0,a.jsx)("p",{children:(0,a.jsxs)("span",{className:"font-semibold",children:[ep," ",eo]})}),(0,a.jsx)("p",{className:"ml-2 text-xs opacity-60",children:(0,a.jsx)(x.cC,{t:S,i18nKey:"pricing.additionalUses.note1",defaults:"These {{type}} do not reset or expire.",values:{type:eo}})})]})]}),es&&(0,a.jsxs)("section",{id:"external-upgrade",className:"glass flex flex-col gap-4 bg-white/50 px-8 py-6 glass-dark:bg-black/50",children:[(0,a.jsx)(j.$,{children:(0,a.jsx)(j.E,{value:er})}),(0,a.jsx)(b.z,{variant:"primary",className:"w-full rounded-[var(--portal-roundness)] py-6 text-[14px] font-medium",onClick:()=>{window.location.href=es},children:ea})]}),eg.length>0&&(0,a.jsxs)("section",{id:"tiers",className:"glass flex flex-col gap-4 bg-white/50 px-8 py-6 glass-dark:bg-black/50",children:[ev.length>1&&(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("div",{className:"flex gap-2 rounded-[var(--portal-roundness)] border p-1 p-2",style:{backgroundColor:"hsl(var(--background))"},children:ev.map((e,l)=>(0,a.jsx)(h.z,{variant:"glass",className:"rounded-[var(--portal-roundness)] opacity-50 disabled:opacity-100",onClick:()=>_(e),disabled:$===e,children:eb(e)},l))})}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)(y.lr,{className:"w-full space-y-4",style:{maxWidth:"".concat(eg.length>0?267*eg.length+(eg.length-1)*16:0,"px")},children:(0,a.jsx)(y.KI,{className:"-ml-4",children:eg.map((e,l)=>
1(0,a.jsx)(y.d$,{style:{flex:"0 0 267px",...l>0&&{marginLeft:"16px"}},children:(0,a.jsx)(N.Z,{data:e,isDisabled:R,isCredits:el,onCheckout:()=>T(e.accessGroupId)})},l))})})})]}),!L&&ej.length>0&&(0,a.jsxs)("section",{id:"offers",className:"glass flex flex-col gap-6 bg-white/50 px-8 py-6 glass-dark:bg-black/50",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(g.Z,{className:"size-6 shrink-0"}),(0,a.jsx)("h3",{className:"text-lg font-semibold",children:S("pricing.offers.title",{defaultValue:"Locked content"})})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)(h.z,{variant:"glass",size:"icon",className:(0,o.Z)(!H&&"cursor-not-allowed opacity-30"),onClick:()=>null==Q?void 0:Q.scrollPrev(),disabled:!H,children:(0,a.jsx)(m.Z,{})}),(0,a.jsx)(h.z,{variant:"glass",size:"icon",className:(0,o.Z)(!X&&"cursor-not-allowed opacity-30"),onClick:()=>null==Q?void 0:Q.scrollNext(),disabled:!X,children:(0,a.jsx)(v.Z,{})})]})]}),(0,a.jsx)("div",{className:"flex w-full justify-center",children:(0,a.jsx)(y.lr,{setApi:Y,className:"w-full space-y-4",opts:{align:"start",loop:!1},style:{maxWidth:"".concat(ej.length>0?647*ej.length+(ej.length-1)*16:0,"px")},children:(0,a.jsx)(y.KI,{className:(0,o.Z)("-ml-4",1===ej.length&&"overflow-x-auto"),children:ej.map((e,l)=>(0,a.jsx)(y.d$,{style:{flex:"0 0 647px",maxWidth:"calc(100vw - 4rem)",...l>0&&{marginLeft:"16px"}},children:(0,a.jsx)(w.Z,{data:e,style:{backgroundColor:"hsl(var(--card))",color:"hsl(var(--card-foreground))"},isDisabled:R,onCheckout:()=>K(e.id)})},l))})})})]}),!L&&eh.length>0&&!!(null==U?void 0:U.upgrade.isBuyMoreUses)&&(0,a.jsxs)("section",{id:"buy-more",className:"glass flex flex-col gap-6 bg-white/50 px-8 py-6 glass-dark:bg-black/50",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",children:(0,a.jsx)(x.cC,{t:S,i18nKey:"pricing.buyMore.title",defaults:"Buy additional {{type}}",values:{type:eo}})}),(0,a.jsx)("p",{className:"text-sm opacity-60",children:(0,a.jsx)(x.cC,{t:S,i18nKey:"pricing.buyMore.note1",defaults:"These additional {{type}} do not depend on your current plan and do not expire.",values:{type:eo}})})]}),(0,a.jsx)("div",{className:"flex",children:(0,a.jsx)(y.lr,{className:"w-full space-y-4",style:{maxWidth:"".concat(eh.length>0?167*eh.length+(eh.length-1)*16:0,"px")},children:(0,a.jsx)(y.KI,{className:"-ml-4",children:eh.map((e,l)=>{let{priceDisplay:s,usesDisplay:r,estimatedRuns:i}=e;return(0,a.jsx)(y.d$,{style:{flex:"0 0 167px",...l>0&&{marginLeft:"16px"}},children:(0,a.jsxs)(h.z,{variant:"glass",className:(0,o.Z)("flex h-[88px] w-[167px] flex-col items-start justify-between rounded-2xl border border-transparent px-4 py-3 transition-all duration-300",F===l&&"border-black glass-dark:border-white"),onClick:()=>W(l),disabled:R,children:[(0,a.jsxs)("span",{className:"space-x-2",children:[(0,a.jsx)("span",{className:"text-xl font-semibold tracking-tight",children:s}),(0,a.jsx)("span",{className:"text-sm font-semilight",children:r})]}),(0,a.jsxs)("span",{className:"text-sm font-semilight opacity-80",children:["~",(0,a.jsx)(x.cC,{t:S,i18nKey:"pricing.runs",defaults:"{{count}} runs",values:{count:i.toLocaleString()}})]})]})},l)})})})}),!!ey&&(0,a.jsx)(b.z,{variant:"primary",className:"w-full rounded-[var(--portal-roundness)] py-6 text-[14px] font-medium",onClick:()=>q({price:ey.price,uses:ey.amount}),disabled:R,children:(0,a.jsx)(x.cC,{t:S,i18nKey:"pricing.buyMore.cta",defaults:"Buy {{count}} {{type}} for {{price}}",values:{count:(0,c.fY)(ey.amount),type:eo,price:"".concat(ey.priceDisplay," ").concat(ey.currency)}})})]})]})}},16906:function(e,l,s){var a=s(11527),r=s(50959),i=s(63947),t=s(27363),n=s(19048),o=s(7242),c=s(5754),d=s(11260);l.Z=e=>{var l,s,u,p,f,x,m,v,g;let{data:h,className:y,style:j,isDisabled:b,onCheckout:N}=e,{t:w}=(0,o.$G)("popup"),{portal:k}=(0,i.D)(),C=(0,r.useMemo)(()=>{var e;return null!==(e=t.m.find(e=>{var l,s;return e.id===(null!==(s=null===(l=h.offer)||void 0===l?void 0:l.currency)&&void 0!==s?s:"usd")}))&&void 0!==e?e:t.m[0]},[h]);return(0,a.jsxs)("div",{className:(0,n.cn)("flex min-h-[238px] w-[647px] flex-col justify-between gap-6 rounded-[var(--portal-roundness)] border bg-white p-6 glass-dark:bg-black",y),...j&&{style:j},children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center items-center justify-between gap-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)(c.qE,{className:"size-8",children:[(0,a.jsx)(c.F$,{src:null!==(m=null===(l=h.offer)||void 0===l?void 0:l.icon)&&void 0!==m?m:"",alt:"Offer icon"}),(0,a.jsx)(c.Q5,{})]}),(0,a.jsx)("p",{className:"text-xl font-semibold",children:(null===(s=h.offer)||void 0===s?void 0:s.name)||""})]}),(0,a.jsx)("p",{className:"text-2xl font-semibold",children:"".concat(C.symbol).concat(null!==(v=null===(u=h.offer)||void 0===u?void 0:u.price)&&void 0!==v?v:0)})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"line-clamp-2 text-primary",children:(null===(p=h.offer)||void 0===p?void 0:p.description)||""}),(0,a.jsxs)("div",{className:"flex flex-col border-t border-input pt-4",children:["folder"===h.type&&(null===(f=h.offer)||void 0===f?void 0:f.isShowContent)&&(0,a.jsxs)("p",{className:"mb-[40px] text-primary",children:[(0,a.jsxs)("span",{className:"font-medium",children:[w("pricing.offers.includes",{defaultValue:"Includes:"}),"\xa0"]}),(0,a.jsx)("span",{children:(null!==(g=null==k?void 0:k.items)&&void 0!==g?g:[]).filter(e=>e.parentId===h.id).map(e=>e.displayName||e.id).join(", ")||w("pricing.offers.noContent",{defaultValue:"No content"})})]}),!!N&&(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(d.z,{useDesignColors:!0,variant:"primary",className:"w-full max-w-[119px]",onClick:N,...b&&{disabled:!0},children:(null===(x=h.offer)||void 0===x?void 0:x.ctaText)||w("pricing.offers.unlock",{defaultValue:"Unlock"})})})]})]})]})}}
1,50863:function(e,l,s){s.d(l,{KI:function(){return x},d$:function(){return m},lr:function(){return f}});var a=s(11527),r=s(50959),i=s(97442),t=s(16084),n=s(79260),o=s(7398),c=s(7242),d=s(57897);let u=r.createContext(null);function p(){let e=r.useContext(u);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let f=r.forwardRef((e,l)=>{let{orientation:s="horizontal",opts:n,setApi:o,plugins:c,className:d,children:p,...f}=e,[x,m]=(0,t.Z)({...n,axis:"horizontal"===s?"x":"y"},c),[v,g]=r.useState(!1),[h,y]=r.useState(!1),j=r.useCallback(e=>{e&&(g(e.canScrollPrev()),y(e.canScrollNext()))},[]),b=r.useCallback(()=>{null==m||m.scrollPrev()},[m]),N=r.useCallback(()=>{null==m||m.scrollNext()},[m]),w=r.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),b()):"ArrowRight"===e.key&&(e.preventDefault(),N())},[b,N]);return r.useEffect(()=>{m&&o&&o(m)},[m,o]),r.useEffect(()=>{if(m)return j(m),m.on("reInit",j),m.on("select",j),()=>{null==m||m.off("select",j)}},[m,j]),(0,a.jsx)(u.Provider,{value:{carouselRef:x,api:m,opts:n,orientation:s||((null==n?void 0:n.axis)==="y"?"vertical":"horizontal"),scrollPrev:b,scrollNext:N,canScrollPrev:v,canScrollNext:h},children:(0,a.jsx)("div",{ref:l,onKeyDownCapture:w,className:(0,i.Z)("relative",d),role:"region","aria-roledescription":"carousel",...f,children:p})})});f.displayName="Carousel";let x=r.forwardRef((e,l)=>{let{className:s,...r}=e,{carouselRef:t,orientation:n}=p();return(0,a.jsx)("div",{ref:t,className:"overflow-hidden",children:(0,a.jsx)("div",{ref:l,className:(0,i.Z)("flex","horizontal"===n?"-ml-4":"-mt-4 flex-col",s),...r})})});x.displayName="CarouselContent";let m=r.forwardRef((e,l)=>{let{className:s,...r}=e,{orientation:t}=p();return(0,a.jsx)("div",{ref:l,role:"group","aria-roledescription":"slide",className:(0,i.Z)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===t?"pl-4":"pt-4",s),...r})});m.displayName="CarouselItem",r.forwardRef((e,l)=>{let{className:s,variant:r="glass",size:t="icon",...o}=e,{t:u}=(0,c.$G)("popup"),{orientation:f,scrollPrev:x,canScrollPrev:m}=p();return(0,a.jsxs)(d.z,{ref:l,variant:r,size:t,className:(0,i.Z)("absolute  h-8 w-8 rounded-full","horizontal"===f?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!m,onClick:x,...o,children:[(0,a.jsx)(n.Z,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:u("carousel.previousSlide",{defaultValue:"Previous slide"})})]})}).displayName="CarouselPrevious",r.forwardRef((e,l)=>{let{className:s,variant:r="glass",size:t="icon",...n}=e,{t:u}=(0,c.$G)("popup"),{orientation:f,scrollNext:x,canScrollNext:m}=p();return(0,a.jsxs)(d.z,{ref:l,variant:r,size:t,className:(0,i.Z)("absolute h-8 w-8 rounded-full","horizontal"===f?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!m,onClick:x,...n,children:[(0,a.jsx)(o.Z,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:u("carousel.nextSlide",{defaultValue:"Next slide"})})]})}).displayName="CarouselNext"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.