PageSourceSearch

https://emoda.com/_next/static/chunks/0kutzv-qya4oj.js?dpl=dpl_AY65b3AftwCZM3eqwqraM8KRQH3F

js emoda.com collected 2026-10-03 22:38:02 UTC 29,066 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,708338,e=>{"use strict";e.s(["shouldPlayHeroVideo",0,function(e){return!e.reducedMotion&&!e.saveData&&"2g"!==e.effectiveType&&"slow-2g"!==e.effectiveType}])},399920,(e,t,r)=>{t.exports={hash:"758d16cd14-185fdf0431-d133b669fa",av1:"loop.758d16cd14.av1.webm",h264:"loop.185fdf0431.h264.mp4",poster:"loop.d133b669fa.poster.jpg",posterWebP:"loop.d133b669fa.poster.webp",duration:50.8,cuts:9,encodedAt:"2026-06-01T17:32:26.450Z"}},804013,e=>{"use strict";var t=e.i(435368),r=e.i(611599),l=e.i(334370),a=e.i(708338),s=e.i(399920);let n="data:image/svg+xml;utf8,"+encodeURIComponent('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 9"><rect width="16" height="9" fill="#0a0f1a"/></svg>');function i({className:e="sh-hero__video",assets:o,preloadPoster:d=!1}){let c=r.useRef(null),[u,h]=r.useState(!1),[f,m]=r.useState(!1),p=o??{av1:s.default.av1,h264:s.default.h264,poster:s.default.poster,posterWebP:s.default.posterWebP??null},g="string"==typeof p.av1&&"string"==typeof p.h264&&"string"==typeof p.poster,_=g?p.posterWebP?`/hero/${p.posterWebP}`:`/hero/${p.poster}`:n,w=g&&p.posterWebP?"image/webp":"image/jpeg",v=g?`/hero/${p.av1}`:null,b=g?`/hero/${p.h264}`:null;return g&&d&&(0,l.preload)(_,{as:"image",fetchPriority:"high",type:w}),r.useEffect(()=>{let e;if(!g||f)return;let t=c.current;if(!t)return;let r="function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,l=navigator.connection??{},s=!!l.saveData,n=l.effectiveType??null;if(!(0,a.shouldPlayHeroVideo)({reducedMotion:r,saveData:s,effectiveType:n}))return;let i=window.requestIdleCallback,o=null,d=!1;e=()=>{if(!d){try{t.load(),h(!0)}catch{m(!0);return}(o=new IntersectionObserver(([e])=>{e&&(e.isIntersecting&&e.intersectionRatio>=.25?t.play().catch(()=>{}):t.pause())},{threshold:[0,.25,.75]})).observe(t)}},"function"==typeof i?i(e):window.setTimeout(e,1e3);let u=()=>{document.hidden&&t.pause()};return document.addEventListener("visibilitychange",u),()=>{d=!0,o?.disconnect(),document.removeEventListener("visibilitychange",u)}},[g,f]),(0,t.jsxs)("video",{ref:c,className:e,poster:_,muted:!0,playsInline:!0,loop:!0,preload:"none","aria-hidden":"true","data-ready":u?"1":"0",onError:()=>m(!0),children:[v?(0,t.jsx)("source",{src:v,type:'video/webm; codecs="av01.0.05M.08"'}):null,b?(0,t.jsx)("source",{src:b,type:"video/mp4"}):null]})}e.s(["HeroVideo",0,i,"default",0,i])},632629,e=>{"use strict";var t=e.i(435368),r=e.i(611599);e.s(["LccTooltip",0,function({feature:e,tooltip:l}){let[a,s]=(0,r.useState)(!1),[n,i]=(0,r.useState)(null),o=(0,r.useRef)(null),d=(0,r.useRef)(null),c=(0,r.useRef)(0);function u(){if(!d.current)return;let e=d.current.getBoundingClientRect(),t=e.left+e.width/2-130;t<8&&(t=8),t+260>window.innerWidth-8&&(t=window.innerWidth-8-260),i({top:e.top-8,left:t})}return(0,r.useEffect)(()=>{if(a)return u(),window.addEventListener("scroll",u,{passive:!0,capture:!0}),window.addEventListener("resize",u,{passive:!0}),()=>{window.removeEventListener("scroll",u,{capture:!0}),window.removeEventListener("resize",u)}},[a]),(0,r.useEffect)(()=>{if(a)return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)};function e(e){o.current?.contains(e.target)||s(!1)}function t(e){"Escape"===e.key&&s(!1)}},[a]),(0,t.jsxs)("span",{ref:o,style:{position:"relative",display:"inline-flex",alignItems:"center",gap:5},children:[e,(0,t.jsx)("button",{ref:d,type:"button","aria-label":`What does "${e}" mean?`,"aria-expanded":a,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),onFocus:()=>{c.current=Date.now(),s(!0)},onBlur:()=>s(!1),onClick:e=>{e.preventDefault(),e.stopPropagation(),Date.now()-c.current<50||s(e=>!e)},style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:14,height:14,borderRadius:"50%",border:"1px solid rgba(255,255,255,0.3)",fontStyle:"normal",fontSize:9,fontWeight:700,color:"rgba(255,255,255,0.45)",cursor:"default",flexShrink:0,lineHeight:1,background:"transparent",padding:0},children:"i"}),a&&n&&(0,t.jsx)("span",{role:"tooltip",style:{position:"fixed",zIndex:9999,top:n.top,left
1:n.left,transform:"translateY(-100%)",width:260,maxWidth:"calc(100vw - 16px)",background:"#1e1e1e",border:"1px solid rgba(255,255,255,0.12)",borderRadius:7,padding:"10px 13px",fontSize:12,fontWeight:400,lineHeight:1.55,color:"rgba(255,255,255,0.75)",boxShadow:"0 4px 16px rgba(0,0,0,0.45)",pointerEvents:"none",whiteSpace:"normal"},children:l})]})}])},501038,e=>{"use strict";var t=e.i(435368),r=e.i(611599),l=e.i(334370),a=e.i(604472),s=e.i(375679),n=e.i(258634);let i=(0,r.lazy)(()=>e.A(788956).then(e=>({default:e.DemoImmersiveViewer})));e.s(["DemoGalleryController",0,function({industries:e,features:o,tiers:d,totalCount:c,pagesMap:u}){let[h,f]=(0,r.useState)("all"),[m,p]=(0,r.useState)("all"),[g,_]=(0,r.useState)("all"),[w,v]=(0,r.useState)(""),[b,x]=(0,r.useState)(!1),[y,j]=(0,r.useState)(c),[k,S]=(0,r.useState)(!1),[C,L]=(0,r.useState)(!1),[N,E]=(0,r.useState)(!1),[A,R]=(0,r.useState)(null),[M,I]=(0,r.useState)(null),[W,F]=(0,r.useState)([]),T=(0,r.useRef)([]),[q,B]=(0,r.useState)(!1);(0,r.useEffect)(()=>B(!0),[]);let H=r.default.useMemo(()=>Object.fromEntries(o.map(e=>[e.slug,e.count])),[o]),D=r.default.useMemo(()=>Object.fromEntries(e.map(e=>[e.slug,e.count])),[e]),P="all"!==h||"all"!==m||"all"!==g||""!==w.trim(),$=(0,r.useCallback)((t,r,l,s)=>{let n=document.querySelector("[data-gallery-wrap]");if(!n)return;let i="all"!==t,u="all"!==r,h="all"!==l,f=s.trim().length>0,m=!1;if(f){let e=n.querySelectorAll("[data-demo-card]"),t=!1;for(let r of Array.from(e))if((0,a.matchesSearchBag)(r.dataset.demoSearch??"",s)){t=!0;break}m=!t}let p=i||u||h,g=e.find(e=>e.slug===t)?.label??"",_=o.find(e=>e.slug===r)?.label??"",w=d.find(e=>e.slug===l)?.label??"";n.dataset.galleryView="carousels";let v=n.querySelectorAll(".ld__cat-section[data-cat-slug]"),b=0,y=new Set;v.forEach(e=>{let n=e.dataset.catSlug??"";if(i&&n!==t){e.classList.add("ld__cat-section--hidden"),e.querySelectorAll("[data-demo-card]").forEach(e=>{(e.closest(".ld__cf-card-shell")??e).classList.remove("ld__card--hidden")});return}e.classList.remove("ld__cat-section--hidden");let o=e.querySelectorAll("[data-demo-card]"),d=0;o.forEach(e=>{let t=e.closest(".ld__cf-card-shell")??e,n=e.dataset.demoSlug??"",i=e.dataset.demoTier??"",o=!h||i===l,c=!u||(e.dataset.demoFeatures??"").split(" ").includes(r),p=!f||(0,a.matchesSearchBag)(e.dataset.demoSearch??"",s,{fuzzy:m});o&&c&&p?(t.classList.remove("ld__card--hidden"),d++,!y.has(n)&&(y.add(n),b++)):t.classList.add("ld__card--hidden")}),(u||h||f)&&0===d?e.classList.add("ld__cat-section--hidden"):u||h||f||(b+=d)});let k=f&&!i&&!u&&!h&&0===b;if(k?(v.forEach(e=>{e.classList.remove("ld__cat-section--hidden"),e.querySelectorAll("[data-demo-card]").forEach(e=>{(e.closest(".ld__cf-card-shell")??e).classList.remove("ld__card--hidden")})}),x(!0)):x(!1),p&&!k){let e=n.querySelector(".ld__cat-section:not(.ld__cat-section--hidden
1)");e&&requestAnimationFrame(()=>{e.scrollIntoView({behavior:"smooth",block:"start"})})}let S=k?c:p||f?b:c;j(S);let C=n.querySelector(".ld__just-added");C&&C.classList.toggle("ld__just-added--hidden",p||f);let L=p&&0===S;if(n.classList.toggle("ld__gallery-wrap--empty",L),L){let e=[];i&&g&&e.push(`Industry: ${g}`),u&&_&&e.push(`Feature: ${_}`),h&&w&&e.push(`Package: ${w}`);let t=n.querySelector(".ld__gallery-empty-chip");t&&(t.textContent=e.join(" · "))}},[c,o,e,d]);(0,r.useEffect)(()=>{$(h,m,g,w)},[h,m,g,w,$]);let z=(0,r.useRef)(null),O=(0,r.useRef)(null);(0,r.useEffect)(()=>{z.current&&(clearTimeout(z.current),z.current=null);let e=w.trim();if(0!==e.length)return z.current=setTimeout(()=>{let t=e.toLowerCase().slice(0,100);if(!(0===t.length||/@/.test(t)||/\d{7,}/.test(t))&&O.current!==t){O.current=t,(0,s.track)("demos_search",{query:t,query_length:t.length,result_count:y,no_matches:b});try{fetch("/api/demo-search/log",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:t,resultCount:y,noMatches:b}),keepalive:!0})}catch{}}},800),()=>{z.current&&(clearTimeout(z.current),z.current=null)}},[w,y,b]);let V=(0,r.useCallback)(()=>{f("all"),p("all"),_("all"),v("")},[]);(0,r.useEffect)(()=>{let e=e=>{let t=e.target;t&&t.closest?.("[data-gallery-empty-clear]")&&(e.preventDefault(),V())};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[V]);let Z=e=>{p(e),"all"!==e&&f("all")},G=e=>{f(e),"all"!==e&&p("all")},K=e=>{_(e)},U=(0,r.useCallback)(()=>{var e;if(T.current.length>0)return T.current;let t=(0,n.toSlides)((e=document.querySelector("[data-gallery-wrap]"))?Array.from(e.querySelectorAll("[data-demo-card]")).map(e=>{let t=e.closest("[data-cat-slug]"),r=e.querySelector(".ld__card-demo-link"),l=e.querySelector(".ld__card-title"),a=e.querySelector(".ld__card-meta span");return{slug:e.dataset.demoSlug??"",brand:e.getAttribute("aria-label")??l?.textContent??"",vertical:a?.textContent??"",tier:e.dataset.demoTier??"",features:e.dataset.demoFeatures??"",search:e.dataset.demoSearch??"",href:r?.href??"",category:t?.dataset.catSlug??""}}):[]);return T.current=t,F(t),t},[]),Y=(0,r.useCallback)((e,t)=>{let r=U(),l=e&&r.some(t=>t.slug===e)?e:null;if(R(l),I(l?t?.page??null:null),E(!0),t?.pushHash!==!1){let e=l?(0,n.immersiveHash)(l):"#immersive";window.history.pushState(null,"",e)}(0,s.track)("demos_immersive_open",{slug:l??"",count:r.length})},[U]),J=(0,r.useCallback)(()=>{E(!1),R(null),I(null),(0,n.isImmersiveHash)(window.location.hash)&&window.history.pushState(null,"",window.location.pathname+window.location.search)},[]),Q=(0,r.useCallback)((e,t)=>{R(e);let r=(0,n.immersiveHash)(e,t);window.location.hash!==r&&window.history.replaceState(null,"",r)},[]);(0,r.useEffect)(()=>{let e=(0,n.parseImmersiveHash)(window.location.hash),t=(0,n.parseImmersivePageHash)(window.location.hash);e?Y(e,{pushHash:!1,page:t}):(0,n.isImmersiveHash)(window.location.hash)&&Y(null,{pushHash:!1})},[]),(0,r.useEffect)(()=>{let e=()=>{let e=(0,n.parseImmersiveHash)(window.location.hash);e?Y(e,{pushHash:!1,page:(0,n.parseImmersivePageHash)(window.location.hash)}):(0,n.isImmersiveHash)(window.location.hash)?Y(null,{pushHash:!1}):(E(!1),R(null),I(null))};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[Y]);let X=(0,r.useCallback)(e=>{void 0!==e.industry&&f(e.industry),void 0!==e.feature&&p(e.feature),void 0!==e.tier&&_(e.tier),void 0!==e.search&&v(e.search)},[]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"ld__gallery-launch",children:(0,t.jsxs)("button",{type:"button",className:"ld__dgc-immersive","aria-label":"Browse demos full screen",onClick:()=>Y(null),children:[(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M1.5 5V1.5H5M9 1.5h3.5V5M12.5 9v3.5H9M5 12.5H1.5V9",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})}),"Full-screen view"]})}),(0,t.jsx)("aside",{className:"ld__gallery-sidebar",children:(0,t.jsxs)("div",{className:"ld__dgc",role:"search","aria-label":"Filter demos",children:[(0,t.jsxs)("div",{className:"ld__dgc-search",children:[(0,t.jsxs)("div",{className:"ld__dgc-search-row",children:[(0,t.jsx)("input",{type:"text",role:"searchbox","aria-label":"Search industries",placeholder:"Try 'dentist' or 'roofer'…",className:"ld__dgc-search-input",value:w,onChange:e=>v(e.target.value),onKeyDown:e=>{"Escape"===e.key&&v("")}}),""!==w&&(0,t.jsx)("button",{type:"button",className:"ld__dgc-search-clear","aria-label":"Clear search",onClick:()=>v(""),children:"×"})]}),b&&(0,t.jsxs)("div",{className:"ld__dgc-search-notice",role:"status",children:["No matches for ‘",w.trim(),"’. Showing all demos."]})]}),(0,t.jsxs)("div",{className:"ld__dgc-group",children:[(0,t.jsx)("div",{className:"ld__dgc-group-label",children:"Package"}),(0,t.jsx)("button",{type:"button",className:"ld__dgc-item","aria-pressed":"all"===g,onClick:()=>K("all"),children:"All packages"}),d.map(e=>(0,t.jsxs)("button",{type:"button",className:"ld__dgc-item","aria-pressed":g===e.slug,onClick:()=>K(e.slug),children:[e.label,(0,t.jsx)("span",{className:"ld__dgc-item-count",children:e.count})]},e.slug))]}),(0,t.jsxs)("div",{className:"ld__dgc-group ld__dgc-group--industry"+(q&&!C?" ld__dgc-group--clamped":""),children:[(0,t.jsx)("div",{className:"ld__dgc-group-label",children:"Industry"}),(0,t.jsxs)("div",{className:"ld__dgc-industry-items",children:[(0,t.jsx)("button",{type:"button",className:"ld__dgc-item","aria-pressed":"all"===h,onClick:()=>G("all"),children:"All"}),e.map(e=>(0,t.jsxs)("button",{type:"button",className:"ld__dgc-item","aria-pressed":h===e.slug,onClick:()=>G(e.slug),children:[e.label,(0,t.jsx)("span",{className:"ld__dgc-item-count",children:D[e.slug]??e.count})]},e.slug))]}),q&&(0,t.jsx)("button",{type:"button",className:"ld__dgc-industry-more","aria-expanded":C,onClick:()=>L(e=>!e),children:C?"Show fewer":`Show all ${e.length} industries`})]}),(0,t.jsxs)("div",{className:"ld__dgc-group ld__dgc-group--features",children:[(0,t.jsxs)("button",{type:"button",className:"ld__dgc-feature-toggle","aria-expanded":k,onClick:()=>S(e=>!e),children:[(0,t.jsx)("span",{children:"Filter by feature"}),(0,t.jsx)("svg",{className:`ld__dgc-feature-chevron${k?" ld__dgc-feature-chevron--open":""}`,width:"12",height:"12",viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M2 4l4 4 4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}
1),k&&(0,t.jsxs)("div",{className:"ld__dgc-feature-items",children:[(0,t.jsx)("button",{type:"button",className:"ld__dgc-item","aria-pressed":"all"===m,onClick:()=>Z("all"),children:"All features"}),o.map(e=>(0,t.jsxs)("button",{type:"button",className:"ld__dgc-item","aria-pressed":m===e.slug,onClick:()=>Z(e.slug),children:[e.label,(0,t.jsx)("span",{className:"ld__dgc-item-count",children:H[e.slug]??e.count})]},e.slug))]})]}),(0,t.jsxs)("div",{className:"ld__dgc-status",children:[(0,t.jsx)("span",{className:"ld__dgc-count",children:P?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("strong",{children:y}),(0,t.jsxs)("span",{children:[" of ",c," demos"]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("strong",{children:c}),(0,t.jsx)("span",{children:" demos"})]})}),P&&(0,t.jsx)("button",{type:"button",className:"ld__dgc-clear",onClick:V,"aria-label":"Clear all filters",children:"Clear ✕"})]})]})}),q&&N?(0,l.createPortal)((0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(i,{slides:W,industries:e,tiers:d,filters:{industry:h,feature:m,tier:g,search:w},onFilterChange:X,onClose:J,initialSlug:A,initialPagePath:M,pagesMap:u,onActiveSlugChange:Q})}),document.body):null]})}],501038)},241305,e=>{"use strict";var t=e.i(435368),r=e.i(611599);e.s(["DemoGalleryVisibilityToggle",0,function(){let[e,l]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{let t=document.querySelector("[data-gallery-layout]");t&&(e?delete t.dataset.filtersHidden:t.dataset.filtersHidden="")},[e]),(0,t.jsxs)("button",{type:"button",className:"ld__gallery-filter-toggle",onClick:()=>l(e=>!e),"aria-label":e?"Hide filters":"Show filters",children:[(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M1 3h12M3 7h8M5 11h4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})}),e?"Hide filters":"Filters"]})}])},696632,e=>{"use strict";var t=e.i(435368),r=e.i(611599);e.s(["DemoCoverflowRail",0,function({children:e}){let l=(0,r.useRef)(null),a=(0,r.useRef)(null),s=(0,r.useRef)(null),n=(0,r.useRef)(null),i=(0,r.useRef)(null),o=(0,r.useRef)(null),d=(0,r.useRef)(!1),c=(0,r.useRef)(-1),[u,h]=(0,r.useState)(null),[f,m]=(0,r.useState)(()=>r.default.Children.count(e)),[p,g]=(0,r.useState)(0),[_,w]=(0,r.useState)(!1),v=(0,r.useCallback)(()=>{let e=l.current;if(!e)return;let{scrollLeft:t,scrollWidth:r,clientWidth:a}=e,s=t>4,o=t<r-a-4,d=n.current,c=i.current;d&&(d.classList.toggle("ld__cat-arrow--hidden",!s),d.tabIndex=s?0:-1),c&&(c.classList.toggle("ld__cat-arrow--hidden",!o),c.tabIndex=o?0:-1)},[]),b=(0,r.useCallback)(()=>{let e=a.current;e&&m(e.querySelectorAll(".ld__cf-card-shell:not(.ld__card--hidden)").length)},[]),x=(0,r.useCallback)(()=>{let e=l.current,t=a.current;if(!e||!t)return;let r=t.querySelectorAll(".ld__cf-card-shell:not(.ld__card--hidden)");if(0===r.length)return;let s=e.getBoundingClientRect(),n=s.left+s.width/2,i=0,o=1/0;r.forEach((e,t)=>{let r=e.getBoundingClientRect(),l=Math.abs(r.left+r.width/2-n);l<o&&(o=l,i=t)}),g(i)},[]);(0,r.useEffect)(()=>{p>0&&!_&&w(!0)},[p,_]);let y=(0,r.useCallback)(()=>{let e,t=l.current,r=a.current;if(!t||!r)return;let s=Array.from(r.querySelectorAll(".ld__cf-card-shell")).filter(e=>!e.classList.contains("ld__card--hidden"));if(0===s.length)return;let n=r.getBoundingClientRect(),i=r.offsetLeft,o=t.getBoundingClientRect(),{scrollLeft:d,scrollWidth:c,clientWidth:u}=t,h=s.map(e=>{let t=e.offsetWidth;return{shell:e,center:n.left+(e.offsetLeft-i)+t/2}}),f=h.length>1?h[1].center-h[0].center:s[0].offsetWidth+20;if(!(f>0))return;let m=h[0].center,p=h[h.length-1].center,g=o.left+.5*o.width,_=.5*f,w=c-u-d;if(d<w){let t=Math.max(0,Math.min(1,1-d/_));e=g*(1-t)+m*t}else{let t=Math.max(0,Math.min(1,1-w/_));e=g*(1-t)+p*t}h.forEach(({shell:t,center:r})=>{let l,a=(r-e)/f,s=Math.abs(a),n=Number(t.dataset.cfTier??"-1");(l=0===n?s<.65?0:s<1.5?1:s<2.5?2:3:1===n?s<.35?0:s<1.65?1:s<2.5?2:3:2===n?s<1.35?1:s<2.65?2:3:3===n?s<2.35?2:3:s<.5?0:s<1.5?1:s<2.5?2:3)!==n&&(t.dataset.cfTier=String(l),t.style.setProperty("--cf-tier",String(l)));let i=a<0?"-1":"1";t.dataset.cfSign!==i&&(t.dataset.cfSign=i,t.style.setProperty("--cf-sign",i))})},[]),j=(0,r.useCallback)(()=>{null==o.current&&(o.current=requestAnimationFrame(()=>{o.current=null;let e=l.current;if(e){let t=e.scrollLeft;if(c.current>=0&&2>Math.abs(t-c.current))return void v();c.current=t}v(),u?x():d.current&&y()}))},[v,y,x,u]),k=(0,r.useCallback)(()=>{let e=l.current,t=a.current;if(!e||!t)return;let r=t.querySelectorAll(".ld__cf-card-shell:not(.ld__card--hidden
1)");if(r.length<3){e.scrollLeft=0;return}let s=e.getBoundingClientRect(),n=r[1].getBoundingClientRect(),i=n.left-s.left+n.width/2+e.scrollLeft-s.width/2;e.scrollLeft=Math.max(0,i)},[]);(0,r.useEffect)(()=>{let e=window.matchMedia("(max-width: 640px)"),t=()=>h(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,r.useLayoutEffect)(()=>{l.current&&!1===u&&(k(),v(),y())},[u,k,v,y]),(0,r.useEffect)(()=>{let e=l.current;if(!e||null===u)return;if(u){let t=requestAnimationFrame(()=>{e.scrollLeft=0,b(),v(),x()}),r=!1,l=[],s=()=>{for(let e of(r=!0,l))window.clearTimeout(e);l.length=0,n?.disconnect()},n=window.matchMedia("(prefers-reduced-motion: reduce)").matches?null:new IntersectionObserver(t=>{for(let a of t)a.isIntersecting&&!r&&(r=!0,l.push(window.setTimeout(()=>{e.scrollTo({left:40,behavior:"smooth"}),l.push(window.setTimeout(()=>{e.scrollTo({left:0,behavior:"smooth"})},420))},350)),n?.disconnect())},{root:null,threshold:.6});n?.observe(e),e.addEventListener("touchstart",s,{passive:!0}),e.addEventListener("pointerdown",s,{passive:!0});let i=()=>{v(),x()};window.addEventListener("resize",i,{passive:!0});let d=new MutationObserver(()=>{b(),v(),x()});return a.current&&d.observe(a.current,{attributes:!0,subtree:!0,attributeFilter:["class"]}),()=>{for(let r of(cancelAnimationFrame(t),null!=o.current&&cancelAnimationFrame(o.current),window.removeEventListener("resize",i),e.removeEventListener("touchstart",s),e.removeEventListener("pointerdown",s),l))window.clearTimeout(r);d.disconnect(),n?.disconnect()}}let t=()=>{v(),y()};window.addEventListener("resize",t,{passive:!0});let r=!1,n=new MutationObserver(()=>{v(),y(),r||(r=!0,requestAnimationFrame(()=>{r=!1,k(),v(),y()}))});a.current&&n.observe(a.current,{attributes:!0,subtree:!0,attributeFilter:["class"]});let i=new IntersectionObserver(e=>{for(let t of e)d.current=t.isIntersecting,s.current?.classList.toggle("ld__cf-track-wrap--in-view",t.isIntersecting),t.isIntersecting&&y()},{root:null,threshold:0,rootMargin:"100px 0px"});return i.observe(e),()=>{null!=o.current&&cancelAnimationFrame(o.current),window.removeEventListener("resize",t),n.disconnect(),i.disconnect()}},[v,y,k,u,b,x]);let S=e=>{l.current?.scrollBy({left:e,behavior:"smooth"})},C=(0,r.useCallback)(e=>{let t=l.current,r=a.current;if(!t||!r)return;let s=r.querySelectorAll(".ld__cf-card-shell:not(.ld__card--hidden)")[e];if(!s)return;let n=t.getBoundingClientRect(),i=s.getBoundingClientRect(),o=i.left-n.left+i.width/2+t.scrollLeft-n.width/2;t.scrollTo({left:Math.max(0,o),behavior:"smooth"})},[]),L=r.default.Children.map(e,(e,r)=>(0,t.jsx)("div",{className:"ld__cf-card-shell",children:e},r));return(0,t.jsxs)("div",{ref:s,className:"ld__cat-scroll-track ld__cf-track-wrap","data-cf-mode":u?"mobile":"desktop",children:[(0,t.jsx)("div",{className:"ld__cat-scroll ld__cf-track",ref:l,onScroll:j,children:(0,t.jsx)("div",{className:"ld__cat-rail ld__cf-rail",ref:a,children:L})}),(0,t.jsx)("button",{type:"button",ref:n,className:"ld__cat-arrow ld__cf-arrow ld__cat-arrow--prev ld__cat-arrow--hidden",onClick:()=>S(-480),"aria-label":"Scroll left",tabIndex:-1,children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M10 3L5 8l5 5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,t.jsx)("button",{type:"button",ref:i,className:"ld__cat-arrow ld__cf-arrow ld__cat-arrow--next ld__cat-arrow--hidden",onClick:()=>S(480),"aria-label":"Scroll right",tabIndex:-1,children:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M6 3l5 5-5 5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),u&&f>1?(0,t.jsx)("div",{className:"ld__cf-dots",role:"tablist","aria-label":"Demo navigation",children:Array.from({length:f}).map((e,r)=>(0,t.jsx)("button",{type:"button",role:"tab",className:`ld__cf-dot${r===p?" ld__cf-dot--active":""}`,"aria-label":`Go to demo ${r+1} of ${f}`,"aria-selected":r===p,onClick:()=>C(r)},r))}):null,u&&f>1?(0,t.jsxs)("div",{className:`ld__cf-swipe-hint${_?"":" ld__cf-swipe-hint--hinting"}`,children:[(0,t.jsx)("button",{type:"button",className:"ld__cf-swipe-arrow","aria-label":"Previous demo",disabled:p<=0,onClick:()=>C(p-1),children:(0,t.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M10 3L5 8l5 5",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})})}),_?(0,t.jsxs)("span",{className:"ld__cf-swipe-label","aria-hidden":"true",children:[p+1," / ",f]}
1):(0,t.jsx)("span",{className:"ld__cf-swipe-label","aria-hidden":"true",children:"Swipe to explore"}),(0,t.jsx)("button",{type:"button",className:"ld__cf-swipe-arrow","aria-label":"Next demo",disabled:p>=f-1,onClick:()=>C(p+1),children:(0,t.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M6 3l5 5-5 5",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})})})]}):null]})}])},688760,e=>{"use strict";var t=e.i(435368),r=e.i(611599);e.s(["FeaturedDemoRotator",0,function({slides:e}){let[l,a]=(0,r.useState)(0),s=(0,r.useRef)(null),n=(0,r.useRef)(!0),i=(0,r.useRef)(!1),o=t=>{a((t%e.length+e.length)%e.length)},d=()=>o(l+1),c=()=>o(l-1);(0,r.useEffect)(()=>{if(window.matchMedia?.("(prefers-reduced-motion: reduce)").matches||e.length<2)return;let t=s.current,r=null;t&&"u">typeof IntersectionObserver&&(r=new IntersectionObserver(e=>{for(let t of e)n.current=t.isIntersecting},{threshold:.1})).observe(t);let l=window.setInterval(()=>{!i.current&&n.current&&a(t=>(t+1)%e.length)},4200);return()=>{window.clearInterval(l),r?.disconnect()}},[e.length]);let u=()=>{i.current=!0},h=()=>{i.current=!1},f=e[l];return f?(0,t.jsxs)("div",{ref:s,className:"ld__featured-rotator","data-ld-reveal":!0,role:"region","aria-roledescription":"carousel","aria-label":"Featured builds",onMouseEnter:u,onMouseLeave:h,onFocus:u,onBlur:h,onKeyDown:e=>{"ArrowLeft"===e.key?(e.preventDefault(),c()):"ArrowRight"===e.key&&(e.preventDefault(),d())},children:[(0,t.jsxs)("div",{className:"ld__featured-rotator-panel",style:{background:f.gradient},children:[(0,t.jsxs)("a",{className:"ld__featured-rotator-link",href:f.href,rel:"noopener noreferrer",target:"_blank",children:[(0,t.jsx)("img",{className:"ld__featured-rotator-shot",src:`/screengrabs/${f.slug}.webp`,alt:`Screenshot of ${f.brand}, a ${f.vertical} website built on WorkspaceCMS`,loading:"eager",decoding:"async",width:1440,height:900}),(0,t.jsxs)("div",{className:"ld__featured-rotator-body",children:[(0,t.jsx)("span",{className:"ld__card-chip",style:{background:f.primary},"aria-hidden":!0}),(0,t.jsx)("span",{className:"ld__featured-rotator-vertical",children:f.vertical}),(0,t.jsx)("h3",{className:"ld__featured-rotator-brand",children:f.brand}),(0,t.jsx)("span",{className:"ld__featured-rotator-flagship",children:f.flagship})]})]}),(0,t.jsx)("button",{type:"button",className:"ld__featured-rotator-arrow ld__featured-rotator-arrow--prev","aria-label":"Previous featured build",onClick:c,children:"‹"}),(0,t.jsx)("button",{type:"button",className:"ld__featured-rotator-arrow ld__featured-rotator-arrow--next","aria-label":"Next featured build",onClick:d,children:"›"})]}),(0,t.jsx)("div",{className:"ld__featured-rotator-dots",role:"tablist","aria-label":"Choose a featured build",children:e.map((e,r)=>(0,t.jsx)("button",{type:"button",role:"tab","aria-selected":r===l,"aria-label":`Show ${e.brand}`,className:`ld__featured-rotator-dot${r===l?" ld__featured-rotator-dot--active":""}`,onClick:()=>o(r)},e.slug))}),(0,t.jsx)("span",{className:"ld__sr-only","aria-live":"polite",children:`Showing ${f.brand}, ${f.vertical}`})]}):null}])},966587,e=>{e.v({awFlipIn:"AnimatedWordmark-module__ZiRCia__awFlipIn",awFlipOut:"AnimatedWordmark-module__ZiRCia__awFlipOut",awStayHidden:"AnimatedWordmark-module__ZiRCia__awStayHidden",root:"AnimatedWordmark-module__ZiRCia__root",suffix:"AnimatedWordmark-module__ZiRCia__suffix",suffixAi:"AnimatedWordmark-module__ZiRCia__suffixAi",suffixCom:"AnimatedWordmark-module__ZiRCia__suffixCom"})},148374,e=>{"use strict";var t=e.i(435368),r=e.i(611599),l=e.i(966587);let a={bare:1250,com:1850,ai:2500},s=e=>({"--i":e}),n="'Inter', 'Inter Display', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif";e.s(["default",0,function(){let[e,i]=(0,r.useState)("ai"),[o,d]=(0,r.useState)(!1),c=(0,r.useRef)(null),u=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=c.current;if(!e)return;let t=window.matchMedia?.("(prefers-reduced-motion: reduce)");if(t?.matches){i("ai"),d(!1);return}let r=new IntersectionObserver(([e])=>{e.isIntersecting?(i("bare"),d(!0)):d(!1)},{threshold:.4});return r.observe(e),()=>r.disconnect()},[]),(0,r.useEffect)(()=>
1{if(!o){u.current&&(clearTimeout(u.current),u.current=null);return}return u.current=setTimeout(()=>{i(function(e){switch(e){case"bare":return"com";case"com":return"ai";case"ai":return"bare"}}(e))},a[e]),()=>{u.current&&(clearTimeout(u.current),u.current=null)}},[e,o]),(0,t.jsxs)("svg",{ref:c,className:l.default.root,viewBox:"0 0 540 100",width:"540",height:"100",role:"img","aria-label":"WorkspaceCMS by 1Digital",children:[(0,t.jsx)("title",{children:"WorkspaceCMS by 1Digital"}),(0,t.jsx)("g",{fontFamily:n,fontWeight:900,fontSize:56,letterSpacing:-2.8,children:(0,t.jsxs)("text",{x:14,y:58,textLength:340,lengthAdjust:"spacingAndGlyphs",children:[(0,t.jsx)("tspan",{fill:"#0A0A0A",children:"workspace"}),(0,t.jsx)("tspan",{fill:"#1D4ED8",children:"cms"})]})}),(0,t.jsx)("circle",{cx:370,cy:54,r:6,fill:"#1D4ED8"}),(0,t.jsxs)("g",{className:l.default.suffix,"data-state":e,"data-playing":o?"true":"false","aria-hidden":"true",children:[(0,t.jsxs)("text",{className:l.default.suffixCom,x:384,y:58,fontFamily:n,fontWeight:900,fontSize:56,letterSpacing:-2.8,fill:"#0A0A0A",children:[(0,t.jsx)("tspan",{style:s(0),children:"c"}),(0,t.jsx)("tspan",{style:s(1),children:"o"}),(0,t.jsx)("tspan",{style:s(2),children:"m"})]}),(0,t.jsxs)("text",{className:l.default.suffixAi,x:384,y:58,fontFamily:n,fontWeight:900,fontSize:56,letterSpacing:-2.8,fill:"#0A0A0A",children:[(0,t.jsx)("tspan",{style:s(0),children:"a"}),(0,t.jsx)("tspan",{style:s(1),children:"i"})]})]}),(0,t.jsxs)("g",{transform:"translate(14 86)",children:[(0,t.jsx)("line",{x1:0,y1:0,x2:22,y2:0,stroke:"#1D4ED8",strokeWidth:1.6,strokeLinecap:"round"}),(0,t.jsx)("text",{x:32,y:4,fontFamily:n,fontSize:11,fontWeight:700,letterSpacing:2.6,fill:"#0A0A0A",opacity:.75,children:"BY 1DIGITAL"})]})]})}],148374)}]);

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.