(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,838479,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...n},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},n),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"}))});e.s(["f",0,i],838479)},371604,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...n},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},n),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"}))});e.s(["f",0,i],371604)},486704,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...n},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},n),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 11.25v8.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 1 0 9.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1 1 14.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))});e.s(["f",0,i],486704)},653432,e=>{"use strict";var t=e.i(16043);let i=t.forwardRef(function({title:e,titleId:i,...n},r){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":i},n),e?t.createElement("title",{id:i},e):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.429 9.75 2.25 12l4.179 2.25m0-4.5 5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L21.75 12l-4.179 2.25m0 0 4.179 2.25L12 21.75 2.25 16.5l4.179-2.25m11.142 0-5.571 3-5.571-3"}))});e.s(["f",0,i],653432)},615199,e=>{"use strict";e.s(["b",0,{SelfAttested:"self_attested",Reviewed:"reviewed"},"x",0,{User:"user",Org:"org"},"$",0,{Age18Plus:"age_18plus",PrivilegedModelAccess:"privileged_model_access"}])},388114,e=>{"use strict";var t=e.i(663456),i=e.i(16043);e.s(["f",0,function(){let e,n,r=(0,t.c)(3),[s,a]=(0,i.useState)(!1);r[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{a(!0)},r[0]=e):e=r[0];let l=e,o=!!s&&"viewport";return r[1]!==o?(n={onFocus:l,onMouseEnter:l,onTouchStart:l,prefetch:o},r[1]=o,r[2]=n):n=r[2],n}])},280819,e=>{"use strict";var t=e.i(668379),i=e.i(988590),n=e.i(387086);let r={[t.f.Programming]:(0,n.b)("Programming"),[t.f.Roleplay]:(0,n.b)("Roleplay"),[t.f.Marketing]:(0,n.b)("Marketing"),[t.f.MarketingSeo]:(0,n.b)("SEO"),[t.f.Technology]:(0,n.b)("Technology"),[t.f.Science]:(0,n.b)("Science"),[t.f.Translation]:(0,n.b)("Translation"),[t.f.Legal]:(0,n.b)("Legal"),[t.f.Finance]:(0,n.b)("Finance"),[t.f.Health]:(0,n.b)("Health"),[t.f.Trivia]:(0,n.b)("Trivia"),[t.f.Academia]:(0,n.b)("Academia")};e.s(["f",0,function(e){return(0,i.q)(e,t.f)?r[e]:"all"===e?(0,n.b)("All"):"other"===e?(0,n.b)("Other"):(0,n.b)("Unknown")}])},668379,e=>{"use strict";var t,i=e.i(989487);e.i(988590);var n=((t={}).Programming="programming",t.Roleplay="roleplay",t.Marketing="marketing",t.MarketingSeo="marketing/seo",t.Technology="technology",t.Science="science",t.Translation="translation",t.Legal="legal",t.Finance="finance",t.Health="health",t.Trivia="trivia",t.Academia="academia",t);Object.values(n).reduce((e,t)=>(e[t]="marketing/seo"===t?"SEO":(0,i.F)(t),e),{}),e.s(["f",()=>n])},626961,906197,487481,e=>{"use strict";var t=e.i(659350),i=e.i(663456),n=e.i(277582),r=e.i(136562),s=e.i(751155),a=e.i(138257);e.i(707060);var l=e.i(300326),o=e.i(196991),c=e.i(153746),d=e.i(916998),u=e.i(690387),m=e.i(294241);let f=e=>{let n,r,s=(0,i.c)(3),{children:a}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("span",{className:"h-3 border-l"}),s[0]=n):n=s[0],s[1]!==a?(r=(0,t.jsxs)(t.Fragment,{children:[n,(0,t.jsx)("span",{children:a})]}),s[1]=a,s[2]=r):r=s[2],r},h=e=>{let n,s,a=(0,i.c)(3),{children:l}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,r.f)("border-l","mb-2 w-1/2 px-2 sm:w-1/3","lg:mt-0 lg:w-auto"),a[0]=n):n=a[0],a[1]!==l?(s=(0,t.jsx)("span",{className:n,children:l}),a[1]=l,a[2]=s):s=a[2],s};function p(e){let r,s,a=(0,i.c)(5),{discount:l,Wrapper:o,showDiscount:c}=e;return c&&(0,n.i)(l)?(a[0]!==l?(r=(0,t.jsx)(d.f,{discount:l,variant:"subdued"}),a[0]=l,a[1]=r):r=a[1],a[2]!==o||a[3]!==r?(s=(0,t.jsx)(o,{children:r}),a[2]=o,a[3]=r,a[4]=s):s=a[4],s):null}function v(e){let n,s,a,d,u,m,f=(0,i.c)(14),{unit:h,direction:p,variant:v}=e;f[0]!==h?(n=h.endsWith(" tokens")?h.slice(0,-7):h,f[0]=h,f[1]=n):n=f[1];let x=n;f[2]!==x?(s=(0,t.jsx)(c.d,{children:x}),f[2]=x,f[3]=s):s=f[3],f[4]!==p?(a=(0,t.jsx)(l.f,{branch:p,input:"input",output:"output"}),f[4]=p,f[5]=a):a=f[5];let g="list"===v&&"hidden md:above-phone:inline";return f[6]!==g?(d=(0,r.f)(g),f[6]=g,f[7]=d):d=f[7],f[8]!==d?(u=(0,t.jsx)("span",{className:d,children:"tokens"}),f[8]=d,f[9]=u):u=f[9],f[10]!==s||f[11]!==a||f[12]!==u?(m=(0,t.jsxs)(o.T,{children:[s," ",a," ",u]}),f[10]=s,f[11]=a,f[12]=u,f[13]=m):m=f[13],m}e.s(["f",0,function(e){let n,l=(0,i.c)(37),{displayPricing:o,discount:c,className:d,variant:x,showDiscount:g}=e,b=void 0===x?"list":x,j=void 0===g||g,w=(0,a.useLocale)(),y="detail"===b?h:f;if(l[0]!==y||l[1]!==d||l[2]!==c||l[3]!==o||l[4]!==w||l[5]!==j||l[6]!==b){n=Symbol.for("react.early_return_sentinel");e:{let e=(0,u.J)(w,o);if(!e){n=null;break e}switch(e.kind){case"standard-tokens":{let i;l[8]!==y||l[9]!==c||l[10]!==j?(i=(0,t.jsx)(p,{discount:c,Wrapper:y,showDiscount:j}),l[8]=y,l[9]=c,l[10]=j,l[11]=i):i=l[11],n=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(y,{children:[e.inputPrice,(0,t.jsx)(v,{unit:e.inputUnit,direction:"input",variant:b})]}),(0,t.jsxs)(y,{children:[e.outputPrice,(0,t.jsx)(v,{unit:e.outputUnit,direction:"output",variant:b})]}),i]});break e}case"custom":{let i,a,u,f,h,v=(0,t.jsx)("span",{className:(0,r.f)(e.hasDetails&&"underline decoration-dotted underline-offset-2 cursor-help",d),children:e.label});if(!e.hasDetails){let e,i,r;l[12]!==y||l[13]!==v?(e=(0,t.jsx)(y,{children:v}),l[12]=y,l[13]=v,l[14]=e):e=l[14],l[15]!==y||l[16]!==c||l[17]!==j?(i=(0,t.jsx)(p,{discount:c,Wrapper:y,showDiscount:j}),l[15]=y,l[16]=c,l[17]=j,l[18]=i):i=l[18],l[19]!==e||l[20]!==i?(r=(0,t.jsxs)(t.Fragment,{children:[e,i]}),l[19]=e,l[20]=i,l[21]=r):r=l[21],n=r;break e}l[22]!==o?(i=(0,t.jsx)(m.f,{items:o}),l[22]=o,l[23]=i):i=l[23],l[24]!==v||l[25]!==i?(a=(0,t.jsx)(s.Tooltip,{side:"bottom",content:i,children:v}),l[24]=v,l[25]=i,l[26]=a):a=l[26],l[27]!==y||l[28]!==a?(u=(0,t.jsx)(y,{children:a}),l[27]=y,l[28]=a,l[29]=u):u=l[29],l[30]!==y||l[31]!==c||l[32]!==j?(f=(0,t.jsx)(p,{discount:c,Wrapper:y,showDiscount:j}),l[30]=y,l[31]=c,l[32]=j,l[33]=f):f=l[33],l[34]!==u||l[35]!==f?(h=(0,t.jsxs)(t.Fragment,{children:[u,f]}),l[34]=u,l[35]=f,l[36]=h):h=l[36],n=h;break e}default:n=null;break e}}l[0]=y,l[1]=d,l[2]=c,l[3]=o,l[4]=w,l[5]=j,l[6]=b,l[7]=n}else n=l[7];if(n!==Symbol.for("react.early_return_sentinel"))return n}],626961);var x=e.i(782143),g=e.i(493630);e.s(["f",0,function(e){let n,r,s,a=(0,i.c)(6),{contextLength:l,locale:d}=e;if(null===l||!(l>0))return null;a[0]!==l||a[1]!==d?(n=(0,x.f)(l,{locale:d,preset:"compact-rounded-thousands"})??"—",a[0]=l,a[1]=d,a[2]=n):n=a[2];let u=n;return a[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(g.f.FooterDivider,{}),a[3]=r):r=a[3],a[4]!==u?(s=(0,t.jsxs)(t.Fragment,{children:[r,(0,t.jsx)("span",{children:(0,t.jsxs)(o.T,{children:[(0,t.jsx)(c.d,{children:u})," context"]})})]}),a[4]=u,a[5]=s):s=a[5],s}],906197);var b=e.i(16043),j=e.i(668379);let w={all:"bg-foreground",[j.f.Roleplay]:"bg-chart-5",[j.f.Programming]:"bg-chart-6",[j.f.Marketing]:"bg-chart-4",[j.f.MarketingSeo]:"bg-chart-4",[j.f.Technology]:"bg-chart-3",[j.f.Science]:"bg-chart-3",[j.f.Translation]:"bg-chart-2",[j.f.Legal]:"bg-chart-1",[j.f.Finance]:"bg-chart-1",[j.f.Health]:"bg-chart-2",[j.f.Trivia]:"bg-chart-6",[j.f.Academia]:"bg-chart-5"},y=e=>w[e]??"bg-chart-6";var k=e.i(233452),_=e.i(624112),N=e.i(797521),S=e.i(967605),T=e.i(960773),L=e.i(199168),M=e.i(280819);let E=e=>{let n,s,a,l,o,c,d,u,m,f,h,p,v,x=(0,i.c)(33);x[0]!==e?({category:n,rank:l,className:s,hideColor:c,ref:o,...a}=e,x[0]=e,x[1]=n,x[2]=s,x[3]=a,x[4]=l,x[5]=o,x[6]=c):(n=x[1],s=x[2],a=x[3],l=x[4],o=x[5],c=x[6]);let g=void 0!==c&&c,b=(0,L.o)(),j=(0,L.M)();x[7]!==n||x[8]!==b||x[9]!==j?(d="all"===n?b("All Categories"):j((0,M.f)(n)),x[7]=n,x[8]=b,x[9]=j,x[10]=d):d=x[10],x[11]!==n?(u=y(n),x[11]=n,x[12]=u):u=x[12],x[13]!==d||x[14]!==u?(m={name:d,color:u},x[13]=d,x[14]=u,x[15]=m):m=x[15];let w=m;x[16]!==s?(f=(0,r.f)("w-full truncate","flex items-center gap-1",s),x[16]=s,x[17]=f):f=x[17],x[18]!==b||x[19]!==l||x[20]!==w.name?(h=l?b("Ranked at #{rank} in {category} category",{rank:l,category:w.name}):b("View the {category} category",{category:w.name}),x[18]=b,x[19]=l,x[20]=w.name,x[21]=h):h=x[21],x[22]!==g||x[23]!==w.color?(p=!g&&(0,t.jsx)("div",{className:(0,r.f)("size-1.5 shrink-0 rounded-full",w.color)}),x[22]=g,x[23]=w.color,x[24]=p):p=x[24];let k=void 0!==l&&` (#${l})`;return x[25]!==a||x[26]!==o||x[27]!==w.name||x[28]!==f||x[29]!==h||x[30]!==p||x[31]!==k?(v=(0,t.jsxs)("span",{ref:o,className:f,...a,title:h,children:[p,w.name,k]}),x[25]=a,x[26]=o,x[27]=w.name,x[28]=f,x[29]=h,x[30]=p,x[31]=k,x[32]=v):v=x[32],v},C=e=>{let n,s,a,l,o,c,d,u,m,f,h,p,v,x,g,b=(0,i.c)(36);b[0]!==e?({category:n,rank:d,disabled:a,onClick:o,className:s,hideColor:l,basePathname:f,source:m,ref:u,...c}=e,b[0]=e,b[1]=n,b[2]=s,b[3]=a,b[4]=l,b[5]=o,b[6]=c,b[7]=d,b[8]=u,b[9]=m,b[10]=f):(n=b[1],s=b[2],a=b[3],l=b[4],o=b[5],c=b[6],d=b[7],u=b[8],m=b[9],f=b[10]);let j=void 0===f?"/rankings":f,w=(0,T.Q)();b[11]!==j||b[12]!==n||b[13]!==o||b[14]!==w||b[15]!==d||b[16]!==m?(h=e=>{w.capture("click_top_category_rank_chip",{category:n,rank:d??null,base_pathname:j,source:m}),o&&(e.preventDefault(),o(e))},b[11]=j,b[12]=n,b[13]=o,b[14]=w,b[15]=d,b[16]=m,b[17]=h):h=b[17];let y=h,_=a?"secondary":"default",N=a?"true":void 0;return b[18]!==j||b[19]!==a?(p=a?void 0:(0,t.jsx)(S.Link,{href:j}),b[18]=j,b[19]=a,b[20]=p):p=b[20],b[21]!==s?(v=(0,r.f)("shrink-0",s),b[21]=s,b[22]=v):v=b[22],b[23]!==n||b[24]!==l||b[25]!==d?(x=(0,t.jsx)(E,{category:n,rank:d,hideColor:l}),b[23]=n,b[24]=l,b[25]=d,b[26]=x):x=b[26],b[27]!==y||b[28]!==c||b[29]!==u||b[30]!==_||b[31]!==N||b[32]!==p||b[33]!==v||b[34]!==x?(g=(0,t.jsx)(k.Badge,{ref:u,onClick:y,size:"md",variant:_,"aria-current":N,render:p,className:v,...c,children:x}),b[27]=y,b[28]=c,b[29]=u,b[30]=_,b[31]=N,b[32]=p,b[33]=v,b[34]=x,b[35]=g):g=b[35],g};function z(e){let n,r,s,a,l,d,u,m,f,h,p=(0,i.c)(30),{remainingCategories:v,remainingColors:x,basePathname:g,source:j}=e,w=(0,N.f)(),y=v.length,[S,T]=(0,b.useState)(!1);if(p[0]!==S?(n=e=>{e.preventDefault(),T(!S)},p[0]=S,p[1]=n):n=p[1],p[2]!==x?(r=x.map(P),p[2]=x,p[3]=r):r=p[3],p[4]!==r?(s=(0,t.jsx)("div",{className:"relative flex h-full w-fit items-center",children:r}),p[4]=r,p[5]=s):s=p[5],p[6]!==w||p[7]!==y?(a=w.number(y,{preset:"integer"}),p[6]=w,p[7]=y,p[8]=a):a=p[8],p[9]!==a?(l=(0,t.jsx)("span",{className:"ml-3.5",children:(0,t.jsxs)(o.T,{children:["+",(0,t.jsx)(c.d,{children:a})," ","categories"]})}),p[9]=a,p[10]=l):l=p[10],p[11]!==s||p[12]!==l?(d=(0,t.jsx)(k.Badge,{size:"md",className:"min-w-fit",render:(0,t.jsxs)("button",{type:"button",children:[s,l]})}),p[11]=s,p[12]=l,p[13]=d):d=p[13],p[14]!==n||p[15]!==d?(u=(0,t.jsx)(_.J,{onClick:n,render:d}),p[14]=n,p[15]=d,p[16]=u):u=p[16],p[17]!==g||p[18]!==v||p[19]!==j){let e;p[21]!==g||p[22]!==j?(e=e=>(0,t.jsx)(C,{basePathname:g,category:e.category,rank:e.rank,source:j},`${e.model}-${e.category}`),p[21]=g,p[22]=j,p[23]=e):e=p[23],m=v.map(e),p[17]=g,p[18]=v,p[19]=j,p[20]=m}else m=p[20];return p[24]!==m?(f=(0,t.jsx)(_.T,{align:"end",className:"flex w-min flex-wrap gap-1.5 p-2",children:m}),p[24]=m,p[25]=f):f=p[25],p[26]!==S||p[27]!==u||p[28]!==f?(h=(0,t.jsxs)(_.V,{open:S,onOpenChange:T,children:[u,f]}),p[26]=S,p[27]=u,p[28]=f,p[29]=h):h=p[29],h}function P(e,i){return(0,t.jsx)("div",{className:(0,r.f)("size-1.5 rounded-full","absolute ring-1 ring-background left-(--dot-left)",e),style:{"--dot-left":`${3*i}px`}},i)}function A(e){return y(e.category)}e.s(["f",0,function(e){let n,s,a,l,o,c,d,u,m,f,h,p,v,x=(0,i.c)(41),{basePathname:g,categories:j,className:w,source:y}=e,k=void 0===g?"/rankings":g,_=(0,b.useRef)(null),[N,S]=(0,b.useState)(!1);x[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{let e=_.current;e&&S(e.scrollWidth-e.scrollLeft-e.clientWidth>1)},x[0]=n):n=x[0];let T=n;x[1]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{let e=_.current;if(!e)return;T();let t=new ResizeObserver(T);return t.observe(e),e.addEventListener("scroll",T,{passive:!0}),()=>{t.disconnect(),e.removeEventListener("scroll",T)}},x[1]=s):s=x[1],x[2]!==j?(a=[T,j],x[2]=j,x[3]=a):a=x[3],(0,b.useEffect)(s,a);if(x[4]!==k||x[5]!==j||x[6]!==w||x[7]!==N||x[8]!==y){let e,i,n=j.slice(0,5);x[15]!==j?(e=(l=j.slice(5)).slice(0,3).map(A),x[15]=j,x[16]=l,x[17]=e):(l=x[16],e=x[17]),o=e,x[18]!==w?(m=(0,r.f)("relative min-w-0 w-full",w),x[18]=w,x[19]=m):m=x[19],c=_;let s=N&&"pr-6";x[20]!==s?(d=(0,r.f)("flex items-center justify-start gap-1.5","overflow-x-auto scrollbar-hide",s),x[20]=s,x[21]=d):d=x[21],x[22]!==k||x[23]!==y?(i=e=>(0,t.jsx)(C,{basePathname:k,category:e.category,rank:e.rank,source:y},`${e.model}-${e.category}`),x[22]=k,x[23]=y,x[24]=i):i=x[24],u=n.map(i),x[4]=k,x[5]=j,x[6]=w,x[7]=N,x[8]=y,x[9]=l,x[10]=o,x[11]=c,x[12]=d,x[13]=u,x[14]=m}else l=x[9],o=x[10],c=x[11],d=x[12],u=x[13],m=x[14];return x[25]!==k||x[26]!==l||x[27]!==o||x[28]!==y?(f=l.length>2&&(0,t.jsx)(z,{basePathname:k,remainingCategories:l,remainingColors:o,source:y}),x[25]=k,x[26]=l,x[27]=o,x[28]=y,x[29]=f):f=x[29],x[30]!==c||x[31]!==d||x[32]!==u||x[33]!==f?(h=(0,t.jsxs)("div",{ref:c,className:d,children:[u,f]}),x[30]=c,x[31]=d,x[32]=u,x[33]=f,x[34]=h):h=x[34],x[35]!==N?(p=N&&(0,t.jsx)("div",{className:(0,r.f)("absolute right-0 top-0","h-full w-6","pointer-events-none bg-gradient-to-r from-transparent to-background")}),x[35]=N,x[36]=p):p=x[36],x[37]!==h||x[38]!==p||x[39]!==m?(v=(0,t.jsxs)("div",{className:m,children:[h,p]}),x[37]=h,x[38]=p,x[39]=m,x[40]=v):v=x[40],v}],487481)},193241,e=>{"use strict";var t=e.i(659350),i=e.i(663456),n=e.i(340800),r=e.i(153722),s=e.i(134611),a=e.i(277582),l=e.i(233452),o=e.i(328262),c=e.i(954217),d=e.i(388114),u=e.i(138257),m=e.i(808125),f=e.i(199168),h=e.i(572201);e.i(707060);var p=e.i(196991),v=e.i(16043),x=e.i(626961),g=e.i(136562),b=e.i(758427),j=e.i(960773);function w(e){let n,r,s,a,l,o=(0,i.c)(17),{slug:c,className:d,source:u}=e,m=void 0===u?"models_listing":u,h=(0,f.o)(),p=(0,j.Q)();return o[0]!==p||o[1]!==c||o[2]!==m?(n=()=>p.capture("copy_model_slug",{model_slug:c,source:m}),o[0]=p,o[1]=c,o[2]=m,o[3]=n):n=o[3],o[4]!==h||o[5]!==c?(r=h("Copy: {slug}",{slug:c}),o[4]=h,o[5]=c,o[6]=r):r=o[6],o[7]!==h?(s=h("Copy to clipboard"),o[7]=h,o[8]=s):s=o[8],o[9]!==d?(a=(0,g.f)("shrink-0 [&_svg]:!size-3.5",d),o[9]=d,o[10]=a):a=o[10],o[11]!==c||o[12]!==n||o[13]!==r||o[14]!==s||o[15]!==a?(l=(0,t.jsx)(b.f,{text:c,hideCopyText:!0,variant:"ghost",size:"icon-3xs",onClick:y,onCopySuccess:n,title:r,"aria-label":s,tone:"muted",reveal:"hover",className:a}),o[11]=c,o[12]=n,o[13]=r,o[14]=s,o[15]=a,o[16]=l):l=o[16],l}function y(e){return e.stopPropagation()}var k=e.i(725072),_=e.i(143324),N=e.i(906197),S=e.i(493630),T=e.i(487481),L=e.i(545354),M=e.i(706911),E=e.i(615199),C=e.i(751155),z=e.i(797521),P=e.i(110513),A=e.i(117686);function R(e){let n,r,s,a,o,c=(0,i.c)(18),{requiredTypes:d,className:u}=e,m=(0,f.o)(),h=(0,f.M)(),p=(0,z.f)();if(0===d.length)return null;if(c[0]!==p||c[1]!==m||c[2]!==h||c[3]!==d){let e;c[5]!==h?(e=e=>h(A.f[e].label),c[5]=h,c[6]=e):e=c[6],n=m("Requires: {labels}",{labels:p.list(d.map(e))}),c[0]=p,c[1]=m,c[2]=h,c[3]=d,c[4]=n}else n=c[4];let v=n;c[7]!==d?(r=d.includes(E.$.Age18Plus),c[7]=d,c[8]=r):r=c[8];let x=r;return c[9]!==x?(s=x?"18+":(0,t.jsx)(P.f,{className:"size-3","aria-hidden":!0}),c[9]=x,c[10]=s):s=c[10],c[11]!==u||c[12]!==v||c[13]!==s?(a=(0,t.jsx)(l.Badge,{variant:"warning",size:"sm",className:u,"aria-label":v,children:s}),c[11]=u,c[12]=v,c[13]=s,c[14]=a):a=c[14],c[15]!==v||c[16]!==a?(o=(0,t.jsx)(C.Tooltip,{content:v,children:a}),c[15]=v,c[16]=a,c[17]=o):o=c[17],o}var H=e.i(247794),O=e.i(916998),D=e.i(939044),W=e.i(465370),$=e.i(596369),F=e.i(918662),Z=e.i(251142);function B(e){let d,m,g,b,j,y,E,C,z,P,A,H,B,U,I,Q,G,J,K,X,Y,ee,et,ei,en,er,es,ea,el,eo,ec,ed,eu,em,ef,eh,ep,ev,ex,eg,eb,ej,ew,ey,ek,e_=(0,i.c)(126),{model:eN,description:eS,modelHref:eT,prefetch:eL,isHipaaUiEnabled:eM,shouldShowPinControls:eE,categories:eC,analytics:ez}=e,eP=void 0!==eM&&eM,eA=void 0===eE||eE,eR=(0,u.useLocale)(),eH=(0,f.o)(),eO=(0,v.useRef)(null),[eD,eW]=(0,v.useState)(!1);e_[0]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{let e=eO.current;e&&eW(e.scrollWidth-e.scrollLeft-e.clientWidth>1)},e_[0]=d):d=e_[0];let e$=d;e_[1]===Symbol.for("react.memo_cache_sentinel")?(m=()=>{let e=eO.current;if(!e)return;e$();let t=new ResizeObserver(e$);return t.observe(e),e.addEventListener("scroll",e$,{passive:!0}),()=>{t.disconnect(),e.removeEventListener("scroll",e$)}},g=[e$],e_[1]=m,e_[2]=g):(m=e_[1],g=e_[2]),(0,v.useEffect)(m,g),e_[3]!==eN?(b=(0,s.Q)(eN),e_[3]=eN,e_[4]=b):b=e_[4];let eF=b,eZ=eC?.[eF];e_[5]!==eN?(j=(0,_.n)(eN),e_[5]=eN,e_[6]=j):j=e_[6];let eB=j,eU=ez?.[eF];e_[7]!==eH||e_[8]!==eR||e_[9]!==eN.output_modalities||e_[10]!==eU?(y=(0,k.L)(eR,{outputModalities:eN.output_modalities,row:eU,gt:eH}),e_[7]=eH,e_[8]=eR,e_[9]=eN.output_modalities,e_[10]=eU,e_[11]=y):y=e_[11];let eI=y,eV=eN.endpoint?.display_pricing,eq=eN.endpoint?.pricing?.discount;e_[12]!==eN?(E=(0,M.f)(eN),e_[12]=eN,e_[13]=E):E=e_[13];let eQ=E;e_[14]!==eN?(C=(0,r.O)((0,s.i)(eN)),e_[14]=eN,e_[15]=C):C=e_[15];let eG=C,eJ=eN.display_required_attestation_types??eN.required_attestation_types;e_[16]!==eN.name?(z=(0,t.jsx)("span",{className:"hidden md:above-phone:block",children:eN.name}),e_[16]=eN.name,e_[17]=z):z=e_[17],e_[18]!==eN.short_name?(P=(0,t.jsx)("span",{className:"md:above-phone:hidden",children:eN.short_name}),e_[18]=eN.short_name,e_[19]=P):P=e_[19],e_[20]!==z||e_[21]!==P?(A=(0,t.jsxs)(t.Fragment,{children:[z,P]}),e_[20]=z,e_[21]=P,e_[22]=A):A=e_[22];let eK=A,eX=`/${eN.author}`;e_[23]!==eG||e_[24]!==eN.author||e_[25]!==eN.author_icon_uri||e_[26]!==eF?(H=(0,t.jsx)(F.f,{author:eN.author,permaslug:eF,iconUri:eN.author_icon_uri,isLatestAlias:eG,frame:!0,className:"shrink-0"}),e_[23]=eG,e_[24]=eN.author,e_[25]=eN.author_icon_uri,e_[26]=eF,e_[27]=H):H=e_[27],e_[28]!==eL||e_[29]!==eX||e_[30]!==H?(B=(0,t.jsx)(c.TextLink,{href:eX,prefetch:eL,className:"pointer-events-auto relative z-10 hidden shrink-0 md:above-phone:block",children:H}),e_[28]=eL,e_[29]=eX,e_[30]=H,e_[31]=B):B=e_[31],e_[32]!==eK?(U=(0,t.jsx)(S.f.Title,{children:eK}),e_[32]=eK,e_[33]=U):U=e_[33],e_[34]!==eT||e_[35]!==eL||e_[36]!==U?(I=(0,t.jsx)(c.TextLink,{href:eT,prefetch:eL,className:"no-underline",children:U}),e_[34]=eT,e_[35]=eL,e_[36]=U,e_[37]=I):I=e_[37],e_[38]!==eq?(Q=(0,a.i)(eq)&&(0,t.jsx)(q,{}),e_[38]=eq,e_[39]=Q):Q=e_[39],e_[40]!==eq?(G=(0,t.jsx)(O.f,{discount:eq}),e_[40]=eq,e_[41]=G):G=e_[41];let eY=eN.endpoint?.variant??h.e.Standard;e_[42]!==eY?(J=(0,t.jsx)(Z.f,{variant:eY,className:"hidden size-4 md:above-phone:inline-flex"}),e_[42]=eY,e_[43]=J):J=e_[43],e_[44]!==eN.output_modalities?(K=(0,t.jsx)(V,{outputModalities:eN.output_modalities}),e_[44]=eN.output_modalities,e_[45]=K):K=e_[45],e_[46]!==eP?(X=eP&&(0,t.jsx)(q,{}),e_[46]=eP,e_[47]=X):X=e_[47],e_[48]!==eP||e_[49]!==eN.endpoint?.is_hipaa_eligible?(Y=eP&&(0,t.jsx)("span",{className:"pointer-events-auto relative z-10 inline-flex",children:(0,t.jsx)(D.X,{isEligible:eN.endpoint?.is_hipaa_eligible===!0})}),e_[48]=eP,e_[49]=eN.endpoint?.is_hipaa_eligible,e_[50]=Y):Y=e_[50],e_[51]!==eJ.length?(ee=eJ.length>0&&(0,t.jsx)(q,{}),e_[51]=eJ.length,e_[52]=ee):ee=e_[52],e_[53]!==eJ?(et=(0,t.jsx)(R,{requiredTypes:eJ,className:"shrink-0"}),e_[53]=eJ,e_[54]=et):et=e_[54],e_[55]!==eB?(ei=eB&&(0,t.jsx)(q,{}),e_[55]=eB,e_[56]=ei):ei=e_[56],e_[57]!==eB?(en=eB&&(0,t.jsx)(l.Badge,{variant:"default",className:"shrink-0",children:(0,t.jsx)(p.T,{children:"Private"})}),e_[57]=eB,e_[58]=en):en=e_[58],e_[59]!==eN?(er=(0,s.i)(eN),e_[59]=eN,e_[60]=er):er=e_[60],e_[61]!==er?(es=(0,t.jsx)(w,{slug:er,className:"pointer-events-auto relative z-10 ml-1 hidden md:above-phone:inline-flex"}),e_[61]=er,e_[62]=es):es=e_[62],e_[63]!==eN||e_[64]!==eA?(ea=eA&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(W.f,{modelSlug:(0,s.i)(eN),origin:"models_listing",className:"pointer-events-auto relative z-10 -my-2 inline-flex size-9 items-center justify-center md:above-phone:hidden"}),(0,t.jsx)(W.f,{modelSlug:(0,s.i)(eN),origin:"models_listing",hoverOnly:!0,className:"pointer-events-auto relative z-10 hidden md:above-phone:inline-flex"})]}),e_[63]=eN,e_[64]=eA,e_[65]=ea):ea=e_[65];let e0=eN.variant_deprecation_date??null;return e_[66]!==e0?(el=(0,t.jsx)(L.f,{deprecationDate:e0,className:"pointer-events-auto relative z-10 shrink-0"}),e_[66]=e0,e_[67]=el):el=e_[67],e_[68]!==B||e_[69]!==I||e_[70]!==Q||e_[71]!==G||e_[72]!==J||e_[73]!==K||e_[74]!==X||e_[75]!==Y||e_[76]!==ee||e_[77]!==et||e_[78]!==ei||e_[79]!==en||e_[80]!==es||e_[81]!==ea||e_[82]!==el?(eo=(0,t.jsxs)(S.f.TitleCluster,{children:[B,I,Q,G,J,K,X,Y,ee,et,ei,en,es,ea,el]}),e_[68]=B,e_[69]=I,e_[70]=Q,e_[71]=G,e_[72]=J,e_[73]=K,e_[74]=X,e_[75]=Y,e_[76]=ee,e_[77]=et,e_[78]=ei,e_[79]=en,e_[80]=es,e_[81]=ea,e_[82]=el,e_[83]=eo):eo=e_[83],e_[84]!==eI?(ec=eI&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"md:above-phone:inline",children:(0,t.jsxs)("span",{children:[eI.text," "]})}),(0,t.jsx)("span",{className:"pointer-events-auto relative z-10",children:(0,t.jsx)(o.InfoTooltip,{side:"bottom",children:eI.tooltip})})]}),e_[84]=eI,e_[85]=ec):ec=e_[85],e_[86]!==ec?(ed=(0,t.jsx)(S.f.WeeklyTokens,{children:ec}),e_[86]=ec,e_[87]=ed):ed=e_[87],e_[88]!==eo||e_[89]!==ed?(eu=(0,t.jsxs)(S.f.HeaderRow,{children:[eo,ed]}),e_[88]=eo,e_[89]=ed,e_[90]=eu):eu=e_[90],e_[91]!==eZ?(em=eZ&&(0,t.jsx)(S.f.Categories,{className:"pointer-events-auto relative z-10",children:(0,t.jsx)(T.f,{categories:eZ,source:"models_list_item"})}),e_[91]=eZ,e_[92]=em):em=e_[92],e_[93]!==eS||e_[94]!==eT||e_[95]!==eL?(ef=(0,t.jsx)(S.f.Description,{children:(0,t.jsx)(c.TextLink,{href:eT,prefetch:eL,className:"text-muted-foreground no-underline [&_code]:text-size-inherit",children:eS})}),e_[93]=eS,e_[94]=eT,e_[95]=eL,e_[96]=ef):ef=e_[96],e_[97]!==eN.author||e_[98]!==eL?(eh=(0,t.jsx)($.f,{author:eN.author,prefetch:eL,linkClassName:"pointer-events-auto relative z-10"}),e_[97]=eN.author,e_[98]=eL,e_[99]=eh):eh=e_[99],e_[100]===Symbol.for("react.memo_cache_sentinel")?(ep=(0,t.jsx)(S.f.FooterDivider,{className:"hidden md:above-phone:inline"}),e_[100]=ep):ep=e_[100],e_[101]!==eR||e_[102]!==eN.created_at?(ev=(0,n.C)(new Date(eN.created_at),{locale:eR,timeZone:"UTC",preset:"medium"})??"—",e_[101]=eR,e_[102]=eN.created_at,e_[103]=ev):ev=e_[103],e_[104]!==ev?(ex=(0,t.jsx)("span",{className:"hidden md:above-phone:inline",children:ev}),e_[104]=ev,e_[105]=ex):ex=e_[105],e_[106]!==eQ||e_[107]!==eR?(eg=(0,t.jsx)(N.f,{contextLength:eQ,locale:eR}),e_[106]=eQ,e_[107]=eR,e_[108]=eg):eg=e_[108],e_[109]!==eV?(eb=eV&&eV.length>0&&(0,t.jsx)("span",{className:"pointer-events-auto relative z-10 inline-flex items-center gap-2",children:(0,t.jsx)(x.f,{displayPricing:eV,showDiscount:!1})}),e_[109]=eV,e_[110]=eb):eb=e_[110],e_[111]!==eh||e_[112]!==ex||e_[113]!==eg||e_[114]!==eb?(ej=(0,t.jsxs)(S.f.Footer,{ref:eO,children:[eh,ep,ex,eg,eb]}),e_[111]=eh,e_[112]=ex,e_[113]=eg,e_[114]=eb,e_[115]=ej):ej=e_[115],e_[116]!==eD?(ew=eD&&(0,t.jsx)("div",{className:"pointer-events-none absolute right-0 top-0 h-full w-3 bg-gradient-to-r from-transparent to-background md:above-phone:hidden"}),e_[116]=eD,e_[117]=ew):ew=e_[117],e_[118]!==ej||e_[119]!==ew?(ey=(0,t.jsxs)("div",{className:"relative",children:[ej,ew]}),e_[118]=ej,e_[119]=ew,e_[120]=ey):ey=e_[120],e_[121]!==eu||e_[122]!==em||e_[123]!==ef||e_[124]!==ey?(ek=(0,t.jsxs)(t.Fragment,{children:[eu,em,ef,ey]}),e_[121]=eu,e_[122]=em,e_[123]=ef,e_[124]=ey,e_[125]=ek):ek=e_[125],ek}let U=(0,v.memo)(e=>{let n,r,s,a,l,o=(0,i.c)(19),{className:c,model:u,description:m,isHipaaUiEnabled:f,shouldShowPinControls:h,categories:p,analytics:v,outputModalityIntent:x}=e;o[0]!==u||o[1]!==x?(n=(0,_.S)(u,{outputModalityIntent:x}),o[0]=u,o[1]=x,o[2]=n):n=o[2];let g=n,b=(0,d.f)();return o[3]!==b?({prefetch:s,...r}=b,o[3]=b,o[4]=r,o[5]=s):(r=o[4],s=o[5]),o[6]!==v||o[7]!==p||o[8]!==m||o[9]!==f||o[10]!==u||o[11]!==g||o[12]!==s||o[13]!==h?(a=(0,t.jsx)(B,{model:u,description:m,modelHref:g,prefetch:s,isHipaaUiEnabled:f,shouldShowPinControls:h,categories:p,analytics:v}),o[6]=v,o[7]=p,o[8]=m,o[9]=f,o[10]=u,o[11]=g,o[12]=s,o[13]=h,o[14]=a):a=o[14],o[15]!==c||o[16]!==r||o[17]!==a?(l=(0,t.jsx)(S.f.Root,{...r,className:c,"data-testid":"model-list-item",isLinked:!0,children:a}),o[15]=c,o[16]=r,o[17]=a,o[18]=l):l=o[18],l}),I=(0,v.memo)(e=>{let n,r,s,a,l,o=(0,i.c)(18),{model:c,description:u,isHipaaUiEnabled:m,shouldShowPinControls:f,categories:h,analytics:p,outputModalityIntent:v}=e;o[0]!==c||o[1]!==v?(n=(0,_.S)(c,{outputModalityIntent:v}),o[0]=c,o[1]=v,o[2]=n):n=o[2];let x=n,g=(0,d.f)();return o[3]!==g?({prefetch:s,...r}=g,o[3]=g,o[4]=r,o[5]=s):(r=o[4],s=o[5]),o[6]!==p||o[7]!==h||o[8]!==u||o[9]!==m||o[10]!==c||o[11]!==x||o[12]!==s||o[13]!==f?(a=(0,t.jsx)(B,{model:c,description:u,modelHref:x,prefetch:s,isHipaaUiEnabled:m,shouldShowPinControls:f,categories:h,analytics:p}),o[6]=p,o[7]=h,o[8]=u,o[9]=m,o[10]=c,o[11]=x,o[12]=s,o[13]=f,o[14]=a):a=o[14],o[15]!==r||o[16]!==a?(l=(0,t.jsx)(S.f.ListRoot,{...r,"data-testid":"model-list-item",isLinked:!0,children:a}),o[15]=r,o[16]=a,o[17]=l):l=o[17],l});function V(e){let n,r,s=(0,i.c)(7),{outputModalities:a}=e,l=(0,f.M)();if(0===a.length)return null;if(s[0]!==l||s[1]!==a){let e;s[3]!==l?(e=e=>(0,t.jsx)(H.f,{modality:e,tooltip:l(m.L[e])},e),s[3]=l,s[4]=e):e=s[4],n=a.map(e),s[0]=l,s[1]=a,s[2]=n}else n=s[2];return s[5]!==n?(r=(0,t.jsx)("div",{className:"hidden shrink-0 items-center gap-1 md:above-phone:inline-flex",children:n}),s[5]=n,s[6]=r):r=s[6],r}function q(){let e,n=(0,i.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("span",{className:"hidden phone:inline",children:" "}),n[0]=e):e=n[0],e}e.s(["ModelsPageListItem",0,U,"ModelsPageListItemListRow",0,I],193241)},493630,e=>{"use strict";var t=e.i(659350),i=e.i(663456),n=e.i(136562),r=e.i(16043);let s=(0,r.createContext)(null);function a(e){let n,r,a=(0,i.c)(5),{children:l,isLinked:o}=e;a[0]!==o?(n={isLinked:o},a[0]=o,a[1]=n):n=a[1];let c=n;return a[2]!==l||a[3]!==c?(r=(0,t.jsx)(s,{value:c,children:l}),a[2]=l,a[3]=c,a[4]=r):r=a[4],r}function l(e){let r,s,l,o,c,d,u,m,f,h,p=(0,i.c)(20);p[0]!==e?({children:r,className:s,"data-testid":l,isLinked:d,paddingClassName:o,...c}=e,p[0]=e,p[1]=r,p[2]=s,p[3]=l,p[4]=o,p[5]=c,p[6]=d):(r=p[1],s=p[2],l=p[3],o=p[4],c=p[5],d=p[6]);let v=void 0===d||d;return p[7]!==s||p[8]!==o?(u=(0,n.f)("flex w-full items-center justify-between",o,"flex-col md:above-phone:flex-row","gap-3 phone:gap-2",s),p[7]=s,p[8]=o,p[9]=u):u=p[9],p[10]!==r?(m=(0,t.jsx)("div",{className:"flex w-full flex-col gap-2",children:r}),p[10]=r,p[11]=m):m=p[11],p[12]!==l||p[13]!==c||p[14]!==u||p[15]!==m?(f=(0,t.jsx)("div",{...c,"data-testid":l,className:u,children:m}),p[12]=l,p[13]=c,p[14]=u,p[15]=m,p[16]=f):f=p[16],p[17]!==v||p[18]!==f?(h=(0,t.jsx)(a,{isLinked:v,children:f}),p[17]=v,p[18]=f,p[19]=h):h=p[19],h}e.s(["f",0,{Root:function(e){let n,r=(0,i.c)(2);return r[0]!==e?(n=(0,t.jsx)(l,{...e,paddingClassName:"py-5 phone:py-4"}),r[0]=e,r[1]=n):n=r[1],n},ListRoot:function(e){let n,r=(0,i.c)(2);return r[0]!==e?(n=(0,t.jsx)(l,{...e,paddingClassName:"py-4"}),r[0]=e,r[1]=n):n=r[1],n},HeaderRow:function(e){let n,r=(0,i.c)(2),{children:s}=e;return r[0]!==s?(n=(0,t.jsx)("div",{className:"flex items-start justify-between phone:items-baseline md:above-phone:pr-0",children:s}),r[0]=s,r[1]=n):n=r[1],n},TitleCluster:function(e){let n,r=(0,i.c)(2),{children:s}=e;return r[0]!==s?(n=(0,t.jsx)("div",{className:"w-full min-w-0 items-center gap-1.5 phone:[&>*]:align-middle md:above-phone:flex md:above-phone:w-[calc(100%-10rem)]",children:s}),r[0]=s,r[1]=n):n=r[1],n},Title:function(e){let a,l,o=(0,i.c)(5),{children:c}=e,{isLinked:d}=function(){let e=(0,r.use)(s);if(!e)throw Error("ModelsPageListItemShell subcomponents must be used within Root or ListRoot");return e}(),u=d&&"transition-colors hover:text-accent-foreground hover:underline";return o[0]!==u?(a=(0,n.f)(u,"text-foreground underline-offset-2","text-base font-semibold leading-snug phone:text-sm"),o[0]=u,o[1]=a):a=o[1],o[2]!==c||o[3]!==a?(l=(0,t.jsx)("span",{className:a,children:c}),o[2]=c,o[3]=a,o[4]=l):l=o[4],l},WeeklyTokens:function(e){let r,s,a=(0,i.c)(3),{children:l}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.f)("flex shrink-0 items-center gap-1 text-xs text-muted-foreground","justify-end md:above-phone:w-40"),a[0]=r):r=a[0],a[1]!==l?(s=(0,t.jsx)("div",{className:r,children:l}),a[1]=l,a[2]=s):s=a[2],s},Categories:function(e){let r,s,a=(0,i.c)(5),{children:l,className:o}=e;return a[0]!==o?(r=(0,n.f)("relative flex w-fit max-w-full min-w-0 self-start",o),a[0]=o,a[1]=r):r=a[1],a[2]!==l||a[3]!==r?(s=(0,t.jsx)("div",{className:r,children:l}),a[2]=l,a[3]=r,a[4]=s):s=a[4],s},Description:function(e){let n,r=(0,i.c)(2),{children:s}=e;return r[0]!==s?(n=(0,t.jsx)("div",{className:"flex min-h-10 flex-col gap-1.5 phone:min-h-0",children:s}),r[0]=s,r[1]=n):n=r[1],n},Footer:function(e){let r,s,a=(0,i.c)(4),{children:l,ref:o}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.f)("relative flex items-center gap-2 text-xs text-muted-foreground","whitespace-nowrap overflow-x-auto scrollbar-hide","max-md:pointer-events-auto phone:pointer-events-auto","md:above-phone:overflow-hidden md:above-phone:text-ellipsis"),a[0]=r):r=a[0],a[1]!==l||a[2]!==o?(s=(0,t.jsx)("div",{ref:o,className:r,children:l}),a[1]=l,a[2]=o,a[3]=s):s=a[3],s},FooterDivider:function(e){let r,s,a=(0,i.c)(4),{className:l}=e;return a[0]!==l?(r=(0,n.f)("h-3 border-l",l),a[0]=l,a[1]=r):r=a[1],a[2]!==r?(s=(0,t.jsx)("span",{className:r}),a[2]=r,a[3]=s):s=a[3],s}}])},294241,e=>{"use strict";var t=e.i(659350),i=e.i(663456),n=e.i(293747),r=e.i(706792),s=e.i(138257),a=e.i(199168),l=e.i(140691),o=e.i(690387),c=e.i(784374),d=e.i(192577);function u(e){let u,m,f,h=(0,i.c)(25),{item:p,unit:v}=e,x=(0,s.useLocale)(),g=(0,a.M)();if(p.kind===r.H.Schedule){let e;return h[0]!==p.scheduleExceptions||h[1]!==p.scheduleWindows?(e=(0,t.jsx)("span",{className:"text-muted-foreground pl-2",children:(0,t.jsx)(c.f,{windows:p.scheduleWindows,exceptions:p.scheduleExceptions})}),h[0]=p.scheduleExceptions,h[1]=p.scheduleWindows,h[2]=e):e=h[2],e}if(p.tiers&&p.tiers.length>1){let e,i;if(h[3]!==p.displayMultiplier||h[4]!==p.tiers||h[5]!==x||h[6]!==g||h[7]!==v){let i;h[9]!==p.displayMultiplier||h[10]!==x||h[11]!==g||h[12]!==v?(i=e=>(0,t.jsxs)("span",{className:"text-muted-foreground",children:[(0,d.f)(g,e.sku_label),":"," ",(0,o.i)(`${(0,n.f)((0,l.I)(e.price).times(p.displayMultiplier),{locale:x,preset:"model-price"})??"—"}`,v)]},e.sku_label),h[9]=p.displayMultiplier,h[10]=x,h[11]=g,h[12]=v,h[13]=i):i=h[13],e=p.tiers.map(i),h[3]=p.displayMultiplier,h[4]=p.tiers,h[5]=x,h[6]=g,h[7]=v,h[8]=e}else e=h[8];return h[14]!==e?(i=(0,t.jsx)("div",{className:"flex flex-col gap-0.5 pl-2",children:e}),h[14]=e,h[15]=i):i=h[15],i}h[16]!==p.displayMultiplier||h[17]!==p.price||h[18]!==x?(u=(0,n.f)((0,l.I)(p.price).times(p.displayMultiplier),{locale:x,preset:"model-price"})??"—",h[16]=p.displayMultiplier,h[17]=p.price,h[18]=x,h[19]=u):u=h[19];let b=`${u}`;return h[20]!==b||h[21]!==v?(m=(0,o.i)(b,v),h[20]=b,h[21]=v,h[22]=m):m=h[22],h[23]!==m?(f=(0,t.jsx)("span",{className:"text-muted-foreground pl-2",children:m}),h[23]=m,h[24]=f):f=h[24],f}e.s(["f",0,function(e){let n,r,s=(0,i.c)(7),{items:l}=e,o=(0,a.M)();if(s[0]!==l||s[1]!==o){let e;s[3]!==o?(e=e=>{let i=e.unitLabel;return(0,t.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"font-medium text-popover-foreground",children:(0,d.f)(o,e.sku_label)}),(0,t.jsx)(u,{item:e,unit:i})]},e.sku_label)},s[3]=o,s[4]=e):e=s[4],n=l.map(e),s[0]=l,s[1]=o,s[2]=n}else n=s[2];return s[5]!==n?(r=(0,t.jsx)("div",{className:"flex flex-col gap-2 p-1",children:n}),s[5]=n,s[6]=r):r=s[6],r}])},725072,e=>{"use strict";var t=e.i(782143),i=e.i(579841),n=e.i(427150),r=e.i(667417);e.i(707060);var s=e.i(387086);function a(e){return(0,i.W)(e)?"video-hours":e.includes(r.j.Transcription)?"transcribed-characters":"tokens"}e.s(["L",0,function(e,{outputModalities:i,row:r,gt:l=s.Y,timeLabel:o=l("7 days")}){if(!r)return null;let c=a(i);if("video-hours"===c&&(0,n.f)(r.video_output_seconds))return r.video_output_seconds>0?{text:function({gt:e,locale:i},n){let r=n/3600;if(r<1)return e("<1 hour");let s=Math.round(r),a=(0,t.f)(s,{locale:i,preset:"compact-rounded-thousands"})??"—";return e(1===s?"{count} hour":"{count} hours",{count:a})}({gt:l,locale:e},r.video_output_seconds),tooltip:l("Video generated in the last {timeLabel}",{timeLabel:o})}:null;if("transcribed-characters"===c&&(0,n.f)(r.stt_transcript_characters))return r.stt_transcript_characters>0?{text:l("{count} characters",{count:(0,t.f)(r.stt_transcript_characters,{locale:e,preset:"compact-rounded-thousands"})??"—"}),tooltip:l("Characters transcribed in the last {timeLabel}",{timeLabel:o})}:null;let d=r.total_prompt_tokens+(r.total_completion_tokens??0);return d>0?{text:l("{count} tokens",{count:(0,t.f)(d,{locale:e,preset:"compact-rounded-thousands"})??"—"}),tooltip:l("Tokens processed in the last {timeLabel}",{timeLabel:o})}:null},"f",0,a])},143324,e=>{"use strict";var t=e.i(134611),i=e.i(369214),n=e.i(667417);function r(e){return e.is_private||e.endpoint?.is_private===!0}let s=new Set([...i.f,n.j.TTS,n.j.Transcription]);e.s(["S",0,function(e,i={}){let n=(0,t.i)(e);return function(e,t){if(null==t||!s.has(t))return e;let i=new URLSearchParams({output_modalities:t});return`${e}?${i.toString()}`}(r(e)?`/private/${n}`:`/${n}`,i.outputModalityIntent)},"B",0,function(e){return i.f.find(t=>e?.includes(t)??!1)??null},"n",0,r])},545354,948083,e=>{"use strict";var t=e.i(659350),i=e.i(663456),n=e.i(371604),r=e.i(340800),s=e.i(430022),a=e.i(427150);let l=/^\d{4}-\d{2}-\d{2}$/;function o(e,t){var i;let n=function(e){let t=function(e){if(!(0,a.f)(e))return null;let t=e.trim();if(""===t)return null;if(l.test(t))return`${t}T${String(13).padStart(2,"0")}:00:00.000Z`;let i=new Date(t);return Number.isNaN(i.getTime())?t:i.toISOString()}(e);if(null===t)return null;let i=new Date(t);return Number.isNaN(i.getTime())||(0,s.Q)(i)!==t.slice(0,10)?null:i.getTime()}(e);if(null===n)return null;let r=(i=t,Math.floor(n/s.N)-Math.floor(i/s.N));return r>90?null:{day:(0,s.Q)(new Date(n)),daysUntil:r}}e.s(["f",0,o],948083);var c=e.i(136562),d=e.i(233452),u=e.i(751155),m=e.i(138257);e.i(707060);var f=e.i(288265);e.s(["f",0,function(e){let s,a,l,h,p,v,x,g,b,j=(0,i.c)(22),{deprecationDate:w,className:y}=e,k=(0,m.useLocale)(),_=(0,f.f)();j[0]!==w?(s=o(w,Date.now()),j[0]=w,j[1]=s):s=j[1];let N=s;if(!N)return null;let{day:S,daysUntil:T}=N;if(j[2]!==S||j[3]!==T||j[4]!==_||j[5]!==k){let e=(0,r.C)(new Date(`${S}T00:00:00.000Z`),{locale:k,timeZone:"UTC",preset:"long"})??"—",t=T<0;a=t?_("Deprecated"):_("Going away {date}",{date:e}),l=_(t?"Deprecated on {date}":"Going away on {date}",{date:e}),j[2]=S,j[3]=T,j[4]=_,j[5]=k,j[6]=a,j[7]=l}else a=j[6],l=j[7];let L=l;return j[8]!==T?(h=T<=3?"negative":"warning",j[8]=T,j[9]=h):h=j[9],j[10]!==y?(p=(0,c.f)("h-5 gap-1.5 whitespace-nowrap",y),j[10]=y,j[11]=p):p=j[11],j[12]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)(n.f,{className:"size-3.5"}),j[12]=v):v=j[12],j[13]!==a?(x=(0,t.jsx)("span",{children:a}),j[13]=a,j[14]=x):x=j[14],j[15]!==h||j[16]!==p||j[17]!==x?(g=(0,t.jsxs)(d.Badge,{variant:h,size:"sm",className:p,children:[v,x]}),j[15]=h,j[16]=p,j[17]=x,j[18]=g):g=j[18],j[19]!==g||j[20]!==L?(b=(0,t.jsx)(u.Tooltip,{content:L,children:g}),j[19]=g,j[20]=L,j[21]=b):b=j[21],b}],545354)},247794,e=>{"use strict";var t=e.i(659350),i=e.i(663456),n=e.i(136562),r=e.i(233452),s=e.i(751155),a=e.i(943926),l=e.i(761512);e.s(["f",0,function(e){let o,c,d,u,m,f=(0,i.c)(13),{modality:h,tooltip:p}=e;return f[0]!==h?(o=(0,n.f)("size-5 justify-center rounded-md border-transparent p-0",(0,l.p)({modality:h})),f[0]=h,f[1]=o):o=f[1],f[2]!==h?(c=(0,n.f)("size-3",(0,l.W)({modality:h})),f[2]=h,f[3]=c):c=f[3],f[4]!==h||f[5]!==c?(d=(0,t.jsx)(a.f,{modality:h,strokeWidth:2.5,className:c}),f[4]=h,f[5]=c,f[6]=d):d=f[6],f[7]!==o||f[8]!==d?(u=(0,t.jsx)(r.Badge,{variant:"default",size:"sm",className:o,children:d}),f[7]=o,f[8]=d,f[9]=u):u=f[9],f[10]!==u||f[11]!==p?(m=(0,t.jsx)(s.Tooltip,{content:p,children:u}),f[10]=u,f[11]=p,f[12]=m):m=f[12],m}])},596369,e=>{"use strict";var t=e.i(659350),i=e.i(663456),n=e.i(136562),r=e.i(954217);e.i(707060);var s=e.i(196991),a=e.i(153746);e.s(["f",0,function(e){let l,o,c,d,u=(0,i.c)(12),{author:m,displayName:f,className:h,linkClassName:p,prefetch:v}=e,x=`/${m}`;u[0]!==p?(l=(0,n.f)("text-inherit",p),u[0]=p,u[1]=l):l=u[1];let g=f??m;return u[2]!==g?(o=(0,t.jsx)(a.d,{children:g}),u[2]=g,u[3]=o):o=u[3],u[4]!==v||u[5]!==x||u[6]!==l||u[7]!==o?(c=(0,t.jsx)(r.TextLink,{href:x,prefetch:v,className:l,children:o}),u[4]=v,u[5]=x,u[6]=l,u[7]=o,u[8]=c):c=u[8],u[9]!==h||u[10]!==c?(d=(0,t.jsx)(s.T,{children:(0,t.jsxs)("span",{className:h,children:["by"," ",c]})}),u[9]=h,u[10]=c,u[11]=d):d=u[11],d}])},918662,e=>{"use strict";var t=e.i(659350),i=e.i(663456),n=e.i(136562),r=e.i(177113),s=e.i(894868),a=e.i(751155);e.i(707060);var l=e.i(196991);e.s(["f",0,function(e){let o,c,d,u,m,f,h=(0,i.c)(21),{author:p,permaslug:v,iconUri:x,isLatestAlias:g,className:b,tooltipSide:j,frame:w}=e,y=void 0===j?"top":j,k=void 0!==w&&w;if(!g){let e;return h[0]!==p||h[1]!==b||h[2]!==k||h[3]!==x||h[4]!==v?(e=(0,t.jsx)(s.f,{author:p,permaslug:v,iconUri:x,frame:k,className:b}),h[0]=p,h[1]=b,h[2]=k,h[3]=x,h[4]=v,h[5]=e):e=h[5],e}return h[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(l.T,{children:(0,t.jsx)("span",{children:"OpenRouter latest alias — automatically resolves to the newest model in this version group."})}),h[6]=o):o=h[6],h[7]!==b?(c=(0,n.f)("relative inline-flex shrink-0",b),h[7]=b,h[8]=c):c=h[8],h[9]!==p||h[10]!==k||h[11]!==x||h[12]!==v?(d=(0,t.jsx)(s.f,{author:p,permaslug:v,iconUri:x,frame:k,className:"shrink-0"}),h[9]=p,h[10]=k,h[11]=x,h[12]=v,h[13]=d):d=h[13],h[14]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(l.T,{children:(0,t.jsx)("span",{role:"img","aria-label":"OpenRouter latest alias",className:(0,n.f)("absolute -bottom-0.5 -right-0.5","flex items-center justify-center","size-3 rounded-full","bg-foreground text-background","ring-1 ring-background"),children:(0,t.jsx)(r.f,{className:"size-2"})})}),h[14]=u):u=h[14],h[15]!==c||h[16]!==d?(m=(0,t.jsxs)("span",{className:c,"data-testid":"model-author-icon-latest-alias",children:[d,u]}),h[15]=c,h[16]=d,h[17]=m):m=h[17],h[18]!==m||h[19]!==y?(f=(0,t.jsx)(a.Tooltip,{side:y,content:o,children:m}),h[18]=m,h[19]=y,h[20]=f):f=h[20],f}])},251142,e=>{"use strict";var t=e.i(659350),i=e.i(663456),n=e.i(838479),r=e.i(16043);let s=r.forwardRef(function({title:e,titleId:t,...i},n){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},i),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12.75 11.25 15 15 9.75M21 12c0 1.268-.63 2.39-1.593 3.068a3.745 3.745 0 0 1-1.043 3.296 3.745 3.745 0 0 1-3.296 1.043A3.745 3.745 0 0 1 12 21c-1.268 0-2.39-.63-3.068-1.593a3.746 3.746 0 0 1-3.296-1.043 3.745 3.745 0 0 1-1.043-3.296A3.745 3.745 0 0 1 3 12c0-1.268.63-2.39 1.593-3.068a3.745 3.745 0 0 1 1.043-3.296 3.746 3.746 0 0 1 3.296-1.043A3.746 3.746 0 0 1 12 3c1.268 0 2.39.63 3.068 1.593a3.746 3.746 0 0 1 3.296 1.043 3.746 3.746 0 0 1 1.043 3.296A3.745 3.745 0 0 1 21 12Z"}))}),a=r.forwardRef(function({title:e,titleId:t,...i},n){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},i),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-2.25-1.313M21 7.5v2.25m0-2.25-2.25 1.313M3 7.5l2.25-1.313M3 7.5l2.25 1.313M3 7.5v2.25m9 3 2.25-1.313M12 12.75l-2.25-1.313M12 12.75V15m0 6.75 2.25-1.313M12 21.75V19.5m0 2.25-2.25-1.313m0-16.875L12 2.25l2.25 1.313M21 14.25v2.25l-2.25 1.313m-13.5 0L3 16.5v-2.25"}))});var l=e.i(922969),o=e.i(486704),c=e.i(214051),d=e.i(338749);let u=r.forwardRef(function({title:e,titleId:t,...i},n){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:n,"aria-labelledby":t},i),e?r.createElement("title",{id:t},e):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 10.5V6.75a4.5 4.5 0 1 1 9 0v3.75M3.75 21.75h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H3.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))});var m=e.i(653432),f=e.i(195759),h=e.i(572201);e.i(707060);var p=e.i(288265);e.s(["f",0,function(e){let r,v=(0,i.c)(30),{className:x,variant:g}=e,b=void 0===x?"w-4 h-4":x,j=(0,p.f)();v[0]!==j||v[1]!==g?(r=j("{label} variant",{label:(0,f.x)(g)}),v[0]=j,v[1]=g,v[2]=r):r=v[2];let w=r;switch(g){case h.e.Nitro:{let e;return v[3]!==b||v[4]!==w?(e=(0,t.jsx)(n.f,{title:w,className:b}),v[3]=b,v[4]=w,v[5]=e):e=v[5],e}case h.e.Floor:{let e;return v[6]!==b||v[7]!==w?(e=(0,t.jsx)(l.f,{title:w,className:b}),v[6]=b,v[7]=w,v[8]=e):e=v[8],e}case h.e.Online:{let e;return v[9]!==b||v[10]!==w?(e=(0,t.jsx)(c.f,{title:w,className:b}),v[9]=b,v[10]=w,v[11]=e):e=v[11],e}case h.e.Free:{let e;return v[12]!==b||v[13]!==w?(e=(0,t.jsx)(o.f,{title:w,className:b}),v[12]=b,v[13]=w,v[14]=e):e=v[14],e}case h.e.Extended:{let e;return v[15]!==b||v[16]!==w?(e=(0,t.jsx)(a,{title:w,className:b}),v[15]=b,v[16]=w,v[17]=e):e=v[17],e}case h.e.Exacto:{let e;return v[18]!==b||v[19]!==w?(e=(0,t.jsx)(s,{title:w,className:b}),v[18]=b,v[19]=w,v[20]=e):e=v[20],e}case h.e.SelfMod:{let e;return v[21]!==b||v[22]!==w?(e=(0,t.jsx)(u,{title:w,className:b}),v[21]=b,v[22]=w,v[23]=e):e=v[23],e}case h.e.Thinking:{let e;return v[24]!==b||v[25]!==w?(e=(0,t.jsx)(d.f,{title:w,className:b}),v[24]=b,v[25]=w,v[26]=e):e=v[26],e}case h.e.Batch:{let e;return v[27]!==b||v[28]!==w?(e=(0,t.jsx)(m.f,{title:w,className:b}),v[27]=b,v[28]=w,v[29]=e):e=v[29],e}case h.e.Standard:case h.e.All:default:return null}}],251142)},117686,e=>{"use strict";var t=e.i(615199);e.i(707060);var i=e.i(387086);let n={[t.$.Age18Plus]:{label:(0,i.b)("18+ age confirmation"),statement:(0,i.b)("I confirm that I am 18 years of age or older."),organizationStatement:(0,i.b)("Confirm that all users in this organization meet the 18+ age requirement.")},[t.$.PrivilegedModelAccess]:{label:(0,i.b)("Privileged model access approval"),statement:(0,i.b)("This account is approved by OpenRouter to use privileged models."),organizationStatement:(0,i.b)("This organization is approved by OpenRouter to use privileged models.")}};e.s(["f",0,n])},916998,277582,e=>{"use strict";var t=e.i(659350),i=e.i(663456);function n(e){return"number"==typeof e&&e>0&&e<1}function r(e){return`${Math.round(100*e)}% off`}e.s(["m",0,r,"i",0,n],277582);var s=e.i(136562),a=e.i(233452);e.s(["f",0,function(e){let l,o,c,d=(0,i.c)(21),{discount:u,variant:m,className:f}=e,h=void 0===m?"prominent":m;if(!n(u))return null;if("caption"===h){let e,i,n;return d[0]!==f?(e=(0,s.f)("shrink-0 text-caption font-medium text-positive-text",f),d[0]=f,d[1]=e):e=d[1],d[2]!==u?(i=r(u),d[2]=u,d[3]=i):i=d[3],d[4]!==e||d[5]!==i?(n=(0,t.jsx)("span",{className:e,children:i}),d[4]=e,d[5]=i,d[6]=n):n=d[6],n}if("subdued"===h){let e,i,n;return d[7]!==f?(e=(0,s.f)("shrink-0 text-xs font-medium text-positive-text",f),d[7]=f,d[8]=e):e=d[8],d[9]!==u?(i=r(u),d[9]=u,d[10]=i):i=d[10],d[11]!==e||d[12]!==i?(n=(0,t.jsx)("span",{className:e,children:i}),d[11]=e,d[12]=i,d[13]=n):n=d[13],n}return d[14]!==f?(l=(0,s.f)("shrink-0",f),d[14]=f,d[15]=l):l=d[15],d[16]!==u?(o=r(u),d[16]=u,d[17]=o):o=d[17],d[18]!==l||d[19]!==o?(c=(0,t.jsx)(a.Badge,{variant:"positive",size:"sm",className:l,children:o}),d[18]=l,d[19]=o,d[20]=c):c=d[20],c}],916998)},939044,e=>{"use strict";var t=e.i(659350),i=e.i(663456),n=e.i(233452),r=e.i(751155);e.i(707060);var s=e.i(387086),a=e.i(919035);let l={Endpoint:"endpoint",Provider:"provider"},o={[l.Endpoint]:(0,s.b)("Covered by a business associate agreement: HIPAA traffic may route to this endpoint."),[l.Provider]:(0,s.b)("At least one of this provider's endpoints is covered by a business associate agreement. Check each model for HIPAA eligibility.")};e.s(["A",0,l,"X",0,function(e){let s,c,d,u=(0,i.c)(6),{isEligible:m,scope:f}=e,h=void 0===f?l.Endpoint:f,p=(0,a.f)();if(!m)return null;let v=o[h];return u[0]!==p||u[1]!==v?(s=p(v),u[0]=p,u[1]=v,u[2]=s):s=u[2],u[3]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)(r.TooltipNonInteractiveTrigger,{className:"inline-flex shrink-0 cursor-help",children:(0,t.jsx)(n.Badge,{variant:"info",size:"sm",children:"HIPAA"})}),u[3]=c):c=u[3],u[4]!==s?(d=(0,t.jsx)(r.Tooltip,{side:"top",content:s,children:c}),u[4]=s,u[5]=d):d=u[5],d}])},465370,e=>{"use strict";var t=e.i(659350),i=e.i(663456),n=e.i(775593),r=e.i(575731),s=e.i(136562),a=e.i(609623),l=e.i(199630),o=e.i(199168),c=e.i(272719),d=e.i(16043),u=e.i(700050);function m(e){return e.toggleModelPin}e.s(["f",0,function(e){let f,h,p,v,x,g,b,j,w,y,k,_=(0,i.c)(28),{modelSlug:N,origin:S,className:T,hoverOnly:L}=e,M=(0,o.o)(),E=(0,l.f)();_[0]!==N?(f=e=>e.pinnedModelSlugs.includes(N),_[0]=N,_[1]=f):f=_[1];let C=(0,c.f)(f),z=E&&C,P=(0,c.f)(m),[A,R]=(0,d.useState)(!1);_[2]!==z||_[3]!==N||_[4]!==S||_[5]!==P?(h=e=>{e.preventDefault(),e.stopPropagation(),z?(0,u.T)({model:N,origin:S}):(0,u.z)({model:N,origin:S}),R(!z),P(N)},_[2]=z,_[3]=N,_[4]=S,_[5]=P,_[6]=h):h=_[6];let H=h;_[7]!==M||_[8]!==z?(p=M(z?"Unpin model":"Pin model"),_[7]=M,_[8]=z,_[9]=p):p=_[9];let O=p,D=void 0!==L&&L&&"opacity-0 group-hover:opacity-100 focus-visible:opacity-100";return _[10]!==T||_[11]!==D?(v=(0,s.f)("inline-flex transition duration-fast","text-muted-foreground hover:text-foreground","aria-pressed:text-warning aria-pressed:hover:text-warning","shrink-0",D,T),_[10]=T,_[11]=D,_[12]=v):v=_[12],_[13]===Symbol.for("react.memo_cache_sentinel")?(x=()=>R(!1),g=(0,s.f)("relative inline-flex","motion-safe:data-[celebrating=true]:animate-pop","after:pointer-events-none after:absolute after:inset-0 after:rounded-full after:border after:border-warning after:opacity-0","motion-safe:data-[celebrating=true]:after:animate-burst-ring"),_[13]=x,_[14]=g):(x=_[13],g=_[14]),_[15]===Symbol.for("react.memo_cache_sentinel")?(j=(0,t.jsx)(n.f,{className:"size-3.5"}),b=(0,t.jsx)(r.f,{className:"size-3.5"}),_[15]=b,_[16]=j):(b=_[15],j=_[16]),_[17]!==z?(w=(0,t.jsx)(a.f,{active:z,from:j,to:b}),_[17]=z,_[18]=w):w=_[18],_[19]!==A||_[20]!==w?(y=(0,t.jsx)("span",{"data-celebrating":A,onAnimationEnd:x,className:g,children:w}),_[19]=A,_[20]=w,_[21]=y):y=_[21],_[22]!==H||_[23]!==z||_[24]!==O||_[25]!==y||_[26]!==v?(k=(0,t.jsx)("button",{type:"button",onClick:H,title:O,"aria-label":O,"aria-pressed":z,className:v,children:y}),_[22]=H,_[23]=z,_[24]=O,_[25]=y,_[26]=v,_[27]=k):k=_[27],k}])}]); //# sourceMappingURL=1l9ns8oxdt44l.js.map