PageSourceSearch

https://www.empatica.com/_next/static/chunks/31620.6c44423dd9fb503a.js

js empatica.com collected 2026-09-24 17:19:57 UTC 5,766 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[31620],{5908:(a,s,e)=>{e.d(s,{n:()=>i});var r=e(86975),l=e(95155),t=e(74920);e(84178);let i=({title:a,description:s,children:e,variant:r="lightGrey",hideTitle:i=!1,hideDescription:p=!1,titleProps:x,descriptionProps:h,asChild:u=!1,...m})=>{let{className:j,id:f,"aria-label":g,...v}=m,y=Object.fromEntries(Object.entries(v).filter(([a])=>a.startsWith("data-"))),b=Object.fromEntries(Object.entries(v).filter(([a])=>!a.startsWith("data-")));return(0,l.jsx)(t.p,{surface:r,id:f,component:u?"div":"section","aria-label":g,...y,children:(0,l.jsxs)(c,{...b,className:j,children:[(!i||!p)&&(0,l.jsxs)(n,{className:"Module-header",children:[!i&&(0,l.jsx)(d,{...x,as:"string"==typeof a?"h2":"div",children:a}),!p&&(0,l.jsx)(o,{...h,children:s})]}),(0,l.jsx)("div",{className:"Module-content",children:e})]})})},c=(0,r.I)("div")({classes:["c1i9jfo8"]}),n=(0,r.I)("div")({classes:["hlxpgpm"]}),d=(0,r.I)("div",{shouldForwardProp:a=>-1===["as"].indexOf(a)})({classes:["t3e2r0c"]}),o=(0,r.I)("div",{shouldForwardProp:a=>-1===["as"].indexOf(a)})({classes:["d1y65e1m"]})},31620:(a,s,e)=>{e.r(s),e.d(s,{BoosterParallaxSection:()=>b,default:()=>P});var r=e(86975),l=e(95155),t=e(502),i=e(5908),c=e(12115),n=e(12205),d=e(15972),o=e(67877),p=e(11937);e(51794);let x=()=>{let a=(0,c.useRef)(null),[s,e]=(0,c.useState)(null),[r,t]=(0,c.useState)(!1),{state:i,playableFrames:x,seek:u,setDisplayRef:m}=(0,d.X)({src:s??"",autoplay:!1,loop:!1,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),j=async()=>{e(await fetch("https://cdn.sanity.io/files/ggwhkgro/production/9181ff573902c8985aa35352820afa3f21fccd55.json").then(a=>a.json()))};return(0,c.useEffect)(()=>{j()},[]),(0,c.useEffect)(()=>{i===o.PC.loading||i===o.PC.error||0!==x&&(u({frame:x-1}),t(!0))},[i,x,u]),(0,l.jsx)(n.zE,{children:(0,l.jsxs)(h,{ref:a,children:[(0,l.jsx)(n.kQ,{className:"parallax-item parallax-layer-1",translateY:["5%","-40%"],children:(0,l.jsx)(p.default,{src:"/assets/images/booster-parallax-dots.jpg",alt:"",width:1e3,height:1e3,priority:!0})}),(0,l.jsxs)(n.kQ,{translateY:["-20%","15%"],children:[null!=s&&(0,l.jsx)("div",{ref:m,style:{height:"100%",display:r?"block":"none"}}),!r&&(0,l.jsx)("div",{style:{minHeight:"80vh"}})]})]})})},h=(0,r.I)("div")({classes:["c4ih0sn"]});e(63712);let u=({images:a})=>{if(a.length<3)return null;let[s,e,r]=a.slice(0,3);return(0,l.jsx)(n.zE,{children:(0,l.jsxs)(m,{children:[(0,l.jsx)(n.kQ,{className:"parallax-item parallax-layer-1",translateY:["5%","-20%"],...s.containerProps,children:(0,l.jsx)("img",{src:s.url,alt:s.alt})}),(0,l.jsx)(n.kQ,{className:"parallax-item parallax-layer-2",translateY:["-20%","-15%"],...e.containerProps,children:(0,l.jsx)("img",{src:e.url,alt:e.alt})}),(0,l.jsx)(n.kQ,{className:"parallax-item parallax-layer-3",translateY:["-3%","0"],startScroll:800,endScroll:1200,...r.containerProps,children:(0,l.jsx)("img",{src:r.url,alt:r.alt})})]})})},m=(0,r.I)("div")({classes:["c1s8otq4"]});e(45288);let j=()=>(0,l.jsx)(n.zE,{children:(0,l.jsxs)(f,{children:[(0,l.jsx)(n.kQ,{className:"parallax-item parallax-layer-1",translateY:["5%","-40%"],children:(0,l.jsx)(p.default,{src:"/assets/images/booster-parallax-dots.jpg",alt:"",width:1e3,height:1e3,priority:!0})}),(0,l.jsx)(n.kQ,{translateY:["-3%","15%"],className:"parallax-item parallax-layer-2",children:(0,l.jsx)(p.default,{src:"/assets/images/booster-parallax-empaticapkg.png",alt:"",width:1e3,height:1e3,priority:!0})})]})}),f=(0,r.I)("div")({classes:["cgqq4ce"]});var g=e(43979),v=e(22609),y=e(43178);e(51624);let b=({_key:a,_type:s,link:e,title:r,variant:i,description:c,sanityDataConfig:n,anchor:d})=>{let o=(0,v.C)(n),p=(0,v.S)();return(0,l.jsxs)("section",{id:(0,y.OB)(r,a,d),"aria-labelledby":"string"==typeof r&&r?(0,y.xj)(a):void 0,"data-sanity":o(),"data-sanity-drag-disable":!0,"data-module-name":p(s),children:[(0,l.jsx)(N,{title:r,variant:"white",description:(0,l.jsx)(g.M,{value:c??[]}),titleProps:{"data-sanity":o("title"),..."string"==typeof r&&r?{id:(0,y.xj)(a)}:{}},descriptionProps:{"data-sanity":o("description")},children:(0,l.jsx)(k,{children:e?.text&&(0,l.jsx)(t.z,{href:e.url??"#",variant:"primary",appearance:"teal","data-sanity":o("cta.text"),children:e.text})})}),(0,l.jsxs)(w,{boosterVariant:i,"data-sanity":o("variant"),children:["embracePlus"===i&&(0,l.jsx)(u,{images:[{alt:"",url:"/assets/images/booster-parallax-dots.jpg"},{alt:"",url:"/assets/images/booster-parallax-care.png"},{alt:"",url:"/assets/images/booster-parallax-embraceplus.png"}]}),"embraceMini"===i&&(0,l.jsx)(x,{}),"empaticaPkg"===i&&(0,l.jsx)(j,{})]})]})},N=(0,r.I)(i.n)({classes:["s10g80l0"]}),k=(0,r.I)("div")({classes:["cod8u2z"]}),w=(0,r.I)("div",{shouldForwardProp:a=>"boosterVariant"!==a})({classes:["bq40ym"],variants:[{props:{boosterVariant:"embraceMini"},className:"bq40ym-1"}]}),P=b},74920:(a,s,e)=>{e.d(s,{p:()=>t});var r=e(86975),l=e(95155);e(75367);let t=({children:a,surface:s,component:e="section",...r})=>"div"===e?(0,l.jsx)(c,{surface:s,...r,children:a}):(0,l.jsx)(i,{surface:s,...r,children:a}),i=(0,r.I)("section",{shouldForwardProp:a=>"surface"!==a})({classes:["s1x2itlv"],variants:[{props:{surface:"lightGrey"},className:"s1x2itlv-1"},{props:{surface:"dark"},className:"s1x2itlv-2"},{props:{surface:"white"},className:"s1x2itlv-3"},{props:{surface:"teal"},className:"s1x2itlv-4"},{props:{surface:"epiMonitorGradient"},className:"s1x2itlv-5"}]}),c=(0,r.I)("div",{shouldForwardProp:a=>"surface"!==a})({classes:["s1pze9r6"],variants:[{props:{surface:"lightGrey"},className:"s1pze9r6-1"},{props:{surface:"dark"},className:"s1pze9r6-2"},{props:{surface:"white"},className:"s1pze9r6-3"},{props:{surface:"teal"},className:"s1pze9r6-4"},{props:{surface:"epiMonitorGradient"},className:"s1pze9r6-5"}]})}}]);

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.