PageSourceSearch

https://novellia.com/_next/static/chunks/323-d4aed161ffed487b.js

js novellia.com collected 2026-09-24 22:16:26 UTC 8,332 bytes, 1 lines download raw bytes

1try{let n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new n.Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="301c28aa-6c26-45a5-9ca2-190212d659a6",n._sentryDebugIdIdentifier="sentry-dbid-301c28aa-6c26-45a5-9ca2-190212d659a6")}catch(n){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[323],{1037:function(n,e,t){var i=t(85893),o=t(85006),a=t(9098);e.Z=()=>(0,i.jsx)(a.Z,{variant:"text",sx:{fontSize:"30px",bgcolor:o.Z.blueWhite}})},11843:function(n,e,t){t.d(e,{D:function(){return E},Z:function(){return C}});var i=t(85893),o=t(6812),a=t(9098),d=t(44567),l=t(69421),u=t(96424),s=t(96843),r=t(86337),c=t(28782),p=t(71124),f=t(8689);t(67294),t(64613),t(33882),t(49646),t(19645),t(58461),t(71413),t(48403),t(55718),t(47424);let E={EDUCATIONAL_CONTENT_OVERVIEW:"educationalContentOverview",EDUCATIONAL_CONTENT_MORE_INFO:"educationalContentMoreInfo",EDUCATIONAL_CONTENT_CONDITION_SYMPTOMS:"educationalContentConditionSymptoms",EDUCATIONAL_CONTENT_CONDITION_TREATMENTS:"educationalContentConditionTreatments",EDUCATIONAL_CONTENT_MEDICATION_SIDE_EFFECTS:"educationalContentMedicationSideEffects",EDUCATIONAL_CONTENT_IMMUNIZATION_VACCINE_SCHEDULE:"educationalContentImmunizationVaccineSchedule",EDUCATIONAL_CONTENT_ALLERGY_SIDE_EFFECTS:"educationalContentAllergySideEffects"};var C=n=>{let{buttonText:e,title:t,query:E,queryName:C,resource:m,patientPortalResourceType:y,infoType:v}=n,T=(0,f.F)(),{openModal:A}=(0,r.d)(),{data:I,loading:g}=(0,o.aM)(E,{variables:{inputs:{patientPortalResourceType:y,coding:{display:m.name,system:m.codeSystem,code:m.code}}}}),h=null==I?void 0:I[C],N=(null==h?void 0:h.content)||{},x=null==N?void 0:N.title,O=(null==N?void 0:N.summary)||(null==N?void 0:N.text),R=((null==N?void 0:N.sources)||[]).slice(0,6),_=null==N?void 0:N.displayName,b="function"==typeof e?e(null!=_?_:m.name):e||"Learn More",D="function"==typeof t?t(null!=_?_:m.name):t||x;return g?(0,i.jsx)(a.Z,{variant:"rounded",height:T.spacing(7),width:"215px",sx:{fontSize:"30px",bgcolor:T.palette.layout.muted,borderRadius:"".concat(T.shape.borderRadiusTokens[p.cM.ROUNDED],"px")}}):(0,i.jsx)(l.ZP,{title:b,variant:l.u1.GRADIENT,shape:l.ce.ROUNDED,showDefaultIcon:!1,icon:(0,i.jsx)(u.J,{iconName:"AiMagic",color:T.palette.primaryBrand.main,size:s.J.MD,style:s.z.SolidSharp}),onClick:()=>{c.j.button.clicked({name:c.EK.AdditionalEducationalContentCta,label:v}),A(d.n.AiResponseContentModal,{title:null!=D?D:"",content:null!=O?O:"",sources:R,entityRatingId:null==h?void 0:h.id})}})}},15619:function(n,e,t){var i=t(85893),o=t(6812),a=t(84653),d=t(22347),l=t(42667),u=t(1037),s=t(99274),r=t(19645),c=t(83873),p=t(96752),f=t(58476),E=t(71124),C=t(8689),m=t(11163),y=t(96424),v=t(55718),T=t(96843);let A=n=>({display:"flex",flexDirection:"column",gap:n.spacing(4),flexWrap:"nowrap"}),I=n=>({padding:n.spacing(1),marginBottom:n.spacing(4),gap:{xs:n.spacing(3),md:n.spacing(2)},display:"flex",flexDirection:"row",flexWrap:"nowrap",overflowX:"auto",scrollBehavior:"smooth",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}});e.Z=n=>{var e,t,g;let{resource:h,patientPortalResourceType:N,children:x}=n,O=(0,C.F)(),R=(0,m.useRouter)(),{userSettings:_}=(0,d.F)(),b=null==_?void 0:_.AI_EDUCATIONAL_CONTENT_ENABLED,D=(null==h?void 0:null===(e=h.createdBy)||void 0===e?void 0:e.source)===f.vG.PATIENT_REPORTED,S=!b||!h||D,{data:L,loading:w}=(0,o.aM)(p.bE,{variables:{inputs:{patientPortalResourceType:N,coding:{display:null==h?void 0:h.name,system:null==h?void 0:h.codeSystem,code:null==h?void 0:h.code}}},skip:S});if(S)return null;let M=null==L?void 0:null===(t=L.educationalContentOverview)||void 0===t?void 0:t.content,j=null!==(g=null==M?void 0:M.summary)&&void 0!==g?g:null==M?void 0:M.text,Z=(null==M?void 0:M.displayName)||(null==h?void 0:h.name),U=w?(0,i.jsx)(a.Z,{width:"252px",children:(0,i.jsx)(u.Z,{})}):(0,i.jsxs)(a.Z,{display:"flex",alignItems:"center",gap:O.spacing(2),children:[(0,i.jsx)(y.J,{iconName:"AiMagic",color:v.E.PrimaryHover,size:T.J.MD}),(0,i.jsxs)(r.OT,{colorScheme:E.eL.LAYOUT,colorProperty:E.g8.FOREGROUND,children:["About ",null==Z?void 0:Z.toLowerCase()]})]});return(0,i.jsxs)(c.Z,{title:U,children:[w?(0,i.jsxs)(a.Z,{marginBottom:O.spacing(5),children:[(0,i.jsx)(u.Z,{}),(0,i.jsx)(u.Z,{})]}):j?(0,i.jsx)(a.Z,{marginBottom:O.spacing(5),children:(0,i.jsx)(r.uT,{colorScheme:E.eL.LAYOUT,colorProperty:E.g8.FOREGROUND,children:j})}):null,x&&(0,i.jsxs)(a.Z,{sx:A,children:[(0,i.jsx)(r.bU,{colorProperty:E.g8.FOREGROUND,colorScheme:E.eL.LAYOUT,fontWeight:"bold",children:"EXPLORE WITH AI"}),(0,i.jsx)(a.Z,{sx:I,children:x})]}),(0,i.jsx)(s.ZP,{variant:s.Wu.TEXT,onClick:()=>R.push("/patient/account/settings?tab=".concat(l.P.NOVELLIA_AI)),children:(0,i.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",gap:O.spacing(3)},children:["Learn more about how we use AI",(0,i.jsx)(y.J,{iconName:"ArrowRight02",size:T.J.MD,color:O.palette.secondaryBrand.main})]})})]})}},96752:function(n,e,t){t.d(e,{Rz:function(){return r},b8:function(){return u},bE:function(){return o},bY:function(){return d},kY:function(){return l},mU:function(){return s},rd:function(){return a}});var i=t(82457);let o=(0,i.P)("\n  query EducationalContentOverview($inputs: ResourceContextInputs!) {\n    educationalContentOverview(inputs: $inputs) {\n      id\n      createdAt\n      content\n      metadata\n      aiRequest {\n        id\n        createdAt\n        infoType\n        inputs\n        inputsHash\n      }\n    }\n  }\n"),a=(0,i.P)("\n  query EducationalContentMoreInfo($inputs: ResourceContextInputs!) {\n    educationalContentMoreInfo(inputs: $inputs) {\n      id\n      createdAt\n      content\n      metadata\n      aiRequest {\n        id\n        createdAt\n        infoType\n        inputs\n        inputsHash\n      }\n    }\n  }\n"),d=(0,i.P)("\n  query EducationalContentConditionSymptoms($inputs: FhirResourceCodingInputs!) {\n    educationalContentConditionSymptoms(inputs: $inputs) {\n      id\n      createdAt\n      content\n      metadata\n      aiRequest {\n        id\n        createdAt\n        infoType\n        inputs\n        inputsHash\n      }\n    }\n  }\n"),l=(0,i.P)("\n  query EducationalContentConditionTreatments($inputs: FhirResourceCodingInputs!) {\n    educationalContentConditionTreatments(inputs: $inputs) {\n      id\n      createdAt\n      content\n      metadata\n      aiRequest {\n        id\n        createdAt\n        infoType\n        inputs\n        inputsHash\n      }\n    }\n  }\n"),u=(0,i.P)("\n  query EducationalContentMedicationSideEffects($inputs: FhirResourceCodingInputs!) {\n    educationalContentMedicationSideEffects(inputs: $inputs) {\n      id\n      createdAt\n      content\n      metadata\n      aiRequest {\n        id\n        createdAt\n        infoType\n        inputs\n        inputsHash\n      }\n    }\n  }\n"),s=(0,i.P)("\n  query EducationalContentImmunizationVaccineSchedule($inputs: FhirResourceCodingInputs!) {\n    educationalContentImmunizationVaccineSchedule(inputs: $inputs) {\n      id\n      createdAt\n      content\n      metadata\n      aiRequest {\n        id\n        createdAt\n        infoType\n        inputs\n        inputsHash\n      }\n    }\n  }\n"),r=(0,i.P)("\n  query EducationalContentAllergySideEffects($inputs: FhirResourceCodingInputs!) {\n    educationalContentAllergySideEffects(inputs: $inputs) {\n      id\n      createdAt\n      content\n      metadata\n      aiRequest {\n        id\n        createdAt\n        infoType\n        inputs\n        inputsHash\n      }\n    }\n  }\n")},39518:function(n,e,t){var i=t(38120),o=t(6812),a=t(11163),d=t(67294);e.Z=(n,e)=>{var t,l;let u=(0,a.useRouter)(),s=u.isReady?u.query.id:void 0,r=!u.isReady||!s||!!(null==e?void 0:e.skip),{data:c,loading:p,error:f,refetch:E}=(0,o.aM)(n,{variables:s?null!==(l=null==e?void 0:null===(t=e.buildVariables)||void 0===t?void 0:t.call(e,s))&&void 0!==l?l:{novelliaResourceId:s}:void 0,skip:r}),C=p||!!(null==e?void 0:e.skip),{captureMessage:m}=(0,i.L)();return(0,d.useEffect)(()=>
1{if(u.isReady){if(!s){u.replace("/404");return}if(!C){if(f){u.replace("/404");return}c||(m("Record not found for id: ".concat(s),"warning"),u.replace("/404"))}}},[u.isReady,C,c,f,s]),{record:c,loading:C,error:f,refetch:E,id:s}}}}]);

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.