PageSourceSearch

https://bith.ai/_next/static/chunks/pages/apps-76fb97468829635e.js

js bith.ai collected 2026-10-05 11:52:47 UTC 5,994 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[80705],{81776:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/apps",function(){return i(86893)}])},65319:function(e,t,i){"use strict";i.d(t,{Qw:function(){return p},wM:function(){return m}});var n=i(85893);i(67294);var o=i(5405),l=i(27361),r=i.n(l),s=i(46916),a=i(89366),d=i(98388),c=i(79194);let u=o.ZP.button.withConfig({componentId:"sc-93d70ced-0"})(["display:flex;flex-direction:column;gap:16px;width:100%;min-width:0;aspect-ratio:171 / 242;padding:16px;text-align:start;cursor:pointer;@media (min-width:768px){aspect-ratio:219 / 296;}"]),m=(e,t,i)=>{if("app"===t){var n;return r()(e.shortDescription,i,(null===(n=e.shortDescription)||void 0===n?void 0:n.en)||e.description.en)}return r()(e.description,i,e.description.en)},p="grid w-full grid-cols-2 gap-4 md:grid-cols-[repeat(auto-fill,minmax(min(100%,219px),1fr))] md:gap-6";t.ZP=e=>{let{tool:t,variant:i,onClick:o,className:l}=e,p=(0,s.Z)(),v=r()(t.title,p,t.title.en),f=m(t,i,p),h=(0,a.g)(t,p,{useHeroVideo:!0});return(0,n.jsxs)(u,{type:"button",onClick:o,className:(0,d.m6)("studio-glass-card studio-home-card min-w-0",l),children:[(0,n.jsx)("span",{className:"studio-home-card-backdrop","aria-hidden":!0}),(0,n.jsxs)("div",{className:"studio-home-card-body flex h-full min-h-0 flex-col gap-4",children:[(0,n.jsx)(c.Z,{title:v,imageUrl:h.imageUrl,videoUrl:h.videoUrl,objectFit:h.objectFit,objectPosition:h.objectPosition,className:(0,d.m6)("aspect-square w-full shrink-0 rounded-[16px] md:aspect-auto md:min-h-0 md:flex-1","studio-home-card-media")}),(0,n.jsxs)("div",{className:"flex w-full shrink-0 flex-col gap-1",children:[(0,n.jsx)("p",{className:"text-sm font-medium text-custom-white",children:v}),(0,n.jsx)("p",{className:"line-clamp-2 min-h-[3em] text-[10px] font-medium leading-normal text-t-shade-2 md:text-xs",children:f||"\xa0"})]})]})]})}},79194:function(e,t,i){"use strict";var n=i(85893),o=i(67294),l=i(98388),r=i(2416);let s=e=>"contain"===e?"object-contain":"object-cover",a=o.memo(e=>{let{title:t,imageUrl:i,videoUrl:a,objectFit:d="cover",objectPosition:c="center center",className:u,enableVideo:m=!0}=e,p=(0,o.useRef)(null),v=(0,o.useRef)(null),[f,h]=(0,o.useState)(!1),[x,g]=(0,o.useState)(!1),[b,j]=(0,o.useState)(!1),w=s(d),y={objectPosition:c},N=!!(a&&m&&!b),P=(0,l.m6)("relative overflow-hidden bg-[rgba(255,255,255,0.03)]",u);(0,o.useEffect)(()=>{if(!window.matchMedia)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=()=>j(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,o.useEffect)(()=>{if(!N)return;let e=p.current;if(!e)return;let t=new IntersectionObserver(e=>{let[i]=e;i.isIntersecting&&(h(!0),t.disconnect())},{rootMargin:"100px",threshold:0});return t.observe(e),()=>t.disconnect()},[N]);let{play:k,pause:_}=(0,r.W)(v,{autoplayTimeout:300,threshold:.25,pauseOnExit:!0,enableAutoplay:!!(N&&f),rootMargin:"50px"});return((0,o.useEffect)(()=>{if(!f||!x||!N){_();return}k()},[f,x,N,k,_]),N)?(0,n.jsxs)("div",{ref:p,className:P,children:[i&&!x?(0,n.jsx)("img",{src:i,alt:"",role:"presentation",loading:"lazy",decoding:"async",className:(0,l.m6)("absolute inset-0 size-full",w),style:y}):null,f?(0,n.jsx)("video",{ref:v,src:a,poster:i||void 0,muted:!0,loop:!0,playsInline:!0,autoPlay:!0,preload:"auto","aria-label":t,className:(0,l.m6)("absolute inset-0 size-full transition-opacity duration-250",w,x?"opacity-100":"opacity-0"),style:y,onLoadedData:()=>g(!0),onCanPlay:()=>g(!0),onError:()=>g(!1)}):null]}):(0,n.jsx)("div",{className:P,children:i?(0,n.jsx)("img",{src:i,alt:t,loading:"lazy",decoding:"async",className:(0,l.m6)("size-full",w),style:y}):(0,n.jsx)("div",{className:"size-full bg-[rgba(255,255,255,0.03)]"})})});a.displayName="StudioPreviewMedia",t.Z=a},84999:function(e,t,i){"use strict";var n=i(85893);i(67294),i(5405).ZP.div.withConfig({componentId:"sc-1487c4db-0"})(["display :none;@media (max-width:700px){position:sticky;top:20px;z-index:12;display:block;}"]),t.Z=e=>(0,n.jsx)("div",{className:"py-b h-full flex flex-col gap-4 w-full",style:null==e?void 0:e.style,children:e.children})},89366:function(e,t,i){"use strict";i.d(t,{g:function(){return s}});var n=i(71312),o=i(27361),l=i.n(o);let r=(e,t)=>{var i,n,o,r,s,a;return l()(null===(i=e.image)||void 0===i?void 0:i.dark,t,null===(o=e.image)||void 0===o?void 0:null===(n=o.dark)||void 0===n?void 0:n.en)||l()(null===(r=e.image)||void 0===r?void 0:r.light,t,null===(a=e.image)||void 0===a?void 0:null===(s=a.light)||void 0===s?void 0:s.en)||e.supToolImage||""},s=(e,t,i)=>{let o=e.landingToolId||"",l=o in n.h7?n.h7[o]:void 0,s=e.videoUrl||(null==l?void 0:l.videoSrc);if((null==i?void 0:i.useHeroVideo)&&l){var a,d;return{imageUrl:l.src,videoUrl:l.videoSrc||e.videoUrl,objectFit:null!==(a=l.objectFit)&&void 0!==a?a:"cover",objectPosition:null!==(d=l.objectPosition)&&void 0!==d?d:"center center"}}return{imageUrl:r(e,t)||(null==l?void 0:l.src)||"",videoUrl:s,objectFit:"cover",objectPosition:"center center"}}},86893:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return v},default:function(){return f}});var n=i(85893),o=i(67294),l=i(84999),r=i(27361),s=i.n(r),a=i(25310),d=i(38882),c=i(7e3),u=i(65319),m=()=>{let{handleClick:e}=(0,a.Z)({entryPoint:d.LK.APPS}),t=o.useMemo(()=>(0,c.C6)(),[]);return(0,n.jsx)("div",{className:u.Qw,children:t.map(t=>(0,n.jsx)(u.ZP,{tool:t,variant:"app",onClick:()=>{var i;return e({action:t.action,tool:{...t,link:(null===(i=t.link)||void 0===i?void 0:i.startsWith("/template/"))?"".concat(t.link,"?rt=/apps"):t.link}})}},t.landingToolId||s()(t.title,"en")))})},p=i(87251),v=!0,f=()=>{let e=(0,p.Z)("studio.main.home");return(0,n.jsx)(l.Z,{children:(0,n.jsxs)("div",{className:"flex flex-col gap-4 p-4 pb-4 md:gap-6 md:p-0",children:[(0,n.jsx)("h1",{className:"text-sm font-medium text-custom-white md:hidden",children:e.appsTitle}),(0,n.jsx)(m,{})]})})}}},function(e){e.O(0,[92888,49774,40179],function(){return e(e.s=81776)}),_N_E=e.O()}]);

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.