PageSourceSearch

https://nhi.no/_next/static/chunks/9005.52aa1bada772b16e.js

js nhi.no collected 2026-10-02 04:27:21 UTC 12,594 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9005],{711:function(e,n,t){var r=t(95122);n.Z=void 0;var o=r(t(68671)),i=t(52322);n.Z=(0,o.default)((0,i.jsx)("path",{d:"M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"}),"Done")},51654:function(e,n,t){var r=t(95122);n.Z=void 0;var o=r(t(68671)),i=t(52322);n.Z=(0,o.default)((0,i.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11zM8 21V7h6v5h5v9z"}),"FileCopyOutlined")},92096:function(e,n,t){t.d(n,{Z:function(){return Z}});var r=t(28193),o=t(26831),i=t(2784),a=t(78523),l=t(76224),s=t(65992),c=t(43853),u=t(17377),d=t(47645),v=t(6970);function p(e){return(0,v.ZP)("MuiCard",e)}(0,d.Z)("MuiCard",["root"]);var m=t(52322);const f=["className","raised"],h=(0,s.ZP)(u.Z,{name:"MuiCard",slot:"Root",overridesResolver:(e,n)=>n.root})((()=>({overflow:"hidden"})));var Z=i.forwardRef((function(e,n){const t=(0,c.Z)({props:e,name:"MuiCard"}),{className:i,raised:s=!1}=t,u=(0,o.Z)(t,f),d=(0,r.Z)({},t,{raised:s}),v=(e=>{const{classes:n}=e;return(0,l.Z)({root:["root"]},p,n)})(d);return(0,m.jsx)(h,(0,r.Z)({className:(0,a.Z)(v.root,i),elevation:s?8:void 0,ref:n,ownerState:d},u))}))},7671:function(e,n,t){t.d(n,{Z:function(){return h}});var r=t(28193),o=t(26831),i=t(2784),a=t(78523),l=t(76224),s=t(65992),c=t(43853),u=t(47645),d=t(6970);function v(e){return(0,d.ZP)("MuiCardContent",e)}(0,u.Z)("MuiCardContent",["root"]);var p=t(52322);const m=["className","component"],f=(0,s.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,n)=>n.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}})));var h=i.forwardRef((function(e,n){const t=(0,c.Z)({props:e,name:"MuiCardContent"}),{className:i,component:s="div"}=t,u=(0,o.Z)(t,m),d=(0,r.Z)({},t,{component:s}),h=(e=>{const{classes:n}=e;return(0,l.Z)({root:["root"]},v,n)})(d);return(0,p.jsx)(f,(0,r.Z)({as:s,className:(0,a.Z)(h.root,i),ownerState:d,ref:n},u))}))},49927:function(e,n,t){var r=t(98240),o=t(52322),i=(t(2784),t(92096)),a=t(7671),l=t(62197),s=t(47746),c=t(75978);n.Z=function(e){var n=e.children,t=(0,r.Z)(e,["children"]),u=(0,c.Z)(t),d=u.width,v=void 0===d?"auto":d,p=u.title,m=void 0===p?"":p,f=u.description,h=void 0===f?"":f,Z=(0,s.Z)(),g=m,b=h,x=Boolean(g||b);return(0,o.jsx)(i.Z,{variant:"outlined",style:{width:v,padding:Z.spacing()},children:(0,o.jsxs)(a.Z,{component:"form",children:[x?(0,o.jsxs)("div",{style:{marginBottom:Z.spacing(2)},children:[g?"string"===typeof g?(0,o.jsx)(l.Z,{variant:"h3",component:"h2",children:g}):g:null,b?"string"===typeof b?(0,o.jsx)(l.Z,{color:"textSecondary",children:b}):b:null]}):null,n]})})}},79107:function(e,n,t){var r=t(22710),o=t(62230),i=t(85244),a=t(17064),l=t(5163),s=t(52322),c=t(2784),u=t(711),d=t(51654),v=t(62048),p=t(45596),m=t(62197),f=t(47746),h=t(65992),Z=t(61303),g=t(55593),b=(0,h.ZP)(p.Z)((function(e){return{"& .MuiInputBase-input.Mui-disabled":{WebkitTextFillColor:e.theme.palette.text.primary}}}));n.Z=function(e){var n=e.TextAreaProps,t=e.value,p=e.label,h=(0,a.Z)(c.useState(!1),2),x=h[0],j=h[1],y=[t.header,t.lines.map((function(e){return 0===e.search(/\n/)?e:"".concat(null!==(n=t.delimiter)&&void 0!==n?n:"- ").concat(e);var n})).join("\n")].join("\n"),w=function(){var e=(0,r.Z)((function(){return(0,l.__generator)(this,(function(e){switch(e.label){case 0:return"clipboard"in navigator?[4,navigator.clipboard.writeText(y)]:[3,2];case 1:return e.sent(),[3,3];case 2:"clipboardData"in window&&window.clipboardData.setData("Text",y),e.label=3;case 3:return j(!0),[2]}}))}));return function(){return e.apply(this,arguments)}}();c.useEffect((function(){var e=setTimeout((function(){x&&j(!1)}),1e3);return function(){return clearTimeout(e)}}),[x]),c.useEffect((function(){j(!1)}),[y]);var k=(0,a.Z)((0,Z.$)({locales:g.Z}),1)[0],C=(0,f.Z)();return(0,s.jsx)("div",{style:{paddingTop:C.spacing(3)},children:(0,s.jsxs)(m.Z,{variant:"h3",component:"label",children:[p,(0,s.jsxs)("div",{style:{position:"relative",marginTop:C.spacing(),minHeight:"50%"},children:[(0,s.jsx)(b,(0,i.Z)((0,o.Z)({multiline:!0,fullWidth:!0,maxRows:t.lines.length+2,disabled:!0},n),{value:y})),(0,s.jsx)(v.Z,{style:{position:"absolute",bottom:0,right:0,margin:C.spacing()},variant:"contained",disabled:!t.lines.length||x,startIcon:x?(0,s.jsx)(u.Z,{}):(0,s.jsx)(d.Z,{}),color:"primary",onClick:w,size:"small",children:k(x?"copied":"copy")})]})]})})}},26937:function(e,n,t){t.d(n,{b:function(){return o}});var r=t(52322);t(2784);function o(e,n){var t=e[e.length-1].color;return e.sort((function(e,n){return e.limit-n.limit})).reduceRight((function(e,t){return n<t.limit?t.color:e}),t)}n.Z=function(e){var n=e.value,t=e.ranges,i=e.size,a=void 0===i?20:i,l=e.color||o(t,n),s=a/2;return(0,r.jsx)("svg",{width:a,height:a,children:(0,r.jsx)("circle",{cx:s,cy:s,r:s,fill:l})})}},56897:function(e,n,t){t.d(n,{Zb:function(){return i.Z},dq:function(){return r.Z},yG:function(){return o.Z}});var r=t(26937),o=t(79107),i=t(49927)},31470:function(e,n,t){var r=t(62230),o=t(85244),i=t(52322),a=(t(2784),t(69506)),l=t(52616),s=t(80982),c=t(41075),u=t(61640),d=t(95319),v=t(62197),p=t(65992),m=t(84196);
1n.Z=function(e){var n=e.options,t=e.name,l=e.value,s=e.onChange,u=e.helperText,p=e.style,m=e.points,j=e.direction,y=e.showHeader,w=void 0===y||y,k=e.showDescription,C=void 0===k||k,P=e.description,M=e.label;return(0,i.jsxs)(a.Z,(0,o.Z)((0,r.Z)({component:"fieldset",fullWidth:!0},e.FormControlProps),{children:[w?(0,i.jsx)(c.ZP,{item:!0,container:!0,xs:!0,alignItems:"stretch",children:"string"===typeof M?(0,i.jsx)(v.Z,{variant:"body2",children:M}):M}):null,C?(0,i.jsx)(f,{variant:"h5",component:"label",children:P}):null,(0,i.jsx)(d.Z,{"aria-label":M,name:t,value:null!==l&&void 0!==l?l:" ",onChange:s,children:(0,i.jsx)(c.ZP,{container:!0,direction:j,style:p,children:n.map((function(n){return(0,i.jsx)(b,{checked:l===n.value,children:(0,i.jsx)(g,(0,o.Z)((0,r.Z)({},e.FormControlLabelProps),{points:m,value:n.value,control:(0,i.jsx)(Z,(0,r.Z)({},e.RadioProps)),label:m?(0,i.jsxs)(c.ZP,{container:!0,direction:"row",alignItems:"center",justifyContent:"space-between",wrap:"nowrap",children:[(0,i.jsx)(v.Z,{component:"p",variant:"body2",children:n.label}),(0,i.jsx)(h,{component:"p",children:n.value})]}):(0,i.jsx)(v.Z,{variant:"body2",children:n.label})}))},n.label+n.value)}))})}),u?(0,i.jsx)(x,{children:u}):null]}))};var f=(0,p.ZP)(v.Z)((function(e){return{marginBottom:e.theme.spacing(.5)}})),h=(0,p.ZP)(v.Z)((function(e){return{padding:e.theme.spacing(.5)}})),Z=(0,p.ZP)(u.Z)((function(e){var n=e.theme;return{"&.MuiRadio-root":{"&:hover":{backgroundColor:(0,m.Fq)(n.palette.secondary.main,0)}},"&.Mui-checked":{"&$checked":{"&:hover":{backgroundColor:(0,m.Fq)(n.palette.secondary.main,0)}}}}})),g=(0,p.ZP)(l.Z)((function(e){var n=e.points,t=e.theme;return(0,r.Z)({},n&&{"&.MuiFormControlLabel-root":{display:"flex",marginRight:t.spacing(.5)},"&.MuiFormControlLabel-label":{flexGrow:1}},!n&&{"&.MuiFormControlLabel-root":{width:"100%"},"&.MuiFormControlLabel-label":{width:"100%"}})})),b=(0,p.ZP)("div")((function(e){var n=e.theme,t=e.checked;return(0,o.Z)((0,r.Z)({},t&&{backgroundColor:(0,m.Fq)(n.palette.secondary.main,.04)}),{"&:hover":{backgroundColor:(0,m.Fq)(n.palette.secondary.main,.04)}})})),x=(0,p.ZP)(s.Z)((function(e){return{"&.Mui-disabled":{color:e.theme.palette.text.primary,opacity:1}}}))},55593:function(e,n,t){t.d(n,{Z:function(){return r}});var r=JSON.parse('{"developedBy":"utviklet av","faviconUrl":"https://nhi.no/favicon.ico","faviconRedirectUrl":"https://github.com/nhi","faviconAlt":"NHI","year":"\xe5r","female":"Jente","male":"Gutt","invalid-result":"Ugyldig resultat","summary":"Oppsummering","copy":"Kopier","copied":"Kopiert","select-one-or-multiple":"Velg 1 eller flere","result":"Resultat","reset":"Nullstill","correctedResult":"Korrigert resultat"}')},33582:function(e,n,t){t.d(n,{Z:function(){return a}});var r=t(17064),o=t(81541),i=t(2784);function a(e){var n=e.locales,t=e.keyPrefix,a=(0,i.useCallback)((function(e,i){var a,l=(0,o.Z)(null!==(a=null===t||void 0===t?void 0:t.split("."))&&void 0!==a?a:[]).concat((0,o.Z)(e.split(".")));if(/test/.test("production"))return"".concat("no",":").concat(l.join("."));var s=n;return l.forEach((function(e){s=s[e],'i18n: translation missing for "'.concat("no",":").concat(l.join("."),'"')})),i&&Object.entries(i).forEach((function(e){var n=(0,r.Z)(e,2),t=n[0],o=n[1],i=new RegExp("{{".concat(t,"}}"));s=s.replace(i,o)})),s}),[t,n]);return[a]}},61303:function(e,n,t){t.d(n,{$:function(){return r.Z}});var r=t(33582)},75978:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(62230);function o(e){var n={};return new URLSearchParams(window.location.search).forEach((function(e,t){var r=isNaN(e)?e:parseInt(e,10);r=i(e)?a(e):r,t in n?Array.isArray(n[t])?n[t].push(r):n[t]=[n[t],r]:n[t]=r})),(0,r.Z)({},e,n)}var i=function(e){return"true"===e||"false"==e||"boolean"===typeof e},a=function(e){return"true"===e.toLocaleLowerCase()}},69005:function(e,n,t){t.r(n),t.d(n,{default:function(){return b}});var r=t(67557),o=t(92563),i=t(62230),a=t(85244),l=t(17064),s=t(52322),c=t(56897),u=t(31470),d=t(2784),v=t(61303),p=t(75978),m=JSON.parse('{"title":"Vertigo Symptom Skala (kortversjon)","description":"Vertigo symptom skala, kortversjon (VSS-SF)","result":"Resultat","summary":"Oppsummering","inputs":{"1":"En f\xf8lelse av at du selv eller ting rundt deg roterer eller beveger seg, som varer mindre enn 20 minutter","2":"Varme eller kulde anfall","3":"Kvalme, kastet opp","4":"En f\xf8lelse av at enten du selv eller ting rundt deg roterer eller beveger seg, som varer mer enn 20 minutter","5":"Hjertebank eller flaksing","6":"En f\xf8lelse av \xe5 v\xe6re svimmel eller desorientert, som varer hele dagen","7":"Hodepine eller f\xf8lelse av trykk i hodet","8":"Ute av stand til \xe5 st\xe5 eller g\xe5 skikkelig uten st\xf8tte, skjener eller trekker mot en side","9":"Pustevansker, kortpustet","10":"F\xf8lt deg ust\xf8, n\xe6r ved \xe5 miste balansen, som varer mer enn 20 minutter","11":"Overdreven svetting","12":"F\xf8lt deg svak, n\xe6r ved \xe5 besvime","13":"F\xf8lt deg ust\xf8, n\xe6r ved \xe5 miste balansen, som varer mindre enn 20 minutter","14":"Smerter i hjerte eller brystregion","15":"En f\xf8lelse av \xe5 v\xe6re svimmel eller desorientert, som varer mindre enn 20 minutter","options":{"0":"Aldri","1":"Noen ganger","2":"Flere ganger","3":"Ganske ofte","4":"Veldig ofte"}}}'),f=t(41075),h=t(62197),Z=t(65992),g=["0","1","2","3","4"],b=function(e){var n=(0,o.Z)({},e),t=(0,p.Z)(n),Z=t.width,b=t.title,y=t.description,w=t.locale,k=void 0===w?"no":w,C=t.variant,P=void 0===C?"outlined":C,M=t.showFooter,F=void 0===M||M,S=t.showSummary,R=void 0===S||S,N=(0,l.Z)((0,v.$)({locale:k,locales:m}),1)[0],E=(0,d.useState)(0),T=E[0],O=E[1],L=(0,d.useState)({1:"0",2:"0",3:"0",4:"0",5:"0",6:"0",7:"0",8:"0",9:"0",10:"0",11:"0",12:"0",13:"0",14:"0",15:"0"}),V=L[0],A=L[1];(0,d.useEffect)((function(){O(Object.values(V).map((function(e){return Number(e)})).reduce((function(e,n){return e+n}),0))}),[V]);var H=function(e){A((0,a.Z)((0,i.Z)({},V),(0,r.Z)({},e.target.name,e.target.value)))};return(0,s.jsxs)(c.Zb,{title:null!==b&&void 0!==b?b:N("title"),description:null!==y&&void 0!==y?y:N("description"),locale:k,width:Z,showFooter:F,children:[(0,s.jsx)(f.ZP,{container:!0,spacing:2,direction:"column",children:Array.from(Array(15)).map((function(e,n){var t=N("inputs.".concat(n+1));return(0,s.jsx)(x,{item:!0,children:(0,s.jsx)(u.Z,{label:"".concat(n+1,". ").concat(t),name:(n+1).toString(),options:g.map((function(e){return{label:N("inputs.options.".concat(e)),value:e.toString()}})),value:V[(n+1).toString()],onChange:H,style:{gridGap:"0.825rem"},direction:"column",points:!1})},t)}))}),(0,s.jsx)(j,{container:!0,justifyContent:"space-between",children:(0,s.jsx)(f.ZP,{item:!0,xs:12,children:(0,s.jsxs)(h.Z,{variant:"body1",children:[(0,s.jsxs)("strong",{children:[N("result"),": "]}),T]})})}),R?(0,s.jsx)(c.yG,{label:N("summary"),locale:k,value:{header:[N("summary"),N("title")].join(": "),lines:[[N("result"),T].join(": ")]},TextAreaProps:{variant:P}}):null]})},x=(0,Z.ZP)(f.ZP)((function(){return{paddingTop:"15px",paddingBottom:"10px"}})),j=(0,Z.ZP)(f.ZP)((function(e){return{paddingTop:e.theme.spacing(3)}}))},92563:function(e,n,t){function r(){return r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},r.apply(this,arguments)}function o(){return r.apply(this,arguments)}t.d(n,{Z:function(){return o}})}}]);
2//# sourceMappingURL=9005.52aa1bada772b16e.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.