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,{Q:function(){return j}});var o=i(85893),r=i(67294),n=i(35480),l=i(27361),a=i.n(l),s=i(82029),d=i(46916),c=i(71312),u=i(98388),p=i(2416);let m=n.ZP.button.withConfig({componentId:"sc-a6a6b152-0"})(["display:flex;flex-direction:column;gap:16px;width:100%;min-width:0;aspect-ratio:171 / 242;padding:16px;border-radius:var(--border-radius-4);background:",";border:1px solid transparent;text-align:start;transition:border-color 0.2s ease,box-shadow 0.2s ease;@media (min-width:768px){aspect-ratio:219 / 296;}@media (hover:hover){&:hover{border-color:",";box-shadow:0 0 15px ",";}}"],e=>{let{$variant:t}=e;return"app"===t?"var(--studio-app-card-bg)":"var(--studio-tool-card-bg)"},e=>{let{$variant:t}=e;return"app"===t?"var(--studio-app-card-border-hover)":"var(--studio-tool-card-border-hover)"},e=>{let{$variant:t}=e;return"app"===t?"var(--studio-app-card-border-hover)":"var(--studio-tool-card-border-hover)"}),v=(e,t)=>{var i,o,r,n,l,s;return e.supToolImage?e.supToolImage:a()(null===(i=e.image)||void 0===i?void 0:i.dark,t,null===(r=e.image)||void 0===r?void 0:null===(o=r.dark)||void 0===o?void 0:o.en)||a()(null===(n=e.image)||void 0===n?void 0:n.light,t,null===(s=e.image)||void 0===s?void 0:null===(l=s.light)||void 0===l?void 0:l.en)||""},h=(e,t)=>{let i=e.landingToolId||"",o=i in c.h7?c.h7[i]:void 0;if(o){var r,n;return{imageUrl:o.src,videoUrl:o.videoSrc,objectFit:null!==(r=o.objectFit)&&void 0!==r?r:"cover",objectPosition:null!==(n=o.objectPosition)&&void 0!==n?n:"center center"}}return{imageUrl:v(e,t),videoUrl:e.videoUrl,objectFit:"cover",objectPosition:"center center"}},x=e=>"contain"===e?"object-contain":"object-cover",f=(e,t,i)=>{if("app"===t){var o;return a()(e.shortDescription,i,(null===(o=e.shortDescription)||void 0===o?void 0:o.en)||e.description.en)}return a()(e.description,i,e.description.en)},b="relative aspect-square w-full shrink-0 overflow-hidden rounded-[16px] bg-[rgba(255,255,255,0.03)] md:aspect-auto md:min-h-0 md:flex-1",g=r.memo(e=>{let{title:t,imageUrl:i,videoUrl:n,objectFit:l="cover",objectPosition:a="center center"}=e,d=(0,r.useRef)(null),c=(0,r.useRef)(null),[m,v]=(0,r.useState)(!1),[h,f]=(0,r.useState)(!1),g=x(l),j={objectPosition:a};(0,r.useEffect)(()=>{if(!n)return;let e=d.current;if(!e)return;let t=new IntersectionObserver(e=>{let[i]=e;i.isIntersecting&&(v(!0),t.disconnect())},{rootMargin:"100px",threshold:0});return t.observe(e),()=>t.disconnect()},[n]);let{play:w}=(0,p.W)(c,{autoplayTimeout:300,threshold:.25,pauseOnExit:!0,enableAutoplay:!!(n&&m),rootMargin:"50px"});return((0,r.useEffect)(()=>{m&&h&&w()},[m,h,w]),n)?(0,o.jsxs)("div",{ref:d,className:b,children:[i&&!h?(0,o.jsx)("img",{src:i,alt:"",role:"presentation",loading:"lazy",decoding:"async",className:(0,u.m6)("absolute inset-0 size-full",g),style:j}):null,m?(0,o.jsx)("video",{ref:c,src:n,poster:i||void 0,muted:!0,loop:!0,playsInline:!0,preload:m?"metadata":"none","aria-label":t,className:(0,u.m6)("absolute inset-0 size-full transition-opacity duration-250",g,h?"opacity-100":"opacity-0"),style:j,onLoadedData:()=>f(!0),onCanPlay:()=>f(!0),onError:()=>f(!1)}):null]}):(0,o.jsx)("div",{className:b,children:i?(0,o.jsx)(s.Z,{src:i,alt:t,className:(0,u.m6)("size-full",g),style:j,fallbackElement:(0,o.jsx)("div",{className:"size-full bg-[rgba(255,255,255,0.03)]"}),observerOptions:{threshold:.1}}):(0,o.jsx)("div",{className:"size-full bg-[rgba(255,255,255,0.03)]"})})});g.displayName="ListingCardMedia";let j="grid w-full grid-cols-2 gap-4 md:grid-cols-[repeat(auto-fill,minmax(min(100%,219px),1fr))] md:gap-6";t.Z=e=>{let{tool:t,variant:i,onClick:r,className:n}=e,l=(0,d.Z)(),s=a()(t.title,l,t.title.en),c=f(t,i,l),p=h(t,l);return(0,o.jsxs)(m,{type:"button",$variant:i,onClick:r,className:(0,u.m6)("min-w-0",n),children:[(0,o.jsx)(g,{title:s,imageUrl:p.imageUrl,videoUrl:p.videoUrl,objectFit:p.objectFit,objectPosition:p.objectPosition}),(0,o.jsxs)("div",{className:"flex w-full shrink-0 flex-col gap-1",children:[(0,o.jsx)("p",{className:"text-sm font-medium text-custom-white",children:s}),(0,o.jsx)("p",{className:"line-clamp-2 text-[10px] font-medium leading-normal text-t-shade-2 md:text-xs",children:c})]})]})}},84999:function(e,t,i){"use strict";var o=i(85893);
1i(67294),i(35480).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,o.jsx)("div",{className:"py-b h-full flex flex-col gap-4 w-full",style:null==e?void 0:e.style,children:e.children})},86893:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return v},default:function(){return h}});var o=i(85893),r=i(67294),n=i(84999),l=i(27361),a=i.n(l),s=i(25310),d=i(38882),c=i(87370),u=i(65319),p=()=>{let{handleClick:e}=(0,s.Z)({entryPoint:d.LK.APPS}),t=r.useMemo(()=>(0,c.C6)(),[]);return(0,o.jsx)("div",{className:u.Q,children:t.map(t=>(0,o.jsx)(u.Z,{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||a()(t.title,"en")))})},m=i(87251),v=!0,h=()=>{let e=(0,m.Z)("studio.main.home");return(0,o.jsx)(n.Z,{children:(0,o.jsxs)("div",{className:"flex flex-col gap-4 p-4 pb-4 md:gap-6 md:p-0",children:[(0,o.jsx)("h1",{className:"text-sm font-medium text-custom-white md:hidden",children:e.appsTitle}),(0,o.jsx)(p,{})]})})}}},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.