PageSourceSearch

https://novellia.com/_next/static/chunks/1353-7863a391066016d4.js

js novellia.com collected 2026-09-24 22:16:34 UTC 7,519 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="355d9cf4-3cf5-48c7-8510-d92873ca20f4",e._sentryDebugIdIdentifier="sentry-dbid-355d9cf4-3cf5-48c7-8510-d92873ca20f4")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1353],{1068:function(e,t,r){r.d(t,{v:function(){return l}});var n=r(88840),o=r(46449);let l=e=>"".concat(n.i,"/").concat(o.KE,"/").concat(e)},17768:function(e,t,r){r.d(t,{Qh:function(){return c},wx:function(){return a},zX:function(){return d}});var n=r(85893),o=r(65721),l=r(71124),i=r(29295),s=r(32761);let d=e=>{let{icon:t,label:r,value:i}=e;return(0,n.jsxs)(s.x,{display:"flex",alignItems:"center",justifyContent:"space-between",gap:"2",children:[(0,n.jsxs)(s.x,{display:"inline-flex",alignItems:"center",gap:"6px",flexShrink:0,children:[t,(0,n.jsx)(o.Z,{fontWeight:"bold",colorScheme:l.eL.LAYOUT,colorProperty:l.g8.FOREGROUND,children:r})]}),null!=i&&(0,n.jsx)(s.x,{whiteSpace:"nowrap",children:(0,n.jsx)(o.Z,{colorScheme:l.eL.LAYOUT,colorProperty:l.g8.MUTED_FOREGROUND,children:i})})]})},a="No Symptoms",c=()=>(0,n.jsx)(d,{icon:(0,n.jsx)(s.x,{width:"8px",height:"8px",borderRadius:"1px",bg:"dataViz.semantic.saturated.4",flexShrink:0}),label:"No symptoms"});t.ZP=e=>{let{date:t,headerText:r,children:d}=e;return(0,n.jsxs)(s.x,{bg:"layout.card",borderWidth:"1px",borderStyle:"solid",borderColor:"layout.border",borderRadius:"sm",boxShadow:"0px 8px 8px rgba(22, 34, 51, 0.08)",width:"250px",overflow:"hidden",fontFamily:"body",children:[(0,n.jsxs)(s.x,{bg:"layout.muted",borderBottomWidth:"1px",borderBottomStyle:"solid",borderBottomColor:"layout.border",padding:"2",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"2",children:[(0,n.jsx)(o.Z,{fontWeight:"bold",colorScheme:l.eL.LAYOUT,colorProperty:l.g8.FOREGROUND,children:(0,i.Zk)(t)}),r&&(0,n.jsx)(o.Z,{colorScheme:l.eL.LAYOUT,colorProperty:l.g8.FOREGROUND,children:r})]}),(0,n.jsx)(s.x,{display:"flex",flexDirection:"column",gap:"1",padding:"2",children:d})]})}},45772:function(e,t,r){var n=r(85893),o=r(64115),l=r(99324),i=r(68713),s=r(71124),d=r(8689),a=r(29295),c=r(85896),u=r(32761),p=r(4975);let f=(0,c.m)("button"),x={LOGGED:"logged",NOT_LOGGED:"not-logged",TODAY:"today"},h=(e,t)=>{let r=t===x.TODAY?e.palette.layout["muted-foreground"]:e.palette.layout.border;return{width:"100%",height:"6",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:"1",flexShrink:0,overflow:"hidden",backgroundColor:e.palette.layout.card,border:"1px solid ".concat(r),borderRadius:"".concat(e.shape.borderRadiusTokens[s.cM.EXTRA_SMALL],"px"),cursor:"pointer",padding:0}},y={width:"5",height:"5",display:"inline-flex",alignItems:"center",justifyContent:"center",lineHeight:0,flexShrink:0};t.Z=e=>{let{dates:t,emptyDates:r,noSymptomsDates:c,onLogDay:g,paddingLeftToken:m="9",paddingRightToken:b="4"}=e,j=(0,d.F)();if(0===t.length)return null;let S=new Set(r),R=new Set(null!=c?c:[]),E=t[t.length-1];return(0,n.jsx)(u.x,{display:"flex",boxSizing:"border-box",paddingLeft:m,paddingRight:b,paddingTop:"2",width:"100%",gap:"1",children:t.map(e=>{let t=S.has(e),r=e===E,d=t?r?x.TODAY:x.NOT_LOGGED:x.LOGGED,c=d===x.LOGGED,m=R.has(e),b=c?p.CIuR:p.yvzX;return(0,n.jsxs)(u.x,{flex:"1 0 0",minWidth:0,display:"flex",flexDirection:"column",alignItems:"stretch",gap:"2",children:[(0,n.jsx)(u.x,{textAlign:"center",whiteSpace:"nowrap",children:(0,n.jsx)(i.Y6,{colorScheme:s.eL.LAYOUT,colorProperty:s.g8.MUTED_FOREGROUND,fontWeight:"bold",children:r?"Today":(0,a.Zk)(e)})}),(0,n.jsxs)(f,{type:"button",onClick:()=>g(e),"aria-label":m?"No symptoms logged for ".concat(e):c?"Symptoms logged for ".concat(e):"Log symptoms for ".concat(e),...h(j,d),children:[(0,n.jsx)(u.x,{...y,children:(0,n.jsx)(o.AY,{icon:b,size:l.E.REG,colorScheme:c?s.eL.SUCCESS_BRAND:s.eL.LAYOUT,colorProperty:c?s.g8.PRESSED:s.g8.FOREGROUND})}),m&&(0,n.jsx)(u.x,{display:{base:"none",xl:"block"},children:(0,n.jsx)(i.Y6,{fontWeight:"bold",colorScheme:s.eL.SUCCESS_BRAND,colorProperty:s.g8.PRESSED,children:"No symptoms"})})]})]},e)})})}}
1,83483:function(e,t,r){var n=r(85893),o=r(28195),l=r(18899),i=r(78256),s=r(71124),d=r(32761),a=r(87211);let c=e=>{let{count:t}=e;return(0,n.jsx)(d.x,{display:"flex",alignItems:"center",justifyContent:"center",bg:"layout.card",border:"1px solid",borderColor:"layout.border",borderRadius:"sm",paddingX:"2",paddingY:"1",children:(0,n.jsx)(i.Z,{fontWeight:"semibold",colorScheme:s.eL.LAYOUT,colorProperty:s.g8.FOREGROUND,children:"+".concat(t)})})},u=()=>(0,n.jsx)(d.x,{display:"flex",alignItems:"center",justifyContent:"center",bg:"successBrand.pressed",color:"successBrand.foreground",borderRadius:"sm",paddingX:"3",paddingY:"1",fontFamily:"body",fontSize:"14px",lineHeight:"22px",fontWeight:"semibold",width:"fit-content",children:"No Symptoms"}),p=e=>{let{symptoms:t,maxVisible:r}=e,{visible:i,overflowCount:u}=(0,a.Mu)(t,r);return(0,n.jsxs)(d.x,{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"2",children:[i.map(e=>(0,n.jsx)(o.Z,{text:e.name,colorScheme:(0,a.Jt)(e.severity),colorVariant:s.bo.STANDARD,size:l.K.MD,borderRadius:s.cM.SMALL},e.name)),u>0&&(0,n.jsx)(c,{count:u})]})},f=e=>{let{symptoms:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(d.x,{display:{base:"none",md:"contents"},children:(0,n.jsx)(p,{symptoms:t,maxVisible:3})}),(0,n.jsx)(d.x,{display:{base:"contents",md:"none"},children:(0,n.jsx)(p,{symptoms:t,maxVisible:2})})]})};t.Z=e=>{let{symptoms:t}=e;return t.length>0?(0,n.jsx)(f,{symptoms:t}):(0,n.jsx)(u,{})}},87211:function(e,t,r){r.d(t,{Fn:function(){return x},Jt:function(){return u},Mu:function(){return c},QT:function(){return a},VF:function(){return p}});var n=r(71413),o=r(71124),l=r(29295),i=r(27484),s=r.n(i),d=r(65944);let a=e=>(0,d.uh)(e.reportedSymptoms),c=(e,t)=>{let r=Math.max(0,t);return e.length<=r?{visible:[...e],overflowCount:0}:{visible:e.slice(0,r),overflowCount:e.length-r}},u=e=>{switch(e){case n.zb_.SEVERE:return o.eL.ERROR;case n.zb_.MILD:return o.eL.WARNING;case n.zb_.NONE:return o.eL.NEUTRAL;case n.zb_.MODERATE:default:return o.eL.PRIMARY}},p=e=>{let t=s()((0,l.uF)(e)),r=s()().startOf("day").diff(t,"day");return 0===r?"Today":1===r?"Yesterday":t.format("MMM DD, YYYY")},f=e=>{let t;if(!e)return"";try{t=JSON.parse(e)}catch(t){return e}if(!Array.isArray(t))return e;let r=e=>null==e?"":"string"==typeof e?e:"object"!=typeof e?"":"string"==typeof e.text?e.text:Array.isArray(e.children)?e.children.map(r).join(""):"";return t.map(r).join("\n").replace(/\n{2,}/g,"\n").trim()},x=e=>{let t=new Map;if(!e)return t;for(let r of e){if(null==r.linkId)continue;let e="string"==typeof r.linkId?Number(r.linkId):r.linkId;if(!Number.isFinite(e)||t.has(e))continue;let n=f(r.content);n&&t.set(e,n)}return t}},65944:function(e,t,r){r.d(t,{hq:function(){return s},uh:function(){return d}});var n=r(46449),o=r(71413);let l=Object.fromEntries(n.C4.map((e,t)=>[e,t])),i=e=>l[null!=e?e:o.zb_.MODERATE],s=e=>{let t=e.trim();return t?t.charAt(0).toUpperCase()+t.slice(1):t},d=e=>{let t=new Map;for(let o of e){var r,n;let e=s(o.name),l=t.get(e);if(!l){t.set(e,{name:e,severity:null!==(r=o.severity)&&void 0!==r?r:null});continue}i(o.severity)>i(l.severity)&&t.set(e,{name:e,severity:null!==(n=o.severity)&&void 0!==n?n:null})}return Array.from(t.values()).sort((e,t)=>{let r=i(e.severity),n=i(t.severity);return r!==n?n-r:e.name.localeCompare(t.name)})}}}]);

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.