1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1230],{13993:function(e,a,l){"use strict";var s,t,r=l(50959);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(e[s]=l[s])}return e}).apply(this,arguments)}a.Z=function(e){return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},e),s||(s=r.createElement("path",{fill:"currentColor",d:"M8 5v14l11-7z"})),t||(t=r.createElement("path",{fill:"none",d:"M0 0h24v24H0z"})))}},21230:function(e,a,l){"use strict";l.r(a),l.d(a,{default:function(){return g}});var s=l(11527),t=l(50959),r=l(66194),i=l(2136),n=l(30684),o=l(70189),c=l(25491),d=l(13993);l(12321),l(57864);var u=l(2270),m=(0,u.u)({defaultClassName:"l94raq5",variantClassNames:{isDemo:{true:"l94raq6"}},defaultVariants:{},compoundVariants:[]});(0,u.u)({defaultClassName:"l94raq9",variantClassNames:{hidden:{true:"l94raqa",false:"l94raqb"}},defaultVariants:{},compoundVariants:[]});var v=l(15037),f=l(21232);let h=e=>{var a;let{demoVideoBtn:l,demoUrl:r,placeholder:u,demoVideoUrl:h}=e,[p,x]=(0,t.useState)(!1),[g,j]=(0,t.useState)(!1),[N,b]=(0,t.useState)(!1),[q,y]=(0,t.useState)(!1),w=(0,t.useRef)(null),V=async()=>{y(!0),(0,f.L9)("playDemoVideo")};return(0,t.useEffect)(()=>{w&&w.current&&w.current.play()},[q]),(0,s.jsxs)(i.V,{className:"l94raq0",defaultTheme:"light",layout:"demo",blockPaddingTop:"none",blockPaddingBottom:"none",children:[(0,s.jsx)(n.V,{className:"l94raq2",image:e.placeholder,priority:!0,quality:65,sizes:{mobile:"calc(100vw - 20px)",tablet:"calc(100vw - 20px)",desktop:"calc(100vw - 20px)"}}),(0,s.jsxs)("div",{className:"l94raq1",children:[(0,s.jsx)("div",{className:"l94raq3",children:(0,s.jsxs)("div",{className:m({isDemo:p}),children:[p&&(0,s.jsx)("iframe",{src:r,seamless:!0,className:"l94raqc",onLoad:()=>{j(!1),b(!0)}}),!N&&(0,s.jsx)(n.V,{image:u,priority:!0,quality:65,className:"l94raqd",sizes:{mobile:"calc(100vw - 20px)",tablet:"calc(100vw - 20px)",desktop:"calc(100vw - 20px)"}})]})}),q&&(0,s.jsx)("video",{className:"l94raqe",ref:w,src:h,muted:!0,controls:!0,playsInline:!0}),g&&(0,s.jsx)(o.a,{className:"l94raq8"}),!q&&(0,s.jsx)("button",{className:"l94raqg","aria-label":"play demo video",onClick:V,children:(0,s.jsx)(d.Z,{})}),!p&&(0,s.jsx)(c.z,{className:"l94raqh",onClick:()=>{j(!0),x(!0),(0,f.L9)("launchDemo")},"aria-label":"play demo video",variant:l.variant,size:l.size,fontSize:l.fontSize,fontWeight:l.fontWeight,iconUrl:null===(a=(0,v.L)(l.icon))||void 0===a?void 0:a.src,children:l.text},l.link.href)]})]})};var p=l(89148);l(28907);let x=(0,r.g)("blockDemo",e=>(0,s.jsxs)(i.V,{settings:e.settings,width:"full",defaultTheme:"light",layout:"demo",children:[(0,s.jsx)(p.S,{className:"y6318i0",children:"Watch live demo"}),(0,s.jsx)(h,{demoVideoUrl:e.demoVideoUrl,demoVideoBtn:e.demoVideoBtn,demoUrl:e.demoUrl,placeholder:e.heroImage})]}));var g=x},57864:function(){},28907:function(){}}]); 2//# sourceMappingURL=1230.e3c3f77def66930b.js.map
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.